/* 2L Scripts — Tebex mağaza teması (2L-AdminMenu tasarım dili) */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-0: #030504;
    --bg-1: #070b09;
    --bg-2: #0b120e;
    --bg-3: #101a14;
    --bg-4: #15231b;

    --line: rgba(74, 222, 128, 0.08);
    --line-2: rgba(74, 222, 128, 0.16);
    --line-3: rgba(74, 222, 128, 0.38);

    --green-950: #03140b;
    --green-900: #062a17;
    --green-800: #0b3d22;
    --green-700: #11542f;
    --green-600: #15803d;
    --green-500: #1fa855;
    --green-400: #34d377;
    --green-300: #6ee7a0;
    --green-glow: rgba(52, 211, 119, 0.22);

    --text: #e6efe9;
    --text-2: #a3b3aa;
    --muted: #6b7d73;
    --dim: #3f4d45;

    --amber: #f2a93b;
    --red: #ef5350;
    --cyan: #5cc8e6;

    --radius-lg: 18px;
    --radius: 12px;
    --radius-sm: 8px;

    --font-ui: 'Space Grotesk', system-ui, sans-serif;
    --font-display: 'Oxanium', 'Space Grotesk', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(1100px 500px at 0% 0%, rgba(21, 128, 61, 0.14), transparent 60%),
        radial-gradient(900px 500px at 100% 30%, rgba(21, 128, 61, 0.07), transparent 60%),
        var(--bg-0);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--green-800); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-700); }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(3, 5, 4, 0.8);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header::after {
    content: '';
    position: absolute; bottom: -1px; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    opacity: 0.35;
}
.header .wrap { display: flex; align-items: center; gap: 20px; height: 74px; }

.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--line-3);
    box-shadow: 0 8px 24px rgba(21, 128, 61, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}
.brand-mark img { width: 40px; height: 44px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-kicker {
    display: flex; align-items: center; gap: 8px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--green-400);
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--dim); display: inline-block; }
.kicker-sub { color: var(--text-2); }
.brand-text strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; line-height: 1.05; }

.lang-switch {
    display: flex; gap: 2px;
    padding: 3px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 10px;
    flex-shrink: 0;
}
.lang-switch button {
    padding: 5px 9px;
    background: transparent;
    border: none; border-radius: 7px;
    color: var(--muted);
    font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
    color: #fff;
    background: linear-gradient(180deg, var(--green-700), var(--green-800));
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topnav {
    display: flex; gap: 4px;
    padding: 4px;
    margin-left: auto;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 13px;
}
.nav-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 13.5px; font-weight: 600;
    transition: all 0.18s ease;
}
.nav-tab svg { width: 16px; height: 16px; }
.nav-tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); }
.nav-tab.active {
    color: #fff;
    background: linear-gradient(180deg, var(--green-700), var(--green-800));
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-tab.active svg { color: var(--green-300); }

.tab-count {
    min-width: 20px; padding: 1px 6px;
    font-size: 10.5px; font-weight: 700; text-align: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}
.active .tab-count { background: rgba(0, 0, 0, 0.3); color: var(--green-300); }

.icon-btn {
    position: relative;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    color: var(--text-2);
    cursor: pointer;
    transition: all 0.18s ease;
}
.icon-btn:hover { color: #fff; background: var(--bg-3); border-color: var(--line-3); }
.icon-btn .tab-count {
    position: absolute; top: -6px; right: -6px;
    background: var(--green-500); color: #fff;
    box-shadow: 0 0 10px var(--green-glow);
}

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--green-500), var(--green-600));
    border-color: rgba(110, 231, 160, 0.35);
    box-shadow: 0 8px 22px rgba(21, 128, 61, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
    background: linear-gradient(180deg, var(--green-400), var(--green-500));
    box-shadow: 0 10px 28px rgba(31, 168, 85, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--text-2); background: var(--bg-2); border-color: var(--line-2); }
.btn-ghost:hover { color: #fff; border-color: var(--line-3); background: var(--bg-3); }
.btn-tp { color: var(--green-300); background: rgba(21, 128, 61, 0.12); border-color: rgba(52, 211, 119, 0.25); }
.btn-tp:hover { color: #fff; background: rgba(21, 128, 61, 0.3); border-color: var(--green-500); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 40px; }
.hero .brand-kicker { font-size: 12px; margin-bottom: 18px; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 68px); font-weight: 800;
    line-height: 1.02; letter-spacing: 0.2px;
    color: #fff;
}
.hero h1 em { font-style: normal; color: var(--green-400); text-shadow: 0 0 34px var(--green-glow); }
.hero p { margin-top: 18px; max-width: 520px; font-size: 16.5px; color: var(--text-2); }
.hero .cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.summary { display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.sum-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 13px;
    font-size: 12.5px; color: var(--muted);
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.sum-chip strong { font-family: var(--font-display); font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }
.sum-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 8px var(--green-400); }

.hero-visual {
    position: relative;
    justify-self: center;
    width: min(400px, 100%);
    aspect-ratio: 1;
    display: grid; place-items: center;
    border-radius: 28px;
    background:
        radial-gradient(60% 55% at 50% 60%, var(--green-glow), transparent 70%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(110, 231, 160, 0.06);
    overflow: hidden;
}
.hero-visual::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    opacity: 0.6;
}
.hero-visual::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
            mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.hero-visual img {
    position: relative; z-index: 1;
    width: 72%;
    -webkit-mask-image: radial-gradient(ellipse 47% 50% at 50% 50%, #000 72%, transparent 100%);
            mask-image: radial-gradient(ellipse 47% 50% at 50% 50%, #000 72%, transparent 100%);
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}
.hero-visual .badge { top: 16px; left: 16px; }
.hero-visual .live-pill { left: auto; right: 16px; bottom: 16px; }

/* ---------- Rozetler ---------- */
.badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 9px 3px 8px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.bg-new  { color: var(--green-300); background: rgba(6, 42, 23, 0.85); border: 1px solid rgba(52, 211, 119, 0.35); }
.bg-hot  { color: var(--amber);     background: rgba(40, 26, 5, 0.85);  border: 1px solid rgba(242, 169, 59, 0.35); }
.bg-sale { color: var(--red);       background: rgba(40, 8, 8, 0.85);   border: 1px solid rgba(239, 83, 80, 0.35); }
.badge.static { position: static; backdrop-filter: none; }

.live-pill {
    position: absolute; left: 10px; bottom: 10px; z-index: 2;
    padding: 2px 8px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--cyan);
    background: rgba(8, 30, 40, 0.85);
    border: 1px solid rgba(92, 200, 230, 0.35);
    border-radius: 6px;
}

.plate {
    display: inline-flex; align-items: center;
    flex-shrink: 0;
    padding: 2px 8px;
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.4px;
    color: #d9f5e3;
    background: #050806;
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--green-500);
    border-radius: 5px;
}

/* ---------- Bölüm kutusu ---------- */
.block { padding: 28px 0; }
.section {
    position: relative;
    display: flex; flex-direction: column; gap: 18px;
    padding: 22px;
    background:
        radial-gradient(700px 240px at 0% 0%, rgba(21, 128, 61, 0.1), transparent 60%),
        linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(110, 231, 160, 0.05);
}
.section::before {
    content: '';
    position: absolute; top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-400), transparent);
    opacity: 0.45;
}
.section-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px;
    color: var(--green-300);
    background: rgba(21, 128, 61, 0.15);
    border: 1px solid rgba(52, 211, 119, 0.25);
}
.section-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 0.3px; }
.section-hint { font-size: 12.5px; color: var(--muted); }
.section-head .push { margin-left: auto; }

/* ---------- Öne çıkan paket ---------- */
.featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: center; }
.featured-media {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { display: flex; flex-direction: column; gap: 14px; padding: 6px 4px; }
.featured-body h3 { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: #fff; line-height: 1.05; }
.featured-body > p { color: var(--text-2); }

.meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.meta-box {
    display: flex; flex-direction: column; gap: 5px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.meta-label { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.meta-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--green-300); letter-spacing: 0.5px; }

.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; color: var(--text-2); }
.check-list li { display: flex; align-items: center; gap: 8px; }
.check-list svg { width: 15px; height: 15px; color: var(--green-400); }

.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 12px; font-weight: 700; color: var(--green-300); }
.featured-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ---------- Araç çubuğu (arama + sekmeler) ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; flex: 1; min-width: 220px; }
.search svg { position: absolute; left: 13px; color: var(--muted); width: 16px; height: 16px; pointer-events: none; }
.search input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    border-radius: 11px;
    color: var(--text);
    font-family: inherit; font-size: 13.5px;
    outline: none;
    transition: all 0.18s ease;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(31, 168, 85, 0.15); }
.search:focus-within svg { color: var(--green-400); }

.tabs {
    display: flex; gap: 4px;
    padding: 4px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow-x: auto;
}
.tab {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 7px 12px;
    background: transparent;
    border: none; border-radius: 8px;
    color: var(--muted);
    font-size: 12.5px; font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}
.tab:hover { color: var(--text); }
.tab.active {
    color: #fff;
    background: linear-gradient(180deg, var(--green-700), var(--green-800));
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Ürün kartları ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }

.product {
    position: relative;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    animation: cardIn 0.35s cubic-bezier(.2, .8, .2, 1) both;
}
.product:hover {
    transform: translateY(-2px);
    border-color: var(--line-3);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(52, 211, 119, 0.1);
}

.stage {
    position: relative;
    height: 140px;
    display: grid; place-items: center;
    background:
        radial-gradient(60% 55% at 50% 85%, var(--green-glow), transparent 70%),
        linear-gradient(180deg, #060a08 0%, #0a120d 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 18px;
    color: var(--green-300);
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--line-3);
    box-shadow: 0 10px 30px rgba(21, 128, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease;
}
.stage-icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.product:hover .stage-icon { transform: scale(1.06) translateY(-2px); }

.product-info { flex: 1; padding: 12px 13px 13px; display: flex; flex-direction: column; gap: 8px; }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-name {
    min-width: 0;
    font-family: var(--font-display);
    font-size: 15.5px; font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.product-sub { margin-top: -4px; font-size: 12.5px; font-weight: 600; color: var(--green-300); }
.product-sub.lg { margin-top: -6px; font-size: 14px; }
.product-desc { flex: 1; font-size: 13px; color: var(--muted); }
.tabs:empty { display: none; }
.video-btn { align-self: flex-start; }
.video-btn svg { fill: currentColor; stroke: none; }
.gallery img { cursor: pointer; transition: border-color 0.18s ease; }
.gallery img:hover { border-color: var(--line-3); }
.stage-lg img { object-fit: contain; background: #050806; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.product-foot .price { font-size: 20px; }

.list-empty {
    grid-column: 1 / -1;
    padding: 22px 14px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed var(--line-2);
    border-radius: 12px;
}

/* ---------- Özellik kutucukları ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px;
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    transition: all 0.18s ease;
}
.tile:hover { border-color: var(--line-3); background: var(--bg-3); }
.tile-icon {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    flex-shrink: 0;
    border-radius: 9px;
    color: var(--green-400);
    background: rgba(21, 128, 61, 0.12);
    transition: all 0.18s ease;
}
.tile:hover .tile-icon { background: rgba(21, 128, 61, 0.28); color: var(--green-300); }
.tile h4 { font-size: 14px; font-weight: 700; color: #fff; }
.tile p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Discord bandı ---------- */
.cta-band { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band .left { display: flex; align-items: center; gap: 16px; }
.cta-band .confirm-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 16px;
    color: var(--green-300);
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--line-3);
}
.cta-band .confirm-icon svg { width: 26px; height: 26px; }
.cta-band h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; }
.cta-band p { font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 30px; border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 12.5px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 18px; }
.footer a:hover { color: var(--green-300); }
kbd {
    display: inline-block;
    margin-right: 6px; padding: 2px 7px;
    font-family: var(--font-display); font-size: 10px; font-weight: 700;
    color: var(--green-300);
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-bottom-width: 2px;
    border-radius: 5px;
}

/* ---------- Bildirim ---------- */
.toast-root {
    position: fixed; top: 90px; left: 50%; z-index: 80;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 12px;
    font-size: 13px; font-weight: 600; color: var(--text);
    background: linear-gradient(180deg, #0f1a14, #070b09);
    border: 1px solid var(--line-3);
    border-radius: 11px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    animation: toastIn 0.3s cubic-bezier(.2, .8, .2, 1);
}
.toast svg { width: 16px; height: 16px; color: var(--green-400); }
.toast.out { animation: toastOut 0.25s ease forwards; }

.toast.error { border-color: rgba(239, 83, 80, 0.45); }
.toast.error svg { color: var(--red); }

/* ---------- Durumlar ---------- */
.hidden { display: none !important; }
body.locked { overflow: hidden; }
.product { cursor: pointer; }
.price-wrap { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-icon { padding: 8px; }
.btn-danger-soft { color: var(--red); background: rgba(239, 83, 80, 0.12); border-color: rgba(239, 83, 80, 0.3); }
.btn-danger-soft:hover { color: #fff; background: #b42318; border-color: var(--red); }
.icon-btn.sm { width: 36px; height: 36px; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after, .spinner {
    content: '';
    width: 13px; height: 13px;
    border: 2px solid var(--line-2);
    border-top-color: var(--green-400);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
.btn.is-busy::after { position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -7px; }
.spinner { display: inline-block; margin-right: 8px; vertical-align: -2px; }

.demo-bar {
    padding: 8px 16px;
    text-align: center;
    font-size: 12.5px; font-weight: 600;
    color: var(--amber);
    background: rgba(242, 169, 59, 0.1);
    border-bottom: 1px solid rgba(242, 169, 59, 0.25);
}

/* ---------- Katman ---------- */
.overlay {
    position: fixed; inset: 0; z-index: 70;
    display: flex; justify-content: flex-end;
    background: rgba(1, 3, 2, 0.72);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}
.overlay.center { justify-content: center; align-items: center; padding: 16px; }

/* ---------- Sepet çekmecesi ---------- */
.drawer {
    width: min(420px, 100%); height: 100%;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, #0a110d, #050806);
    border-left: 1px solid var(--line-2);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7);
    animation: drawerIn 0.3s cubic-bezier(.2, .8, .2, 1);
}
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: #fff; }
.drawer-user { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green-300); }
.drawer-head .icon-btn { margin-left: 4px; }
.drawer-user:empty + .icon-btn { margin-left: auto; }
.drawer-items { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.basket-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 12px;
    animation: cardIn 0.3s cubic-bezier(.2, .8, .2, 1) both;
}
.bi-thumb {
    width: 46px; height: 46px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 10px; overflow: hidden;
    color: var(--green-300);
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--line-2);
}
.bi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bi-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bi-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bi-sub { font-size: 12.5px; color: var(--muted); }
.drawer-foot { padding: 16px 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; color: var(--text-2); font-weight: 600; }
.total-row strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; }
.drawer-note { font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- Pencere ---------- */
.modal {
    position: relative;
    width: min(620px, 100%); max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, #0a110d, #050806);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(110, 231, 160, 0.06);
    animation: modalIn 0.3s cubic-bezier(.2, .8, .2, 1);
}
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.stage-lg { height: 260px; }
.stage-lg .stage-icon { width: 96px; height: 96px; border-radius: 24px; }
.stage-lg .stage-icon svg { width: 42px; height: 42px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 20px 0; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.pm-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.pm-body h3 { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: #fff; line-height: 1.1; }
.pm-desc { color: var(--text-2); font-size: 14.5px; }
.pm-desc p, .pm-desc ul, .pm-desc ol { margin: 0 0 10px; }
.pm-desc ul, .pm-desc ol { padding-left: 20px; }
.pm-desc a { color: var(--green-300); text-decoration: underline; }
.pm-desc img { border-radius: 10px; margin: 8px 0; }
.pm-desc b, .pm-desc strong { color: #fff; }
.pm-foot {
    position: sticky; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 14px 20px;
    background: rgba(5, 8, 6, 0.95);
    border-top: 1px solid var(--line);
}
.pm-foot .price-row { margin: 0; }

.auth-modal { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px 22px; text-align: center; }
.auth-modal .confirm-icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 16px;
    color: var(--green-300);
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--line-3);
}
.auth-modal .confirm-icon svg { width: 26px; height: 26px; }
.auth-modal h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; }
.auth-modal p { font-size: 13.5px; color: var(--muted); max-width: 380px; }
.auth-list { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }

.input {
    width: 100%; min-width: 0;
    padding: 11px 13px;
    background: var(--bg-1);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit; font-size: 14px;
    outline: none;
    transition: all 0.18s ease;
}
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(31, 168, 85, 0.15); }
.input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.15); }
.btn-discord {
    color: #fff;
    background: linear-gradient(180deg, #6873f5, #5865f2);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 22px rgba(88, 101, 242, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-discord:hover { background: linear-gradient(180deg, #7983f7, #6470f4); box-shadow: 0 10px 28px rgba(88, 101, 242, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.24); }
.btn-discord svg { width: 20px; height: 20px; }
.help.manual { margin-top: 4px; }
.help.manual[open] { display: flex; flex-direction: column; gap: 10px; }
.help.manual .help { margin-top: 2px; }
.discord-form { display: flex; gap: 8px; }
.discord-form .input { flex: 1; }
.or-line { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-size: 11.5px; color: var(--muted); }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.help { text-align: left; font-size: 12.5px; color: var(--text-2); }
.help summary { cursor: pointer; color: var(--green-300); font-weight: 600; }
.help ol { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.help b { color: #fff; }
@media (max-width: 560px) { .discord-form { flex-direction: column; } }

@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn  { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes float    { 50% { transform: translateY(-10px); } }
@keyframes cardIn   { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toastIn  { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
    .topnav { display: none; }
    .header .icon-btn { margin-left: auto; }
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-visual { width: min(300px, 100%); order: -1; }
    .featured { grid-template-columns: 1fr; }
    .tile-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .hero { padding-top: 36px; }
    .section { padding: 16px; }
    .check-list { grid-template-columns: 1fr; }

    /* Dokunmatik için daha büyük dil butonları */
    .lang-switch button { padding: 8px 11px; }

    /* Logo kutusu küçülsün, başlık ilk ekranda görünsün */
    .hero-visual { width: min(200px, 60%); border-radius: 22px; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 15.5px; }
    .hero .cta .btn { flex: 1 1 100%; }

    /* Bilgi kutuları tek satırda */
    .meta-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .meta-box { padding: 8px 9px; }
    .meta-val { font-size: 13px; }

    /* Özellik kutucukları 2x2 */
    .tile-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .tile { flex-direction: column; gap: 8px; padding: 12px; }

    .cta-band .btn { width: 100%; }
    .stage-lg { height: 200px; }

    /* iPhone Safari 16px'ten küçük kutulara dokununca sayfayı yakınlaştırır */
    .search input, .input { font-size: 16px; }
    .brand-kicker .kicker-sub, .brand-kicker .dot { display: none; }
    .brand-text strong { font-size: 17px; white-space: nowrap; }
    .brand { gap: 10px; }
    .header .wrap { gap: 12px; }
}
