/* ============================================================
   Mahya Vakit — Lacivert + Altın İslam Rehberi Proje Sayfası
   Zemin: düz lacivert + üst üste desen / yıldız / altın horizon
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Değişkenler ─────────────────────────────────────────── */
:root {
    --mahya-page-bg: #0a1628;
    --navy-900: #020810;
    --navy-800: #060d1a;
    --navy-700: #0a1628;
    --navy-600: #0d1f38;
    --navy-500: #132545;
    --navy-400: #1a3060;
    --navy-300: #233a70;
    --gold-bright: #f0c84a;
    --gold: #c5a048;
    --gold-soft: #9a7a35;
    --gold-dim: rgba(197, 160, 72, 0.18);
    --gold-glow: rgba(240, 200, 74, 0.25);
    --gold-glow-strong: rgba(240, 200, 74, 0.45);
    --text-white: #eef2ff;
    --text-soft: #c8d4e8;
    --text-muted: #7a90b0;
    --green-accent: #34a853;
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--mahya-page-bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--mahya-page-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── Katman 1: sabit düz lacivert ─ */
.mahya-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-color: var(--mahya-page-bg);
}

/* ─── Katman 2: İslami geometrik desen (yarı saydam) ─ */
.mahya-pattern {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.055;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c5a048' stroke-width='0.8'%3E%3Cpolygon points='60,4 112,30 112,90 60,116 8,90 8,30'/%3E%3Cpolygon points='60,18 98,38 98,82 60,102 22,82 22,38'/%3E%3Cpolygon points='60,32 84,46 84,74 60,88 36,74 36,46'/%3E%3Cline x1='60' y1='4' x2='60' y2='32'/%3E%3Cline x1='112' y1='30' x2='84' y2='46'/%3E%3Cline x1='112' y1='90' x2='84' y2='74'/%3E%3Cline x1='60' y1='116' x2='60' y2='88'/%3E%3Cline x1='8' y1='90' x2='36' y2='74'/%3E%3Cline x1='8' y1='30' x2='36' y2='46'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
}

/* ─── Katman 3: altta hafif altın parıltı ─ */
.mahya-horizon {
    position: fixed;
    bottom: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 40vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center top,
        rgba(197, 160, 72, 0.08) 0%,
        rgba(197, 160, 72, 0.03) 40%,
        transparent 72%);
}

/* ─── Katman 4: parıldayan yıldızlar ─ */
.mahya-stars {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-bright);
    animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.12; transform: scale(1); }
    50%       { opacity: 0.75; transform: scale(1.6); }
}

/* ─── Ana Kapsayıcı ───────────────────────────────────────── */
#main {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 5rem;
}

/* ─── Geri Butonu ─────────────────────────────────────────── */
.back-to-projects {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color var(--transition);
    margin-bottom: 1.25rem;
}

.back-to-projects:hover { color: var(--gold-bright); }

/* ─── HERO (kompakt şerit — büyük kart yok) ───────────────── */
.hero--compact {
    position: relative;
    margin: 0 0 2.75rem;
    padding: 0 0 1.75rem;
    border-bottom: 1px solid var(--gold-dim);
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

/* İnce altın çizgi vurgusu */
.hero--compact::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: min(120px, 28%);
    height: 2px;
    background: linear-gradient(90deg, var(--gold-bright), transparent);
    border-radius: 2px;
    pointer-events: none;
}

.hero--compact::before {
    display: none;
}

.hero__shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}

.hero__main {
    flex: 1 1 280px;
    min-width: 0;
    text-align: left;
}

.hero__brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero__brand-frame {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.hero__logo {
    display: block;
    width: clamp(140px, 22vw, 200px);
    height: auto;
    max-height: 88px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(197, 160, 72, 0.75);
    margin-bottom: 0.45rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.6vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: var(--text-white);
    max-width: 34ch;
    margin-bottom: 0.5rem;
}

.hero__title-accent {
    color: var(--gold-bright);
    font-weight: 700;
}

.hero__lead {
    font-size: 0.92rem;
    line-height: 1.62;
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0 0 0.85rem;
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(197, 160, 72, 0.22);
    color: var(--gold);
    background: rgba(197, 160, 72, 0.06);
    transition: background var(--transition), border-color var(--transition);
}

.hero-tag:hover {
    background: rgba(197, 160, 72, 0.12);
    border-color: rgba(197, 160, 72, 0.45);
}

@media (max-width: 640px) {
    .hero__shell {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .hero__brand {
        justify-content: center;
    }

    .hero__brand-frame {
        align-self: center;
    }

    .hero__main {
        text-align: center;
    }

    .hero__title {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__lead {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__tags {
        justify-content: center;
    }
}

/* ─── Bölüm Başlıkları ────────────────────────────────────── */
.section-eyebrow {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(197, 160, 72, 0.55);
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 600;
    text-align: center;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.section-title span {
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    font-size: 1.02rem;
    color: var(--text-muted);
    margin: 0.75rem auto 0;
    max-width: 580px;
    line-height: 1.65;
}

.gold-line {
    width: 64px;
    height: 2px;
    margin: 1.1rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

/* ─── ÖZELLİK KARTLARI ────────────────────────────────────── */
.features-wrap {
    padding: 3.5rem 0 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.15rem;
    margin-top: 2.5rem;
}

.feature-card {
    position: relative;
    background: linear-gradient(145deg, rgba(13, 31, 56, 0.9) 0%, rgba(6, 13, 26, 0.95) 100%);
    border: 1px solid rgba(197, 160, 72, 0.14);
    border-radius: 18px;
    padding: 1.65rem 1.5rem;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        border-color 0.28s,
        box-shadow 0.28s;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Her kartın sol üst köşesinde altın kenar parıltısı */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg,
        transparent 0%, var(--gold) 38%, var(--gold-bright) 62%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
    border-color: rgba(197, 160, 72, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px var(--gold-glow);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    background: linear-gradient(145deg, rgba(197, 160, 72, 0.18), rgba(197, 160, 72, 0.06));
    border: 1px solid rgba(197, 160, 72, 0.22);
    color: var(--gold-bright);
    transition: background var(--transition), box-shadow var(--transition);
}

.feature-card:hover .feature-card__icon {
    background: linear-gradient(145deg, rgba(197, 160, 72, 0.3), rgba(197, 160, 72, 0.12));
    box-shadow: 0 0 24px var(--gold-glow);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.55rem;
    letter-spacing: 0.02em;
}

.feature-card p {
    font-size: 0.88rem;
    line-height: 1.58;
    color: var(--text-muted);
}

/* ─── GALERİ (tek satırda yan yana; dar ekranda sütun sayısı azalır) ─ */
.gallery-wrap {
    padding: 3rem 0 2.75rem;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.45rem, 1.2vw, 0.85rem);
    padding: 1.25rem 0 0;
    align-items: end;
}

/* Orta genişlik: 3 yan yana × 2 satır — görseller biraz daha büyüsün */
@media (max-width: 1080px) {
    .screens-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.screen-item {
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(197, 160, 72, 0.14);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(10, 22, 40, 0.35);
}

.screen-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.screen-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 30px var(--gold-glow);
    border-color: rgba(197, 160, 72, 0.38);
    z-index: 10;
}

/* Boş placeholder */
.screen-item--empty {
    aspect-ratio: 9 / 17;
    background: linear-gradient(160deg, rgba(13, 31, 56, 0.75), rgba(6, 13, 26, 0.85));
    border: 1.5px dashed rgba(197, 160, 72, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    gap: 0.5rem;
    cursor: default;
}

.screen-item--empty i {
    font-size: 1.65rem;
    color: rgba(197, 160, 72, 0.4);
}

.screen-item--empty span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(197, 160, 72, 0.55);
}

.screen-item--empty small {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.screen-item img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    /* 6 sütunda taşmayı önlemek için yükseklik üst sınırı; dar ekranda biraz daha yüksek */
    max-height: clamp(280px, 28vw, 400px);
    object-fit: contain;
    object-position: bottom center;
}

@media (max-width: 1080px) {
    .screen-item img {
        max-height: clamp(320px, 42vw, 520px);
    }
}

@media (max-width: 620px) {
    .screen-item img {
        max-height: clamp(300px, 62vw, 420px);
    }
}

/* ─── MODÜL VİTRİNİ (görsel yok — tipografi / ikon bento) ─── */
.modules-showcase {
    padding: 0 0 4rem;
}

.modules-showcase .modules-showcase__intro {
    margin-bottom: 2rem;
}

.modules-bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    position: relative;
}

.module-col-span-full {
    grid-column: 1 / -1;
}

.module-col-span-3 {
    grid-column: span 3;
}

.module-col-span-2 {
    grid-column: span 2;
}

@media (max-width: 920px) {
    .module-col-span-3 {
        grid-column: 1 / -1;
    }

    .module-col-span-2 {
        grid-column: span 3;
    }
}

@media (max-width: 560px) {
    .module-col-span-2 {
        grid-column: 1 / -1;
    }
}

.module-panel {
    position: relative;
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.25rem;
    background:
        radial-gradient(120% 80% at 10% -20%, rgba(197, 160, 72, 0.08), transparent 50%),
        linear-gradient(158deg, rgba(15, 36, 60, 0.88), rgba(6, 13, 26, 0.96));
    border: 1px solid rgba(197, 160, 72, 0.16);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        border-color 0.25s,
        box-shadow 0.25s;
}

.module-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.module-panel:hover {
    border-color: rgba(197, 160, 72, 0.38);
    box-shadow:
        0 20px 52px rgba(0, 0, 0, 0.38),
        0 0 28px rgba(240, 200, 74, 0.07);
}

.module-panel__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 12%;
    height: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-soft), transparent);
}

.module-panel__accent--short {
    right: 45%;
}

.module-panel__meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
}

.module-panel__idx {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(197, 160, 72, 0.35);
    line-height: 1;
}

.module-panel__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(240, 200, 74, 0.75);
}

.module-panel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-bright);
    box-shadow: 0 0 14px rgba(240, 200, 74, 0.55);
    animation: module-pulse 2.8s ease-in-out infinite;
}

@keyframes module-pulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.35); }
}

.module-panel__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.15rem;
}

.module-panel__symbol {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    color: var(--gold-bright);
    background: linear-gradient(145deg, rgba(197, 160, 72, 0.2), rgba(197, 160, 72, 0.05));
    border: 1px solid rgba(197, 160, 72, 0.25);
}

.module-panel__symbol--sm {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.22rem;
    margin-bottom: 0.75rem;
}

.module-panel__body {
    flex: 1 1 200px;
    min-width: 0;
}

.module-panel:not(.module-panel--hub) h3 {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.45rem;
    line-height: 1.28;
}

.module-panel:not(.module-panel--hub) p {
    font-size: 0.865rem;
    line-height: 1.62;
    color: var(--text-muted);
}

.module-panel--hub h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.8vw, 1.45rem);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.module-panel--hub p {
    font-size: 0.93rem;
    line-height: 1.62;
    color: var(--text-soft);
}

.module-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.95rem;
}

.module-chip-row--compact {
    margin-top: 0.75rem;
}

.module-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.675rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(232, 199, 107, 0.88);
    padding: 0.32rem 0.62rem;
    border-radius: 8px;
    border: 1px solid rgba(197, 160, 72, 0.2);
    background: rgba(197, 160, 72, 0.06);
}

.module-chip i {
    font-size: 0.6rem;
    opacity: 0.85;
}

/* Alt dekoratif hat */
.modules-rail {
    margin-top: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.modules-rail__line {
    width: min(340px, 70vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 72, 0.45), transparent);
}

.modules-rail__pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.75;
    box-shadow: 0 0 20px rgba(240, 200, 74, 0.45);
    animation: rail-pulse 2.4s ease-in-out infinite;
}

@keyframes rail-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.2); opacity: 1; }
}

/* ─── İSTATİSTİK BÖLÜMÜ (galerinin altında, tam kart ızgarası) ─ */
.stats-wrap {
    padding: 0 0 3.5rem;
}

.stats-wrap .stats-wrap__hint {
    margin-bottom: 1.85rem;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    overflow: visible;
    box-shadow: none;
}

@media (max-width: 900px) {
    .stats-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 440px) {
    .stats-band {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-inline: auto;
    }
}

.stat-cell {
    background: linear-gradient(155deg, rgba(17, 40, 64, 0.55), rgba(6, 13, 26, 0.92));
    border: 1px solid rgba(197, 160, 72, 0.2);
    border-radius: 18px;
    padding: 1.5rem 1.25rem 1.4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        border-color 0.25s,
        box-shadow 0.25s;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-height: 168px;
    justify-content: center;
}

.stat-cell.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-cell:hover {
    border-color: rgba(197, 160, 72, 0.42);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(240, 200, 74, 0.08);
}

.stat-cell__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(197, 160, 72, 0.1);
    border: 1px solid rgba(197, 160, 72, 0.2);
}

.stat-cell__icon i {
    font-size: 1.25rem;
    color: var(--gold-bright);
}

.stat-cell__value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.8vw, 1.95rem);
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1.08;
}

.stat-cell__label {
    font-size: 0.78rem;
    line-height: 1.42;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 15ch;
    margin-inline: auto;
}

/* ─── İNDİRME ─────────────────────────────────────────────── */
.download-section {
    text-align: center;
    padding: 3rem 0 1rem;
}

.download-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    color: var(--text-white);
    margin-bottom: 0.65rem;
}

.download-section p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.85rem;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
}

.store-badge {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    transition: transform var(--transition), opacity var(--transition);
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.92;
}

.store-badge:active {
    transform: translateY(-1px);
}

.store-badge img {
    height: 54px;
    width: auto;
    max-width: min(260px, 100%);
    display: block;
}

.download-note {
    font-size: 0.8rem;
    color: rgba(122, 144, 176, 0.6);
    margin-top: 1.25rem;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.modern-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--gold-dim);
    padding-top: 2.5rem;
    margin-top: 1rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
    justify-content: space-between;
}

.footer-logo {
    max-width: 280px;
}

.footer-logo-img {
    width: 80px;
    height: auto;
    display: block;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.footer-logo h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
}

.footer-logo p {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
}

.footer-column h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(197, 160, 72, 0.65);
    margin-bottom: 0.95rem;
    font-weight: 700;
}

.footer-column ul { list-style: none; }

.footer-column li { margin-bottom: 0.5rem; }

.footer-column a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-column a:hover { color: var(--gold-bright); }

.social-icons {
    display: flex;
    gap: 0.7rem;
}

.social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    box-shadow: 0 0 16px var(--gold-glow);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
}

.footer-bottom .copyright {
    font-size: 0.82rem;
    color: rgba(122, 144, 176, 0.6);
}

.footer-bottom .copyright a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.18s;
}

.footer-bottom .copyright a:hover { color: var(--gold); }

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(122, 144, 176, 0.6);
    text-decoration: none;
    margin-left: 1.15rem;
    transition: color 0.18s;
}

.footer-bottom-links a:hover { color: var(--text-white); }

/* ─── Giriş Animasyonu (genel) ────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 540px) {
    .store-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .store-badge {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin-inline: auto;
    }

    .store-badge img {
        height: 48px;
        max-width: 100%;
        margin-inline: auto;
    }

    .footer-bottom-links a {
        margin-left: 0;
        margin-right: 1rem;
    }

}

/* THEME-INIT: html.dark erken arka plan */
html.dark {
  background-color: #061528;
}
