/* ============================================================
   TAHTORIA — SITE TASARIM SISTEMI v2 (#39)
   Beyaz-altin, lobi paletiyle akraba. Tek kaynak:
   tokens + topbar + hero + kartlar + tablo + faq + footer + modal.
   Karanlık mod: html[data-theme="dark"].
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --s-bg: #F7F5EE;
    --s-surface: #FFFFFF;
    --s-ink: #181C38;
    --s-ink2: #4A4F76;
    --s-ink3: #878DB2;
    --s-line: #E5E0CF;
    --s-gold: #E9A500;
    --s-gold-deep: #A9780A;
    --s-gold-soft: #FFF6D8;
    --s-navy: #181C38;
    --s-radius: 16px;
    --s-shadow: 0 6px 22px rgba(24, 28, 56, 0.06), 0 1px 3px rgba(24, 28, 56, 0.05);
    --s-shadow-lg: 0 18px 44px rgba(24, 28, 56, 0.12);
    --s-font-d: 'Lilita One', cursive;
    --s-font-b: 'Nunito', sans-serif;
    --s-container: 1120px;
}

/* ---- temel ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
    font-family: var(--s-font-b);
    background: var(--s-bg);
    color: var(--s-ink);
    min-height: 100vh;
    display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
.site-main { flex: 1; width: 100%; max-width: var(--s-container); margin: 0 auto; padding: 0 24px; }
.aos-ico { vertical-align: -3px; }

/* ---- ust bar ---- */
.site-top {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--s-line);
}
.site-top-in {
    max-width: var(--s-container); margin: 0 auto; padding: 0 24px;
    height: 62px;
    display: flex; align-items: center; gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo-mark {
    width: 32px; height: 32px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #232858, #12152E);
    color: #F5C518;
    box-shadow: 0 3px 8px rgba(24, 28, 56, 0.25);
}
.logo-word {
    font-family: var(--s-font-d); font-size: 1.08rem; letter-spacing: 1.5px;
    color: var(--s-ink);
}
.site-nav { flex: 1; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
    padding: 8px 13px; border-radius: 10px;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2px;
    color: var(--s-ink2); text-decoration: none; white-space: nowrap;
    transition: color .12s, background .12s;
}
.site-nav a:hover { color: var(--s-ink); background: rgba(24, 28, 56, 0.06); }
.site-nav a.on { color: #A9780A; background: var(--s-gold-soft); }
.site-actions { display: flex; align-items: center; gap: 9px; flex: none; }

/* ---- butonlar ---- */
.btn-gold, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 18px; border-radius: 12px;
    font-family: var(--s-font-b); font-size: 0.82rem; font-weight: 900;
    letter-spacing: 0.2px; text-decoration: none; cursor: pointer;
    border: 2px solid transparent;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn-gold {
    background: linear-gradient(180deg, #FFD84D 0%, var(--s-gold) 100%);
    color: #221A00; border-color: transparent;
    box-shadow: 0 3px 0 #B8860B, 0 10px 22px rgba(233, 165, 0, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #B8860B, 0 14px 28px rgba(233, 165, 0, 0.34); }
.btn-gold:active { transform: translateY(1px); box-shadow: 0 1px 0 #B8860B; }
.btn-ghost { background: var(--s-surface); color: var(--s-ink); border-color: var(--s-line); }
.btn-ghost:hover { border-color: var(--s-gold); }
.theme-btn {
    width: 38px; height: 38px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; cursor: pointer; border-radius: 11px;
    background: var(--s-surface); border: 2px solid var(--s-line);
    color: var(--s-ink);
    transition: border-color .12s ease;
}
.theme-btn:hover { border-color: var(--s-gold); }

/* ---- bolum ortaklari ---- */
.section { padding: 58px 0 26px; }
.section-head { margin-bottom: 30px; max-width: 680px; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.66rem; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--s-gold-deep); background: var(--s-gold-soft);
    padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.section-title {
    font-family: var(--s-font-d); font-weight: 400;
    font-size: 1.85rem; letter-spacing: 0.4px; line-height: 1.15;
    color: var(--s-ink); margin-bottom: 8px;
}
.section-sub { font-size: 0.95rem; font-weight: 600; line-height: 1.65; color: var(--s-ink2); }
.card {
    background: var(--s-surface);
    border: 1.5px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

/* ---- hero: iki kolon ---- */
.hero {
    border-bottom: 1px solid var(--s-line);
    background:
        radial-gradient(52% 58% at 88% 4%, rgba(233, 165, 0, 0.13), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, var(--s-bg) 100%);
}
.hero-grid {
    max-width: var(--s-container); margin: 0 auto; padding: 64px 24px 44px;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center;
}
.hero-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.68rem; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--s-gold-deep); background: var(--s-gold-soft);
    border: 1px solid #F0DFA6;
    padding: 5px 13px; border-radius: 999px; margin-bottom: 18px;
}
.hero-title {
    font-family: var(--s-font-d); font-weight: 400;
    font-size: clamp(2.2rem, 4.6vw, 3.15rem);
    line-height: 1.08; letter-spacing: 0.5px; color: var(--s-ink);
}
.hero-title em { font-style: normal; color: var(--s-gold-deep); }
.hero-sub {
    margin-top: 16px; max-width: 560px;
    font-size: 1rem; font-weight: 600; line-height: 1.7; color: var(--s-ink2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* hero sag: kampanya paneli (oyun verisinin stillize hali) */
.camp-panel { padding: 20px 20px 22px; border-top: 3px solid var(--s-gold); }
.camp-panel .cp-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 15px;
}
.camp-panel .cp-flag {
    width: 42px; height: 30px; border-radius: 7px; flex: none;
    background: linear-gradient(180deg, #E03131 0%, #E03131 38%, #FFFFFF 38%, #FFFFFF 62%, #E03131 62%);
    border: 1.5px solid var(--s-line);
}
.camp-panel .cp-name { font-family: var(--s-font-d); font-size: 1rem; color: var(--s-ink); }
.camp-panel .cp-sub { font-size: 0.68rem; font-weight: 800; color: var(--s-ink3); letter-spacing: 0.4px; text-transform: uppercase; }
.camp-row { margin-top: 12px; }
.camp-row .cl { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 800; color: var(--s-ink2); margin-bottom: 5px; }
.camp-row .cl b { color: var(--s-ink); }
.camp-row .bar { height: 7px; border-radius: 6px; background: var(--s-bg); overflow: hidden; }
.camp-row .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--s-gold) 0%, #FFD84D 100%); }
.camp-foot {
    margin-top: 16px; padding-top: 13px; border-top: 1.5px dashed var(--s-line);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.72rem; font-weight: 800; color: var(--s-ink3);
}
.camp-foot .up { color: #12855C; font-weight: 900; }

/* ---- istatistik seridi ---- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-top: 38px; }
.stat-card { padding: 17px 17px 15px; border-top: 3px solid var(--s-gold); }
.stat-card .n { font-family: var(--s-font-d); font-size: 1.55rem; color: var(--s-ink); }
.stat-card .l { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.8px; text-transform: uppercase; color: var(--s-ink3); margin-top: 3px; }

/* ---- kart ızgaraları ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card { padding: 21px 20px; position: relative; overflow: hidden; }
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--s-gold), #FFD84D);
    opacity: 0; transition: opacity .18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--s-shadow-lg); border-color: #E9E2C8; }
.feature-card:hover::before { opacity: 1; }
.feature-card .fc-ico {
    width: 42px; height: 42px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--s-gold-soft); color: var(--s-gold-deep);
    margin-bottom: 13px;
}
.feature-card h3 { font-size: 1rem; font-weight: 900; color: var(--s-ink); margin-bottom: 6px; }
.feature-card p { font-size: 0.84rem; font-weight: 600; line-height: 1.65; color: var(--s-ink2); }

/* ---- adimlar ---- */
.step { display: flex; gap: 17px; padding: 17px 0; border-bottom: 1.5px solid var(--s-line); }
.step:last-child { border-bottom: none; }
.step .no {
    flex: none; width: 36px; height: 36px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--s-font-d); font-size: 1rem;
    background: var(--s-gold-soft); color: var(--s-gold-deep);
    border: 1.5px solid #F0DFA6;
}
.step h3 { font-size: 0.98rem; font-weight: 900; color: var(--s-ink); margin-bottom: 4px; }
.step p { font-size: 0.86rem; font-weight: 600; line-height: 1.65; color: var(--s-ink2); }

/* ---- tablo ---- */
.lb-wrap { overflow: hidden; }
.lb-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.lb-table th {
    text-align: left; padding: 12px 15px;
    font-size: 0.66rem; font-weight: 900; letter-spacing: 0.9px; text-transform: uppercase;
    color: var(--s-ink3); border-bottom: 2px solid var(--s-line);
    background: var(--s-bg);
}
.lb-table td { padding: 13px 15px; border-bottom: 1.5px solid var(--s-line); font-weight: 700; }
.lb-table tr:last-child td { border-bottom: none; }
.lb-table .rk { font-family: var(--s-font-d); color: var(--s-gold-deep); width: 54px; }
.lb-table .me td { background: var(--s-gold-soft); }

/* ---- rutbe basamaklari ---- */
.rank-ladder { display: flex; flex-direction: column; gap: 11px; }
.rank-step {
    display: flex; align-items: center; gap: 15px;
    padding: 16px 18px; background: var(--s-surface);
    border: 1.5px solid var(--s-line); border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
}
.rank-step .r-ico { color: var(--s-gold-deep); flex: none; }
.rank-step .r-name { font-weight: 900; color: var(--s-ink); flex: 1; font-size: 0.95rem; }
.rank-step .r-range { font-size: 0.78rem; font-weight: 800; color: var(--s-ink3); }

/* ---- changelog ---- */
.cl-item { border-left: 2.5px solid var(--s-gold); padding: 4px 0 20px 20px; position: relative; }
.cl-item::before {
    content: ''; position: absolute; left: -7px; top: 2px;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--s-gold); border: 2.5px solid var(--s-bg);
}
.cl-ver { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.cl-ver b { font-family: var(--s-font-d); font-weight: 400; font-size: 1.05rem; color: var(--s-ink); }
.cl-ver .dt { font-size: 0.74rem; font-weight: 700; color: var(--s-ink3); }
.cl-badge {
    font-size: 0.58rem; font-weight: 900; letter-spacing: 0.7px;
    padding: 2.5px 9px; border-radius: 999px; color: #FFF;
    background: var(--s-gold-deep);
}
.cl-item ul { list-style: none; }
.cl-item li { font-size: 0.86rem; font-weight: 600; color: var(--s-ink2); line-height: 1.75; padding-left: 16px; position: relative; }
.cl-item li::before { content: '—'; position: absolute; left: 0; color: var(--s-gold-deep); font-weight: 900; }

/* ---- faq ---- */
details.faq { border: 1.5px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-surface); padding: 16px 18px; margin-bottom: 11px; box-shadow: var(--s-shadow); }
details.faq summary { cursor: pointer; font-weight: 900; color: var(--s-ink); font-size: 0.94rem; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; float: right; font-family: var(--s-font-d); color: var(--s-gold-deep); font-size: 1.15rem; }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin-top: 10px; font-size: 0.86rem; font-weight: 600; line-height: 1.7; color: var(--s-ink2); }

/* ---- CTA bandi ---- */
.cta-band {
    margin: 50px 0 34px; padding: 36px 32px;
    background: linear-gradient(160deg, #1A1D3D 0%, #2A3060 100%);
    border-radius: 22px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
    box-shadow: 0 20px 50px rgba(24, 28, 56, 0.3);
}
.cta-band h2 { font-family: var(--s-font-d); font-weight: 400; font-size: 1.5rem; color: #FFF; letter-spacing: 0.4px; }
.cta-band p { font-size: 0.88rem; font-weight: 600; color: #AAB4DE; margin-top: 4px; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--s-line); background: var(--s-surface); margin-top: 44px; }
.site-footer-in {
    max-width: var(--s-container); margin: 0 auto; padding: 20px 24px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 0.76rem; font-weight: 700; color: var(--s-ink3);
}
.f-left { display: flex; align-items: center; gap: 9px; }
.f-left .logo-mark { width: 26px; height: 26px; border-radius: 8px; }
.f-ver { opacity: .6; }
.f-links { display: flex; gap: 16px; flex-wrap: wrap; }
.f-links a { color: var(--s-ink2); text-decoration: none; font-weight: 800; }
.f-links a:hover { color: var(--s-gold-deep); }

/* ---- auth modal ---- */
.auth-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.auth-modal.open { display: block; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(13, 16, 38, 0.62); }
.auth-box {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(400px, calc(100% - 32px));
    background: var(--s-surface);
    border: 1.5px solid var(--s-line);
    border-radius: 20px;
    padding: 27px 25px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
}
.auth-close {
    position: absolute; top: 13px; right: 13px;
    width: 29px; height: 29px; border-radius: 9px;
    border: none; background: var(--s-line); color: var(--s-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.auth-title { font-family: var(--s-font-d); font-size: 1.3rem; color: var(--s-ink); }
.auth-sub { font-size: 0.83rem; font-weight: 700; color: var(--s-ink3); margin: 4px 0 16px; }
.auth-alert { display: none; margin-bottom: 11px; padding: 10px 13px; border-radius: 11px; font-size: 0.78rem; font-weight: 800; }
.auth-alert.show { display: block; }
.auth-alert.err { background: #FDECEC; color: #B03028; border: 1.5px solid #F5C6C6; }
.auth-alert.ok { background: #EAF8F0; color: #12855C; border: 1.5px solid #BEE8D2; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase; color: var(--s-ink3); margin-bottom: 5px; }
.field input {
    width: 100%; padding: 12px 14px;
    border: 2px solid var(--s-line); border-radius: 12px;
    background: var(--s-bg); color: var(--s-ink);
    font-family: var(--s-font-b); font-size: 0.9rem; font-weight: 700;
}
.field input:focus { outline: none; border-color: var(--s-gold); }
.auth-submit { width: 100%; justify-content: center; margin-top: 5px; padding: 13px; font-size: 0.86rem; }
.auth-switch { margin-top: 14px; font-size: 0.78rem; font-weight: 700; color: var(--s-ink3); text-align: center; }
.auth-switch a { color: var(--s-gold-deep); cursor: pointer; font-weight: 900; }

/* ---- KARANLIK MOD (#36) ---- */
html[data-theme="dark"] {
    --s-bg: #0B0F22;
    --s-surface: #151A36;
    --s-ink: #E8ECFF;
    --s-ink2: #AAB4DE;
    --s-ink3: #7B86B2;
    --s-line: #262E5A;
    --s-gold-soft: rgba(245, 179, 1, 0.12);
    --s-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    --s-shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
}
html[data-theme="dark"] body.site {
    background: radial-gradient(120% 80% at 50% -10%, #151B3E 0%, #0B0F22 70%);
    color: var(--s-ink);
}
html[data-theme="dark"] .site-top { background: rgba(11, 15, 34, 0.92); }
html[data-theme="dark"] .site-logo .logo-word { color: #FFFFFF; }
html[data-theme="dark"] .site-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #FFF; }
html[data-theme="dark"] .site-nav a.on { color: var(--s-gold); background: var(--s-gold-soft); }
html[data-theme="dark"] .hero {
    background: radial-gradient(52% 58% at 88% 4%, rgba(233, 165, 0, 0.08), transparent 62%),
                linear-gradient(180deg, #10152F 0%, var(--s-bg) 100%);
}
html[data-theme="dark"] .hero-title { color: #FFFFFF; }
html[data-theme="dark"] .btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255,255,255,.16); color: #E8ECFF; }
html[data-theme="dark"] .theme-btn { background: #1A2142; border-color: #2A3160; color: #E8ECFF; }
html[data-theme="dark"] .card { background: #151A36; border-color: #262E5A; }
html[data-theme="dark"] .stat-card .n { color: var(--s-gold); }
html[data-theme="dark"] .feature-card h3 { color: #FFFFFF; }
html[data-theme="dark"] .feature-card p, html[data-theme="dark"] .step p,
html[data-theme="dark"] .section-sub, html[data-theme="dark"] .hero-sub { color: #AAB4DE; }
html[data-theme="dark"] .section-title, html[data-theme="dark"] .step h3,
html[data-theme="dark"] .feature-card h3, html[data-theme="dark"] details.faq summary { color: #FFFFFF; }
html[data-theme="dark"] .camp-panel .cp-name { color: #FFF; }
html[data-theme="dark"] .camp-row .cl { color: #9AA6CE; }
html[data-theme="dark"] .camp-row .cl b { color: #FFF; }
html[data-theme="dark"] .camp-row .bar { background: #232A4E; }
html[data-theme="dark"] .camp-foot { border-top-color: #262E5A; color: #7B86B2; }
html[data-theme="dark"] .step, html[data-theme="dark"] .lb-table td { border-bottom-color: #1F2648; }
html[data-theme="dark"] .lb-table th { border-bottom-color: #262E5A; background: rgba(255,255,255,.03); }
html[data-theme="dark"] .lb-table .me td { background: rgba(245, 179, 1, 0.1); }
html[data-theme="dark"] .rank-step { background: #151A36; border-color: #262E5A; }
html[data-theme="dark"] .cl-item li, html[data-theme="dark"] details.faq p { color: #AAB4DE; }
html[data-theme="dark"] .cta-band { background: #151A36; border: 1.5px solid #262E5A; box-shadow: none; }
html[data-theme="dark"] .site-footer { background: #0B0F22; }
html[data-theme="dark"] .auth-box { background: #151A36; }
html[data-theme="dark"] .auth-title { color: #FFF; }
html[data-theme="dark"] .auth-alert.err { background: rgba(192, 57, 43, 0.15); color: #FF9A8C; border-color: rgba(255, 120, 100, 0.35); }
html[data-theme="dark"] .auth-alert.ok { background: rgba(18, 133, 92, 0.15); color: #7BE0AE; border-color: rgba(120, 220, 170, 0.3); }
html[data-theme="dark"] .field input { background: rgba(255, 255, 255, 0.05); border-color: #2A3160; color: #E8ECFF; }
html[data-theme="dark"] .auth-close { background: #232A4E; color: #E8ECFF; }

/* ---- mobil ---- */
@media (max-width: 920px) {
    .site-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* ---- senaryo vitrini (#40) — hero sag panel ---- */
.scen-panel { padding: 18px 18px 14px; border-top: 3px solid var(--s-gold); }
.scen-panel .sp-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.scen-panel .sp-t {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--s-font-d); font-size: 0.82rem; letter-spacing: 1px;
    color: var(--s-ink);
}
.scen-panel .sp-count {
    font-size: 0.64rem; font-weight: 900; letter-spacing: 0.6px;
    color: var(--s-gold-deep); background: var(--s-gold-soft);
    padding: 3px 9px; border-radius: 999px;
}
.scen-panel .sp-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8.5px 4px;
    border-bottom: 1.5px dashed var(--s-line);
}
.scen-panel .sp-row:last-of-type { border-bottom: none; }
.scen-panel .sp-ico { color: var(--s-gold-deep); flex: none; display: inline-flex; }
.scen-panel .sp-name { flex: 1; font-size: 0.82rem; font-weight: 800; color: var(--s-ink); }
.scen-panel .sp-chip {
    flex: none; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.4px;
    padding: 2.5px 9px; border-radius: 999px;
}
.scen-panel .sp-chip.easy { background: #EAF8F0; color: #12855C; }
.scen-panel .sp-chip.mid  { background: var(--s-gold-soft); color: var(--s-gold-deep); }
.scen-panel .sp-chip.hard { background: #FDECEC; color: #B03028; }
.scen-panel .sp-chip.leg  { background: #F3E8FF; color: #7C3AED; }
.scen-panel .sp-foot {
    margin-top: 11px; padding-top: 11px; border-top: 1.5px solid var(--s-line);
    font-size: 0.68rem; font-weight: 800; color: var(--s-ink3);
}
html[data-theme="dark"] .scen-panel .sp-name { color: #FFFFFF; }
html[data-theme="dark"] .scen-panel .sp-row { border-bottom-color: #1F2648; }
html[data-theme="dark"] .scen-panel .sp-chip.easy { background: rgba(18,133,92,.15); color: #7BE0AE; }
html[data-theme="dark"] .scen-panel .sp-chip.hard { background: rgba(192,57,43,.15); color: #FF9A8C; }
html[data-theme="dark"] .scen-panel .sp-chip.leg  { background: rgba(124,58,237,.15); color: #C9B0FF; }

/* karanlık banttaki acik rejim butonu */
.btn-ghost-light {
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}
.btn-ghost-light:hover { border-color: var(--s-gold) !important; }

/* ============================================================
   SENARYO VITRINI v2 (#41) — duz liste yerine mini-kartlar
   ============================================================ */
.scen-panel { padding: 15px 15px 12px; border-top: none; }
.scen-panel .sp-head {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 2px 11px;
}
.scen-panel .sp-item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 11px; margin-bottom: 7px;
    background: var(--s-bg);
    border: 1.5px solid var(--s-line);
    border-radius: 12px;
    transition: border-color .14s ease, transform .14s ease;
}
.scen-panel .sp-item:hover { border-color: var(--s-gold); transform: translateX(3px); }
.scen-panel .sp-ico {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--s-gold-soft); color: var(--s-gold-deep);
}
.scen-panel .sp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.scen-panel .sp-txt b { font-size: 0.82rem; font-weight: 900; color: var(--s-ink); line-height: 1.2; }
.scen-panel .sp-txt i { font-style: normal; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.3px; color: var(--s-ink3); text-transform: uppercase; }
.scen-panel .sp-chip { flex: none; }
.scen-panel .sp-foot {
    margin: 9px 2px 2px; padding: 0;
    border-top: none;
    display: flex; align-items: center; gap: 5px;
    font-size: 0.68rem; font-weight: 800; color: var(--s-ink3);
}
html[data-theme="dark"] .scen-panel .sp-item { background: rgba(255,255,255,.04); border-color: #262E5A; }
html[data-theme="dark"] .scen-panel .sp-item:hover { border-color: var(--s-gold); }

/* ---- buton v2: daha dolgun ve net ---- */
.btn-gold, .btn-ghost {
    padding: 11px 21px;
    font-size: 0.85rem;
    border-radius: 12px;
}
.btn-gold {
    background: linear-gradient(180deg, #FFD84D 0%, var(--s-gold) 100%);
    box-shadow: 0 4px 0 var(--s-gold-deep), 0 12px 26px rgba(233, 165, 0, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--s-gold-deep), 0 16px 32px rgba(233, 165, 0, 0.38); }
.btn-gold:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--s-gold-deep); }
.btn-ghost { border-width: 2px; background: var(--s-surface); }
.btn-ghost:hover { transform: translateY(-1px); }

/* ---- header hizalama duzeltmesi (#43): butonlar en saga ---- */
.site-actions { margin-left: auto; }

/* ---- hero ortali varyant (#43) ---- */
.hero-center { text-align: center; }
.hero-center .hero-kicker { margin-bottom: 18px; }
.hero-center .hero-title { margin: 0 auto; max-width: 760px; }
.hero-center .hero-sub { margin: 16px auto 0; max-width: 620px; }
.hero-center .hero-cta { justify-content: center; margin-top: 28px; }

/* ---- senaryo kartlari (#43): vitrin tipi ---- */
.scen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.scen-card {
    background: var(--s-surface);
    border: 1.5px solid var(--s-line);
    border-radius: var(--s-radius);
    box-shadow: var(--s-shadow);
    padding: 18px 18px 16px;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.scen-card:hover { border-color: var(--s-gold); transform: translateY(-3px); box-shadow: var(--s-shadow-lg); }
.scen-card .sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.scen-card .sc-ico {
    width: 40px; height: 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--s-gold-soft); color: var(--s-gold-deep);
}
.scen-card .sc-name { font-weight: 900; font-size: 0.95rem; color: var(--s-ink); margin-bottom: 3px; }
.scen-card .sc-era { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--s-ink3); margin-bottom: 10px; }
.scen-card .sc-desc { font-size: 0.8rem; font-weight: 600; line-height: 1.6; color: var(--s-ink2); }
html[data-theme="dark"] .scen-card { background: #151A36; border-color: #262E5A; }
html[data-theme="dark"] .scen-card .sc-name { color: #FFF; }
html[data-theme="dark"] .scen-card .sc-desc { color: #AAB4DE; }
html[data-theme="dark"] .scen-card .sc-ico { background: rgba(245,179,1,.12); }
@media (max-width: 920px) { .scen-grid { grid-template-columns: 1fr; } }

/* ---- tema dugmesi v2 (#45): SVG ikon + animasyon ---- */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; }
.theme-btn svg { display: block; }
@keyframes themeSpin {
    0%   { transform: rotate(0deg)   scale(1); }
    55%  { transform: rotate(200deg) scale(.62); }
    100% { transform: rotate(360deg) scale(1); }
}
.theme-btn.t-anim svg { animation: themeSpin .5s cubic-bezier(.3,.8,.3,1.1); }

/* üst çubuk: Yenilikleri Canlı İzle */
.live-link{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:12px;font-weight:800;font-size:14px;color:var(--s-ink);text-decoration:none;border:2px solid transparent;transition:.15s}
.live-link:hover,.live-link.on{background:var(--s-gold-soft);color:var(--s-gold-deep)}
.live-link i{width:8px;height:8px;border-radius:50%;background:#E03131;box-shadow:0 0 0 3px rgba(224,49,49,.18);animation:liveP 1.4s infinite;flex:none}
@keyframes liveP{50%{box-shadow:0 0 0 7px rgba(224,49,49,0)}}
html[data-theme="dark"] .live-link{color:#E8ECFF}
@media (max-width:640px){ .live-link span{display:none} .live-link{padding:9px 10px} }
