/* Arapça fontlar — Kuran Hattı (Amiri Quran + Scheherazade New + Noto Naskh Arabic) */
@import url('https://fonts.googleapis.com/css2?family=Amiri+Quran&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Scheherazade+New:wght@400;600;700&display=swap');


/* 🌟 KURAN HERO (Eczane Master Design System Harmonized) */
.kuran-hero { 
    background: linear-gradient(135deg, #1e293b 0%, #047857 100%) !important; 
    padding: 1.5rem 1.5rem 1.25rem !important; 
    border-radius: 26px !important; 
    margin-bottom: 0.75rem !important; 
    color: #ffffff !important; 
    box-shadow: 0 12px 32px rgba(4, 120, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.kuran-hero h1 { 
    font-size: 1.55rem !important; 
    font-weight: 900 !important; 
    margin-bottom: 0.35rem !important; 
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    letter-spacing: -0.01em !important;
}

.kuran-hero h1 i {
    color: #34d399 !important;
}

.kuran-hero p { 
    opacity: 0.92 !important; 
    font-size: 0.92rem !important; 
    margin: 0 0 0.85rem 0 !important; 
    font-weight: 500 !important;
}

.kuran-hero-body { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    margin-bottom: 0.5rem !important; 
    flex-wrap: wrap !important; 
    gap: 15px !important; 
}

/* ARAMA ÇUBUĞU (Masaüstü ve Mobil Görünür) */
.kuran-search-bar { 
    display: flex !important; 
    gap: 8px !important; 
    margin-top: 0.85rem !important; 
}

.kuran-search-bar input { 
    flex: 1 !important; 
    min-width: 0 !important; 
    padding: 0.75rem 1.25rem !important; 
    border: none !important; 
    border-radius: 16px !important; 
    font-size: 0.92rem !important; 
    font-weight: 600 !important; 
    outline: none !important; 
    background: #ffffff !important; 
    color: #0f172a !important; 
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04) !important;
}

.kuran-search-bar button { 
    padding: 0.75rem 1.25rem !important; 
    border: none !important; 
    border-radius: 14px !important; 
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important; 
    color: #ffffff !important; 
    font-weight: 800 !important; 
    cursor: pointer !important; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.kuran-search-bar button:hover { 
    background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important; 
    transform: translateY(-1px) !important;
}

/* 🌟 HIZLI ERİŞİM SEKME ÇUBUĞU (.cat-pills - Eczane Sekme Stili Kapsül) */
.cat-pills { 
    display: flex !important; 
    gap: 6px !important; 
    width: 100% !important; 
    background: rgba(15, 23, 42, 0.45) !important; 
    backdrop-filter: blur(10px) !important; 
    padding: 4px !important; 
    border-radius: 50px !important; 
    border: 1px solid rgba(255, 255, 255, 0.12) !important; 
    margin-top: 0.85rem !important; 
    overflow-x: auto !important; 
    scrollbar-width: none !important; 
    -ms-overflow-style: none !important; 
    box-sizing: border-box !important;
}

.cat-pills::-webkit-scrollbar { 
    display: none !important; 
}

.cat-pill, .kuran-hero .cat-pill { 
    flex: 1 !important; 
    min-width: max-content !important; 
    display: inline-flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    gap: 6px !important; 
    padding: 8px 14px !important; 
    border-radius: 50px !important; 
    border: none !important; 
    background: transparent !important; 
    color: rgba(255, 255, 255, 0.85) !important; 
    font-size: 0.86rem !important; 
    font-weight: 700 !important; 
    text-decoration: none !important; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; 
    white-space: nowrap !important; 
    box-shadow: none !important; 
    cursor: pointer !important;
}

.cat-pill i, .kuran-hero .cat-pill i {
    color: #34d399 !important;
    font-size: 0.85rem !important;
    transition: color 0.2s ease !important;
}

.cat-pill:hover, .kuran-hero .cat-pill:hover { 
    background: #ffffff !important; 
    color: #065f46 !important; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important; 
    transform: translateY(0) !important;
}

.cat-pill:hover i, .kuran-hero .cat-pill:hover i {
    color: #059669 !important;
}

.kuran-list { display: flex; flex-direction: column; gap: 0.75rem; padding: 1rem 0; }
.kuran-list-item { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 1rem 1.5rem; 
    background: #fff; border-radius: 16px; border: 1px solid #f1f5f9; 
    transition: all 0.2s; text-decoration: none; color: inherit;
}
.kuran-list-item:hover { border-color: #059669; box-shadow: 0 4px 15px rgba(5, 150, 105, 0.08); transform: translateY(-2px); }

.kuran-list-left { display: flex; align-items: center; gap: 1.25rem; }
.kuran-list-num { 
    width: 45px; height: 45px; background: #f1f5f9; color: #059669; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 12px; font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.kuran-list-info { display: flex; flex-direction: column; gap: 4px; }
.kuran-list-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.kuran-list-meta { font-size: 0.75rem; color: #64748b; font-weight: 600; display: flex; gap: 10px; align-items: center;}

.kuran-list-right { display: flex; align-items: center; gap: 1.5rem; }
.kuran-list-ar { font-size: 1.5rem; color: #059669; font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif; }
.kuran-list-arrow { color: #cbd5e1; font-size: 1.1rem; transition: color 0.2s; display: flex; align-items: center; justify-content: center;}
.kuran-list-item:hover .kuran-list-arrow { color: #059669; transform: translateX(3px); }

@media (max-width:768px) {
    .desktop-only-text { display: none !important; }
    .kuran-hero { padding: 1rem 0.85rem 0.85rem !important; border-radius: 20px !important; margin-bottom: 0.5rem !important; }
    .kuran-hero h1 { font-size: 1.25rem !important; }
    .kuran-hero p { font-size: 0.82rem !important; margin-bottom: 0.4rem !important; }
    .kuran-search-bar { display: flex !important; gap: 6px !important; margin-top: 0.65rem !important; }
    .kuran-search-bar input { padding: 0.65rem 1rem !important; font-size: 0.85rem !important; border-radius: 12px !important; }
    .kuran-search-bar button { padding: 0.65rem 1rem !important; border-radius: 12px !important; }
    .cat-pills { padding: 3px !important; gap: 4px !important; margin-top: 0.65rem !important; }
    .cat-pill, .kuran-hero .cat-pill { padding: 7px 10px !important; font-size: 0.78rem !important; }
    .kuran-list-item { padding: 0.75rem 1rem; gap: 0.5rem; }
    .kuran-list-left { gap: 0.75rem; min-width: 0; }
    .kuran-list-num { width: 35px; height: 35px; font-size: 0.9rem; border-radius: 8px;}
    .kuran-list-info { min-width: 0; }
    .kuran-list-title { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
    .kuran-list-meta { font-size: 0.7rem; }
    .kuran-list-meta span:nth-child(3) { display: none; }
    .kuran-list-ar { font-size: 1.2rem; }
    .kuran-list-arrow { display: none; }
    .kuran-list-right { gap: 0; flex-shrink: 0;}
}

/* Okuma SayfasÄ± (Detay) */
.kuran-layout { display:grid; grid-template-columns:1fr 300px; gap:2rem; align-items:start; margin-top:0.5rem; }
.kuran-main { padding-top:0 !important; margin-top:0 !important; }
@media (max-width:1024px) { 
    .kuran-layout { grid-template-columns:1fr; } 
    .kuran-sidebar { display:none; }
}
.kuran-sidebar { display:flex; flex-direction:column; gap:1.5rem; position:sticky; top:20px;}
.sidebar-card { background:#fff; border-radius:20px; border:1px solid #f1f5f9; padding:1.5rem; box-shadow:0 4px 15px rgba(0,0,0,0.02); }
.sidebar-card h3 { font-size:1rem; font-weight:800; margin-bottom:1rem; display:flex; align-items:center; gap:10px; color:#0f172a; }

.sidebar-quick-link { display:flex; justify-content:space-between; align-items:center; padding:10px 12px; text-decoration:none; color:#475569; font-size:0.85rem; font-weight:700; border-radius:10px; transition:all 0.2s;}
.sidebar-quick-link:hover { background:#f1f5f9; color:#059669; }

/* Okuma Detay SayfasÄ± Hero */
.sure-top-banner { background: linear-gradient(135deg, #059669 0%, #047857 100%); padding: 0.75rem 1.25rem; border-radius: 16px; min-height: 48px; box-shadow: 0 4px 15px rgba(5, 150, 105, 0.15); margin-bottom: 1rem; margin-top: 0 !important; display: flex; justify-content: space-between; align-items: center; }
.sure-top-banner .back-link { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }

.settings-group { margin-bottom: 15px; }
.settings-group label { display:block; font-size:0.85rem; font-weight:700; color:#475569; margin-bottom:8px; }
.range-slider { width:100%; height:6px; background:#e2e8f0; border-radius:10px; outline:none; -webkit-appearance:none; }
.range-slider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:16px; height:16px; border-radius:50%; background:#059669; cursor:pointer; }

/* Toggle Switch */
.toggle-switch { position:relative; display:flex; justify-content:space-between; align-items:center; font-size:0.9rem; font-weight:700; color:#475569; cursor:pointer; }
.toggle-switch input { opacity:0; width:0; height:0; }
.slider-round { position:relative; width:44px; height:24px; background-color:#cbd5e1; border-radius:34px; transition:.4s; }
.slider-round:before { position:absolute; content:""; height:18px; width:18px; left:3px; bottom:3px; background-color:white; transition:.4s; border-radius:50%; }
input:checked + .slider-round { background-color:#059669; }
input:checked + .slider-round:before { transform:translateX(20px); }

/* Sure Header in Reader - Premium Minimalist */
.sure-header { background: #f8fafc; color: #1e293b; padding: 3rem 2rem; border-radius: 24px; text-align: center; margin-bottom: 2rem; border: 1px solid rgba(0,0,0,0.03); }
.sure-title-ar { font-size: 3.5rem; color: #059669; font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif; margin-bottom: 0.5rem; line-height: 1.2; }
.sure-title-tr { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.25rem; color: #0f172a; }
.sure-meta-bar { display: flex; justify-content: center; gap: 15px; font-size: 0.85rem; font-weight: 600; color: #64748b; flex-wrap: wrap; }
.sure-meta-bar .meta-badge { background: #fff; padding: 6px 16px; border-radius: 100px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; display: flex; align-items: center; gap: 6px; }
.sure-meta-bar .meta-badge i { color: #059669; }

/* Verses - Seamless & Clean */
.bismillah { font-size: 3.5rem; font-family: 'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif; text-align: center; margin: 3rem 0 4rem; color: #059669; }
.verses-container { display: flex; flex-direction: column; gap: 0; }
.verse-row { background: transparent; border-radius: 0; padding: 1rem 0; border: none; border-bottom: 1px solid #e2e8f0; position: relative; transition: all 0.3s ease; }
.verse-row:last-child { border-bottom: none; }
.verse-row:hover { background: rgba(248, 250, 252, 0.5); }
.verse-row.active-verse { background: rgba(5, 150, 105, 0.05); }
.verse-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; border-bottom: none; padding-bottom: 0; }
.verse-number-badge { background: transparent; color: #059669; font-size: 1.1rem; font-weight: 700; padding: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(5,150,105,0.2); border-radius: 50%; transition: all 0.2s; }
.verse-row:hover .verse-number-badge { background: #059669; color: #fff; border-color: #059669; }
.verse-actions button { background: none; border: none; color: #cbd5e1; font-size: 1.1rem; cursor: pointer; transition: all 0.2s; padding: 8px; border-radius: 8px; }
.verse-actions button:hover { color: #059669; background: #f1f5f9; }
.verse-actions button.playing { color: #fff; background: #059669; box-shadow: 0 4px 10px rgba(5,150,105,0.3); }
.verse-ar { font-size: 2.7rem; font-weight: 700; font-family: 'Scheherazade New', 'Amiri Quran', 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif; text-align: right; color: #0f172a; line-height: 2.4; margin-bottom: 0.5rem; direction: rtl; display: block; word-spacing: 0.15rem; }
.verse-ar span.word { display: inline; transition: all 0.2s ease; cursor: pointer; border-radius: 6px; padding: 0 0.15rem; }
.verse-ar span.word.highlight-word { color: #059669; background: rgba(5, 150, 105, 0.1); }
.verse-ar span.word:hover { color: #059669; }
.verse-tr { font-size: 1.15rem; color: #475569; line-height: 1.75; font-weight: 400; padding-right: 10%; }
.verse-tr.hidden { display: none; }


/* Navigation */
.sure-navigation { display:flex; justify-content:space-between; gap:1rem; margin-top:3rem; }
.sure-nav-btn { flex:1; padding:1rem; text-align:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; font-weight:700; color:#475569; text-decoration:none; transition:all 0.2s; display:flex; align-items:center; justify-content:center; gap:8px;}
.sure-nav-btn:hover { background:#059669; color:#fff; border-color:#059669; }

/* Mobile Filter Modal */
.mobile-filter-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:10000; align-items:flex-end; justify-content:center; backdrop-filter:blur(4px); }
.mobile-filter-overlay.active { display:flex; }
.mobile-filter-box { background:#fff; border-radius:20px 20px 0 0; padding:1.5rem; width:100%; max-height:85vh; overflow-y:auto; animation:slideUp 0.3s ease; }
@keyframes slideUp { from { transform:translateY(100%); } to { transform:translateY(0); } }

/* Toolbar for Mobile */
.kuran-hero-toolbar { display:none; margin-top:0.25rem; margin-bottom:0; }
.filter-btn-mobile { padding:0.35rem 0.6rem; border:1px solid rgba(255,255,255,0.4); border-radius:8px; font-size:0.75rem; font-weight:700; background:rgba(255,255,255,0.2); color:#fff; outline:none; cursor:pointer; display:flex; align-items:center; gap:4px; }
@media (max-width:768px) {
    .kuran-hero { padding:1.25rem 1rem 1rem; border-radius:16px; text-align:left; }
    .kuran-hero h1 { font-size:1.4rem; justify-content:flex-start; }
    .kuran-search-bar { display:none; }
    .kuran-hero-toolbar { display:block; }
    
    /* Minimalist Wrapping Links on Mobile */
    .cat-pills { justify-content: center; padding: 0; flex-wrap: wrap; margin-top: 1rem; gap: 6px; }
    .kuran-hero .cat-pill { 
        background: rgba(255,255,255,0.15); 
        border: none; 
        padding: 4px 10px; 
        border-radius: 6px; 
        font-size: 0.75rem; 
        font-weight: 500;
        color: #fff;
    }
    .kuran-hero .cat-pill i { display: none; }
    .desktop-only-text { display: none; }
    
    .sure-navigation { flex-direction:column; }
    
    /* Premium Minimalist Mobile Detail View */
    .sure-header { padding: 1.5rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; background: #fff; border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
    .sure-title-ar { font-size: 2.8rem; margin-bottom: 0.25rem; }
    .sure-title-tr { font-size: 1.5rem; margin-bottom: 1rem; }
    .sure-meta-bar { gap: 8px; margin-bottom: 1rem; }
    .sure-meta-bar .meta-badge { font-size: 0.75rem; padding: 6px 12px; box-shadow: none; background: #f8fafc; border: none; }
    
    .sure-header-actions { flex-direction: column !important; align-items: stretch !important; gap: 0.75rem !important; margin-top: 0 !important; }
    .btn-continue-reading, .btn-play-all { display: flex !important; width: 100% !important; justify-content: center !important; font-size: 1.05rem !important; padding: 14px !important; transform: none !important; }
    
    .bismillah { font-size: 2.8rem; margin: 1.5rem 0 2rem; }
    
    .verse-row { padding: 1.5rem 0; }
    .verse-ar { font-size: 2.2rem; line-height: 2.3; margin-bottom: 1rem; text-align: right; font-weight: 700; }
    .verse-tr { font-size: 1rem; line-height: 1.6; color: #334155; text-align: center; margin-top: 1rem; }
    .verse-header { margin-bottom: 1rem; }
    .verse-number-badge { width: 36px; height: 36px; font-size: 1rem; }
}

/* Sidebar Custom Elements */
.filter-options { display: flex; flex-direction: column; gap: 0.75rem; }
.filter-radio { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; color: #475569; font-weight: 500; transition: color 0.2s; }
.filter-radio:hover { color: #059669; }
.filter-radio input { display: none; }
.filter-radio .radio-custom { width: 18px; height: 18px; border: 2px solid #cbd5e1; border-radius: 50%; display: inline-block; position: relative; transition: all 0.2s; flex-shrink: 0; }
.filter-radio input:checked + .radio-custom { border-color: #059669; }
.filter-radio input:checked + .radio-custom::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: #059669; border-radius: 50%; }

.d-none-lazy { display: none !important; }

.kuran-loader { text-align:center; padding:3rem; color:#94a3b8; font-size:1.2rem; }
.kuran-loader i { font-size:3rem; color:#059669; margin-bottom:1rem; }

/* Quick Surah List inside Sidebar */
.surah-list-scroll { max-height:300px; overflow-y:auto; display:flex; flex-direction:column; gap:4px; padding-right:5px;}
.surah-list-item { display:flex; justify-content:space-between; align-items:center; padding:8px 10px; text-decoration:none; border-radius:8px; color:#475569; font-size:0.85rem; font-weight:600; transition:background 0.2s;}
.surah-list-item:hover, .surah-list-item.active { background:#f1f5f9; color:#059669; }
.surah-list-item-num { width:20px; color:#94a3b8; }
.surah-list-item-ar { font-family:'Amiri Quran', 'Scheherazade New', 'Amiri', 'Noto Naskh Arabic', 'Traditional Arabic', serif; font-size:1rem; color:#94a3b8; }
.surah-list-item.active .surah-list-item-ar { color:#059669; }



/* Kuran Sure Sayfası Header Offset */
.kuran-layout.detail-mode {
    margin-top: 0.5rem;
}

.kuran-mobile-pills {
    display: none;
}

@media (max-width: 768px) {
    .kuran-hero, .sure-top-banner {
        display: none !important;
    }
    .kuran-mobile-pills {
        display: block !important;
    }
    /* Alt nav temizleme */
    .kuran-layout {
        padding-bottom: 6rem !important;
    }
}

/* 🌟 MASAÜSTÜ PAYLAŞIM BUTONLARI */
.desktop-share-buttons {
  display: flex !important;
  gap: 6px !important;
  z-index: 25 !important;
  align-items: center !important;
}
.desktop-share-buttons button {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  color: #64748b !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
}
.desktop-share-buttons button:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.desktop-share-buttons button.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35) !important;
}
.desktop-share-buttons button.instagram:hover {
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.5) !important;
}
.desktop-share-buttons button.facebook:hover { color: #1877f2 !important; }
.desktop-share-buttons button.x:hover { color: #000000 !important; }
.desktop-share-buttons button.whatsapp:hover { color: #25d366 !important; }
.desktop-share-buttons button.copy:hover { color: #059669 !important; }

@media (max-width: 900px) {
  .desktop-share-buttons {
    display: none !important;
  }
}