@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --p: #e9d5ff;
    --p2: #c084fc;
    --pd: #ffffff;
    --pg: rgba(192, 132, 252, .15);
    --bg: #09090b;
    --s1: rgba(139, 92, 246, 0.08);
    --s2: rgba(139, 92, 246, 0.15);
    --br: rgba(168, 85, 247, 0.2);
    --brh: rgba(168, 85, 247, 0.4);
    --tx: #ffffff;
    --tx2: #c084fc;
    --tx3: #a78bfa;
    --nh: 64px;
    --green: #4ade80;
    --amber: #fbbf24;
    --red: #fb7185;
    --primary: #8b5cf6; /* Purple */
    --primary-hover: #7c3aed;
    --accent: #a855f7; /* Light Purple */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--tx);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    opacity: .5;
}

.main {
    position: relative;
    z-index: 2;
    padding-top: var(--nh);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

/* ═════════ HEADER / NAVBAR ═════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nh);
    display: flex;
    align-items: center;
    padding: 0 32px;
    background: rgba(4, 4, 5, .7);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--br);
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px;
}
.nav-logo {
    color: var(--tx); font-weight: 700; font-size: 16px; text-decoration: none;
    letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    color: var(--tx2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--tx); background: var(--s2); }
.nav-links a.active { color: var(--p2); }

/* ═════════ BREADCRUMB ═════════ */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
}
.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: .2s ease;
}
.breadcrumb a:hover {
    color: #5865F2;
}
.breadcrumb i {
    font-size: 9px;
    color: rgba(255, 255, 255, .2);
}
.breadcrumb span {
    color: #fff;
}

/* ═════════ PAGE HEADER ═════════ */
.pg-hd { padding: 70px 0 30px; text-align: center; }
.pg-hd h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -.05em;
    margin-bottom: 12px;
    animation: fadeUp .7s .1s cubic-bezier(.16, 1, .3, 1) both;
}
.pg-hd p {
    color: var(--tx2);
    font-size: 16px;
    animation: fadeUp .7s .2s cubic-bezier(.16, 1, .3, 1) both;
}

/* ═════════ COMMON CARDS ═════════ */
.panel-card {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--br);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeUp .7s .3s cubic-bezier(.16, 1, .3, 1) both;
    margin-bottom: 30px;
}
.panel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6 40%, #a855f7 60%, transparent);
    opacity: .8;
}

/* ═════════ FORMS & INPUTS ═════════ */
input, textarea, select {
    width: 100%;
    background: var(--s1);
    border: 1px solid var(--br);
    color: var(--tx);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    background: var(--s2);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
input::placeholder, textarea::placeholder { color: var(--tx3); }
select option { background: var(--bg); color: var(--tx); }
textarea { resize: vertical; min-height: 80px; }

.inp-wrap { position: relative; margin-bottom: 16px; }
.inp-wrap label { display: block; font-size: 12px; font-weight: 600; color: var(--tx2); margin-bottom: 8px; }
.inp {
    width: 100%; height: 48px; background: rgba(0, 0, 0, .2);
    border: 1px solid var(--br); border-radius: 10px;
    padding: 0 16px; color: var(--tx); font-size: 15px; font-weight: 500;
    transition: all .2s; outline: none; font-family: inherit;
}
.inp:focus { border-color: var(--primary); background: rgba(0, 0, 0, .4); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }
.inp::placeholder { color: var(--tx3); font-weight: 400; }
textarea.f-input { min-height: 120px; resize: vertical; }

select.f-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394949e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

/* ═════════ BUTTONS ═════════ */
.btn {
    width: 100%; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 8px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); outline: none; border: 1px solid var(--br);
    background: var(--s1); color: var(--tx); text-decoration: none; user-select: none;
}
.btn:hover:not(:disabled) { background: var(--s2); border-color: var(--brh); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}
.btn-glow:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--accent) 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--tx);
    border: 1px solid var(--br);
}
.btn-ghost:hover:not(:disabled) {
    background: var(--s1);
    border-color: var(--brh);
}

.text-link, .btn-sm { padding: 4px 10px; border-radius: 6px; font-size: 12px; }

/* ═════════ TABLES ═════════ */
.tbl-wrap {
    overflow-x: auto;
    background: rgba(0,0,0,.2);
    border: 1px solid var(--br);
    border-radius: 14px;
    margin-bottom: 20px;
}
table { width: 100%; border-collapse: collapse; }
th {
    padding: 14px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--p2);
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--br);
    background: var(--s1);
}
td {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .03);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.01); }

/* Status Badges */
.badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 100px;
    letter-spacing: .04em;
    display: inline-block;
}
.b-ok, .st-active, .st-unused, .st-success { background: rgba(74, 222, 128, .1); color: var(--green); border: 1px solid rgba(74, 222, 128, .2); }
.b-warn, .st-partial, .st-captcha { background: rgba(251, 191, 36, .1); color: var(--amber); border: 1px solid rgba(251, 191, 36, .2); }
.b-bad, .st-failed, .st-error { background: rgba(251, 113, 133, .1); color: var(--red); border: 1px solid rgba(251, 113, 133, .2); }
.b-chk, .st-used, .st-exhausted, .st-disabled { background: var(--s1); color: var(--tx3); border: 1px solid var(--br); }

code, .mono { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--p2); }

/* ═════════ TAB BAR ═════════ */
.tab-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.tab-bar a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tx2);
    background: var(--s1);
    border: 1px solid var(--br);
    border-radius: 10px;
    transition: all .2s;
    white-space: nowrap;
}
.tab-bar a:hover { background: var(--s2); color: var(--tx); }
.tab-bar a.active {
    background: rgba(161, 161, 170, .1);
    color: var(--p2);
    border-color: rgba(161, 161, 170, .3);
}

/* ═════════ ADMIN STATS GRID ═════════ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.scard {
    background: var(--s1);
    border: 1px solid var(--br);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.scard:hover {
    border-color: rgba(161, 161, 170, .3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}
.scard-ico {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(168, 85, 247, .08));
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #c084fc; font-size: 14px;
    margin: 0 auto 14px;
}
.scard-num {
    font-size: 26px; font-weight: 900; letter-spacing: -.04em;
    background: linear-gradient(135deg, #e9d5ff, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1; margin-bottom: 5px;
}
.scard-lbl { font-size: 10px; color: var(--tx3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* ═════════ REDEEM CARD EXTRAS ═════════ */
.r-lang {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
    font-size: 12px; font-weight: 600; color: var(--tx3);
}
.r-lang a { color: var(--tx3); cursor: pointer; transition: color .2s; }
.r-lang a:hover, .r-lang a.active { color: var(--p2); }

.srv-preview {
    display: none; margin-top: 20px;
    background: rgba(0,0,0,.3); border: 1px solid var(--br); border-radius: 14px;
    padding: 20px; text-align: left;
    animation: fadeUp .3s ease;
}
.srv-preview.show { display: block; }
.srv-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--br); }
.srv-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--s2); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.srv-icon img { width: 100%; height: 100%; object-fit: cover; }
.srv-name { font-size: 16px; font-weight: 700; }
.srv-members { font-size: 12px; color: var(--tx2); }

.srv-data { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin-bottom: 20px; }
.srv-data .label { color: var(--tx2); }
.srv-data .value { text-align: right; font-weight: 600; color: #fff; }
.srv-data .value .level { color: var(--p2); font-size: 12px; margin-left: 4px; }

.r-progress { display: none; margin-top: 20px; text-align: left; }
.r-progress.show { display: block; animation: fadeUp .3s; }
.r-pb { height: 6px; background: var(--s2); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.r-fill { height: 100%; background: linear-gradient(90deg, var(--p), var(--p2)); width: 0%; transition: width .3s; }
.r-pt { font-size: 12px; color: var(--tx2); font-weight: 600; }

.r-result { display: none; margin-top: 20px; padding: 14px; border-radius: 12px; font-weight: 600; font-size: 14px; animation: fadeUp .3s; }
.r-result.show { display: block; }
.r-result.success { background: rgba(74, 222, 128, .1); color: var(--green); border: 1px solid rgba(74, 222, 128, .2); }
.r-result.partial { background: rgba(251, 191, 36, .1); color: var(--amber); border: 1px solid rgba(251, 191, 36, .2); }
.r-result.error { background: rgba(251, 113, 133, .1); color: var(--red); border: 1px solid rgba(251, 113, 133, .2); }

/* ═════════ FLASH MESSAGES ═════════ */
.flash-wrap { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 14px 20px; border-radius: 12px; font-weight: 600; font-size: 13px; background: rgba(10,10,10,.9); backdrop-filter: blur(10px); border: 1px solid var(--br); animation: fadeUp .3s; }
.flash.success { border-bottom: 2px solid var(--green); color: var(--green); }
.flash.error { border-bottom: 2px solid var(--red); color: var(--red); }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Filters */
.filter-row { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-row a { padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--tx2); background: var(--s1); border-radius: 8px; border: 1px solid transparent; transition: all .2s; }
.filter-row a:hover { color: var(--tx); background: var(--s2); border-color: var(--br); }
.filter-row a.active { color: var(--p2); background: rgba(161, 161, 170, .1); border-color: rgba(161, 161, 170, .3); }

/* empty state */
.empty { text-align: center; padding: 40px; color: var(--tx3); font-weight: 600; font-size: 14px; }

/* ---- Custom Stock CSS ---- */
/* Live badge */
.live-badge {
display: inline-flex;
align-items: center;
gap: 9px;
background: rgba(74, 222, 128, .08);
border: 1px solid rgba(74, 222, 128, .2);
color: #4ade80;
font-size: 11px;
font-weight: 700;
letter-spacing: .08em;
text-transform: uppercase;
padding: 7px 18px;
border-radius: 100px;
margin-bottom: 40px;
animation: fadeUp .7s .3s cubic-bezier(.16, 1, .3, 1) both;
}

.live-dot {
width: 7px;
height: 7px;
background: #4ade80;
border-radius: 50%;
box-shadow: 0 0 8px #4ade80;
animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {

0%,
100% {
transform: scale(1);
opacity: 1
}

50% {
transform: scale(.6);
opacity: .5
}
}

/* Info bar */
.info-bar {
background: var(--s1);
border: 1px solid var(--br);
border-radius: 12px;
padding: 16px 22px;
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 30px;
font-size: 13px;
color: var(--tx2);
animation: fadeUp .7s .35s cubic-bezier(.16, 1, .3, 1) both;
}

.info-bar i {
color: var(--p2);
font-size: 15px;
flex-shrink: 0;
}

.info-bar strong {
color: var(--tx);
}

/* Stock cards */
.stock-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 20px;
margin-bottom: 50px;
}

.stock-card {
background: var(--s1);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--br);
border-radius: 20px;
padding: 30px;
position: relative;
overflow: hidden;
transition: all .35s cubic-bezier(.16, 1, .3, 1);
animation: fadeUp .7s .4s cubic-bezier(.16, 1, .3, 1) both;
}

.stock-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, #8b5cf6 40%, #a855f7 60%, transparent);
opacity: .8;
}

.stock-card::after {
content: '';
position: absolute;
top: -80px;
right: -80px;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(161, 161, 170, .07), transparent 70%);
pointer-events: none;
transition: all .4s;
}

.stock-card:hover {
border-color: var(--brh);
transform: translateY(-6px);
box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(161, 161, 170, .1), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.stock-card:hover::after {
transform: scale(1.4);
}

.sc-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 28px;
}

.sc-title {
display: flex;
align-items: center;
gap: 14px;
}

.sc-icon {
width: 46px;
height: 46px;
background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(168, 85, 247, .1));
border: 1px solid rgba(139, 92, 246, .35);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #c084fc;
font-size: 19px;
transition: all .3s;
}

.stock-card:hover .sc-icon {
transform: scale(1.1) rotate(-4deg);
box-shadow: 0 0 25px rgba(139, 92, 246, .5);
}

.sc-type {
font-size: 17px;
font-weight: 800;
letter-spacing: -.03em;
}

.sc-sub {
font-size: 12px;
color: var(--tx3);
margin-top: 2px;
font-weight: 500;
}

/* Status pill */
.spill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 13px;
border-radius: 100px;
font-size: 11px;
font-weight: 700;
letter-spacing: .04em;
}

.spill i {
font-size: 10px;
}

.spill-available {
background: rgba(74, 222, 128, .1);
color: #4ade80;
border: 1px solid rgba(74, 222, 128, .2);
}

.spill-low {
background: rgba(251, 191, 36, .1);
color: #fbbf24;
border: 1px solid rgba(251, 191, 36, .2);
}

.spill-out {
background: rgba(161, 161, 170, .1);
color: #fb7185;
border: 1px solid rgba(161, 161, 170, .2);
}

.spill-loading {
background: var(--s1);
color: var(--tx3);
border: 1px solid var(--br);
}

/* Numbers */
.sc-nums {
display: flex;
gap: 0;
border: 1px solid var(--br);
border-radius: 12px;
overflow: hidden;
margin-bottom: 22px;
background: rgba(0, 0, 0, .2);
}

.sc-num {
flex: 1;
padding: 16px 14px;
text-align: center;
position: relative;
}

.sc-num+.sc-num {
border-left: 1px solid var(--br);
}

.sc-num-val {
font-size: 32px;
font-weight: 900;
letter-spacing: -.05em;
background: linear-gradient(135deg, #e9d5ff, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
line-height: 1;
}

.sc-num-lbl {
font-size: 10px;
color: var(--tx3);
font-weight: 700;
margin-top: 4px;
text-transform: uppercase;
letter-spacing: .08em;
}

.counting {
animation: countPop .5s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes countPop {
0% {
transform: scale(1.4);
opacity: 0
}

100% {
transform: scale(1);
opacity: 1
}
}

/* Buttons */
.sc-actions {
display: flex;
gap: 10px;
}

.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 13px 22px;
border-radius: 10px;
font-size: 14px;
font-weight: 700;
text-decoration: none;
transition: all .25s cubic-bezier(.16, 1, .3, 1);
cursor: pointer;
border: none;
font-family: 'Inter', sans-serif;
position: relative;
overflow: hidden;
flex: 1;
justify-content: center;
}

.btn::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%);
transform: translateX(-100%);
transition: transform .5s;
}

.btn:hover::after {
transform: translateX(100%);
}

.btn-glow {
background: linear-gradient(135deg, #8b5cf6, #a855f7);
color: #fff;
box-shadow: 0 4px 20px rgba(139, 92, 246, .4);
}

.btn-glow:hover {
background: linear-gradient(135deg, #7c3aed, #9333ea);
box-shadow: 0 8px 30px rgba(139, 92, 246, .6);
transform: translateY(-2px) scale(1.01);
}

.btn-ghost {
background: var(--s1);
color: var(--tx);
border: 1px solid var(--br);
}

.btn-ghost:hover {
background: var(--s2);
border-color: rgba(255, 255, 255, .15);
transform: translateY(-2px);
}

/* Footer */
.footer {
border-top: 1px solid var(--br);
padding: 44px 0;
}

.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}

.footer-logo {
font-size: 17px;
font-weight: 900;
letter-spacing: -.04em;
background: linear-gradient(135deg, #e9d5ff, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.footer-links {
display: flex;
gap: 2px;
flex-wrap: wrap;
}

.footer-links a {
color: var(--tx3);
text-decoration: none;
font-size: 13px;
padding: 6px 10px;
border-radius: 7px;
transition: color .2s, background .2s;
}

.footer-links a:hover {
color: var(--tx);
background: var(--s1);
}

.footer-copy {
color: var(--tx3);
font-size: 12px;
}

/* ═════════ HAMBURGER MENU ═════════ */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 301;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--tx);
    border-radius: 2px;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 299;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }

.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: rgba(10, 10, 12, .98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--br);
    z-index: 300;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: right .3s cubic-bezier(.16, 1, .3, 1);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: var(--tx2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all .2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--p2); background: rgba(161, 161, 170, .08); }
.mobile-nav a i { width: 20px; text-align: center; font-size: 16px; }

/* ═════════ RESPONSIVE ═════════ */
@media(max-width:768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .stock-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .pg-hd { padding: 50px 0 20px; }
    .pg-hd h1 { font-size: 28px; }
    .pg-hd p { font-size: 14px; }
    .panel-card { padding: 20px 16px; border-radius: 16px; }
    .btn { padding: 16px 20px; font-size: 15px; min-height: 52px; -webkit-tap-highlight-color: transparent; }
    .btn-glow:active { transform: scale(.97); }
    .f-input { padding: 16px; font-size: 16px !important; min-height: 52px; border-radius: 14px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .scard { padding: 16px 12px; border-radius: 12px; }
    .scard-num { font-size: 22px; }
    .tab-bar { gap: 6px; }
    .tab-bar a { padding: 10px 14px; font-size: 13px; }
    .tbl-wrap { border-radius: 12px; }
    th { padding: 10px 12px; font-size: 11px; }
    td { padding: 10px 12px; font-size: 13px; }
    .srv-preview { padding: 16px; }
    .flash-wrap { top: 12px; right: 12px; left: 12px; }
    .flash { padding: 12px 16px; font-size: 12px; }
    .filter-row { gap: 6px; }
    .filter-row a { padding: 8px 12px; font-size: 11px; }
    .info-bar { padding: 14px 16px; font-size: 12px; border-radius: 10px; }
    .faq-q { padding: 16px 18px; }
    .faq-q h3 { font-size: 14px; }
    .faq-ai { padding: 0 18px 16px 50px; }
    .sc-num-val { font-size: 26px; }
}

@media(max-width:480px) {
    .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .pg-hd h1 { font-size: 24px; }
    .srv-data { font-size: 13px; gap: 6px 12px; }
    .r-lang { gap: 6px; font-size: 11px; }
}


/* ---- Custom FAQ CSS ---- */
.cat {
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 3px;
color: var(--p2);
margin: 40px 0 14px;
padding: 0;
display: flex;
align-items: center;
gap: 10px;
}

.cat::after {
content: '';
flex: 1;
height: 1px;
background: linear-gradient(90deg, rgba(161, 161, 170, .25), transparent);
}

.faq-item {
background: var(--s1);
border: 1px solid var(--br);
border-radius: 14px;
margin-bottom: 8px;
overflow: hidden;
transition: border-color .3s, background .3s;
}

.faq-item:hover {
border-color: rgba(161, 161, 170, .2);
}

.faq-item.open {
border-color: rgba(161, 161, 170, .35);
background: rgba(161, 161, 170, .03);
}

.faq-q {
display: flex;
justify-content: space-between;
align-items: center;
padding: 19px 22px;
cursor: pointer;
user-select: none;
gap: 12px;
}

.faq-ql {
display: flex;
align-items: center;
gap: 13px;
}

.faq-ico {
width: 34px;
height: 34px;
background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(168, 85, 247, .08));
border: 1px solid rgba(139, 92, 246, .25);
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
color: #c084fc;
font-size: 14px;
flex-shrink: 0;
transition: all .3s;
}

.faq-item.open .faq-ico {
background: rgba(139, 92, 246, .25);
box-shadow: 0 0 18px rgba(139, 92, 246, .4);
}

.faq-q h3 {
font-size: 15px;
font-weight: 700;
}

.faq-chev {
color: var(--tx3);
font-size: 12px;
transition: transform .3s, color .3s;
flex-shrink: 0;
}

.faq-item.open .faq-chev {
transform: rotate(180deg);
color: var(--p2);
}

.faq-a {
max-height: 0;
overflow: hidden;
transition: max-height .4s cubic-bezier(.16, 1, .3, 1);
}

.faq-item.open .faq-a {
max-height: 400px;
}

.faq-ai {
padding: 0 22px 20px 69px;
}

.faq-ai p {
font-size: 14px;
color: var(--tx2);
line-height: 1.8;
}

.faq-ai strong {
color: var(--tx);
}

.faq-ai code {
background: rgba(255, 255, 255, .07);
padding: 2px 8px;
border-radius: 5px;
font-size: 12px;
font-family: 'Courier New', monospace;
}

/* Contact CTA */
.cta-box {
background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(168, 85, 247, .05));
border: 1px solid rgba(139, 92, 246, .3);
border-radius: 20px;
padding: 36px;
text-align: center;
margin: 48px 0 40px;
position: relative;
overflow: hidden;
}

.cta-box::before {
content: '';
position: absolute;
top: -50%;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(139, 92, 246, .2), transparent 70%);
pointer-events: none;
}

.cta-box h3 {
font-size: 22px;
font-weight: 900;
letter-spacing: -.04em;
margin-bottom: 8px;
}

.cta-box p {
color: var(--tx2);
font-size: 14px;
margin-bottom: 22px;
}

.btn-discord {
display: inline-flex;
align-items: center;
gap: 9px;
background: linear-gradient(135deg, #5865F2, #4752C4);
color: #fff;
text-decoration: none;
padding: 13px 28px;
border-radius: 12px;
font-size: 15px;
font-weight: 800;
transition: all .25s;
position: relative;
overflow: hidden;
box-shadow: 0 4px 24px rgba(88, 101, 242, .4);
}

.btn-discord::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%);
transform: translateX(-100%);
transition: transform .5s;
}

.btn-discord:hover {
box-shadow: 0 8px 36px rgba(88, 101, 242, .6);
transform: translateY(-3px);
}

.btn-discord:hover::after {
transform: translateX(100%);
}

.btn-buy {
display: inline-flex;
align-items: center;
gap: 9px;
background: linear-gradient(135deg, #8b5cf6, #a855f7);
color: #fff;
text-decoration: none;
padding: 13px 28px;
border-radius: 12px;
font-size: 15px;
font-weight: 800;
transition: all .25s;
position: relative;
overflow: hidden;
box-shadow: 0 4px 24px rgba(139, 92, 246, .4);
margin-left: 10px;
}

.btn-buy::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%);
transform: translateX(-100%);
transition: transform .5s;
}

.btn-buy:hover {
box-shadow: 0 8px 36px rgba(139, 92, 246, .6);
transform: translateY(-3px);
}

.btn-buy:hover::after {
transform: translateX(100%);
}

.footer {
border-top: 1px solid var(--br);
padding: 44px 0;
}

.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}

.footer-logo {
font-size: 17px;
font-weight: 900;
letter-spacing: -.04em;
background: linear-gradient(135deg, #e9d5ff, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.footer-links {
display: flex;
gap: 2px;
flex-wrap: wrap;
}

.footer-links a {
color: var(--tx3);
text-decoration: none;
font-size: 13px;
padding: 6px 10px;
border-radius: 7px;
transition: color .2s, background .2s;
}

.footer-links a:hover {
color: var(--tx);
background: var(--s1);
}

.footer-copy {
color: var(--tx3);
font-size: 12px;
}



/* ═════════ FAQ ACCORDION ═════════ */
.cat { font-size: 13px; font-weight: 800; color: var(--p2); text-transform: uppercase; letter-spacing: .1em; margin: 40px 0 16px; border-bottom: 1px solid var(--br); padding-bottom: 8px; }
.faq-item {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--br);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
}
.faq-item:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}
.faq-ql { display: flex; align-items: center; gap: 16px; }
.faq-ico {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--br);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--tx);
    font-size: 14px;
}
.faq-q h3 { font-size: 15px; font-weight: 700; color: var(--tx); margin: 0; }
.faq-chev { color: var(--tx3); font-size: 14px; transition: transform .3s; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.16, 1, .3, 1);
}
.faq-ai {
    padding: 0 24px 24px 76px;
    color: var(--tx2);
    font-size: 14px;
    line-height: 1.6;
}
.faq-item.open { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }
.faq-item.open .faq-chev { transform: rotate(180deg); color: var(--tx); }
.faq-item.open .faq-a { max-height: 300px; }

/* ═════════ SPOTLIGHT HOVER ═════════ */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}
.panel-card:hover .card-glow, .stock-card:hover .card-glow { opacity: 1; }
.panel-card > *, .stock-card > * { position: relative; z-index: 1; }
