/* ============================================================
   AKILLI BALIK ASİSTANI — "Derin okyanus" tasarım sistemi
   Koyu lacivert zemin, turkuaz vurgu, cam kartlar.
   Animasyonlar yalnız transform/opacity ile (telefonda akıcı);
   prefers-reduced-motion açıksa hepsi kapanır.
   ============================================================ */

/* ---------- 1. TASARIM BELİRTEÇLERİ ---------- */
:root {
    /* Zemin katmanları (yüzeyden dibe) */
    --zemin-0: #030b17;
    --zemin-1: #061528;
    --zemin-2: #0a2140;
    --zemin-3: #0f2d52;

    /* Yüzeyler (cam) */
    --cam: rgba(148, 197, 255, 0.055);
    --cam-2: rgba(148, 197, 255, 0.09);
    --cam-3: rgba(148, 197, 255, 0.14);
    --panel: #0b1b31;          /* opak kart/modal zemini */
    --panel-2: #10243f;
    --kenar: rgba(148, 197, 255, 0.13);
    --kenar-guclu: rgba(148, 197, 255, 0.24);

    /* Metin */
    --metin: #e6f0fa;
    --metin-2: #a3b6cb;
    --metin-3: #6e86a2;

    /* Vurgular (mobil theme.ts dark paletiyle aynı aile) */
    --turkuaz: #5eead4;
    --camgobegi: #22d3ee;
    --mavi: #60a5fa;
    --yesil: #4ade80;
    --sari: #fde047;
    --turuncu: #fdba74;
    --kirmizi: #fca5a5;
    --mor: #a78bfa;

    --vurgu-gradyan: linear-gradient(120deg, #5eead4 0%, #22d3ee 45%, #60a5fa 100%);

    /* Boşluk, köşe, gölge */
    --b-1: 4px; --b-2: 8px; --b-3: 12px; --b-4: 16px; --b-5: 24px; --b-6: 32px; --b-7: 48px; --b-8: 72px; --b-9: 112px;
    --kose-s: 10px; --kose-m: 16px; --kose-l: 24px; --kose-xl: 32px;
    --golge-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.25);
    --golge-2: 0 12px 40px rgba(0, 0, 0, 0.45);
    --golge-parilti: 0 0 0 1px rgba(94, 234, 212, 0.25), 0 10px 40px rgba(34, 211, 238, 0.18);

    /* Katmanlar */
    --z-hero: 1; --z-icerik: 2; --z-ust: 100; --z-menu: 130; --z-modal: 200;

    --yazi-baslik: 'Outfit', system-ui, sans-serif;
    --yazi-metin: 'Inter', system-ui, sans-serif;

    --ust-yukseklik: 72px;
    --gecis: cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: dark;
}

/* ---------- 2. TEMEL ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ust-yukseklik) + 12px); -webkit-text-size-adjust: 100%; }
body.tema {
    margin: 0;
    background: var(--zemin-1);
    color: var(--metin);
    font-family: var(--yazi-metin);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.tema h1, .tema h2, .tema h3, .tema h4 { font-family: var(--yazi-baslik); letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.tema p { margin: 0; }
.tema a { color: inherit; text-decoration: none; }
.tema img { max-width: 100%; }
.tema ::selection { background: rgba(94, 234, 212, 0.3); color: #fff; }
.tema :focus-visible { outline: 2px solid var(--turkuaz); outline-offset: 3px; border-radius: 6px; }

/* İnce kaydırma çubuğu */
.tema ::-webkit-scrollbar { width: 10px; height: 10px; }
.tema ::-webkit-scrollbar-track { background: var(--zemin-0); }
.tema ::-webkit-scrollbar-thumb { background: #1d3a5e; border-radius: 10px; border: 2px solid var(--zemin-0); }
.tema ::-webkit-scrollbar-thumb:hover { background: #28507f; }

.kap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.kap-dar { max-width: 820px; }

.gradyan-metin {
    background: var(--vurgu-gradyan);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- 3. ÜST MENÜ ---------- */
.ust-menu {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-ust);
    height: var(--ust-yukseklik);
    display: flex;
    align-items: center;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    border-bottom: 1px solid transparent;
}
.ust-menu.kaydirildi {
    background: rgba(5, 17, 33, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--kenar);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.ust-menu .kap { display: flex; align-items: center; gap: var(--b-5); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--yazi-baslik); font-weight: 700; font-size: 1.05rem; color: #fff; white-space: nowrap; }
.logo img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--kenar-guclu); }
.menu-baglantilar { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.menu-baglantilar a {
    position: relative;
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--metin-2);
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.menu-baglantilar a:hover { color: #fff; background: var(--cam); }
.menu-baglantilar a.aktif { color: #fff; background: var(--cam-2); }
.menu-baglantilar a.aktif::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 2px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--turkuaz);
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--turkuaz);
}
.ust-sag { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-baglantilar + .ust-sag { margin-left: 0; }
#user-status button, #user-status .giris-btn {
    padding: 9px 18px !important;
    font-size: 0.875rem;
    font-weight: 600;
    color: #032028 !important;
    background: var(--vurgu-gradyan) !important;
    border: 0;
    border-radius: 999px !important;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.25);
    transition: transform 0.2s var(--gecis), box-shadow 0.2s;
    white-space: nowrap;
}
#user-status button:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(34, 211, 238, 0.35); }
#user-status span { color: var(--metin-2) !important; }
#mobile-menu-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    color: var(--metin);
    background: var(--cam);
    border: 1px solid var(--kenar);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
#mobile-menu-button:hover { background: var(--cam-2); border-color: var(--kenar-guclu); }
#mobile-menu {
    position: fixed;
    top: calc(var(--ust-yukseklik) - 4px);
    right: 16px;
    z-index: var(--z-menu);
    width: min(300px, calc(100vw - 32px));
    max-height: calc(100vh - var(--ust-yukseklik) - 16px);
    overflow-y: auto;
    background: rgba(9, 24, 44, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--kenar-guclu);
    border-radius: var(--kose-m);
    box-shadow: var(--golge-2);
    padding: 6px;
    transform-origin: top right;
    animation: menuAcil 0.22s var(--gecis);
}
#mobile-menu a { display: block; padding: 11px 14px !important; border: 0 !important; border-radius: 10px; color: var(--metin) !important; font-size: 0.92rem; transition: background 0.15s; }
#mobile-menu a:hover { background: var(--cam-2) !important; }
#mobile-menu .border-t { border-top: 1px solid var(--kenar) !important; margin-top: 4px; }
#mobile-menu button { color: var(--kirmizi) !important; background: none; border: 0; cursor: pointer; padding: 10px 14px !important; }
@keyframes menuAcil { from { opacity: 0; transform: scale(0.94) translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
    .menu-baglantilar { display: none; }
    .menu-baglantilar + .ust-sag { margin-left: auto; }
    .logo span { font-size: 0.98rem; }
}
@media (max-width: 480px) {
    .logo span { display: none; }
}

/* ---------- 4. AÇILIŞ (HERO) ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: calc(var(--ust-yukseklik) + 40px) 0 140px;
    background:
        radial-gradient(1200px 600px at 70% -10%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(900px 500px at 10% 10%, rgba(96, 165, 250, 0.14), transparent 60%),
        linear-gradient(180deg, #0a2a4a 0%, #071d36 45%, var(--zemin-1) 100%);
}
/* Fare ile hareket eden yumuşak ışık */
.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: -1;
    background: radial-gradient(500px 340px at var(--fx, 60%) var(--fy, 30%), rgba(94, 234, 212, 0.12), transparent 70%);
    transition: background 0.2s linear;
    pointer-events: none;
}
.hero-sahne { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* Işık huzmeleri (yüzeyden süzülen güneş) */
.huzme {
    position: absolute;
    top: -10%;
    width: 18vw;
    min-width: 120px;
    height: 120%;
    background: linear-gradient(180deg, rgba(186, 240, 255, 0.16) 0%, rgba(186, 240, 255, 0.04) 45%, transparent 75%);
    filter: blur(6px);
    transform-origin: top center;
    animation: huzmeSalinim 11s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
.huzme:nth-child(1) { left: 12%; transform: rotate(18deg); animation-duration: 12s; }
.huzme:nth-child(2) { left: 38%; transform: rotate(10deg); width: 10vw; opacity: 0.8; animation-duration: 9s; animation-delay: -3s; }
.huzme:nth-child(3) { left: 62%; transform: rotate(-6deg); width: 22vw; opacity: 0.7; animation-duration: 14s; animation-delay: -6s; }
.huzme:nth-child(4) { left: 84%; transform: rotate(-14deg); width: 8vw; opacity: 0.6; animation-duration: 10s; animation-delay: -2s; }
@keyframes huzmeSalinim {
    0%   { opacity: 0.35; translate: -2vw 0; }
    50%  { opacity: 0.9; }
    100% { opacity: 0.5; translate: 2vw 0; }
}

/* Yukarı süzülen kabarcıklar (JS üretir) */
.kabarcik {
    position: absolute;
    bottom: -40px;
    left: var(--x, 50%);
    width: var(--s, 8px);
    height: var(--s, 8px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(186, 240, 255, 0.25) 40%, rgba(186, 240, 255, 0.05) 70%);
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: kabarcikYuksel var(--d, 12s) linear var(--g, 0s) infinite;
}
@keyframes kabarcikYuksel {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    10%  { opacity: 0.8; }
    50%  { transform: translate3d(var(--w, 14px), -55vh, 0); }
    90%  { opacity: 0.6; }
    100% { transform: translate3d(calc(var(--w, 14px) * -1), -110vh, 0); opacity: 0; }
}

/* Yüzen balık silüetleri */
.balik-silueti {
    position: absolute;
    left: 0;
    top: var(--y, 40%);
    width: var(--en, 90px);
    color: rgba(125, 211, 252, var(--op, 0.16));
    animation: balikYuz var(--d, 38s) linear var(--g, 0s) infinite;
    will-change: transform;
}
.balik-silueti svg { display: block; width: 100%; height: auto; animation: balikSalla 2.6s ease-in-out infinite; transform-origin: 70% 50%; }
.balik-silueti.ters { animation-name: balikYuzTers; }
.balik-silueti.ters svg { scale: -1 1; }
@keyframes balikYuz {
    0%   { transform: translate3d(-15vw, 0, 0); }
    25%  { transform: translate3d(20vw, -18px, 0); }
    50%  { transform: translate3d(55vw, 10px, 0); }
    75%  { transform: translate3d(85vw, -12px, 0); }
    100% { transform: translate3d(115vw, 0, 0); }
}
@keyframes balikYuzTers {
    0%   { transform: translate3d(115vw, 0, 0); }
    30%  { transform: translate3d(70vw, 14px, 0); }
    65%  { transform: translate3d(30vw, -12px, 0); }
    100% { transform: translate3d(-15vw, 0, 0); }
}
@keyframes balikSalla { 0%, 100% { rotate: -2deg; } 50% { rotate: 2deg; } }

/* Katmanlı dalgalar */
.dalgalar { position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; pointer-events: none; z-index: 0; }
.dalga { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: dalgaKay var(--d, 18s) linear infinite; }
.dalga svg { width: 100%; height: 100%; display: block; }
.dalga:nth-child(1) { --d: 26s; opacity: 0.35; bottom: 26px; }
.dalga:nth-child(2) { --d: 17s; opacity: 0.55; bottom: 12px; animation-direction: reverse; }
.dalga:nth-child(3) { --d: 12s; opacity: 1; }
@keyframes dalgaKay { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Açılış içeriği */
.hero-izgara {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--b-8);
    align-items: center;
    position: relative;
    z-index: var(--z-icerik);
}
.hero-rozet {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px;
    font-size: 0.82rem; font-weight: 500;
    color: var(--metin);
    background: var(--cam);
    border: 1px solid var(--kenar-guclu);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.hero-rozet .nokta { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--turkuaz); margin-left: 6px; }
.hero-rozet .nokta::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--turkuaz); animation: nabiz 2s ease-out infinite; }
@keyframes nabiz { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #fff;
}
.hero .alt-metin { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--metin-2); max-width: 560px; }
.hero .alt-metin strong { color: var(--metin); font-weight: 600; }
.hero-eylemler { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ozet { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 0.86rem; color: var(--metin-2); }
.hero-ozet span { display: inline-flex; align-items: center; gap: 8px; }
.hero-ozet i { color: var(--turkuaz); font-size: 0.8rem; }

/* Kelime kelime belirme */
.kelime { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(6px); animation: kelimeGel 0.8s var(--gecis) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes kelimeGel { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-gir { opacity: 0; transform: translateY(16px); animation: yukariGel 0.9s var(--gecis) forwards; animation-delay: var(--g, 0.6s); }
@keyframes yukariGel { to { opacity: 1; transform: none; } }

/* Örnek sonuç kartı */
.onizleme {
    position: relative;
    padding: 22px;
    border-radius: var(--kose-l);
    background: linear-gradient(160deg, rgba(20, 50, 86, 0.75), rgba(8, 25, 46, 0.75));
    border: 1px solid var(--kenar-guclu);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--golge-2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: suzul 7s ease-in-out infinite;
}
.onizleme::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--aci, 0deg), transparent 0 70%, rgba(94, 234, 212, 0.8) 80%, transparent 90%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: kenarDon 6s linear infinite;
    pointer-events: none;
}
@property --aci { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes kenarDon { to { --aci: 360deg; } }
@keyframes suzul { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.onizleme-ust { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--metin-3); }
.onizleme-ust .etiket { padding: 3px 10px; border-radius: 999px; background: var(--cam-2); color: var(--metin-2); }
.onizleme-govde { display: flex; align-items: center; gap: 18px; margin: 18px 0; }
.halka { position: relative; width: 104px; height: 104px; flex-shrink: 0; }
.halka svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.halka .iz { stroke: rgba(148, 197, 255, 0.12); }
.halka .dolu { stroke: url(#halkaGradyan); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; animation: halkaDol 1.8s var(--gecis) 1.2s forwards; }
@keyframes halkaDol { to { stroke-dashoffset: calc(289 - 289 * var(--oran, 0.8)); } }
.halka .deger { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--yazi-baslik); font-size: 2rem; font-weight: 800; color: #fff; }
.halka .deger small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--metin-3); margin-top: -6px; text-align: center; }
.onizleme-bilgi h3 { font-size: 1.25rem; color: #fff; }
.onizleme-bilgi p { font-size: 0.82rem; color: var(--metin-2); margin-top: 2px; }
.mini-rozetler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini-rozet { font-size: 0.7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid; }
.mini-rozet.yesil { color: var(--yesil); border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); }
.mini-rozet.turkuaz { color: var(--turkuaz); border-color: rgba(94, 234, 212, 0.3); background: rgba(94, 234, 212, 0.08); }
.mini-rozet.turuncu { color: var(--turuncu); border-color: rgba(253, 186, 116, 0.3); background: rgba(253, 186, 116, 0.08); }
.saat-cubuklari { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding-top: 8px; border-top: 1px solid var(--kenar); }
.saat-cubugu { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 4px; height: 100%; justify-content: flex-end; text-align: center; }
.saat-cubugu i { flex: 0 0 auto; }
.saat-cubugu i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--turkuaz), rgba(34, 211, 238, 0.25)); transform: scaleY(0); transform-origin: bottom; animation: cubukBuyu 0.9s var(--gecis) forwards; animation-delay: calc(1.4s + var(--i) * 80ms); }
.saat-cubugu span { font-size: 0.62rem; color: var(--metin-3); }
@keyframes cubukBuyu { to { transform: scaleY(1); } }
.onizleme-not { margin-top: 10px; font-size: 0.68rem; color: var(--metin-3); text-align: right; }

/* Aşağı kaydır göstergesi */
.kaydir-ipucu { position: absolute; left: 50%; bottom: 96px; z-index: var(--z-icerik); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--metin-3); }
.kaydir-ipucu .fare { width: 22px; height: 34px; border: 2px solid var(--kenar-guclu); border-radius: 12px; position: relative; }
.kaydir-ipucu .fare::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--turkuaz); animation: fareTekeri 1.8s ease-in-out infinite; }
@keyframes fareTekeri { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* Açılış görünmezken animasyonlar durur (pil/işlemci) */
.hero.durdur *, .hero.durdur::before { animation-play-state: paused !important; }

@media (max-width: 960px) {
    .hero-izgara { grid-template-columns: 1fr; gap: var(--b-7); }
    .onizleme { max-width: 440px; }
    .kaydir-ipucu { display: none; }
    .hero { padding-bottom: 120px; }
}

/* ---------- 5. BUTONLAR ---------- */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px;
    font-family: var(--yazi-metin);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s var(--gecis), box-shadow 0.25s, background 0.25s, border-color 0.25s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-ana { color: #032028; background: var(--vurgu-gradyan); box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3); }
.btn-ana:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(34, 211, 238, 0.42); }
/* Parlama süpürmesi */
.btn-ana::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: skewX(-20deg); animation: parla 4.5s ease-in-out 2s infinite; }
@keyframes parla { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-cam { color: var(--metin); background: var(--cam); border-color: var(--kenar-guclu); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-cam:hover { background: var(--cam-2); border-color: rgba(94, 234, 212, 0.45); transform: translateY(-2px); }
.btn-tam { width: 100%; }

/* ---------- 6. BÖLÜMLER ---------- */
.bolum { position: relative; padding: var(--b-9) 0; }
.bolum-koyu { background: var(--zemin-0); }
.bolum-gradyan { background: linear-gradient(180deg, var(--zemin-1), var(--zemin-0)); }
.bolum-baslik { text-align: center; max-width: 700px; margin: 0 auto var(--b-7); }
.bolum-etiket {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 14px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--turkuaz);
}
.bolum-etiket::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.bolum-etiket::after { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.bolum-baslik h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; color: #fff; }
.bolum-baslik p { margin-top: 14px; color: var(--metin-2); font-size: 1.05rem; }
@media (max-width: 640px) { .bolum { padding: var(--b-8) 0; } }

/* ---------- 7. CAM KART ---------- */
.cam-kart {
    position: relative;
    background: linear-gradient(160deg, rgba(148, 197, 255, 0.07), rgba(148, 197, 255, 0.025));
    border: 1px solid var(--kenar);
    border-radius: var(--kose-l);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--golge-1);
}
.kart-parilti { transition: transform 0.35s var(--gecis), border-color 0.35s, box-shadow 0.35s; }
.kart-parilti::before {
    /* Fare konumuna göre iç parıltı (animasyon.js --mx/--my verir) */
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(94, 234, 212, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.kart-parilti:hover { transform: translateY(-6px); border-color: rgba(94, 234, 212, 0.35); box-shadow: var(--golge-parilti); }
.kart-parilti:hover::before { opacity: 1; }

/* ---------- 8. ASİSTAN ---------- */
.asistan { margin-top: -40px; padding-top: 40px; }
.asistan-panel { padding: clamp(18px, 3vw, 36px); }
.asistan-adimlar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (max-width: 640px) {
    .asistan-adim { flex-direction: column; gap: 12px; }
    .adim-no { width: 32px; height: 32px; border-radius: 10px; font-size: 0.9rem; }
    .arama-satir { flex-basis: 100%; }
    .su-tipi-grup { width: 100%; }
    .su-tipi-btn { flex: 1; justify-content: center; }
}
.asistan-adim { display: flex; gap: 18px; padding: 8px 0 26px; }
.asistan-adim + .asistan-adim { border-top: 1px solid var(--kenar); padding-top: 26px; }
.adim-no {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    font-family: var(--yazi-baslik); font-weight: 700;
    color: #032028;
    background: var(--vurgu-gradyan);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(34, 211, 238, 0.25);
}
.adim-icerik { flex: 1; min-width: 0; }
.adim-icerik h3 { font-size: 1.15rem; color: #fff; }
.adim-icerik .opsiyonel { font-size: 0.8rem; font-weight: 400; color: var(--metin-3); }
.adim-aciklama { margin-top: 4px; font-size: 0.9rem; color: var(--metin-2); }
.adim-araclar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; }

.su-tipi-grup { display: inline-flex; padding: 4px; background: rgba(3, 11, 23, 0.6); border: 1px solid var(--kenar); border-radius: 999px; }
.su-tipi-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    font-size: 0.88rem; font-weight: 600;
    color: var(--metin-2) !important;
    background: transparent !important;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.25s, background 0.3s var(--gecis), box-shadow 0.3s;
}
.su-tipi-btn:hover { color: #fff !important; }
.su-tipi-btn.aktif { color: #032028 !important; background: var(--vurgu-gradyan) !important; box-shadow: 0 4px 16px rgba(34, 211, 238, 0.3); }

.arama-satir {
    position: relative;
    display: flex; align-items: center; gap: 6px;
    flex: 1 1 340px;
    min-width: 0;
    padding: 5px 5px 5px 16px;
    background: rgba(3, 11, 23, 0.55);
    border: 1px solid var(--kenar);
    border-radius: 999px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.arama-satir:focus-within { border-color: rgba(94, 234, 212, 0.55); box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1); }
.arama-ikon { color: var(--metin-3); font-size: 0.9rem; }
.arama-input { flex: 1; min-width: 0; width: 0; padding: 9px 6px; font: inherit; font-size: 0.93rem; color: var(--metin); background: transparent; border: 0; outline: none; }
.arama-input::placeholder { color: var(--metin-3); }
.arama-btn {
    padding: 9px 18px;
    font-size: 0.86rem; font-weight: 600;
    color: #032028;
    background: var(--vurgu-gradyan);
    border: 0; border-radius: 999px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}
.arama-btn:hover:not(:disabled) { transform: translateY(-1px); }
.arama-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.isi-btn {
    width: 38px; height: 38px; flex-shrink: 0;
    display: grid; place-items: center;
    color: var(--turuncu);
    background: rgba(253, 186, 116, 0.1);
    border: 1px solid rgba(253, 186, 116, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.isi-btn:hover { background: rgba(253, 186, 116, 0.2); transform: scale(1.06); }
.balik-arama-kutu { position: relative; max-width: 560px; margin-top: 14px; }
#arama-sonuclari {
    position: absolute !important; top: calc(100% + 6px); left: 0 !important; right: 0 !important;
    max-height: 280px; overflow-y: auto;
    background: var(--panel-2) !important;
    border: 1px solid var(--kenar-guclu) !important;
    border-radius: var(--kose-m) !important;
    box-shadow: var(--golge-2);
    padding: 6px;
}
#arama-sonuclari > div { padding: 9px 12px !important; border-radius: 10px; color: var(--metin); font-size: 0.92rem; }
#arama-sonuclari > div:hover { background: var(--cam-2) !important; }
.secili-sonuc { background: rgba(94, 234, 212, 0.14) !important; }

.harita-alani {
    height: clamp(320px, 52vh, 520px);
    border-radius: var(--kose-m);
    overflow: hidden;
    border: 1px solid var(--kenar-guclu);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3), var(--golge-1);
    z-index: 0;
}
/* OSM karolarını koyu temaya uydur; işaretçiler ve ısı katmanı etkilenmez */
.harita-alani .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(1.05) saturate(1.2) contrast(0.82); }
.harita-alani .leaflet-control-zoom a { background: var(--panel-2); color: var(--metin); border-color: var(--kenar); }
.harita-alani .leaflet-control-zoom a:hover { background: var(--zemin-3); }
.harita-alani .leaflet-control-attribution { background: rgba(6, 21, 40, 0.8); color: var(--metin-3); }
.harita-alani .leaflet-control-attribution a { color: var(--mavi); }
.harita-alani .leaflet-popup-content-wrapper, .harita-alani .leaflet-popup-tip { background: var(--panel-2); color: var(--metin); border: 1px solid var(--kenar-guclu); }
.konum-bilgi-txt { margin-top: 12px; font-size: 0.87rem; color: var(--metin-2); }
.konum-bilgi-txt i { color: var(--turkuaz); }

/* İskelet yükleme */
#yukleniyor { padding: 28px 0 8px; }
.iskelet-baslik { width: min(320px, 70%); height: 22px; margin: 0 auto 10px; }
.iskelet-alt { width: min(420px, 85%); height: 12px; margin: 0 auto 26px; }
.iskelet-izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.iskelet-kart { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--kenar); border-radius: var(--kose-m); background: var(--cam); }
.iskelet-kart .g { width: 72px; height: 72px; border-radius: 12px; flex-shrink: 0; }
.iskelet-kart .satirlar { flex: 1; display: grid; gap: 9px; align-content: center; }
.iskelet-kart .s1 { height: 14px; width: 60%; }
.iskelet-kart .s2 { height: 10px; width: 90%; }
.iskelet-kart .s3 { height: 10px; width: 75%; }
.parilti-zemin {
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(148, 197, 255, 0.06) 25%, rgba(148, 197, 255, 0.16) 50%, rgba(148, 197, 255, 0.06) 75%);
    background-size: 200% 100%;
    animation: iskeletAk 1.4s ease-in-out infinite;
}
@keyframes iskeletAk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.yukleniyor-metni { margin-top: 18px; text-align: center; font-size: 0.86rem; color: var(--metin-2); }
@media (max-width: 720px) { .iskelet-izgara { grid-template-columns: 1fr; } .iskelet-kart:nth-child(n+3) { display: none; } }

/* Sonuç alanı: kartlar sırayla belirir */
#sonuc-alani { border-top: 1px solid var(--kenar) !important; }
#sonuc-alani:not(.hidden) > *, #sonuc-alani .grid > * { animation: sonucGel 0.6s var(--gecis) both; }
#sonuc-alani .grid > *:nth-child(1) { animation-delay: 0.05s; }
#sonuc-alani .grid > *:nth-child(2) { animation-delay: 0.12s; }
#sonuc-alani .grid > *:nth-child(3) { animation-delay: 0.19s; }
#sonuc-alani .grid > *:nth-child(4) { animation-delay: 0.26s; }
#sonuc-alani .grid > *:nth-child(5) { animation-delay: 0.33s; }
#sonuc-alani .grid > *:nth-child(6) { animation-delay: 0.4s; }
#sonuc-alani .grid > *:nth-child(7) { animation-delay: 0.47s; }
#sonuc-alani .grid > *:nth-child(n+8) { animation-delay: 0.54s; }
@keyframes sonucGel { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
#sonuc-alani .grid > .bg-white { transition: transform 0.3s var(--gecis), border-color 0.3s, box-shadow 0.3s; }
#sonuc-alani .grid > .bg-white:hover { transform: translateY(-3px); border-color: rgba(94, 234, 212, 0.35) !important; box-shadow: var(--golge-parilti) !important; }
#sonuc-alani img.object-contain, #balik-listesi-icerik img.object-contain { background: #e9f4fb !important; }
#sonuc-alani details summary { list-style-position: inside; }
.chart-bar { cursor: pointer; transition: transform 0.25s var(--gecis), filter 0.25s; }
.chart-bar:hover { filter: brightness(1.15); }
.chart-bar > div { transform-origin: bottom; animation: cubukBuyu 0.8s var(--gecis) both; }
.chart-bar .bg-green-500 { background: linear-gradient(180deg, #4ade80, rgba(22, 163, 74, 0.55)) !important; }
.chart-bar .bg-yellow-500 { background: linear-gradient(180deg, #fde047, rgba(202, 138, 4, 0.55)) !important; }
.chart-bar .bg-red-500 { background: linear-gradient(180deg, #fb7185, rgba(190, 18, 60, 0.55)) !important; }
.selected-bar { box-shadow: 0 0 0 2px var(--turkuaz), 0 0 18px rgba(94, 234, 212, 0.35); }

/* ---------- 9. NASIL ÇALIŞIR ---------- */
.adimlar-izgara { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adimlar-cizgi { position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; overflow: hidden; border-radius: 2px; background: var(--kenar); }
.adimlar-cizgi::after { content: ''; position: absolute; inset: 0; background: var(--vurgu-gradyan); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--gecis) 0.3s; }
.adimlar-izgara.gorundu .adimlar-cizgi::after { transform: scaleX(1); }
.adim-kart { padding: 30px 26px; text-align: left; }
.adim-ikon {
    position: relative;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    font-size: 1.3rem;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
    border-radius: 16px;
    margin-bottom: 22px;
}
.adim-kart .sira { position: absolute; top: 22px; right: 24px; font-family: var(--yazi-baslik); font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(148, 197, 255, 0.08); }
.adim-kart h3 { font-size: 1.2rem; color: #fff; margin-bottom: 10px; }
.adim-kart p { font-size: 0.93rem; color: var(--metin-2); }
@media (max-width: 900px) { .adimlar-izgara { grid-template-columns: 1fr; } .adimlar-cizgi { display: none; } }

/* ---------- 10. ÖZELLİKLER (bento) ---------- */
.ozellik-izgara { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ozellik { padding: 28px; grid-column: span 2; overflow: hidden; }
.ozellik.genis { grid-column: span 3; }
.ozellik-ikon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    font-size: 1.1rem;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 13%, transparent);
    border-radius: 14px;
    margin-bottom: 18px;
    transition: transform 0.4s var(--gecis);
}
.ozellik:hover .ozellik-ikon { transform: scale(1.1) rotate(-6deg); }
.ozellik h3 { font-size: 1.12rem; color: #fff; margin-bottom: 8px; }
.ozellik p { font-size: 0.92rem; color: var(--metin-2); }
.ozellik .dekor { position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); pointer-events: none; }
@media (max-width: 960px) { .ozellik, .ozellik.genis { grid-column: span 3; } }
@media (max-width: 640px) { .ozellik-izgara { grid-template-columns: 1fr; } .ozellik, .ozellik.genis { grid-column: auto; } }

/* ---------- 11. SAYAÇLAR ---------- */
.sayac-bandi { position: relative; overflow: hidden; }
.sayac-izgara { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--kenar); border: 1px solid var(--kenar); border-radius: var(--kose-l); overflow: hidden; }
.sayac { padding: 30px 18px; text-align: center; background: var(--zemin-0); }
.sayac strong { display: block; font-family: var(--yazi-baslik); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sayac span { display: block; margin-top: 10px; font-size: 0.86rem; color: var(--metin-2); }
@media (max-width: 900px) { .sayac-izgara { grid-template-columns: repeat(2, 1fr); } .sayac:last-child { grid-column: span 2; } }

/* ---------- 12. ANSİKLOPEDİ ---------- */
.ansiklopedi-izgara { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ansiklopedi-kart { display: flex; align-items: center; gap: 22px; padding: 26px; cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.ansiklopedi-kart .resimler { display: flex; flex-shrink: 0; }
.ansiklopedi-kart .resimler img { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; border: 3px solid var(--zemin-1); background: #e9f4fb; margin-left: -18px; transition: transform 0.35s var(--gecis); }
.ansiklopedi-kart .resimler img:first-child { margin-left: 0; }
.ansiklopedi-kart:hover .resimler img:nth-child(1) { transform: translateX(-4px) rotate(-6deg); }
.ansiklopedi-kart:hover .resimler img:nth-child(3) { transform: translateX(4px) rotate(6deg); }
.ansiklopedi-kart h3 { font-size: 1.15rem; color: #fff; }
.ansiklopedi-kart p { font-size: 0.88rem; color: var(--metin-2); margin-top: 4px; }
.ansiklopedi-kart .ok { margin-left: auto; color: var(--turkuaz); transition: transform 0.3s var(--gecis); }
.ansiklopedi-kart:hover .ok { transform: translateX(5px); }
@media (max-width: 760px) { .ansiklopedi-izgara { grid-template-columns: 1fr; } }
#balik-listesi-bolumu { padding-top: 0; }
#balik-listesi-baslik { font-size: 1.6rem; color: #fff; text-align: center; margin-bottom: 26px; }
#balik-listesi-icerik > * { animation: sonucGel 0.5s var(--gecis) both; }

/* ---------- 13. HAKKIMIZDA ---------- */
.misyon-izgara { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.misyon-metin p { color: var(--metin-2); font-size: 1.04rem; margin-bottom: 16px; }
.misyon-metin strong { color: var(--metin); }
.misyon-kartlar { display: grid; gap: 16px; }
.misyon-kart { padding: 24px; display: flex; gap: 16px; }
.misyon-kart i { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.misyon-kart h3 { font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.misyon-kart p { font-size: 0.9rem; color: var(--metin-2); }
@media (max-width: 860px) { .misyon-izgara { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 14. SSS (akordeon) ---------- */
.sss-liste { display: grid; gap: 12px; }
.sss-oge { border-radius: var(--kose-m); overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.sss-oge[open] { border-color: rgba(94, 234, 212, 0.3); background: linear-gradient(160deg, rgba(94, 234, 212, 0.06), rgba(148, 197, 255, 0.03)); }
.sss-oge summary {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    font-family: var(--yazi-baslik); font-weight: 600; font-size: 1.02rem;
    color: #fff;
    cursor: pointer;
    list-style: none;
}
.sss-oge summary::-webkit-details-marker { display: none; }
.sss-oge summary .sss-ikon { color: var(--turkuaz); width: 20px; text-align: center; }
.sss-oge summary::after {
    content: '';
    margin-left: auto;
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-right: 2px solid var(--metin-2);
    border-bottom: 2px solid var(--metin-2);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.3s var(--gecis);
}
.sss-oge[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.sss-cevap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--gecis); }
.sss-oge[open] .sss-cevap { grid-template-rows: 1fr; }
.sss-cevap > div { overflow: hidden; }
.sss-cevap p { padding: 0 22px 20px 56px; color: var(--metin-2); font-size: 0.95rem; }
.sss-cevap strong { color: var(--metin); }
@media (max-width: 560px) { .sss-cevap p { padding-left: 22px; } }

/* ---------- 15. İLETİŞİM ---------- */
.iletisim-izgara { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.iletisim-bilgi h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 14px; }
.iletisim-bilgi > p { color: var(--metin-2); }
.iletisim-liste { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.iletisim-liste li { display: flex; align-items: center; gap: 12px; color: var(--metin-2); font-size: 0.95rem; }
.iletisim-liste i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--turkuaz); background: rgba(94, 234, 212, 0.1); }
.iletisim-liste a:hover { color: var(--turkuaz); }
.iletisim-form { padding: clamp(22px, 3vw, 34px); }
.form-izgara { display: grid; gap: 18px; }
.form-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .iletisim-izgara { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) { .form-iki { grid-template-columns: 1fr; } }

/* Form öğeleri (sayfa + modallar) */
.tema .form-label { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 600; color: var(--metin-2); }
.tema .form-input {
    width: 100%;
    padding: 11px 14px;
    font: inherit; font-size: 0.93rem;
    color: var(--metin);
    background: rgba(3, 11, 23, 0.55);
    border: 1px solid var(--kenar);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tema .form-input::placeholder { color: var(--metin-3); }
.tema .form-input:focus { border-color: rgba(94, 234, 212, 0.6); box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1); background: rgba(3, 11, 23, 0.75); }
.tema select.form-input option { background: var(--panel-2); color: var(--metin); }
.tema input[type="checkbox"] { accent-color: var(--turkuaz); }
.tema input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.onay-satiri { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--metin-2); }
.onay-satiri input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.onay-satiri a { color: var(--turkuaz); font-weight: 500; }
.bildirim { padding: 14px 16px; border-radius: 12px; font-size: 0.9rem; border: 1px solid; margin-bottom: 18px; }
.bildirim.basari { color: var(--yesil); background: rgba(74, 222, 128, 0.08); border-color: rgba(74, 222, 128, 0.3); }
.bildirim.hata { color: var(--kirmizi); background: rgba(252, 165, 165, 0.08); border-color: rgba(252, 165, 165, 0.3); }

/* ---------- 16. ALTBİLGİ ---------- */
.altbilgi { position: relative; padding: 80px 0 32px; background: var(--zemin-0); border-top: 1px solid var(--kenar); overflow: hidden; }
.altbilgi::before { content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--turkuaz), transparent); opacity: 0.6; }
.altbilgi-izgara { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.altbilgi .logo { margin-bottom: 14px; }
.altbilgi-marka p { color: var(--metin-3); font-size: 0.9rem; max-width: 320px; }
.altbilgi-marka a.eposta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.88rem; color: var(--turkuaz); }
.altbilgi h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--metin); margin-bottom: 16px; }
.altbilgi ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.altbilgi ul a { font-size: 0.9rem; color: var(--metin-3); transition: color 0.2s, padding 0.2s; }
.altbilgi ul a:hover { color: var(--turkuaz); padding-left: 4px; }
.altbilgi-alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--kenar); font-size: 0.8rem; color: var(--metin-3); }
.altbilgi-alt a { color: var(--metin-2); text-decoration: underline; text-decoration-color: var(--kenar-guclu); text-underline-offset: 3px; }
.altbilgi-alt strong { color: var(--metin-2); }
@media (max-width: 860px) { .altbilgi-izgara { grid-template-columns: 1fr 1fr; } .altbilgi-marka { grid-column: span 2; } }

/* ---------- 17. MODALLAR ---------- */
.modal-backdrop {
    background: rgba(2, 8, 18, 0.66) !important;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.modal-backdrop:not(.hidden) { animation: perdeGel 0.25s ease both; }
.modal-backdrop > div, body.tema .modal-backdrop > div.bg-white {
    background: linear-gradient(170deg, var(--panel-2), var(--panel)) !important;
    border: 1px solid var(--kenar-guclu);
    color: var(--metin);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6) !important;
}
.modal-backdrop:not(.hidden) > div { animation: modalGel 0.38s var(--gecis) both; }
@keyframes perdeGel { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalGel { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
.modal-backdrop h3 { color: #fff !important; }
/* Modallardaki renkli başlık şeritleri koyulaşsın */
.modal-backdrop .bg-teal-50, .modal-backdrop .bg-indigo-50 { background: rgba(148, 197, 255, 0.05) !important; border-color: var(--kenar) !important; }

/* ---------- 18. TAILWIND RENK EŞLEMESİ ----------
   script.js'in ürettiği HTML açık temalı Tailwind sınıfları kullanıyor.
   Aynı sınıfları koyu temada karşılıklarına eşliyoruz (body.tema kapsamı,
   Tailwind'in tek sınıflık kurallarından daha özgül). */
body.tema .bg-white { background-color: var(--cam) !important; }
body.tema #sonuc-alani .bg-white, body.tema #balik-listesi-icerik .bg-white, body.tema #kayit-listesi .bg-white, body.tema #spot-listesi .bg-white, body.tema #public-catches-alani .bg-white { border: 1px solid var(--kenar) !important; box-shadow: none !important; backdrop-filter: blur(8px); }
body.tema .bg-gray-50, body.tema .bg-gray-100 { background-color: rgba(148, 197, 255, 0.06) !important; }
body.tema .bg-gray-200 { background-color: rgba(148, 197, 255, 0.1) !important; }
body.tema .bg-gray-500 { background-color: #475569 !important; }
body.tema .hover\:bg-gray-100:hover, body.tema .hover\:bg-gray-200:hover { background-color: var(--cam-2) !important; }
body.tema .border, body.tema .border-gray-100, body.tema .border-gray-200, body.tema .border-gray-300, body.tema .border-t, body.tema .border-b, body.tema .border-l { border-color: var(--kenar) !important; }

body.tema .text-gray-900, body.tema .text-gray-800 { color: var(--metin) !important; }
body.tema .text-gray-700 { color: #c9d7e6 !important; }
body.tema .text-gray-600 { color: var(--metin-2) !important; }
body.tema .text-gray-500, body.tema .text-gray-400 { color: var(--metin-3) !important; }
body.tema .hover\:text-gray-700:hover { color: var(--metin) !important; }

body.tema .text-blue-500, body.tema .text-blue-600, body.tema .text-blue-700 { color: var(--mavi) !important; }
body.tema .text-blue-800, body.tema .text-blue-900 { color: #93c5fd !important; }
body.tema .bg-blue-50, body.tema .bg-sky-50 { background-color: rgba(96, 165, 250, 0.1) !important; }
body.tema .bg-blue-100 { background-color: rgba(96, 165, 250, 0.16) !important; }
body.tema .hover\:bg-blue-200:hover { background-color: rgba(96, 165, 250, 0.26) !important; }
body.tema .border-blue-200, body.tema .border-sky-200 { border-color: rgba(96, 165, 250, 0.3) !important; }
body.tema .text-sky-700 { color: #7dd3fc !important; }

body.tema .text-teal-500, body.tema .text-teal-600, body.tema .text-teal-700, body.tema .text-teal-800 { color: var(--turkuaz) !important; }
body.tema .bg-teal-50 { background-color: rgba(94, 234, 212, 0.08) !important; }
body.tema .hover\:bg-teal-100:hover { background-color: rgba(94, 234, 212, 0.16) !important; }
body.tema .border-teal-100, body.tema .border-teal-200 { border-color: rgba(94, 234, 212, 0.28) !important; }

body.tema .text-green-600, body.tema .text-green-700, body.tema .text-green-800, body.tema .text-emerald-700 { color: var(--yesil) !important; }
body.tema .hover\:text-green-900:hover { color: #86efac !important; }
body.tema .bg-green-50 { background-color: rgba(74, 222, 128, 0.08) !important; }
body.tema .bg-green-100 { background-color: rgba(74, 222, 128, 0.14) !important; }
body.tema .hover\:bg-green-200:hover { background-color: rgba(74, 222, 128, 0.24) !important; }
body.tema .border-green-200 { border-color: rgba(74, 222, 128, 0.3) !important; }

body.tema .text-red-500, body.tema .text-red-600, body.tema .text-red-700, body.tema .text-red-800, body.tema .text-rose-700 { color: var(--kirmizi) !important; }
body.tema .hover\:text-red-600:hover, body.tema .hover\:text-red-700:hover, body.tema .hover\:text-red-800:hover { color: #fecaca !important; }
body.tema .bg-red-50 { background-color: rgba(248, 113, 113, 0.08) !important; }
body.tema .bg-red-100 { background-color: rgba(248, 113, 113, 0.14) !important; }
body.tema .hover\:bg-red-50:hover { background-color: rgba(248, 113, 113, 0.14) !important; }
body.tema .border-red-200, body.tema .border-red-300, body.tema .border-red-400 { border-color: rgba(248, 113, 113, 0.35) !important; }
body.tema .border-red-500 { border-color: #f87171 !important; }

body.tema .text-yellow-600, body.tema .text-yellow-700, body.tema .text-yellow-800, body.tema .text-amber-600, body.tema .text-amber-700, body.tema .text-amber-900 { color: #fcd34d !important; }
body.tema .bg-yellow-50, body.tema .bg-amber-50 { background-color: rgba(250, 204, 21, 0.07) !important; }
body.tema .bg-yellow-100 { background-color: rgba(250, 204, 21, 0.12) !important; }
body.tema .border-yellow-300, body.tema .border-amber-200 { border-color: rgba(250, 204, 21, 0.3) !important; }
body.tema .border-yellow-500 { border-color: #eab308 !important; }

body.tema .text-orange-700, body.tema .text-orange-800 { color: var(--turuncu) !important; }
body.tema .bg-orange-50 { background-color: rgba(251, 146, 60, 0.08) !important; }
body.tema .bg-orange-100 { background-color: rgba(251, 146, 60, 0.14) !important; }
body.tema .border-orange-200 { border-color: rgba(251, 146, 60, 0.3) !important; }
body.tema .border-orange-500 { border-color: #fb923c !important; }

body.tema .text-indigo-500, body.tema .text-indigo-700, body.tema .text-indigo-800, body.tema .text-purple-700 { color: var(--mor) !important; }
body.tema .bg-indigo-50 { background-color: rgba(167, 139, 250, 0.08) !important; }
body.tema .hover\:bg-indigo-100:hover { background-color: rgba(167, 139, 250, 0.16) !important; }
body.tema .border-indigo-100 { border-color: rgba(167, 139, 250, 0.25) !important; }

/* Dolu renkli butonlar (modallar): vurgu tonlarına çek */
body.tema .bg-blue-600, body.tema .bg-blue-500 { background-color: #0ea5c6 !important; color: #fff !important; }
body.tema .hover\:bg-blue-700:hover { background-color: #0891b2 !important; }
body.tema .bg-green-600 { background-color: #0d9488 !important; }
body.tema .hover\:bg-green-700:hover { background-color: #0f766e !important; }
body.tema .bg-teal-600 { background-color: #0d9488 !important; }
body.tema .hover\:bg-teal-700:hover { background-color: #0f766e !important; }
body.tema input[type="file"] { color: var(--metin-2) !important; background: rgba(3, 11, 23, 0.55) !important; border-color: var(--kenar) !important; }
body.tema input[type="file"]::file-selector-button { background: rgba(94, 234, 212, 0.14); color: var(--turkuaz); }

/* ---------- 19. KAYDIRMA İLE BELİRME ---------- */
.belir { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--gecis), transform 0.9s var(--gecis); transition-delay: calc(var(--sira, 0) * 90ms); }
.belir.gorundu { opacity: 1; transform: none; }
/* JS çalışmazsa içerik gizli kalmasın */
.js-yok .belir { opacity: 1; transform: none; }

/* ---------- 20. HAREKET AZALTMA ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .kabarcik, .balik-silueti, .huzme, .kaydir-ipucu { display: none !important; }
    .belir, .kelime, .hero-gir { opacity: 1 !important; transform: none !important; filter: none !important; }
    .halka .dolu { stroke-dashoffset: calc(289 - 289 * var(--oran, 0.8)); }
    .saat-cubugu i { transform: none; }
}

/* Başlıktaki vurgulu kelimeler (kelime kelime bölündükten sonra her biri gradyan) */
.hero h1 .vurgu .kelime, .hero h1 .vurgu {
    background: var(--vurgu-gradyan);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero h1 .vurgu:has(.kelime) { background: none; }
