/* ==========================================================================
   Kâbe Ekosistemi — Temiz Beyaz Zeminli Modern Arayüz (public/assets/css)
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Top Prayer & Live Status Bar ───────────────────────────────────────── */
.top-strip {
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-light);
    font-size: 12.5px;
    color: var(--text-secondary);
}

.top-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--live-soft);
    color: var(--live-red);
    font-weight: 700;
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 99px;
}

.live-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live-red);
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.35); }
}

.prayer-strip-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.prayer-strip-items span strong {
    color: var(--text-primary);
}

/* ── Header / Navbar (Pure White) ───────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 70px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.4px;
    color: var(--text-primary);
}

.brand-emblem {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand) 0%, #0a4d3a 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(15, 107, 80, 0.22);
    border: 2px solid #e3c278;
}

.brand-sub {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    background: var(--brand-soft);
    color: var(--brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    display: none;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 9px;
    padding: 8px 11px;
    font-weight: 700;
    cursor: pointer;
}

/* ── Buttons & Badges ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #ffffff;
}
.btn-gold:hover {
    background: #ab7c20;
}

.btn-outline {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

.btn-sm {
    padding: 7px 13px;
    font-size: 12.5px;
    border-radius: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
}

.badge-emerald { background: var(--brand-soft); color: var(--brand); }
.badge-gold { background: var(--gold-soft); color: #9c6f16; border: 1px solid var(--gold-border); }
.badge-gray { background: var(--bg-muted); color: var(--text-secondary); }

/* ── Sections & Headings ────────────────────────────────────────────────── */
.section {
    padding: 44px 0;
}

.section-subtle {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.section-kicker {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 5px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-desc {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ── Hero Live Stream Stage (Above the Fold) ────────────────────────────── */
.hero-live {
    padding: 28px 0 42px;
    background: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 22px;
    align-items: start;
}

.player-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.player-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
}

.stream-switchers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.stream-switch-btn {
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid var(--border-light);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    transition: all 0.15s;
}

.stream-switch-btn.is-active,
.stream-switch-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.video-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #0f172a;
}

.video-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.player-footer {
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ── Dua Wall Sidebar Card ──────────────────────────────────────────────── */
.dua-wall-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dua-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 4px;
}

.dua-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 14px;
}

.dua-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    margin-bottom: 5px;
}

.dua-item-text {
    font-size: 13.5px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.dua-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amin-btn {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 99px;
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand);
    cursor: pointer;
    transition: all 0.15s;
}

.amin-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* ── Cards & Grids ──────────────────────────────────────────────────────── */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-border);
}

.card-body {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    background: var(--bg-subtle);
}

.card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
}

.card-text {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.tool-tile {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    transition: all 0.16s ease;
}

.tool-tile:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    transform: translateY(-2px);
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* ── Tour Card Specifics ────────────────────────────────────────────────── */
.tour-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.4px;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

/* ── Prayer Times Grid ──────────────────────────────────────────────────── */
.prayer-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.prayer-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
}

.prayer-box.is-next {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 107, 80, 0.22);
}

.prayer-box-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.8;
}

.prayer-box-time {
    font-size: 23px;
    font-weight: 800;
    margin-top: 4px;
}

/* ── Forms & Inputs ─────────────────────────────────────────────────────── */
.form-control {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text-primary);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 107, 80, 0.12);
}

.alert {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-success {
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid var(--brand-border);
}

.alert-danger {
    background: var(--live-soft);
    color: var(--live-red);
    border: 1px solid #fecaca;
}

/* ── Arabic & Article Typography ────────────────────────────────────────── */
.arabic-text {
    font-family: var(--font-arabic);
    font-size: 26px;
    line-height: 2;
    direction: rtl;
    text-align: right;
    color: var(--text-primary);
}

.prose {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-primary);
}

.prose h2, .prose h3 {
    margin: 22px 0 10px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.prose p {
    margin-bottom: 14px;
}

.prose ul, .prose ol {
    margin: 0 0 16px 22px;
}

/* ── Filter Bar (Search Hero) ───────────────────────────────────────────── */
.filter-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

/* ── Footer (Clean White) ───────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    padding: 48px 0 26px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prayer-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filter-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-light);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.is-open { display: flex; }
    .mobile-toggle { display: inline-flex; }
    .grid-3, .grid-2, .grid-4, .filter-box, .footer-grid { grid-template-columns: 1fr; }
    .prayer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ── WhatsApp ile Bilgi Al & Doğrudan Acente İletişim Butonları ─────────── */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #16a34a;
    color: #ffffff !important;
    border: 1px solid #15803d;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.22);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-whatsapp:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}
.btn-whatsapp.btn-sm {
    padding: 6px 11px;
    font-size: 12px;
    border-radius: 8px;
}
.btn-whatsapp svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.btn-call-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f0fdf4;
    color: #166534 !important;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
}
.btn-call-soft:hover {
    background: #dcfce7;
}
.tour-card-actions {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tour-card-btns {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tour-wa-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tour-wa-caption {
    font-size: 11.5px;
    color: #166534;
    text-align: center;
    font-weight: 600;
}

/* ── Tur Detay Çoklu Fotoğraf Galerisi ──────────────────────────────────── */
.tour-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.tour-gallery-thumb {
    width: 78px;
    height: 56px;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    background: #f1f5f9;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.72;
    transition: all 0.15s ease;
}
.tour-gallery-thumb:hover,
.tour-gallery-thumb.is-active {
    opacity: 1;
    border-color: var(--brand);
    transform: translateY(-1px);
}
.tour-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ==========================================================================
   kabe.tr — HARAMAIN SANCTUARY V2 OVERHAUL STYLES
   ========================================================================== */

/* 1. Atmospheric Dark-Emerald Top Broadcast Bar */
.top-strip {
    background: linear-gradient(90deg, var(--haram-950) 0%, var(--haram-900) 55%, #092f24 100%);
    border-bottom: 1px solid rgba(212, 161, 53, 0.22);
    color: rgba(236, 253, 245, 0.86);
    font-size: 12.5px;
}
.top-strip a { color: #ecfdf5; transition: color .14s ease; }
.top-strip a:hover { color: var(--gold-bright); }
.top-strip .live-pill {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.45);
    color: #fecaca;
    font-weight: 800;
    letter-spacing: .3px;
}
.top-clock-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fde68a;
    font-weight: 700;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* 2. Frosted Glass Header & Dropdowns */
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(7, 40, 31, 0.05);
}
.brand-emblem {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, #0c6b4e 0%, #05261c 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 6px 16px rgba(12, 107, 78, 0.28);
}
.nav-links > a,
.dyn-nav-drop > a {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1f332c;
}
.nav-links > a:hover,
.nav-links > a.is-active,
.dyn-nav-drop > a:hover,
.dyn-nav-drop > a.is-active {
    background: var(--brand-soft);
    color: var(--brand);
}
.dyn-nav-drop { position: relative; display: inline-flex; align-items: center; }
.dyn-nav-sub {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 7px;
    box-shadow: 0 18px 40px rgba(7, 40, 31, 0.16);
    z-index: 90;
}
.dyn-nav-drop:hover .dyn-nav-sub,
.dyn-nav-drop:focus-within .dyn-nav-sub { display: flex; flex-direction: column; gap: 2px; }
.dyn-nav-sub a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 11px !important;
    border-radius: 9px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    white-space: nowrap;
}
.dyn-nav-sub a:hover { background: var(--brand-soft); color: var(--brand) !important; }
.dyn-nav-badge { font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 99px; margin-left: 4px; }
.dyn-b-emerald { background: #d1fae5; color: #065f46; }
.dyn-b-gold { background: #fef3c7; color: #92400e; }
.dyn-b-crimson { background: #fee2e2; color: #991b1b; }
.dyn-b-blue { background: #dbeafe; color: #1e40af; }
.dyn-b-purple { background: #ede9fe; color: #5b21b6; }

/* 3. Clean Pure-White Luxury Live Broadcast Stage (Home & Stream Pages) */
.hero-live-sanctuary {
    position: relative;
    overflow: hidden;
    padding: 24px 0 38px;
    background: #ffffff;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}
.hero-live-sanctuary::before,
.hero-live-sanctuary::after { display: none; }
.sanctuary-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: stretch;
}
.sanctuary-grid.is-theater {
    grid-template-columns: 1fr;
}
.sanctuary-player {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
}
.sanctuary-topbar {
    padding: 13px 16px;
    background: #f9fcfb;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.sanctuary-topbar h1 {
    font-size: clamp(16px, 1.8vw, 19.5px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
}
.sanctuary-switchers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.sanctuary-ch-btn {
    padding: 5px 11px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border-light);
    transition: all .15s ease;
}
.sanctuary-ch-btn:hover { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-border); }
.sanctuary-ch-btn.is-active {
    background: linear-gradient(135deg, var(--brand), #08523b);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(12, 107, 78, 0.24);
}
.sanctuary-foot {
    padding: 13px 16px;
    background: #f9fcfb;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.sanctuary-meta-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-secondary);
}
.sanctuary-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.sanctuary-meta-pill.is-gold {
    background: var(--brand-soft);
    border-color: var(--brand-border);
    color: var(--brand);
}

/* Clean White Elevated Dua Duvarı */
.sanctuary-dua {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}
.sanctuary-dua-feed {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 330px;
    overflow-y: auto;
    padding-right: 4px;
}
.sanctuary-dua-feed::-webkit-scrollbar { width: 5px; }
.sanctuary-dua-feed::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
.sanctuary-dua-item {
    background: #f8fbf9;
    border: 1px solid var(--border-light);
    border-radius: 13px;
    padding: 10px 12px;
}
.sanctuary-dua-item-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--brand);
    margin-bottom: 4px;
}
.sanctuary-dua-item-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 7px;
}
.sanctuary-amin-btn {
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px solid var(--brand-border);
    background: #ffffff;
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .14s ease;
}
.sanctuary-amin-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.sanctuary-input {
    width: 100%;
    padding: 8px 11px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
}
.sanctuary-input::placeholder { color: var(--text-muted); }
.sanctuary-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12, 107, 78, 0.1); }

/* 4. Elevated Prayer Strip & Worship Tools Bento */
.prayer-box {
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: #fff;
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform .16s ease, box-shadow .16s ease;
}
.prayer-box:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.prayer-box.is-next {
    background: linear-gradient(135deg, #0c6b4e 0%, #064431 100%);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 12px 26px rgba(12, 107, 78, 0.25);
}
.prayer-box.is-next .prayer-box-name { color: #fde68a; }
.prayer-box.is-next .prayer-box-time { color: #fff; }

.bento-tools {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 14px;
}
.bento-spotlight {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    background: linear-gradient(145deg, #06281f 0%, #0c6b4e 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(212, 161, 53, 0.45);
    box-shadow: 0 16px 36px rgba(6, 40, 31, 0.2);
    transition: transform .18s ease, box-shadow .18s ease;
}
.bento-spotlight:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(6, 40, 31, 0.28); }
.tool-tile {
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: var(--shadow-xs);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.tool-tile:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}
.tool-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--brand-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* Luxury Channel & Wisdom Cards */
.channel-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
}
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-border); }
.wisdom-card {
    background: linear-gradient(160deg, #ffffff 0%, #f6fbf8 100%);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--brand);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-xs);
}
.wisdom-card.is-gold { border-top-color: var(--gold); background: linear-gradient(160deg, #ffffff 0%, #fefbf2 100%); }

/* 5. Architectural Kaaba Kiswah Obsidian & Kaaba Gold Footer */
.site-footer.ft-pro {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #0d0c0a 0%, #161410 52%, #1d1912 100%);
    color: rgba(235, 229, 213, 0.86);
    border-top: 3px solid #e2a417;
    padding: 46px 0 24px;
    margin-top: 0;
}
.site-footer.ft-pro::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 200, 76, 0.42) 25%, rgba(245, 200, 76, 0.72) 50%, rgba(245, 200, 76, 0.42) 75%, transparent 100%);
    pointer-events: none;
}
.ft-lattice {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23f5c84c' stroke-width='0.9'%3E%3Crect x='26' y='26' width='44' height='44'/%3E%3Crect x='26' y='26' width='44' height='44' transform='rotate(45 48 48)'/%3E%3Ccircle cx='48' cy='48' r='10'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 96px 96px;
}
.ft-glow {
    position: absolute;
    top: -140px;
    right: -80px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 164, 23, 0.16) 0%, rgba(226, 164, 23, 0.04) 45%, transparent 72%);
    pointer-events: none;
}

.ft-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 24px;
    margin-bottom: 38px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(245, 200, 76, 0.09) 0%, rgba(255, 255, 255, 0.025) 55%, rgba(226, 164, 23, 0.06) 100%);
    border: 1px solid rgba(226, 164, 23, 0.28);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}
.ft-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ft-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(220, 38, 38, 0.16);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.ft-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
    animation: ftPulse 1.8s ease-in-out infinite;
}
@keyframes ftPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
.ft-banner-title {
    font-size: 16px;
    font-weight: 800;
    color: #fef9e7;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.ft-banner-sub {
    font-size: 12.5px;
    color: rgba(214, 207, 192, 0.78);
    margin-top: 2px;
}
.ft-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ft-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 11px;
    background: linear-gradient(135deg, #f5c84c 0%, #d8960c 100%);
    color: #141311 !important;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(226, 164, 23, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ft-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(226, 164, 23, 0.4);
}
.ft-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(226, 164, 23, 0.28);
    color: #f4efe0 !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.16s ease;
}
.ft-btn-dark:hover {
    background: rgba(226, 164, 23, 0.15);
    border-color: rgba(245, 200, 76, 0.6);
    color: #f5c84c !important;
    transform: translateY(-1px);
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.ft-logo-box {
    display: inline-flex;
    align-items: center;
    background: #fffdf8;
    padding: 8px 15px;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
    border: 1.5px solid rgba(226, 164, 23, 0.55);
}
.ft-desc {
    font-size: 13.5px;
    color: rgba(218, 211, 196, 0.8);
    max-width: 340px;
    line-height: 1.72;
    margin: 0 0 16px;
}
.ft-clocks {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.ft-clock-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border-radius: 10px;
    background: rgba(226, 164, 23, 0.09);
    border: 1px solid rgba(226, 164, 23, 0.24);
    font-size: 12px;
    color: #f5c84c;
}
.ft-clock-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(218, 211, 196, 0.68);
}
.ft-clock-pill strong {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: #fef3c7;
}
.ft-trust-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(245, 200, 76, 0.82);
}

.ft-col-title {
    position: relative;
    color: #f5c84c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    padding-bottom: 10px;
}
.ft-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #e2a417, rgba(245, 200, 76, 0.15));
}
.ft-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ft-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(229, 222, 207, 0.82);
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}
.ft-links a:hover {
    color: #f5c84c;
    transform: translateX(4px);
    text-decoration: none;
}
.ft-link-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    opacity: 0.85;
}
.ft-link-dot.is-gold {
    background: #f5c84c;
}

.ft-cities {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 16px 0;
    border-top: 1px solid rgba(226, 164, 23, 0.16);
}
.ft-cities-lbl {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f5c84c;
    margin-right: 4px;
}
.ft-city-pill {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(226, 164, 23, 0.14);
    color: rgba(229, 222, 207, 0.8);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}
.ft-city-pill:hover {
    background: rgba(226, 164, 23, 0.16);
    border-color: rgba(245, 200, 76, 0.5);
    color: #f5c84c;
}
.ft-city-pill.is-all {
    background: rgba(226, 164, 23, 0.14);
    border-color: rgba(226, 164, 23, 0.35);
    color: #f5c84c;
    font-weight: 700;
}

.ft-dyn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid rgba(226, 164, 23, 0.12);
    font-size: 12.5px;
}
.ft-dyn-row a {
    color: rgba(229, 222, 207, 0.82);
    text-decoration: none;
    font-weight: 600;
}
.ft-dyn-row a:hover {
    color: #f5c84c;
}

.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(226, 164, 23, 0.18);
    padding-top: 18px;
    margin-top: 6px;
    font-size: 12.5px;
    color: rgba(196, 189, 172, 0.85);
}
.ft-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ft-bottom-links a {
    color: rgba(214, 207, 192, 0.82);
    text-decoration: none;
    font-weight: 600;
}
.ft-bottom-links a:hover {
    color: #f5c84c;
}
.ft-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ft-partner-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(226, 164, 23, 0.1);
    border: 1px solid rgba(226, 164, 23, 0.3);
    color: #e5decf;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.ft-partner-pill strong { color: #f5c84c; }
.ft-partner-pill:hover {
    background: rgba(226, 164, 23, 0.2);
    border-color: rgba(245, 200, 76, 0.65);
}
.ft-top-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(226, 164, 23, 0.3);
    color: #f5c84c;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}
.ft-top-btn:hover {
    background: #e2a417;
    color: #141311;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 640px) {
    .site-footer.ft-pro { padding: 34px 0 22px; }
    .ft-banner { padding: 16px; margin-bottom: 28px; }
    .ft-grid { grid-template-columns: 1fr; gap: 24px; }
    .ft-bottom { flex-direction: column; align-items: flex-start; }
}

/* Unified Kaaba Kiswah Black & Gold Top Strip & Frosted White Header Overrides */
.top-strip {
    background: linear-gradient(90deg, #11100e 0%, #1c1914 50%, #26221a 100%) !important;
    border-bottom: 1px solid rgba(226, 164, 23, 0.35) !important;
    color: rgba(244, 241, 232, 0.92) !important;
}
.top-clock-chip {
    background: rgba(226, 164, 23, 0.12) !important;
    border: 1px solid rgba(226, 164, 23, 0.32) !important;
    color: #f5c84c !important;
}
.top-clock-chip.is-ist {
    color: #fef3c7 !important;
}
.site-header {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid #ebe5d5 !important;
    box-shadow: 0 4px 24px rgba(20, 19, 17, 0.04) !important;
}
.header-inner { height: 74px; }
.nav-links > a,
.dyn-nav-drop > a {
    color: #1f1d19 !important;
    font-weight: 700;
}
.nav-links > a:hover,
.nav-links > a.is-active,
.dyn-nav-drop > a:hover,
.dyn-nav-drop > a.is-active {
    background: #fef7e0 !important;
    color: #9c6a04 !important;
}
.btn-primary {
    background: linear-gradient(135deg, #e2a417 0%, #c68808 100%) !important;
    color: #141311 !important;
    font-weight: 800;
    border-color: transparent !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #ebb024 0%, #b57b05 100%) !important;
    color: #141311 !important;
}
.sanctuary-ch-btn.is-active {
    background: linear-gradient(135deg, #171512, #2b261e) !important;
    border-color: #e2a417 !important;
    color: #f5c84c !important;
    box-shadow: 0 6px 14px rgba(20, 19, 17, 0.22) !important;
}
.sanctuary-topbar,
.sanctuary-foot {
    background: #faf9f5 !important;
}
.sanctuary-dua-item {
    background: #faf9f5 !important;
}
.sanctuary-dua-item-head {
    color: #141311 !important;
}
.sanctuary-amin-btn {
    border-color: #f0d58a !important;
    color: #9c6a04 !important;
}
.sanctuary-amin-btn:hover {
    background: #e2a417 !important;
    border-color: #e2a417 !important;
    color: #141311 !important;
}
.sanctuary-input:focus {
    border-color: #e2a417 !important;
    box-shadow: 0 0 0 3px rgba(226, 164, 23, 0.16) !important;
}
.prayer-box.is-next {
    background: linear-gradient(145deg, #141311 0%, #26221a 100%) !important;
    border-color: #e2a417 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(20, 19, 17, 0.22) !important;
}
.prayer-box.is-next .prayer-box-name { color: #f5c84c !important; }

@media (max-width: 1080px) {
    .sanctuary-grid { grid-template-columns: 1fr; }
    .bento-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-spotlight { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
    .bento-tools { grid-template-columns: 1fr; }
    .bento-spotlight { grid-column: span 1; }
}
