/* =============================================
   MINEZONE v4 — Premium Gaming UI
   Palette: Deep navy + Cyan/Purple neon
   ============================================= */

/* --- TOKENS --- */
:root {
    --bg: #06080f;
    --bg2: #0b0e18;
    --bg3: #101525;
    --surface: rgba(4,6,14,.65);
    --surface-h: rgba(8,12,22,.72);
    --border: rgba(255,255,255,.1);
    --border-h: rgba(255,255,255,.18);
    --cyan: #22d3ee;
    --cyan-g: rgba(34,211,238,.10);
    --cyan-b: rgba(34,211,238,.25);
    --purple: #a78bfa;
    --purple-g: rgba(167,139,250,.10);
    --purple-b: rgba(167,139,250,.25);
    --emerald: #34d399;
    --emerald-g: rgba(52,211,153,.10);
    --violet: #c084fc;
    --amber: #fbbf24;
    --amber-g: rgba(251,191,36,.10);
    --red: #f43f5e;
    --t1: #f1f5f9;
    --t2: #94a3b8;
    --t3: #475569;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font2: 'Space Grotesk', var(--font);
    --r: 16px;
    --r-sm: 10px;
    --r-xs: 6px;
    --max: 1140px;
    --header-h: 64px;
}

/* --- WARPS & FLAGS --- */
.wf-server-btn {
    padding: .5rem 1rem; border-radius: 10px; font-size: .82rem; font-weight: 600;
    background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--t2);
    cursor: pointer; transition: .2s;
}
.wf-server-btn:hover { background: rgba(255,255,255,.08); }
.wf-server-btn--cyan.is-active { background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.3); color: var(--cyan); }
.wf-server-btn--purple.is-active { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.3); color: var(--purple); }

.wf-products-grid { display: flex; flex-direction: column; gap: .75rem; }

.wf-product-card {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem; border-radius: 12px;
    background: rgba(255,255,255,.02); border: 1px solid var(--border);
    transition: border-color .2s;
}
.wf-product-card:hover { border-color: var(--border-h); }
.wf-product-card__icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; background: rgba(255,255,255,.04); border-radius: 10px; flex-shrink: 0;
}
.wf-product-card__info { flex: 1; min-width: 0; }
.wf-product-card__name { font-family: var(--font2); font-weight: 700; font-size: .9rem; color: #fff; }
.wf-product-card__desc { font-size: .78rem; color: var(--t3); margin: .15rem 0 .4rem; }
.wf-product-card__prices { display: flex; gap: .5rem; }
.wf-price {
    font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: 6px;
}
.wf-price--ems { background: rgba(34,211,238,.08); color: var(--cyan); border: 1px solid rgba(34,211,238,.15); }
.wf-price--rub { background: rgba(52,211,153,.08); color: var(--emerald); border: 1px solid rgba(52,211,153,.15); }

.wf-product-card__actions {
    display: flex; flex-direction: column; gap: .35rem; flex-shrink: 0; min-width: 170px;
}
.wf-input {
    padding: .4rem .6rem; background: rgba(0,0,0,.25); border: 1px solid var(--border);
    border-radius: 8px; color: #fff; font-size: .8rem; outline: none; width: 100%;
}
.wf-input:focus { border-color: rgba(34,211,238,.3); }
.wf-select {
    padding: .35rem .5rem; background: rgba(0,0,0,.25); border: 1px solid var(--border);
    border-radius: 8px; color: #fff; font-size: .78rem; outline: none; flex: 1;
    appearance: none; -webkit-appearance: none;
}

@media (max-width: 600px) {
    .wf-product-card { flex-direction: column; }
    .wf-product-card__actions { min-width: 100%; }
}

/* --- RULES PAGE --- */
.rules-warn {
    background: rgba(244,63,94,.06); border: 1px solid rgba(244,63,94,.15); border-radius: 12px;
    padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: .75rem;
    font-size: .82rem; color: var(--t2); line-height: 1.7;
}
.rules-warn__icon { font-size: 1.4rem; flex-shrink: 0; }

.rules-nav-btn {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .35rem .7rem; border-radius: 8px; font-size: .78rem; font-weight: 500;
    background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--t2);
    transition: .2s; text-decoration: none;
}
.rules-nav-btn:hover { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.2); color: #fff; }

.rules-legend {
    display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem;
    padding: .6rem 1rem; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 10px;
    font-size: .75rem; color: var(--t3);
}
.rules-legend__item { display: flex; align-items: center; gap: .3rem; }
.rl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.rl-dot--perma { background: #f43f5e; box-shadow: 0 0 6px rgba(244,63,94,.5); }
.rl-dot--heavy { background: #f97316; box-shadow: 0 0 6px rgba(249,115,22,.5); }
.rl-dot--medium { background: #eab308; box-shadow: 0 0 6px rgba(234,179,8,.5); }
.rl-dot--light { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,.5); }
.rl-dot--info { background: #38bdf8; box-shadow: 0 0 6px rgba(56,189,248,.5); }

.rules-section { margin-bottom: 1.5rem; }
.rules-section__header {
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.25rem; border-radius: var(--r) var(--r) 0 0;
    border: 1px solid var(--border); border-bottom: none;
}
.rules-section__header--red { background: linear-gradient(135deg, rgba(244,63,94,.08), rgba(244,63,94,.02)); border-color: rgba(244,63,94,.15); }
.rules-section__header--purple { background: linear-gradient(135deg, rgba(167,139,250,.08), rgba(167,139,250,.02)); border-color: rgba(167,139,250,.15); }
.rules-section__header--emerald { background: linear-gradient(135deg, rgba(52,211,153,.08), rgba(52,211,153,.02)); border-color: rgba(52,211,153,.15); }
.rules-section__header--amber { background: linear-gradient(135deg, rgba(251,191,36,.08), rgba(251,191,36,.02)); border-color: rgba(251,191,36,.15); }
.rules-section__header--cyan { background: linear-gradient(135deg, rgba(34,211,238,.08), rgba(34,211,238,.02)); border-color: rgba(34,211,238,.15); }
.rules-section__header--violet { background: linear-gradient(135deg, rgba(192,132,252,.08), rgba(192,132,252,.02)); border-color: rgba(192,132,252,.15); }

.rules-section__icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; background: rgba(255,255,255,.04); border-radius: 12px; flex-shrink: 0;
}
.rules-section__title { font-family: var(--font2); font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0; }
.rules-section__desc { font-size: .78rem; color: var(--t3); margin: .15rem 0 0; }

.rules-list {
    border: 1px solid var(--border); border-top: none;
    border-radius: 0 0 var(--r) var(--r); overflow: hidden;
}
.rule-item {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .85rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .2s;
}
.rule-item:last-child { border-bottom: none; }
.rule-item:hover { background: rgba(255,255,255,.02); }

.rule-item--perma { border-left: 3px solid rgba(244,63,94,.4); }
.rule-item--heavy { border-left: 3px solid rgba(249,115,22,.4); }
.rule-item--medium { border-left: 3px solid rgba(234,179,8,.35); }
.rule-item--light { border-left: 3px solid rgba(34,197,94,.35); }
.rule-item--info { border-left: 3px solid rgba(56,189,248,.35); }

.rule-item__num {
    flex-shrink: 0; min-width: 36px; font-family: var(--font2); font-weight: 700;
    font-size: .82rem; color: var(--t3); padding-top: .1rem;
}
.rule-item__body { flex: 1; min-width: 0; }
.rule-item__text { font-size: .84rem; color: var(--t2); line-height: 1.6; margin-bottom: .35rem; }
.rule-item__penalty {
    display: inline-block; font-size: .72rem; font-weight: 600;
    padding: .2rem .55rem; border-radius: 6px; line-height: 1.4;
}
.rule-penalty--perma { background: rgba(244,63,94,.08); color: #fb7185; border: 1px solid rgba(244,63,94,.15); }
.rule-penalty--heavy { background: rgba(249,115,22,.08); color: #fb923c; border: 1px solid rgba(249,115,22,.15); }
.rule-penalty--medium { background: rgba(234,179,8,.08); color: #facc15; border: 1px solid rgba(234,179,8,.15); }
.rule-penalty--light { background: rgba(34,197,94,.08); color: #4ade80; border: 1px solid rgba(34,197,94,.15); }
.rule-penalty--info { background: rgba(56,189,248,.08); color: #7dd3fc; border: 1px solid rgba(56,189,248,.15); }

.rules-note {
    margin-top: -.25rem; padding: 1rem 1.25rem;
    background: rgba(56,189,248,.03); border: 1px solid rgba(56,189,248,.1); border-radius: var(--r);
    margin-bottom: .5rem;
}
.rules-note__title { font-family: var(--font2); font-weight: 700; font-size: .85rem; color: var(--cyan); margin-bottom: .4rem; }
.rules-note p { font-size: .8rem; color: var(--t2); line-height: 1.7; margin-bottom: .3rem; }

@media (max-width: 600px) {
    .rule-item { padding: .7rem .8rem; gap: .5rem; }
    .rule-item__num { min-width: 30px; font-size: .75rem; }
    .rule-item__text { font-size: .8rem; }
    .rules-section__icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .rules-section__title { font-size: .95rem; }
}

/* --- VOTE SECTION --- */
.vote-subtitle {
    text-align: center; color: var(--t2); font-size: .92rem; margin-bottom: 2rem; margin-top: -.5rem;
}
.vote-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .vote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vote-grid { grid-template-columns: 1fr; } }

.vote-card {
    position: relative; display: flex; flex-direction: column; align-items: center;
    padding: 1.75rem 1.25rem 1.25rem; border-radius: var(--r);
    background: var(--surface); border: 1px solid var(--border);
    text-decoration: none; color: var(--t1);
    transition: transform .25s, border-color .3s, box-shadow .3s;
    overflow: hidden; text-align: center;
}
.vote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.vote-card__glow {
    position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
    width: 160px; height: 160px; border-radius: 50%;
    opacity: 0; transition: opacity .4s; pointer-events: none; filter: blur(50px);
}
.vote-card:hover .vote-card__glow { opacity: 1; }

/* Color variants */
.vote-card--cyan { border-color: rgba(34,211,238,.12); }
.vote-card--cyan:hover { border-color: rgba(34,211,238,.35); }
.vote-card--cyan .vote-card__icon { color: var(--cyan); }
.vote-card--cyan .vote-card__glow { background: rgba(34,211,238,.15); }
.vote-card--cyan .vote-card__btn { background: rgba(34,211,238,.1); color: var(--cyan); border-color: rgba(34,211,238,.2); }
.vote-card--cyan:hover .vote-card__btn { background: rgba(34,211,238,.18); border-color: rgba(34,211,238,.35); }

.vote-card--emerald { border-color: rgba(52,211,153,.12); }
.vote-card--emerald:hover { border-color: rgba(52,211,153,.35); }
.vote-card--emerald .vote-card__icon { color: var(--emerald); }
.vote-card--emerald .vote-card__glow { background: rgba(52,211,153,.15); }
.vote-card--emerald .vote-card__btn { background: rgba(52,211,153,.1); color: var(--emerald); border-color: rgba(52,211,153,.2); }
.vote-card--emerald:hover .vote-card__btn { background: rgba(52,211,153,.18); border-color: rgba(52,211,153,.35); }

.vote-card--purple { border-color: rgba(167,139,250,.12); }
.vote-card--purple:hover { border-color: rgba(167,139,250,.35); }
.vote-card--purple .vote-card__icon { color: var(--purple); }
.vote-card--purple .vote-card__glow { background: rgba(167,139,250,.15); }
.vote-card--purple .vote-card__btn { background: rgba(167,139,250,.1); color: var(--purple); border-color: rgba(167,139,250,.2); }
.vote-card--purple:hover .vote-card__btn { background: rgba(167,139,250,.18); border-color: rgba(167,139,250,.35); }

.vote-card--amber { border-color: rgba(251,191,36,.12); }
.vote-card--amber:hover { border-color: rgba(251,191,36,.35); }
.vote-card--amber .vote-card__icon { color: var(--amber); }
.vote-card--amber .vote-card__glow { background: rgba(251,191,36,.15); }
.vote-card--amber .vote-card__btn { background: rgba(251,191,36,.1); color: var(--amber); border-color: rgba(251,191,36,.2); }
.vote-card--amber:hover .vote-card__btn { background: rgba(251,191,36,.18); border-color: rgba(251,191,36,.35); }

.vote-card__icon {
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; background: rgba(255,255,255,.03); margin-bottom: .85rem;
    transition: transform .3s;
}
.vote-card:hover .vote-card__icon { transform: scale(1.1) rotate(-3deg); }

.vote-card__body { margin-bottom: 1rem; }
.vote-card__name {
    font-family: var(--font2); font-weight: 700; font-size: 1.05rem; margin-bottom: .25rem;
}
.vote-card__reward {
    font-size: .78rem; font-weight: 600; color: var(--t2);
    background: rgba(34,211,238,.06); padding: .15rem .55rem; border-radius: 20px;
}
.vote-card__btn {
    display: flex; align-items: center; gap: .4rem;
    padding: .5rem 1.1rem; border-radius: var(--r-sm);
    font-size: .8rem; font-weight: 600;
    border: 1px solid transparent;
    transition: background .3s, border-color .3s, transform .2s;
}
.vote-card__btn svg { transition: transform .2s; }
.vote-card:hover .vote-card__btn svg { transform: translateX(3px); }

.vote-info {
    display: flex; align-items: center; justify-content: center; gap: 1.5rem;
    margin-top: 2rem; padding: 1rem 1.5rem;
    background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--r);
    flex-wrap: wrap;
}
.vote-info__item {
    display: flex; align-items: center; gap: .45rem;
    font-size: .82rem; color: var(--t2);
}
.vote-info__icon { font-size: 1.1rem; }
.vote-info__sep {
    width: 1px; height: 20px; background: var(--border);
}
@media (max-width: 700px) {
    .vote-info { flex-direction: column; gap: .7rem; }
    .vote-info__sep { width: 60px; height: 1px; }
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px }
body {
    font-family: var(--font); color: var(--t1); overflow-x: hidden; line-height: 1.6;
    background: var(--bg) url('../img/hero-bg.png') center center / cover no-repeat fixed;
    min-height: 100vh; display: flex; flex-direction: column;
}
body > .header { flex-shrink: 0 }
body > .section, body > .hero, body > .cta-section { flex-shrink: 0 }
body > .footer { flex-shrink: 0; margin-top: auto }
body::before {
    content: ''; position: fixed; inset: 0; z-index: 0;
    background: rgba(2,4,10,.2);
    pointer-events: none;
}
a { color: inherit; text-decoration: none } img { display: block; max-width: 100% } button { cursor: pointer; font-family: inherit }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem }

/* --- HEADER --- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h); display: flex; align-items: center;
    background: rgba(6,8,15,.25); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(6,8,15,.6); box-shadow: 0 4px 24px rgba(0,0,0,.4) }
.header__wrap { display: flex; align-items: center; gap: 1.5rem; width: 100% }

/* Logo */
.logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0 }
.logo__icon { font-size: 1.2rem; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(34,211,238,.4)) }
.logo__text { font-family: var(--font2); font-weight: 700; font-size: 1.15rem; letter-spacing: .5px; color: var(--t2) }
.logo__text span { color: #fff }

/* Nav */
.nav { display: flex; gap: .15rem; flex: 1; justify-content: center }
.nav__link {
    padding: .45rem .85rem; border-radius: var(--r-sm);
    font-size: .82rem; font-weight: 500; color: var(--t2);
    transition: .2s;
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.05) }
.nav__link.is-active { color: #fff; background: rgba(34,211,238,.08) }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0 }
.online-badge {
    display: flex; align-items: center; gap: .4rem;
    padding: .3rem .7rem; border-radius: 50px;
    background: rgba(52,211,153,.06); border: 1px solid rgba(52,211,153,.15);
    font-size: .72rem; font-weight: 600; color: var(--emerald); white-space: nowrap;
}
.online-badge__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--emerald); box-shadow: 0 0 6px var(--emerald);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1) } 50% { opacity:.5; transform:scale(.75) } }

/* Profile button */
.profile-btn { position: relative; display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .3rem .5rem; border-radius: var(--r-sm); transition: .15s }
.profile-btn:hover { background: rgba(255,255,255,.04) }
canvas.skin-head { image-rendering: pixelated; image-rendering: crisp-edges; border-radius: 50%; background: rgba(255,255,255,.05); display: block }
.profile-btn__avatar { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border); image-rendering: pixelated }
.dropdown__avatar { width: 36px; height: 36px; border-radius: 50%; image-rendering: pixelated }
.dropdown__user img, .dropdown__user canvas { width: 36px; height: 36px; border-radius: 50% }
.profile-btn__name { font-size: .8rem; font-weight: 600; color: var(--t2) }

/* Dropdown */
.dropdown {
    position: absolute; top: calc(100% + .6rem); right: 0; width: 240px;
    background: rgba(11,14,24,.97); backdrop-filter: blur(20px);
    border: 1px solid var(--border); border-radius: var(--r); padding: .75rem;
    opacity: 0; visibility: hidden; transform: translateY(-5px);
    transition: .2s ease; box-shadow: 0 16px 48px rgba(0,0,0,.5); z-index: 50;
}
.profile-btn:hover .dropdown, .profile-btn.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0) }
.dropdown__user { display: flex; align-items: center; gap: .6rem; padding-bottom: .6rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border) }
.dropdown__user img { width: 36px; height: 36px; border-radius: 50% }
.dropdown__user strong { display: block; font-size: .82rem }
.dropdown__user span { font-size: .7rem; font-weight: 600 }
.dropdown__balance { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; margin-bottom: .5rem }
.dropdown__balance div { font-size: .72rem; padding: .3rem .5rem; background: var(--surface); border-radius: var(--r-xs); color: var(--t2) }
.dropdown__balance b { color: #fff }
.dropdown__link { display: block; padding: .4rem .5rem; border-radius: var(--r-xs); font-size: .78rem; color: var(--t2); transition: .15s; background: none; border: none; width: 100%; text-align: left; font-family: var(--font) }
.dropdown__link:hover { background: var(--surface-h); color: #fff }
.dropdown__link--red { color: var(--red); margin-top: .35rem }
.dropdown__link--red:hover { background: rgba(244,63,94,.08) }

/* Burger */
.burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: .4rem }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--t2); border-radius: 2px; transition: .3s }

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font); font-weight: 600; font-size: .82rem;
    border: none; border-radius: var(--r-sm); cursor: pointer;
    padding: .55rem 1.25rem; transition: .2s; white-space: nowrap;
}
.btn:active { transform: scale(.97) }
.btn--sm { padding: .4rem 1rem; font-size: .75rem }
.btn--lg { padding: .75rem 1.75rem; font-size: .88rem; border-radius: 12px }
.btn--full { width: 100%; padding: .7rem }

.btn--glow {
    background: linear-gradient(135deg, var(--cyan), #818cf8);
    color: #fff; font-weight: 700;
    box-shadow: 0 4px 20px rgba(34,211,238,.2), 0 0 0 1px rgba(34,211,238,.1);
}
.btn--glow:hover { box-shadow: 0 8px 32px rgba(34,211,238,.35); transform: translateY(-1px) }

.btn--glass {
    background: rgba(255,255,255,.04); color: var(--t2);
    border: 1px solid var(--border);
}
.btn--glass:hover { background: rgba(255,255,255,.08); color: #fff; border-color: var(--border-h) }

.btn--cyan { background: var(--cyan-g); color: var(--cyan); border: 1px solid rgba(34,211,238,.2) }
.btn--cyan:hover { background: rgba(34,211,238,.18) }
.btn--purple { background: var(--purple-g); color: var(--purple); border: 1px solid rgba(167,139,250,.2) }
.btn--purple:hover { background: rgba(167,139,250,.18) }

/* --- HERO --- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden; z-index: 1;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__img { display: none }
.hero__fade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6,8,15,.35) 100%);
}
.hero__content {
    position: relative; z-index: 1;
    padding: calc(var(--header-h) + 4rem) 0 4rem;
    max-width: 680px;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .85rem; border-radius: 50px;
    background: rgba(34,211,238,.06); border: 1px solid rgba(34,211,238,.15);
    font-size: .72rem; font-weight: 600; color: var(--cyan);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero__h1 {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.12;
    color: #fff; margin-bottom: 1rem; letter-spacing: -.5px;
}
.hero__h1 span {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__p {
    font-size: 1.05rem; color: var(--t2); margin-bottom: 2rem; max-width: 520px; line-height: 1.7;
}
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 3rem }
.hero__stats {
    display: inline-flex; align-items: center; gap: 1.5rem;
    padding: .75rem 1.25rem; border-radius: var(--r);
    background: rgba(8,12,22,.35); border: 1px solid var(--border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.hero__stat { text-align: center }
.hero__stat strong { display: block; font-family: var(--font2); font-size: 1.15rem; font-weight: 700; color: #fff }
.hero__stat span { font-size: .68rem; color: var(--t3); text-transform: uppercase; letter-spacing: .5px; font-weight: 500 }
.hero__stat-sep { width: 1px; height: 28px; background: var(--border) }

/* --- SECTIONS --- */
.section { position: relative; z-index: 1; padding: 5rem 0 }
.section--alt { background: rgba(6,8,15,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px) }
.page-section { padding-top: calc(var(--header-h) + 3rem); min-height: calc(100vh - 200px) }
.section__top { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem }
.section__top--center { flex-direction: column; align-items: center; text-align: center }
.section__label {
    display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--cyan); margin-bottom: .4rem;
}
.section__h2 { font-family: var(--font2); font-weight: 700; font-size: clamp(1.5rem,3vw,2rem); color: #fff; letter-spacing: -.3px }

/* --- SERVER CARDS --- */
.servers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem }
.srv-card {
    position: relative; display: flex; flex-direction: column; gap: 1rem;
    padding: 1.5rem; border-radius: var(--r); overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: .3s; cursor: pointer;
}
.srv-card:hover { border-color: var(--border-h); transform: translateY(-3px) }
.srv-card--cyan:hover { border-color: rgba(34,211,238,.25); box-shadow: 0 12px 40px rgba(34,211,238,.08) }
.srv-card--purple:hover { border-color: rgba(167,139,250,.25); box-shadow: 0 12px 40px rgba(167,139,250,.08) }
.srv-card__glow {
    position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
    border-radius: 50%; filter: blur(80px); opacity: 0; transition: opacity .4s;
}
.srv-card--cyan .srv-card__glow { background: var(--cyan) }
.srv-card--purple .srv-card__glow { background: var(--purple) }
.srv-card:hover .srv-card__glow { opacity: .08 }

.srv-card__head { display: flex; align-items: center; gap: .85rem }
.srv-card__icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; flex-shrink: 0; overflow: hidden;
}
.srv-card--cyan .srv-card__icon { background: var(--cyan-g); border: 1px solid rgba(34,211,238,.15) }
.srv-card--purple .srv-card__icon { background: var(--purple-g); border: 1px solid rgba(167,139,250,.15) }
.srv-card__icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px }
.srv-card__name { font-family: var(--font2); font-weight: 700; font-size: 1.1rem; color: #fff }
.srv-card__ver {
    display: inline-block; padding: .12rem .4rem; border-radius: 4px;
    font-size: .65rem; font-weight: 700; background: rgba(52,211,153,.08);
    color: var(--emerald); border: 1px solid rgba(52,211,153,.15); margin-top: .2rem;
}
.srv-card__status {
    margin-left: auto; padding: .2rem .6rem; border-radius: 50px;
    font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.srv-card__status.is-on { background: rgba(52,211,153,.08); color: var(--emerald); border: 1px solid rgba(52,211,153,.15) }
.srv-card__status.is-off { background: rgba(244,63,94,.08); color: var(--red); border: 1px solid rgba(244,63,94,.15) }

.srv-card__bar { display: flex; align-items: center; gap: .7rem }
.srv-card__bar-bg { flex: 1; height: 4px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden }
.srv-card__bar-fill { height: 100%; border-radius: 2px; transition: width .8s ease }
.srv-card--cyan .srv-card__bar-fill { background: linear-gradient(90deg, var(--cyan), #818cf8) }
.srv-card--purple .srv-card__bar-fill { background: linear-gradient(90deg, var(--purple), #f0abfc) }
.srv-card__bar span { font-size: .72rem; font-weight: 600; color: var(--t3); white-space: nowrap }

.srv-card__desc { font-size: .8rem; color: var(--t3); line-height: 1.5 }

.srv-card__tags { display: flex; flex-wrap: wrap; gap: .3rem }
.tag {
    padding: .15rem .5rem; border-radius: 4px;
    font-size: .62rem; font-weight: 500;
    background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--t3);
}
.tag--more { color: var(--cyan); border-color: rgba(34,211,238,.15); background: var(--cyan-g) }

.srv-card__footer { margin-top: auto; display: flex; justify-content: flex-end }

/* --- FEATURES --- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem }
.feat {
    position: relative; display: flex; flex-direction: column;
    padding: 1.75rem 1.25rem; border-radius: var(--r);
    background: var(--surface); border: 1px solid var(--border);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transition: .25s; text-decoration: none; overflow: hidden;
}
.feat:hover { background: var(--surface-h); transform: translateY(-3px); border-color: var(--border-h) }
.feat__num {
    position: absolute; top: 1rem; right: 1rem;
    font-family: var(--font2); font-size: .72rem; font-weight: 700;
    color: rgba(255,255,255,.06);
}
.feat__icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem;
}
.feat__icon--cyan { background: var(--cyan-g); color: var(--cyan); border: 1px solid rgba(34,211,238,.12) }
.feat__icon--emerald { background: var(--emerald-g); color: var(--emerald); border: 1px solid rgba(52,211,153,.12) }
.feat__icon--violet { background: var(--purple-g); color: var(--violet); border: 1px solid rgba(192,132,252,.12) }
.feat__icon--amber { background: var(--amber-g); color: var(--amber); border: 1px solid rgba(251,191,36,.12) }
.feat h3 { font-weight: 700; font-size: .88rem; margin-bottom: .3rem; color: #fff }
.feat p { font-size: .78rem; color: var(--t3); line-height: 1.55 }

/* --- NEWS --- */
.slider-nav { display: flex; gap: .35rem }
.slider-btn {
    width: 32px; height: 32px; border-radius: var(--r-xs);
    background: var(--surface); border: 1px solid var(--border);
    color: var(--t3); display: flex; align-items: center; justify-content: center;
    transition: .15s;
}
.slider-btn:hover { background: var(--surface-h); color: #fff }
.news-slider { overflow: hidden; border-radius: var(--r) }
.news-track { display: flex; gap: 1rem; transition: transform .4s ease }
.ncard {
    min-width: 260px; max-width: 260px; flex-shrink: 0;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--r); overflow: hidden; transition: .2s;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.ncard:hover { border-color: var(--border-h); transform: translateY(-2px) }
.ncard__img { height: 140px; overflow: hidden; background: var(--bg3) }
.ncard__img img { width: 100%; height: 100%; object-fit: cover }
.ncard__img--ph { display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: .15 }
.ncard__body { padding: .85rem }
.ncard__date { display: block; font-size: .65rem; color: var(--t3); margin-bottom: .35rem; font-weight: 500 }
.ncard__text { font-size: .78rem; color: var(--t2); line-height: 1.5; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.ncard__meta { display: flex; gap: .6rem; font-size: .68rem; color: var(--t3) }

/* --- CTA --- */
.cta-section { position: relative; z-index: 1; padding: 4rem 0 }
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    padding: 2.5rem; border-radius: var(--r);
    background: rgba(8,12,22,.35);
    border: 1px solid rgba(34,211,238,.1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; top: -80px; right: -40px;
    width: 250px; height: 250px; border-radius: 50%;
    background: var(--cyan); filter: blur(120px); opacity: .06;
}
.cta__text h2 { font-family: var(--font2); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: .3rem }
.cta__text p { font-size: .88rem; color: var(--t2) }

/* --- GLASS BOX --- */
.glass-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 1.5rem; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px) }
.glass-box h3 { font-weight: 700; font-size: 1rem; color: #fff }

/* --- RULES --- */
.rule { display: flex; gap: .75rem; padding: .65rem .75rem; background: rgba(0,0,0,.15); border-radius: var(--r-xs); margin-bottom: .35rem; border-left: 2px solid rgba(244,63,94,.3) }
.rule__n { font-weight: 700; color: var(--red); min-width: 24px; font-size: .82rem }
.rule strong { color: #fff; display: block; font-size: .82rem; margin-bottom: .1rem }
.rule small { color: var(--t3); font-size: .72rem }

/* --- FOOTER --- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--border); background: rgba(6,8,15,.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px) }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr .7fr; gap: 2rem; padding: 3rem 0 1.5rem }
.footer__brand { max-width: 280px }
.footer__brand .logo { margin-bottom: .6rem }
.footer__brand p { font-size: .75rem; color: var(--t3); line-height: 1.6 }
.footer__col h4 { font-weight: 700; font-size: .78rem; color: var(--t2); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .5px }
.footer__col a { display: block; font-size: .78rem; color: var(--t3); padding: .18rem 0; transition: .15s }
.footer__col a:hover { color: #fff }
.socials { display: flex; gap: .5rem; margin-top: .3rem }
.soc {
    width: 34px; height: 34px; border-radius: var(--r-xs);
    background: var(--surface); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem; font-weight: 700; color: var(--t3); transition: .2s;
}
.soc:hover { background: var(--surface-h); color: #fff; border-color: var(--border-h); transform: translateY(-1px) }
.footer__copy { text-align: center; padding: 1rem 0; border-top: 1px solid var(--border); font-size: .68rem; color: var(--t3) }

/* --- MODAL --- */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: .25s;
}
.modal.active { opacity: 1; visibility: visible }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px) }
.modal__card {
    position: relative; width: 100%; max-width: 400px; margin: 1rem;
    background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
    padding: 2rem; box-shadow: 0 24px 64px rgba(0,0,0,.5);
    transform: translateY(12px) scale(.98); transition: .3s;
}
.modal.active .modal__card { transform: translateY(0) scale(1) }
.modal__close { position: absolute; top: .85rem; right: .85rem; background: none; border: none; color: var(--t3); font-size: 1.1rem; transition: .15s; padding: .2rem }
.modal__close:hover { color: #fff }
.modal__card h2 { font-family: var(--font2); font-weight: 700; font-size: 1.3rem; color: #fff; text-align: center }
.modal__sub { text-align: center; font-size: .82rem; color: var(--t3); margin-bottom: 1.25rem }
.modal__form { display: flex; flex-direction: column; gap: .65rem }
.field { display: flex; flex-direction: column; gap: .25rem }
.field span { font-size: .72rem; font-weight: 600; color: var(--t3) }
.field input {
    width: 100%; padding: .65rem .85rem; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--r-sm);
    color: #fff; font-size: .85rem; font-family: var(--font); outline: none; transition: .2s;
}
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.08) }
.field input::placeholder { color: var(--t3) }
.modal__sep { text-align: center; position: relative; margin: .25rem 0 }
.modal__sep span { background: var(--bg2); padding: 0 .6rem; font-size: .72rem; color: var(--t3); position: relative; z-index: 1 }
.modal__sep::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border) }
.check { display: flex; align-items: flex-start; gap: .45rem; font-size: .72rem; color: var(--t2); cursor: pointer }
.check input { margin-top: 2px; accent-color: var(--cyan) }
.check a { color: var(--cyan) }

/* --- NOTIFICATIONS --- */
.toast {
    position: fixed; top: 1rem; right: 1rem; z-index: 300;
    padding: .7rem 1.1rem; border-radius: var(--r-sm);
    font-size: .8rem; font-weight: 600; color: #fff;
    transform: translateX(120%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.toast.show { transform: translateX(0) }
.toast--ok { background: linear-gradient(135deg, #059669, var(--emerald)); border: 1px solid rgba(52,211,153,.3) }
.toast--err { background: linear-gradient(135deg, #dc2626, var(--red)); border: 1px solid rgba(244,63,94,.3) }
.toast--info { background: linear-gradient(135deg, #2563eb, #3b82f6); border: 1px solid rgba(59,130,246,.3) }


/* ============================================
   CABINET
   ============================================ */
.cab-tabs { display:flex; gap:.3rem; margin-bottom:2rem; flex-wrap:wrap }
.cab-tab { padding:.5rem 1rem; border-radius:var(--r-sm); font-size:.8rem; font-weight:600; color:var(--t3); background:var(--surface); border:1px solid var(--border); transition:.2s; backdrop-filter:blur(12px) }
.cab-tab:hover { color:#fff; background:var(--surface-h) }
.cab-tab.is-active { color:var(--cyan); background:rgba(34,211,238,.06); border-color:rgba(34,211,238,.2) }

.cab-grid { display:grid; grid-template-columns:260px 1fr; gap:1.25rem }
.cab-grid-2col { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem }
@media(max-width:768px) { .cab-grid,.cab-grid-2col { grid-template-columns:1fr } }

.glass-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:1.25rem; backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px) }
.cab-section-title { font-weight:700; font-size:.95rem; color:#fff; margin-bottom:.85rem }

.cab-sidebar .glass-card { text-align:center; padding:1.5rem }
.cab-avatar { margin:0 auto .75rem; display:flex; justify-content:center }
.cab-avatar canvas, .cab-avatar img { width:80px; height:80px; border-radius:50%; border:2px solid var(--border); display:block; image-rendering:pixelated; image-rendering:crisp-edges }
.cab-name { font-family:var(--font2); font-weight:700; font-size:1.1rem; color:#fff; text-align:center }
.cab-rank { font-size:.82rem; font-weight:700; margin-bottom:.15rem; text-align:center }
.cab-rank-exp { font-size:.68rem; color:var(--t3); text-align:center }
.cab-balances { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin-top:1rem }
.cab-bal { display:flex; align-items:center; gap:.4rem; padding:.5rem; background:rgba(0,0,0,.15); border-radius:var(--r-xs); text-align:left }
.cab-bal span { font-size:1.2rem }
.cab-bal b { display:block; font-size:.85rem; color:#fff }
.cab-bal small { font-size:.62rem; color:var(--t3) }

.cab-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:.6rem; margin-bottom:1.25rem }
@media(max-width:768px) { .cab-stats-grid { grid-template-columns:repeat(2,1fr) } }
.cab-stat-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); padding:.75rem; backdrop-filter:blur(12px) }
.cab-stat-icon { font-size:1.1rem; margin-bottom:.25rem }
.cab-stat-label { font-size:.62rem; color:var(--t3); text-transform:uppercase; letter-spacing:.5px; font-weight:500 }
.cab-stat-val { font-size:.78rem; font-weight:600; color:#fff; word-break:break-all }

.cab-srv-bals { display:flex; flex-direction:column; gap:.5rem }
.cab-srv-bal { display:flex; align-items:center; gap:.6rem; padding:.5rem; background:rgba(0,0,0,.12); border-radius:var(--r-xs) }
.cab-srv-bal-icon { font-size:1.3rem }
.cab-srv-bal b { display:block; font-size:.82rem; color:#fff }
.cab-srv-bal small { font-size:.65rem; color:var(--t3) }
.cab-srv-bal-val { margin-left:auto; font-weight:700; font-size:.9rem; color:var(--emerald) }

.cab-ministats { display:grid; grid-template-columns:repeat(4,1fr); gap:.6rem; margin-bottom:1.25rem }
@media(max-width:768px) { .cab-ministats { grid-template-columns:repeat(2,1fr) } }
.cab-ministat { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); padding:.6rem; text-align:center; backdrop-filter:blur(12px) }
.cab-ministat span { display:block; font-size:1.1rem; margin-bottom:.15rem }
.cab-ministat b { display:block; font-size:.85rem; color:#fff }
.cab-ministat small { font-size:.6rem; color:var(--t3) }

.cab-log-item { display:flex; align-items:center; gap:.6rem; padding:.5rem; border-bottom:1px solid var(--border) }
.cab-log-item:last-child { border-bottom:none }
.cab-log-icon { font-size:1.1rem; flex-shrink:0 }
.cab-log-info { flex:1; min-width:0 }
.cab-log-info div { font-size:.78rem; color:var(--t2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.cab-log-info small { font-size:.65rem; color:var(--t3) }
.cab-log-amount { font-size:.78rem; font-weight:700; color:var(--cyan); flex-shrink:0 }

/* Upload zones */
.upload-zone { border:2px dashed var(--border); border-radius:var(--r-sm); padding:1.5rem; text-align:center; cursor:pointer; transition:.2s }
.upload-zone:hover { border-color:var(--cyan); background:rgba(34,211,238,.03) }
.upload-zone--purple:hover { border-color:var(--purple); background:rgba(167,139,250,.03) }
.hidden { display:none }

/* Privileges */
.priv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem }
@media(max-width:768px) { .priv-grid { grid-template-columns:1fr } }
.priv-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:1.5rem; backdrop-filter:blur(16px); display:flex; flex-direction:column; gap:.6rem }
.priv-card__badge { font-family:var(--font2); font-weight:700; font-size:1.3rem }
.priv-card__perms { display:flex; flex-direction:column; gap:.25rem; flex:1 }
.priv-card__perm { font-size:.75rem; color:var(--t2) }
.priv-card__price { font-size:.85rem; color:var(--t3) }

.field-select { width:100%; padding:.55rem .75rem; background:rgba(0,0,0,.25); border:1px solid var(--border); border-radius:var(--r-sm); color:#fff; font-size:.82rem; font-family:var(--font); outline:none; appearance:none; cursor:pointer }
.field-select:focus { border-color:var(--cyan) }
.field-select option { background:#0b0e18 }

/* ============================================
   SHOP — 3-column layout
   ============================================ */
.shop-layout { display:grid; grid-template-columns:180px 1fr 260px; gap:1.25rem; align-items:start }
@media(max-width:1024px) { .shop-layout { grid-template-columns:1fr 240px } .shop-side-left { display:none } }
@media(max-width:768px) { .shop-layout { grid-template-columns:1fr } .shop-side-right { order:-1 } }

/* Left sidebar - categories */
.shop-side-left { position:sticky; top:calc(var(--header-h) + 2rem); z-index:2 }
.shop-cats-box { display:flex; flex-direction:column; gap:.2rem; padding:.75rem }
.shop-cats-title { font-size:.7rem; font-weight:700; color:var(--t3); text-transform:uppercase; letter-spacing:.5px; padding:.3rem .5rem; margin-bottom:.2rem }
.shop-cat { display:block; padding:.45rem .65rem; border-radius:var(--r-xs); font-size:.78rem; font-weight:500; color:var(--t2); transition:.15s; border:none; background:none }
.shop-cat:hover { color:#fff; background:rgba(255,255,255,.04) }
.shop-cat.is-active { color:var(--cyan); background:rgba(34,211,238,.08); font-weight:600 }

/* Right sidebar - balance + cart */
.shop-side-right { position:sticky; top:calc(var(--header-h) + 2rem); display:flex; flex-direction:column; gap:.85rem }
.shop-balance-box { text-align:center; padding:1rem }
.shop-balance-label { font-size:.7rem; color:var(--t3); text-transform:uppercase; letter-spacing:.5px; margin-bottom:.25rem }
.shop-balance-val { font-family:var(--font2); font-size:1.4rem; font-weight:700; color:var(--emerald) }

.shop-cart-box { padding:1rem }
.shop-cart-title { font-size:.85rem; font-weight:700; color:#fff; margin-bottom:.65rem; padding-bottom:.4rem; border-bottom:1px solid var(--border) }
.shop-cart-empty { text-align:center; padding:1.5rem 0; color:var(--t3) }
.shop-cart-empty span { font-size:2rem; display:block; margin-bottom:.3rem; opacity:.3 }
.shop-cart-empty p { font-size:.82rem; margin-bottom:.15rem }
.shop-cart-empty small { font-size:.65rem }
.shop-cart-items { display:flex; flex-direction:column; gap:.4rem; margin-bottom:.65rem; max-height:300px; overflow-y:auto }
.shop-cart-item { display:flex; align-items:center; gap:.4rem; padding:.4rem 0; border-bottom:1px solid rgba(255,255,255,.04) }
.shop-cart-item:last-child { border-bottom:none }
.shop-cart-item__info { flex:1; min-width:0 }
.shop-cart-item__info strong { display:block; font-size:.72rem; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.shop-cart-item__info small { font-size:.6rem; color:var(--t3) }
.shop-cart-item__qty { display:flex; align-items:center; gap:.2rem }
.shop-cart-item__price { font-size:.75rem; font-weight:700; color:var(--emerald); white-space:nowrap; min-width:40px; text-align:right }
.shop-cart-item__rm { background:none; border:none; color:var(--t3); cursor:pointer; font-size:.7rem; padding:.1rem; transition:.15s }
.shop-cart-item__rm:hover { color:var(--red) }
.shop-cart-total { display:flex; justify-content:space-between; align-items:center; padding:.5rem 0; border-top:1px solid var(--border); margin-bottom:.5rem }
.shop-cart-total span { color:var(--t2); font-size:.82rem }
.shop-cart-total b { color:var(--emerald); font-size:1.1rem; font-family:var(--font2) }
.qty-btn { width:22px; height:22px; border-radius:4px; background:rgba(255,255,255,.05); border:1px solid var(--border); color:#fff; font-size:.75rem; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:.15s }
.qty-btn:hover { background:var(--surface-h) }

/* Products grid */
.shop-products-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem }
.shop-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); overflow:hidden; backdrop-filter:blur(16px); transition:.2s; display:flex; flex-direction:column }
.shop-item:hover { border-color:var(--border-h); transform:translateY(-2px) }
.shop-item__img { height:70px; background:rgba(0,0,0,.15); display:flex; align-items:center; justify-content:center; overflow:hidden }
.shop-item__img img { width:100%; height:100%; object-fit:contain; padding:.3rem }
.shop-item__img span { font-size:1.8rem; opacity:.2 }
.shop-item__body { padding:.5rem .6rem; flex:1; display:flex; flex-direction:column }
.shop-item__body h4 { font-size:.72rem; font-weight:700; color:#fff; margin:.1rem 0; line-height:1.3 }
.shop-item__foot { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:.35rem }
.shop-item__price { font-weight:700; color:var(--emerald); font-size:.78rem }
.shop-item__price small { font-weight:500; color:var(--t3); margin-left:.1rem; font-size:.6rem }
@media(max-width:768px) { .shop-products-grid { grid-template-columns:repeat(2,1fr) } }
@media(max-width:480px) { .shop-products-grid { grid-template-columns:1fr 1fr } }

/* ============================================
   PAYMENT
   ============================================ */
.pay-amounts { display:flex; flex-wrap:wrap; gap:.5rem }
.pay-amt { padding:.6rem 1rem; border-radius:var(--r-sm); background:var(--surface); border:1px solid var(--border); color:#fff; font-weight:700; font-size:.88rem; cursor:pointer; transition:.2s; display:flex; flex-direction:column; align-items:center; min-width:70px }
.pay-amt:hover { border-color:var(--cyan); background:rgba(34,211,238,.06) }
.pay-amt.is-active { border-color:var(--emerald); background:rgba(52,211,153,.08); color:var(--emerald) }
.pay-amt small { font-size:.6rem; color:var(--emerald); font-weight:600 }

/* ============================================
   CANVAS SKIN HEAD
   ============================================ */
canvas.skin-head { image-rendering:pixelated; image-rendering:crisp-edges; border-radius:50%; background:rgba(255,255,255,.05); display:block }
.profile-btn__avatar { width:28px; height:28px; border-radius:50%; border:1.5px solid var(--border) }
.dropdown__avatar { width:36px; height:36px; border-radius:50% }
.dropdown__user canvas { width:36px; height:36px; border-radius:50% }

/* ============================================
   RESPONSIVE EXTRA
   ============================================ */
@media(max-width:640px) {
    .cab-stats-grid { grid-template-columns:repeat(2,1fr) }
    .cab-ministats { grid-template-columns:repeat(2,1fr) }
    .priv-grid { grid-template-columns:1fr }
    .shop-products-grid { grid-template-columns:1fr 1fr }
}
@media(max-width:400px) {
    .shop-products-grid { grid-template-columns:1fr }
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-wrap { display:grid; grid-template-columns:200px 1fr; gap:1.25rem; min-height:calc(100vh - 200px) }
@media(max-width:768px) { .admin-wrap { grid-template-columns:1fr } }
.adm-side { position:sticky; top:calc(var(--header-h) + 1.5rem); align-self:start; background:var(--surface); border:1px solid var(--border); border-radius:var(--r); backdrop-filter:blur(16px); padding:.6rem; display:flex; flex-direction:column; gap:.1rem }
.adm-side__head { font-family:var(--font2); font-weight:700; font-size:.9rem; color:var(--cyan); padding:.6rem .65rem .5rem; border-bottom:1px solid var(--border); margin-bottom:.25rem }
.adm-side__sep { height:1px; background:var(--border); margin:.35rem 0 }
.adm-nav { display:flex; align-items:center; gap:.5rem; padding:.45rem .65rem; border-radius:var(--r-xs); font-size:.78rem; font-weight:500; color:var(--t2); transition:.15s }
.adm-nav:hover { color:#fff; background:rgba(255,255,255,.04) }
.adm-nav.is-active { color:var(--cyan); background:rgba(34,211,238,.08); font-weight:600 }
.adm-nav span { font-size:.9rem; width:20px; text-align:center }

.adm-content { min-width:0 }
.adm-title { font-family:var(--font2); font-weight:700; font-size:1.3rem; color:#fff; margin-bottom:1rem }
.adm-subtitle { font-weight:700; font-size:.9rem; color:#fff; margin-bottom:.75rem }
.adm-stats { display:grid; grid-template-columns:repeat(6,1fr); gap:.75rem; margin-bottom:1.25rem }
@media(max-width:1024px) { .adm-stats { grid-template-columns:repeat(3,1fr) } }
@media(max-width:640px) { .adm-stats { grid-template-columns:repeat(2,1fr) } }
.adm-stat { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); padding:.85rem; text-align:center; backdrop-filter:blur(12px) }
.adm-stat__icon { font-size:1.4rem; margin-bottom:.25rem }
.adm-stat__val { font-family:var(--font2); font-size:1.2rem; font-weight:700; color:#fff }
.adm-stat__label { font-size:.65rem; color:var(--t3); margin-top:.1rem }

.adm-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch }
.adm-table { width:100%; border-collapse:collapse; font-size:.78rem }
.adm-table th { text-align:left; padding:.5rem .4rem; color:var(--t3); font-size:.65rem; text-transform:uppercase; letter-spacing:.3px; border-bottom:1px solid var(--border); font-weight:600 }
.adm-table td { padding:.45rem .4rem; border-bottom:1px solid rgba(255,255,255,.03); color:var(--t2) }
.adm-table tr:hover td { background:rgba(255,255,255,.02) }
.adm-table--sm th, .adm-table--sm td { padding:.3rem .35rem; font-size:.72rem }
.adm-actions { display:flex; gap:.2rem; white-space:nowrap }

.adm-btn { padding:.35rem .65rem; border-radius:var(--r-xs); background:var(--surface); border:1px solid var(--border); color:#fff; font-size:.75rem; font-weight:500; cursor:pointer; transition:.15s; font-family:var(--font) }
.adm-btn:hover { background:var(--surface-h); border-color:var(--border-h) }
.adm-btn--sm { padding:.2rem .4rem; font-size:.68rem }
.adm-btn--accent { background:rgba(34,211,238,.1); border-color:rgba(34,211,238,.2); color:var(--cyan) }
.adm-btn--accent:hover { background:rgba(34,211,238,.18) }
.adm-btn--warn { border-color:rgba(251,191,36,.2) }
.adm-btn--danger { border-color:rgba(244,63,94,.2) }
.adm-btn--danger:hover { background:rgba(244,63,94,.1) }

.adm-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin-bottom:.75rem }
@media(max-width:640px) { .adm-form-grid { grid-template-columns:1fr } }

.adm-tabs-mini { display:flex; gap:.3rem; margin-bottom:1rem }
.adm-tab-mini { padding:.4rem .85rem; border-radius:var(--r-sm); font-size:.78rem; font-weight:600; color:var(--t3); background:var(--surface); border:1px solid var(--border); cursor:pointer; transition:.15s; font-family:var(--font) }
.adm-tab-mini:hover { color:#fff }
.adm-tab-mini.is-active { color:var(--cyan); background:rgba(34,211,238,.06); border-color:rgba(34,211,238,.2) }

.dropdown__link--admin { color:var(--cyan) !important; font-weight:600 }

/* ============================================
   CASES
   ============================================ */
.cases-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem }
.case-card { display:flex; flex-direction:column; align-items:center; padding:1.5rem 1rem; background:var(--surface); border:1px solid var(--border); border-radius:var(--r); backdrop-filter:blur(16px); transition:.25s; position:relative; overflow:hidden; text-align:center }
.case-card:hover { border-color:var(--case-clr); transform:translateY(-4px) }
.case-card__glow { position:absolute; top:-50%; left:50%; transform:translateX(-50%); width:150px; height:150px; background:var(--case-clr); opacity:.06; border-radius:50%; filter:blur(40px); transition:.3s }
.case-card:hover .case-card__glow { opacity:.12 }
.case-card__img { width:80px; height:80px; display:flex; align-items:center; justify-content:center; margin-bottom:.75rem; position:relative; z-index:1 }
.case-card__img img { max-width:100%; max-height:100%; object-fit:contain }
.case-card__name { font-weight:700; font-size:1rem; color:#fff; margin-bottom:.4rem; position:relative; z-index:1 }
.case-card__prices { display:flex; gap:.4rem; margin-bottom:.3rem; position:relative; z-index:1 }
.case-price { padding:.2rem .5rem; border-radius:4px; font-size:.72rem; font-weight:700; background:rgba(52,211,153,.1); color:var(--emerald); border:1px solid rgba(52,211,153,.15) }
.case-price--ems { background:rgba(34,211,238,.1); color:var(--cyan); border-color:rgba(34,211,238,.15) }
.case-price--free { background:rgba(251,191,36,.1); color:var(--amber); border-color:rgba(251,191,36,.15) }
.case-card__items { font-size:.7rem; color:var(--t3); position:relative; z-index:1 }

.case-roulette { padding:1.5rem; margin-bottom:1rem }
.case-roulette__header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; flex-wrap:wrap; gap:.5rem }
.case-roulette__header h3 { font-weight:700; color:#fff; font-size:1.1rem }
.case-roulette__viewport { position:relative; height:110px; overflow:hidden; border-radius:var(--r-sm); background:rgba(0,0,0,.25); margin-bottom:1rem; border:1px solid var(--border) }
.case-roulette__strip { display:flex; gap:8px; transition:transform 4s cubic-bezier(.15,.85,.35,1); padding:8px }
.case-roulette__pointer { position:absolute; top:0; left:50%; transform:translateX(-50%); width:3px; height:100%; background:var(--cyan); box-shadow:0 0 12px var(--cyan); z-index:2 }
.case-roulette__pointer::before { content:''; position:absolute; top:0; left:50%; transform:translateX(-50%); border:6px solid transparent; border-top-color:var(--cyan) }
.roulette-item { min-width:90px; height:94px; background:var(--surface); border:2px solid var(--border); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; flex-shrink:0 }
.roulette-item__icon { font-size:1.6rem }
.roulette-item__name { font-size:.6rem; color:var(--t2); max-width:80px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:center }
.case-roulette__controls { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap }

.case-prize { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.7); backdrop-filter:blur(8px) }
.case-prize__card { text-align:center; padding:2rem; max-width:350px; width:90%; animation:prizeIn .4s ease-out }
@keyframes prizeIn { from{transform:scale(.8);opacity:0} to{transform:scale(1);opacity:1} }
.case-prize__icon { font-size:3.5rem; margin-bottom:.5rem }
.case-prize__name { font-family:var(--font2); font-size:1.3rem; font-weight:700; color:#fff; margin-bottom:.2rem }
.case-prize__rarity { font-size:.8rem; margin-bottom:.5rem }
.case-prize__message { font-size:.82rem; color:var(--t2); margin-bottom:1rem; white-space:pre-wrap; line-height:1.6; text-align:center }
.case-prize__actions { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap }

.case-contents-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:.6rem }
.case-content-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); padding:.75rem; text-align:center; border-top:2px solid var(--item-clr); backdrop-filter:blur(12px) }
.case-content-item__icon { font-size:1.5rem; margin-bottom:.3rem; height:36px; display:flex; align-items:center; justify-content:center }
.case-content-item__icon img { max-height:36px }
.case-content-item__name { font-size:.72rem; font-weight:600; color:#fff; margin-bottom:.15rem }
.case-content-item__rarity { font-size:.62rem; font-weight:600 }
.case-content-item__chance { font-size:.6rem; color:var(--t3); margin-top:.1rem }

.inv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:.6rem }
.inv-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); padding:.75rem; text-align:center; border-left:3px solid var(--inv-clr); backdrop-filter:blur(12px) }
.inv-item__icon { font-size:1.3rem; margin-bottom:.2rem }
.inv-item__name { font-size:.75rem; font-weight:600; color:#fff }
.inv-item__rarity { font-size:.62rem; margin-bottom:.15rem }
.inv-item__server { font-size:.58rem; color:var(--t3); margin-bottom:.3rem }
.inv-item__actions { display:flex; gap:.3rem; justify-content:center }

/* ============================================
   FORUM
   ============================================ */
.forum-cats { display:flex; flex-direction:column; gap:.6rem }
.forum-cat-card { display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:1rem; padding:1rem 1.25rem; transition:.15s }
.forum-cat-card:hover { border-color:var(--border-h); transform:translateX(2px) }
.forum-cat-card__icon { font-size:1.8rem; width:50px; text-align:center }
.forum-cat-card__body h3 { font-size:.92rem; font-weight:700; color:#fff; margin-bottom:.15rem }
.forum-cat-card__body p { font-size:.72rem; color:var(--t3) }
.forum-cat-card__stats { display:flex; gap:1rem; font-size:.72rem; color:var(--t2); text-align:center }
.forum-cat-card__stats b { display:block; font-size:.9rem; color:#fff; font-weight:700 }
.forum-cat-card__last { font-size:.65rem; color:var(--t3) }
@media(max-width:768px) { .forum-cat-card { grid-template-columns:auto 1fr; } .forum-cat-card__stats,.forum-cat-card__last { display:none } }

.forum-topics { display:flex; flex-direction:column; gap:.4rem }
.forum-topic-row { display:flex; align-items:center; gap:.75rem; padding:.75rem 1rem; transition:.15s }
.forum-topic-row:hover { border-color:var(--border-h) }
.forum-pin { margin-right:.2rem }
.forum-topic-row__main { flex:1; min-width:0 }
.forum-topic-row__title { font-weight:600; font-size:.88rem; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.forum-topic-row__meta { font-size:.7rem; color:var(--t3); margin-top:.15rem }
.forum-topic-row__stats { display:flex; gap:1rem; font-size:.7rem; color:var(--t2); text-align:center; flex-shrink:0 }
.forum-topic-row__stats b { display:block; font-weight:700; color:#fff }

.forum-posts { display:flex; flex-direction:column; gap:.75rem }
.forum-post { display:grid; grid-template-columns:100px 1fr; gap:1rem; padding:1rem 1.25rem }
@media(max-width:640px) { .forum-post { grid-template-columns:1fr; } }
.forum-post__sidebar { text-align:center }
.forum-post__sidebar canvas { margin:0 auto .4rem }
.forum-post__author { font-weight:700; font-size:.82rem }
.forum-post__rank { font-size:.65rem; color:var(--t3) }
.forum-post__postcount { font-size:.6rem; color:var(--t3); margin-top:.1rem }
.forum-post__content { min-width:0 }
.forum-post__text { font-size:.85rem; color:var(--t2); line-height:1.7; word-wrap:break-word }
.forum-post__date { font-size:.65rem; color:var(--t3); margin-top:.75rem; padding-top:.5rem; border-top:1px solid var(--border) }

.forum-textarea { width:100%; min-height:100px; padding:.75rem; background:rgba(0,0,0,.2); border:1px solid var(--border); border-radius:var(--r-sm); color:#fff; font-family:var(--font); font-size:.85rem; line-height:1.6; resize:vertical; outline:none }
.forum-textarea:focus { border-color:var(--cyan) }

.forum-post__footer { display:flex; justify-content:space-between; align-items:center; margin-top:.75rem; padding-top:.5rem; border-top:1px solid var(--border); flex-wrap:wrap; gap:.3rem }
.forum-post__num { font-size:.65rem; color:var(--t3) }
.forum-post__btns { display:flex; gap:.3rem; align-items:center; flex-wrap:wrap }

.forum-vote-btn { display:inline-flex; align-items:center; gap:.2rem; padding:.2rem .45rem; border-radius:4px; background:none; border:1px solid var(--border); color:var(--t3); font-size:.7rem; cursor:pointer; transition:.15s; font-family:var(--font) }
.forum-vote-btn:hover { border-color:var(--emerald); color:var(--emerald) }
.forum-vote-btn.is-active { border-color:var(--emerald); color:var(--emerald); background:rgba(52,211,153,.08) }
.forum-vote-btn--dis:hover { border-color:var(--red); color:var(--red) }
.forum-vote-btn--dis.is-active { border-color:var(--red); color:var(--red); background:rgba(244,63,94,.08) }

.forum-action-btn { display:inline-flex; align-items:center; gap:.2rem; padding:.2rem .45rem; border-radius:4px; background:none; border:1px solid var(--border); color:var(--t2); font-size:.68rem; cursor:pointer; transition:.15s; font-family:var(--font) }
.forum-action-btn:hover { border-color:var(--cyan); color:var(--cyan) }
.forum-action-btn--red:hover { border-color:var(--red); color:var(--red) }

.forum-quote { background:rgba(34,211,238,.03); border-left:3px solid var(--cyan); border-radius:0 var(--r-xs) var(--r-xs) 0; padding:.5rem .75rem; margin-bottom:.5rem; font-size:.78rem }
.forum-quote__author { font-size:.68rem; font-weight:700; color:var(--cyan); margin-bottom:.2rem }
.forum-quote__text { color:var(--t2); font-style:italic; line-height:1.5 }

.forum-pager { display:flex; gap:.3rem; justify-content:center; margin-top:1rem }
.forum-pager__btn { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-xs); background:var(--surface); border:1px solid var(--border); color:var(--t2); font-size:.78rem; font-weight:600; transition:.15s }
.forum-pager__btn:hover { color:#fff; border-color:var(--border-h) }
.forum-pager__btn.is-active { color:var(--cyan); background:rgba(34,211,238,.08); border-color:rgba(34,211,238,.2) }

/* ============================================
   HEADER MAIL ICON
   ============================================ */
.header-mail { position:relative; font-size:1.1rem; padding:.2rem; cursor:pointer; transition:.15s }
.header-mail:hover { transform:scale(1.1) }
.header-mail__badge { position:absolute; top:-4px; right:-6px; background:var(--red); color:#fff; font-size:.55rem; font-weight:700; padding:.1rem .3rem; border-radius:8px; min-width:14px; text-align:center; line-height:1.2 }

/* ============================================
   MESSAGES
   ============================================ */
.msg-convo-list { display:flex; flex-direction:column; gap:.4rem }
.msg-convo { display:flex; align-items:center; gap:.7rem; padding:.7rem .9rem; transition:.15s }
.msg-convo:hover { border-color:var(--border-h) }
.msg-convo--unread { border-color:rgba(34,211,238,.15); background:rgba(34,211,238,.03) }
.msg-convo__body { flex:1; min-width:0 }
.msg-convo__name { font-size:.85rem; font-weight:600 }
.msg-convo__badge { display:inline-block; background:var(--red); color:#fff; font-size:.55rem; padding:.1rem .3rem; border-radius:8px; font-weight:700; vertical-align:middle }
.msg-convo__last { font-size:.72rem; color:var(--t3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:.1rem }
.msg-convo__time { font-size:.65rem; color:var(--t3); flex-shrink:0 }

.msg-chat-card { display:flex; flex-direction:column; height:calc(100vh - 280px); min-height:400px }
.msg-chat-header { display:flex; align-items:center; gap:.6rem; padding-bottom:.75rem; margin-bottom:.5rem; border-bottom:1px solid var(--border) }
.msg-chat-body { flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:.4rem; padding:.5rem 0 }
.msg-chat-input { display:flex; gap:.4rem; padding-top:.5rem; border-top:1px solid var(--border); margin-top:.5rem }
.msg-chat-input textarea { flex:1 }

.msg-bubble { max-width:75%; padding:.5rem .75rem; border-radius:12px 12px 12px 4px; background:rgba(255,255,255,.05); border:1px solid var(--border); align-self:flex-start }
.msg-bubble--mine { align-self:flex-end; background:rgba(34,211,238,.06); border-color:rgba(34,211,238,.12); border-radius:12px 12px 4px 12px }
.msg-bubble__text { font-size:.82rem; color:var(--t2); line-height:1.5; word-wrap:break-word }
.msg-bubble--mine .msg-bubble__text { color:#fff }
.msg-bubble__time { font-size:.58rem; color:var(--t3); margin-top:.2rem; text-align:right }

.msg-notif-list { display:flex; flex-direction:column; gap:.3rem }
.msg-notif { display:flex; align-items:center; gap:.6rem; padding:.65rem .85rem; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-sm); transition:.15s; backdrop-filter:blur(12px); margin-bottom:.3rem }
.msg-notif:hover { border-color:var(--border-h) }
.msg-notif--unread { border-left:3px solid var(--red); background:rgba(244,63,94,.04) }
.msg-notif--unread b { color:#fff }
.msg-notif--read { opacity:.6 }
.msg-notif--read b { color:var(--t2) }
.msg-notif__icon { font-size:1.2rem; flex-shrink:0 }
.msg-notif__body { flex:1; min-width:0 }
.msg-notif__body b { display:block; font-size:.82rem; color:#fff }
.msg-notif__body p { font-size:.72rem; color:var(--t3); margin-top:.1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.msg-notif__time { font-size:.62rem; color:var(--t3); flex-shrink:0 }

/* ============================================
   PROFILE
   ============================================ */
.profile-header { padding:1.5rem }
.profile-header__top { display:flex; align-items:center; gap:1rem; flex-wrap:wrap }
.profile-header__info { flex:1 }
.profile-rank { display:inline-block; font-weight:700; font-size:.85rem; margin-top:.15rem }

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-player-row { display:flex; align-items:center; gap:.6rem; padding:.5rem .65rem; border-radius:var(--r-xs); transition:.15s; border-bottom:1px solid rgba(255,255,255,.03) }
.search-player-row:hover { background:rgba(255,255,255,.03) }

/* ============================================
   LEGAL CONTENT
   ============================================ */
.legal-content { padding:1.5rem; line-height:1.8; font-size:.85rem; color:var(--t2) }
.legal-content h3 { color:#fff; font-family:var(--font2); font-size:1rem; margin:1.2rem 0 .5rem; padding-bottom:.3rem; border-bottom:1px solid var(--border) }
.legal-content h3:first-child { margin-top:0 }
.legal-content p { margin-bottom:.5rem }
.legal-content b { color:#fff }

/* Record bar */
.record-bar { text-align:center; margin-top:1rem; padding:.5rem 1.2rem; border:1px solid rgba(251,191,36,.25); border-radius:var(--r-xs); background:rgba(251,191,36,.06); backdrop-filter:blur(8px); display:inline-flex; justify-content:center; width:auto; margin-left:auto; margin-right:auto }
.record-bar span { font-size:.78rem; color:rgba(251,191,36,.85) }
.record-bar b { color:#fbbf24; font-size:.9rem }
.servers + .record-bar, .servers ~ .record-bar { display:flex }

/* News card hover */
.ncard { transition:transform .2s, border-color .2s }
.ncard:hover { transform:translateY(-3px); border-color:var(--border-h) }

/* Shop discount badge */
.shop-item { position:relative }
.shop-item__discount { position:absolute; top:.4rem; right:.4rem; background:var(--red); color:#fff; font-size:.65rem; font-weight:700; padding:.15rem .4rem; border-radius:4px; z-index:2 }

/* ============================================
   PRIVILEGE CARDS v2
   ============================================ */
.priv-showcase { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1rem }
.priv-card-v2 { position:relative; background:var(--surface); border:1px solid var(--border); border-top:3px solid var(--priv-clr,var(--cyan)); border-radius:var(--r); padding:1.5rem 1.2rem; backdrop-filter:blur(16px); display:flex; flex-direction:column; gap:.6rem; transition:transform .25s,box-shadow .25s; overflow:hidden }
.priv-card-v2::before { content:''; position:absolute; top:0; left:0; right:0; height:80px; background:linear-gradient(180deg,color-mix(in srgb,var(--priv-clr) 8%,transparent),transparent); pointer-events:none }
.priv-card-v2:hover { transform:translateY(-4px); box-shadow:0 8px 32px color-mix(in srgb,var(--priv-clr) 15%,transparent) }
.priv-card-v2__discount { position:absolute; top:.6rem; right:.6rem; background:var(--red); color:#fff; font-size:.65rem; font-weight:700; padding:.2rem .5rem; border-radius:6px; z-index:2 }
.priv-card-v2__img { text-align:center; margin-bottom:.3rem; position:relative; z-index:1 }
.priv-card-v2__img img { max-height:80px; border-radius:8px; filter:drop-shadow(0 4px 12px rgba(0,0,0,.3)) }
.priv-card-v2__badge { font-family:var(--font2); font-weight:700; font-size:1.2rem; color:var(--priv-clr); text-align:center; position:relative; z-index:1 }
.priv-card-v2__desc { font-size:.78rem; color:var(--t2); text-align:center; line-height:1.5 }
.priv-card-v2__cmds { display:flex; flex-direction:column; gap:.2rem; flex:1; padding:.5rem 0 }
.priv-cmd { font-size:.73rem; color:var(--t2); display:flex; align-items:center; gap:.3rem }
.priv-cmd span { flex-shrink:0; font-size:.8rem }
.priv-card-v2__price { text-align:center; font-size:.9rem; color:var(--t3); margin:.3rem 0 }
.priv-card-v2__price b { font-size:1.1rem }

/* Privilege timer in cabinet */
.priv-timer { background:linear-gradient(135deg,rgba(34,211,238,.06),rgba(139,92,246,.06)); border:1px solid rgba(34,211,238,.15); border-radius:var(--r); padding:1.2rem; margin-bottom:1.2rem; text-align:center; position:relative; overflow:hidden }
.priv-timer::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--cyan),var(--purple),var(--cyan)); background-size:200% 100%; animation:privTimerShine 3s linear infinite }
@keyframes privTimerShine { 0%{background-position:200% 0} 100%{background-position:0 0} }
.priv-timer__rank { font-family:var(--font2); font-weight:700; font-size:1.3rem; margin-bottom:.4rem }
.priv-timer__server { font-size:.75rem; color:var(--t3); margin-bottom:.8rem }
.priv-timer__grid { display:flex; justify-content:center; gap:.8rem }
.priv-timer__cell { text-align:center }
.priv-timer__num { display:block; font-size:1.5rem; font-weight:700; color:#fff; background:rgba(0,0,0,.3); border-radius:8px; padding:.3rem .6rem; min-width:48px; font-family:var(--font2) }
.priv-timer__label { font-size:.6rem; color:var(--t3); margin-top:.2rem; text-transform:uppercase; letter-spacing:.5px }
.priv-timer__warning { margin-top:.6rem; font-size:.72rem; padding:.3rem .6rem; border-radius:6px }

/* ============================================
   PRIVILEGE MODAL - scrollable, non-overflowing
   ============================================ */
.priv-modal-card { max-width:600px!important; max-height:85vh!important; display:flex!important; flex-direction:column!important; border-top:3px solid var(--priv-clr,var(--cyan))!important; overflow:hidden!important }
.priv-modal-card .modal__close { position:sticky; top:0; z-index:5 }
.priv-modal-scroll { flex:1; overflow-y:auto; padding:0 .25rem .5rem; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.1) transparent }
.priv-modal-scroll::-webkit-scrollbar { width:5px }
.priv-modal-scroll::-webkit-scrollbar-thumb { background:rgba(255,255,255,.1); border-radius:4px }

/* Period buttons */
.priv-periods { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:.5rem }
.priv-period { position:relative; background:rgba(0,0,0,.25); border:2px solid var(--border); border-radius:10px; padding:.65rem .4rem; cursor:pointer; text-align:center; transition:all .25s }
.priv-period:hover { border-color:color-mix(in srgb,var(--priv-clr) 40%,transparent); background:color-mix(in srgb,var(--priv-clr) 5%,transparent) }
.priv-period.is-selected { border-color:var(--priv-clr); background:color-mix(in srgb,var(--priv-clr) 10%,transparent); box-shadow:0 0 20px color-mix(in srgb,var(--priv-clr) 20%,transparent) }
.priv-period__months { font-weight:700; color:#fff; font-size:.9rem; margin-bottom:.15rem }
.priv-period__save { position:absolute; top:-.4rem; right:-.2rem; background:var(--red); color:#fff; font-size:.55rem; font-weight:700; padding:.1rem .35rem; border-radius:4px }
.priv-period__old { font-size:.65rem; color:var(--t3); text-decoration:line-through }
.priv-period__price { font-weight:700; font-size:1rem }

/* ============================================
   PRIVILEGE TIMER - beautiful card
   ============================================ */
.priv-timer { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:1.5rem; margin-bottom:1.2rem; text-align:center; position:relative; overflow:hidden; backdrop-filter:blur(16px) }
.priv-timer::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--priv-clr,var(--cyan)),#a78bfa,var(--priv-clr,var(--cyan))); background-size:200% 100%; animation:privTimerShine 3s linear infinite }
.priv-timer::after { content:''; position:absolute; top:0; left:0; right:0; height:60px; background:linear-gradient(180deg,color-mix(in srgb,var(--priv-clr,var(--cyan)) 6%,transparent),transparent); pointer-events:none }
.priv-timer__rank { font-family:var(--font2); font-weight:700; font-size:1.4rem; margin-bottom:.2rem; position:relative; z-index:1 }
.priv-timer__server { font-size:.75rem; color:var(--t3); margin-bottom:1rem }
.priv-timer__grid { display:flex; justify-content:center; gap:.6rem; position:relative; z-index:1 }
.priv-timer__cell { text-align:center }
.priv-timer__num { display:block; font-size:1.6rem; font-weight:700; color:#fff; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.06); border-radius:10px; padding:.4rem .55rem; min-width:52px; font-family:var(--font2) }
.priv-timer__label { font-size:.58rem; color:var(--t3); margin-top:.3rem; text-transform:uppercase; letter-spacing:.5px }
.priv-timer__warning { margin-top:.75rem; font-size:.72rem; padding:.35rem .7rem; border-radius:6px; display:inline-block }

/* ============================================
   RANKED USERNAMES with effects
   ============================================ */
.ranked-name { font-weight:600; transition:text-shadow .3s }
.ranked-name.ranked-glow { text-shadow:0 0 8px currentColor; animation:rankPulse 3s ease-in-out infinite }
@keyframes rankPulse { 0%,100%{text-shadow:0 0 6px color-mix(in srgb,currentColor 30%,transparent)} 50%{text-shadow:0 0 12px color-mix(in srgb,currentColor 50%,transparent)} }

/* Header rank badge */
.profile-btn__name.ranked-glow { text-shadow:0 0 6px currentColor }

/* Fix: hide footer behind modals, ensure modals always on top */
.modal { z-index:9999!important }
.modal__overlay { position:absolute; inset:0; background:rgba(0,0,0,.7); z-index:0 }
.modal__card { position:relative; z-index:1 }
body.modal-open .footer { display:none }
body.modal-open { overflow:hidden }

/* ============================================
   TOP PLAYERS LEADERBOARD
   ============================================ */
.top-players { display:flex; flex-direction:column; gap:.5rem; max-width:600px; margin:0 auto }
.top-player { display:flex; align-items:center; gap:.75rem; padding:.7rem 1rem; text-decoration:none; transition:transform .2s,border-color .2s; cursor:pointer }
.top-player:hover { transform:translateX(4px); border-color:var(--cyan) }
.top-player__pos { font-size:1.3rem; min-width:32px; text-align:center }
.top-player__info { flex:1; min-width:0 }
.top-player__name { font-weight:600; font-size:.9rem }
.top-player__time { font-size:.75rem; color:var(--cyan); margin-top:.1rem }

/* Online/Offline indicator dot */
.online-dot{position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;border:2px solid var(--bg,#0a0a14);z-index:2}
.online-dot--lg{width:14px;height:14px;bottom:2px;right:2px}
.online-dot--on{background:#34d399;box-shadow:0 0 6px rgba(52,211,153,.6)}
.online-dot--off{background:#64748b}

/* Forum news cards hover */
#forum-news .glass-card:hover{border-color:var(--cyan)!important;transform:translateY(-2px)}

/* Forum Reactions */
.forum-reactions{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.5rem;align-items:center}
.react-btn{display:inline-flex;align-items:center;gap:.2rem;padding:.2rem .5rem;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,.03);color:var(--t2);font-size:.75rem;cursor:pointer;transition:all .2s}
.react-btn:hover{background:rgba(255,255,255,.08);border-color:var(--border-h)}
.react-btn--active{background:rgba(34,211,238,.1);border-color:rgba(34,211,238,.3);color:var(--cyan)}
.react-btn--add{font-size:.9rem;padding:.15rem .45rem;opacity:.5;border-style:dashed;border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.02);border-radius:14px;transition:all .2s}
.react-btn--add:hover{opacity:1;background:rgba(255,255,255,.08);border-color:var(--cyan);transform:scale(1.1)}
.react-btn span{font-size:.68rem}
.react-picker{position:absolute;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:.4rem;gap:.2rem;flex-wrap:wrap;z-index:10;box-shadow:0 8px 24px rgba(0,0,0,.4);margin-top:.3rem}
.react-picker__btn{font-size:1.2rem;padding:.2rem .3rem;border:none;background:none;cursor:pointer;border-radius:6px;transition:transform .15s,background .15s}
.react-picker__btn:hover{transform:scale(1.3);background:rgba(255,255,255,.1)}

/* Reaction animations */
@keyframes reactPickerIn{from{opacity:0;transform:scale(.8) translateY(5px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes reactPop{0%{transform:scale(1)}30%{transform:scale(1.3)}60%{transform:scale(.95)}100%{transform:scale(1)}}
@keyframes reactFly{0%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-40px) scale(1.5)}}
.react-btn--pop{animation:reactPop .3s ease}
.react-fly{position:absolute;font-size:1.5rem;pointer-events:none;animation:reactFly .8s ease forwards;z-index:20}
.react-picker{animation:reactPickerIn .2s ease}
.react-btn{transition:all .15s ease}
.react-btn:active{transform:scale(.9)}
.react-btn--active{animation:reactPop .3s ease}
.react-picker__btn{transition:transform .1s}
.react-picker__btn:active{transform:scale(1.5)}
