/*  AUREA — site styles
 *  Tech-neon. Unbounded display + Manrope body + JetBrains Mono technical.
 *  No build step: plain CSS, no preprocessor, no framework.
 */

:root {
    --bg:        #04070a;
    --bg-2:      #060b11;
    --panel:     #0a0f15;
    --panel-2:   #0d141c;
    --line:      rgba(120, 200, 230, .10);
    --line-2:    rgba(120, 200, 230, .22);
    --txt:       #e6f1f8;
    --txt-2:     #93a9b8;
    --txt-3:     #5d7182;
    --cy:        #28e0ff;
    --cy-2:      #7eeaff;
    --cy-soft:   rgba(40, 224, 255, .14);
    --vi:        #a97bff;
    --vi-soft:   rgba(169, 123, 255, .14);
    --ok:        #3ddc84;
    --warn:      #ffb020;
    --red:       #ff5470;

    --display: 'Unbounded', 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --ui:      'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono:    'JetBrains Mono', 'Cascadia Mono', 'Consolas', ui-monospace, monospace;

    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Components below set explicit `display`, which would defeat the `hidden`
   attribute. Keep `hidden` authoritative. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--txt);
    font-family: var(--ui);
    font-size: 15px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ambient neon fog */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(1200px 680px at 8% -12%, rgba(40, 224, 255, .13), transparent 60%),
        radial-gradient(900px 560px at 98% 4%, rgba(169, 123, 255, .10), transparent 60%),
        radial-gradient(800px 500px at 50% 108%, rgba(40, 224, 255, .07), transparent 62%);
}
/* technical grid */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 200, 230, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 200, 230, .03) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 15%, transparent 80%);
    mask-image: radial-gradient(130% 90% at 50% 0%, #000 15%, transparent 80%);
}

a { color: var(--cy); text-decoration: none; transition: .16s ease; }
a:hover { color: var(--cy-2); }

img { max-width: 100%; display: block; }

::selection { background: var(--cy-soft); color: #d9f8ff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120, 200, 230, .18); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(120, 200, 230, .34); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ─────────────────────────────  atoms  ───────────────────────────── */

.kicker {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--cy);
}
.kicker--muted { color: var(--txt-3); }

.mono { font-family: var(--mono); }

h1, h2, h3 {
    margin: 0;
    font-family: var(--display);
    letter-spacing: -.025em;
    font-weight: 700;
    line-height: 1.08;
}
h1 { font-size: clamp(32px, 5.6vw, 60px); }
h2 { font-size: clamp(23px, 3.1vw, 33px); }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
p  { margin: 0; }

.lead { color: var(--txt-2); font-size: 17px; max-width: 56ch; }
.muted { color: var(--txt-3); }
.small { font-size: 13px; }

.grad {
    background: linear-gradient(120deg, #28e0ff 0%, #7eeaff 35%, #a97bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 26px;
    border-radius: 12px;
    border: 1px solid rgba(40, 224, 255, .45);
    background: linear-gradient(180deg, rgba(40, 224, 255, .22), rgba(40, 224, 255, .08));
    color: #cdf8ff;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .18s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .16) 50%, transparent 80%);
    transform: translateX(-140%);
    transition: transform .6s ease;
}
.btn:hover:not(:disabled) {
    color: #eafdff;
    border-color: rgba(40, 224, 255, .8);
    background: linear-gradient(180deg, rgba(40, 224, 255, .32), rgba(40, 224, 255, .14));
    box-shadow: 0 0 34px -6px rgba(40, 224, 255, .65);
}
.btn:hover:not(:disabled)::after { transform: translateX(140%); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .42; cursor: default; }
.btn svg { width: 15px; height: 15px; flex: 0 0 15px; }

.btn--ghost {
    background: rgba(255, 255, 255, .035);
    border-color: var(--line-2);
    color: var(--txt-2);
}
.btn--ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, .07);
    color: var(--txt);
    border-color: rgba(255, 255, 255, .3);
    box-shadow: none;
}
.btn--danger {
    background: rgba(255, 84, 112, .08);
    border-color: rgba(255, 84, 112, .34);
    color: var(--red);
}
.btn--danger:hover:not(:disabled) {
    background: rgba(255, 84, 112, .16);
    border-color: rgba(255, 84, 112, .65);
    color: var(--red);
    box-shadow: 0 0 28px -8px rgba(255, 84, 112, .6);
}
.btn--sm { height: 38px; padding: 0 16px; font-size: 10.5px; border-radius: 9px; }
.btn--block { width: 100%; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--txt-2);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    border-radius: 8px;
    padding: 8px 13px;
    white-space: nowrap;
}
.chip b { color: var(--txt); font-weight: 700; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--txt-3); flex: 0 0 6px; }
.dot[data-state='on']  { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot[data-state='off'] { background: var(--red); box-shadow: 0 0 10px rgba(255, 84, 112, .8); }

.card {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    transition: .2s ease;
}
.card:hover { border-color: var(--line-2); }

/* ─────────────────────────────  header  ───────────────────────────── */

.site-head {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(4, 7, 10, .78);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap {
    height: 68px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--txt);
}
.brand:hover { color: var(--txt); }
.brand svg {
    width: 24px; height: 24px;
    color: var(--cy);
    flex: 0 0 24px;
    filter: drop-shadow(0 0 8px rgba(40, 224, 255, .6));
}

.head-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--txt-2);
    margin-left: auto;
    margin-right: 8px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
    white-space: nowrap;
}
.head-status b { color: var(--txt); font-weight: 700; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav:first-of-type { margin-left: auto; }
.head-status + .nav-toggle + .nav,
.head-status ~ .nav { margin-left: 0; }
.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--txt-2);
    padding: 9px 13px;
    border-radius: 9px;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current='page'] { color: var(--cy); background: var(--cy-soft); }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--txt-2);
    cursor: pointer;
}
.nav-toggle svg { width: 17px; height: 17px; }

/* ─────────────────────────────  hero slider  ─────────────────────── */

.slider {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-bottom: 1px solid var(--line);
}
.slider-track { position: relative; width: 100%; }

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .9s ease;
    pointer-events: none;
}
.slide--active { opacity: 1; position: relative; pointer-events: auto; }

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}
.slide[data-bg="1"]::before {
    background:
        radial-gradient(ellipse 90% 80% at 78% 46%, rgba(40, 224, 255, .20), transparent 62%),
        radial-gradient(ellipse 70% 60% at 20% 80%, rgba(169, 123, 255, .12), transparent 60%),
        linear-gradient(135deg, #050d16 0%, #08131e 45%, #050a10 100%);
}
.slide[data-bg="2"]::before {
    background:
        radial-gradient(ellipse 85% 75% at 25% 55%, rgba(255, 176, 32, .14), transparent 60%),
        radial-gradient(ellipse 70% 65% at 82% 30%, rgba(40, 224, 255, .12), transparent 60%),
        linear-gradient(135deg, #0a1016 0%, #12181d 45%, #070d12 100%);
}
.slide[data-bg="3"]::before {
    background:
        radial-gradient(ellipse 90% 80% at 55% 40%, rgba(61, 220, 132, .13), transparent 58%),
        radial-gradient(ellipse 60% 70% at 12% 70%, rgba(169, 123, 255, .10), transparent 60%),
        linear-gradient(135deg, #060e13 0%, #0a151d 45%, #050b10 100%);
}

/* animated circuit overlay on slides */
.slide-deco {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .5;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%2328e0ff' stroke-width='1' stroke-opacity='.16'%3E%3Cpath d='M20 20h60v40h50V30h70'/%3E%3Cpath d='M20 120h40v60h80v-30h60'/%3E%3Cpath d='M180 60v100'/%3E%3Cpath d='M100 100h80'/%3E%3Cpath d='M40 200h100'/%3E%3C/g%3E%3Cg fill='%2328e0ff' fill-opacity='.3'%3E%3Ccircle cx='80' cy='60' r='2.5'/%3E%3Ccircle cx='130' cy='30' r='2.5'/%3E%3Ccircle cx='180' cy='60' r='2.5'/%3E%3Ccircle cx='60' cy='180' r='2.5'/%3E%3Ccircle cx='140' cy='150' r='2.5'/%3E%3Ccircle cx='100' cy='100' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: radial-gradient(90% 80% at 75% 50%, #000 10%, transparent 75%);
    mask-image: radial-gradient(90% 80% at 75% 50%, #000 10%, transparent 75%);
}

/* floating hexagon cluster */
.slide-hex {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: min(420px, 38vw);
    z-index: 0;
    opacity: .75;
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%      { transform: translateY(-54%) translateX(-10px); }
}

.slide-content {
    position: relative;
    z-index: 1;
    padding: 104px 24px 96px;
}
.slide-content .kicker { display: block; margin-bottom: 18px; }
.slide-content h1 { margin-bottom: 20px; }
.slide-content .lead { margin-bottom: 30px; max-width: 48ch; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 34px;
    height: 4px;
    border-radius: 3px;
    border: 0;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    padding: 0;
    transition: .25s ease;
}
.slider-dot:hover { background: rgba(255, 255, 255, .4); }
.slider-dot--active {
    background: var(--cy);
    box-shadow: 0 0 14px rgba(40, 224, 255, .8);
    width: 46px;
}

/* ─────────────────────────────  sections  ───────────────────────────── */

.section { padding: 84px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 38px; display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head .kicker { display: block; margin-bottom: 10px; }
.section-head p { color: var(--txt-2); margin-top: 10px; max-width: 60ch; }
.section-head .head-actions { margin-left: auto; display: flex; gap: 10px; }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─────────────────────────────  news slider  ─────────────────────── */

.news-slider { position: relative; }
.news-viewport { overflow: hidden; }
.news-rail {
    display: flex;
    gap: 18px;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.news-item {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
}

.news-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    overflow: hidden;
    transition: .2s ease;
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cy), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.news-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.news-card:hover::before { opacity: 1; }

.news-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.news-date {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--txt-3);
}
.news-tag {
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cy);
    background: var(--cy-soft);
    border: 1px solid rgba(40, 224, 255, .28);
    border-radius: 6px;
    padding: 4px 8px;
}
.news-tag--pin { color: var(--warn); background: rgba(255, 176, 32, .12); border-color: rgba(255, 176, 32, .3); }
.news-card h3 { margin-bottom: 10px; font-size: 19px; }
.news-card p { color: var(--txt-2); font-size: 14.5px; line-height: 1.6; }

.news-nav { display: flex; gap: 8px; }
.news-arrow {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    color: var(--txt-2);
    cursor: pointer;
    transition: .16s ease;
}
.news-arrow:hover:not(:disabled) { color: var(--cy); border-color: rgba(40, 224, 255, .45); background: var(--cy-soft); }
.news-arrow:disabled { opacity: .3; cursor: default; }
.news-arrow svg { width: 16px; height: 16px; }

/* ─────────────────────────────  feature tiles  ───────────────────── */

.feature {
    position: relative;
    overflow: hidden;
}
.feature .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cy-soft);
    border: 1px solid rgba(40, 224, 255, .26);
    color: var(--cy);
    margin-bottom: 18px;
    box-shadow: 0 0 24px -8px rgba(40, 224, 255, .6);
}
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--txt-2); font-size: 14.5px; }

/* mod list */
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--txt-2);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .028);
    border-radius: 8px;
    padding: 8px 13px;
    transition: .16s ease;
}
.tag:hover { color: var(--cy); border-color: rgba(40, 224, 255, .4); background: var(--cy-soft); }

/* ─────────────────────────────  modpack  ─────────────────────────── */

.mod-cat { margin-bottom: 46px; }
.mod-cat:last-child { margin-bottom: 0; }
.mod-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.mod-cat-head .icon {
    width: 38px; height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--mc, var(--cy)) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--mc, var(--cy)) 32%, transparent);
    color: var(--mc, var(--cy));
    box-shadow: 0 0 22px -8px var(--mc, var(--cy));
}
.mod-cat-head .icon svg { width: 18px; height: 18px; }
.mod-cat-head h2 { font-size: 24px; }
.mod-cat-head .count {
    margin-left: auto;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-3);
    white-space: nowrap;
}

.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mod-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 18px 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
    transition: .18s ease;
}
.mod-card:hover {
    border-color: color-mix(in srgb, var(--mc, var(--cy)) 40%, transparent);
    transform: translateY(-2px);
}
.mod-card b {
    display: block;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    color: var(--txt);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}
.mod-card span { color: var(--txt-2); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 1000px) { .mod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .mod-grid { grid-template-columns: 1fr; } }

/* ─────────────────────────────  privileges  ──────────────────────── */

.priv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.priv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
    overflow: hidden;
    transition: .22s ease;
}
.priv-card::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    background: var(--pc, var(--cy));
    opacity: .16;
    filter: blur(46px);
    transition: opacity .22s ease;
}
.priv-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--pc, var(--cy)) 45%, transparent);
}
.priv-card:hover::before { opacity: .3; }

.priv-name {
    position: relative;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--pc, var(--cy));
    margin-bottom: 6px;
}
.priv-desc { position: relative; color: var(--txt-3); font-size: 13px; margin-bottom: 18px; min-height: 38px; }
.priv-price {
    position: relative;
    font-family: var(--display);
    font-size: 34px;
    font-weight: 700;
    color: var(--txt);
    margin-bottom: 2px;
}
.priv-price span { font-size: 15px; color: var(--txt-3); font-weight: 500; }
.priv-term {
    position: relative;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--txt-3);
    margin-bottom: 20px;
}
/* Two ways to buy: a month, or forever. The monthly button leads, since
   most players start there; lifetime sits under it as the quieter option. */
/* Command list in the profile: locked tiers stay visible but muted, so a
   player can see what the next tier would give them. */
/* Whole card is not a link: the carousel needs drag and arrow clicks that
   a wrapping anchor would swallow. An explicit "read" link instead. */
.news-more {
    margin-top: auto; padding-top: 14px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--cy); text-decoration: none;
}
.news-more:hover { text-decoration: underline; }
.news-body p { margin: 0 0 14px; color: var(--txt-2); line-height: 1.7; }
.news-body p:last-child { margin-bottom: 0; }

.cmd-tier { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cmd-tier:last-child { border-bottom: 0; padding-bottom: 0; }
.cmd-tier[data-unlocked="false"] { opacity: .48; }
.cmd-tier-head {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--txt-2); margin-bottom: 10px;
}
.cmd-tag {
    font-size: 9.5px; letter-spacing: .1em; padding: 2px 7px;
    border: 1px solid var(--cy); color: var(--cy); border-radius: 3px;
}
.cmd-tag--locked { border-color: var(--line); color: var(--txt-3); }
.cmd-tier .kv-row .k { font-size: 12px; }

.priv-actions { position: relative; display: grid; gap: 8px; }
.priv-actions .btn { width: 100%; justify-content: center; }

.priv-perks { position: relative; list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; flex: 1; }
.priv-perks li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--txt-2);
    line-height: 1.45;
}
.priv-perks li::before {
    content: '';
    flex: 0 0 5px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--pc, var(--cy));
    margin-top: 8px;
    box-shadow: 0 0 8px var(--pc, var(--cy));
}
.priv-card .btn { position: relative; }
.priv-card[data-owned='true'] { border-color: color-mix(in srgb, var(--pc, var(--cy)) 55%, transparent); }

/* ─────────────────────────────  stat tiles  ──────────────────────── */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
    overflow: hidden;
}
.stat .k {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--txt-3);
    margin-bottom: 10px;
}
.stat .v {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--txt);
    line-height: 1.1;
}
.stat .v small { font-size: 15px; color: var(--txt-3); font-weight: 500; }
.stat--accent .v { color: var(--cy); text-shadow: 0 0 24px rgba(40, 224, 255, .5); }

/* ─────────────────────────────  forms  ───────────────────────────── */

.auth-shell {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
}
.auth-card {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--line-2);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 50px 100px -35px rgba(0, 0, 0, .9), 0 0 70px -30px rgba(40, 224, 255, .3);
}
.auth-card h1 { font-size: 26px; font-weight: 700; margin-bottom: 7px; }
.auth-card .sub { color: var(--txt-3); font-size: 13.5px; margin-bottom: 26px; }
.auth-foot {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--txt-3);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.field { margin-bottom: 17px; }
.field > label {
    display: block;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--txt-3);
    margin-bottom: 8px;
}
.input {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 48px;
    padding: 0 15px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .032);
    border: 1px solid var(--line);
    transition: .16s ease;
}
.input:focus-within {
    border-color: rgba(40, 224, 255, .5);
    background: rgba(40, 224, 255, .06);
    box-shadow: 0 0 0 3px rgba(40, 224, 255, .09);
}
.input.is-invalid { border-color: rgba(255, 84, 112, .55); }
.input > svg { width: 15px; height: 15px; flex: 0 0 15px; color: var(--txt-3); }
.input > input, .input > select, .input > textarea {
    flex: 1;
    min-width: 0;
    background: none;
    border: 0;
    outline: 0;
    color: var(--txt);
    font-family: var(--ui);
    font-size: 14.5px;
    padding: 0;
}
.input > input::placeholder, .input > textarea::placeholder { color: var(--txt-3); }
.input > input:disabled { color: var(--txt-3); }
.input > select option { background: var(--panel); color: var(--txt); }
.input--area { height: auto; padding: 13px 15px; align-items: flex-start; }
.input--area > textarea { resize: vertical; min-height: 90px; line-height: 1.6; font-family: var(--ui); }
.field-hint { font-size: 11.5px; color: var(--txt-3); margin-top: 7px; }
.field-error {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--red);
    margin-top: 7px;
    min-height: 13px;
}

/* strength meter */
.meter { display: flex; gap: 5px; margin-top: 9px; }
.meter i {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .09);
    transition: .2s;
}
.meter[data-level='1'] i:nth-child(-n+1) { background: var(--red); }
.meter[data-level='2'] i:nth-child(-n+2) { background: var(--warn); }
.meter[data-level='3'] i:nth-child(-n+3) { background: var(--cy); }
.meter[data-level='4'] i { background: var(--ok); }

/* alerts */
.alert {
    display: none;
    align-items: flex-start;
    gap: 10px;
    border-radius: 11px;
    padding: 13px 15px;
    font-size: 13.5px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.alert.is-shown { display: flex; }
.alert--error { background: rgba(255, 84, 112, .09); border: 1px solid rgba(255, 84, 112, .32); color: #ffb3c0; }
.alert--ok    { background: rgba(61, 220, 132, .09); border: 1px solid rgba(61, 220, 132, .32); color: #a6f0c6; }
.alert svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }

/* button spinner */
.btn .spin {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.7px solid rgba(40, 224, 255, .25);
    border-top-color: var(--cy);
    animation: spin .7s linear infinite;
    display: none;
}
.btn[data-loading='true'] .spin { display: block; }
.btn[data-loading='true'] .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────  profile  ───────────────────────────── */

.page { padding: 44px 0 80px; }
.page-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 26px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}
.avatar {
    width: 76px; height: 76px;
    flex: 0 0 76px;
    border-radius: 16px;
    border: 1px solid var(--line-2);
    background: #0d151c center / cover no-repeat;
    image-rendering: pixelated;
    box-shadow: 0 0 34px -10px rgba(40, 224, 255, .7);
}
.page-head .who h1 { font-size: 28px; font-weight: 700; }
.page-head .who .sub { color: var(--txt-3); font-size: 13px; margin-top: 6px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.page-head .head-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    border-radius: 7px;
    padding: 5px 10px;
    color: var(--pc, var(--cy));
    background: color-mix(in srgb, var(--pc, var(--cy)) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--pc, var(--cy)) 35%, transparent);
}

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.panel h3 { margin-bottom: 5px; }
.panel .panel-desc { color: var(--txt-3); font-size: 13px; margin-bottom: 20px; }

/* balance hero card */
.balance-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(40, 224, 255, .3);
    border-radius: 18px;
    padding: 30px;
    background: linear-gradient(140deg, rgba(40, 224, 255, .12), rgba(169, 123, 255, .06) 55%, rgba(255, 255, 255, .012));
}
.balance-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: var(--cy);
    opacity: .18;
    filter: blur(60px);
}
.balance-card .k {
    position: relative;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--txt-2);
    margin-bottom: 12px;
}
.balance-card .v {
    position: relative;
    font-family: var(--display);
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: #fff;
    text-shadow: 0 0 40px rgba(40, 224, 255, .55);
    line-height: 1;
    margin-bottom: 20px;
}
.balance-card .v span { font-size: 20px; color: var(--txt-2); }

/* referral code box */
.code-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--cy);
    background: rgba(40, 224, 255, .07);
    border: 1px dashed rgba(40, 224, 255, .45);
    border-radius: 12px;
    padding: 15px 18px;
    cursor: pointer;
    transition: .16s ease;
    margin-bottom: 14px;
}
.code-box:hover { background: rgba(40, 224, 255, .12); border-color: rgba(40, 224, 255, .7); }
.code-box .copied { margin-left: auto; color: var(--ok); font-size: 10.5px; letter-spacing: .1em; opacity: 0; transition: .2s; }
.code-box[data-copied='true'] .copied { opacity: 1; }

.kv { display: grid; gap: 14px; }
.kv-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.kv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-row .k {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--txt-3);
}
.kv-row .v { font-family: var(--mono); font-size: 13px; color: var(--txt); text-align: right; word-break: break-word; }

/* transaction / invite list */
.list { display: grid; gap: 2px; }
.list-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.list-row:last-child { border-bottom: 0; }
.list-row .t { flex: 1; min-width: 0; }
.list-row .t b { display: block; font-weight: 600; color: var(--txt); }
.list-row .t span { font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); letter-spacing: .06em; }
.list-row .amt { font-family: var(--mono); font-size: 14px; font-weight: 700; white-space: nowrap; }
.amt--plus { color: var(--ok); }
.amt--minus { color: var(--red); }
.list-empty { color: var(--txt-3); font-size: 13.5px; padding: 18px 0; text-align: center; }

/* ─────────────────────────────  admin  ─────────────────────────────── */

.tabs { display: flex; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.tab {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--txt-3);
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 18px;
    cursor: pointer;
    transition: .16s ease;
}
.tab:hover { color: var(--txt-2); border-color: var(--line-2); }
.tab--active {
    color: var(--cy);
    background: var(--cy-soft);
    border-color: rgba(40, 224, 255, .45);
    box-shadow: 0 0 22px -8px rgba(40, 224, 255, .6);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
table.data th {
    text-align: left;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--txt-3);
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .022);
    white-space: nowrap;
}
table.data td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--txt-2);
    vertical-align: middle;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: rgba(255, 255, 255, .022); }
table.data td b { color: var(--txt); font-weight: 600; }
table.data .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.icon-btn {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .035);
    color: var(--txt-3);
    cursor: pointer;
    transition: .16s ease;
}
.icon-btn:hover { color: var(--cy); border-color: rgba(40, 224, 255, .45); }
.icon-btn--danger:hover { color: var(--red); border-color: rgba(255, 84, 112, .5); }
.icon-btn svg { width: 14px; height: 14px; }

/* modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 5, 8, .82);
    backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal-card {
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow-y: auto;
    background: linear-gradient(165deg, #0b1219, #070c11);
    border: 1px solid var(--line-2);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 50px 110px -35px rgba(0, 0, 0, .95);
}
.modal-card h3 { font-size: 20px; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ─────────────────────────────  footer  ───────────────────────────── */

.site-foot {
    border-top: 1px solid var(--line);
    padding: 36px 0;
    color: var(--txt-3);
    font-size: 13.5px;
}
.site-foot .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-foot a { color: var(--txt-3); }
.site-foot a:hover { color: var(--cy); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ─────────────────────────────  responsive  ───────────────────────── */

@media (max-width: 1000px) {
    .priv-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .news-item { flex: 0 0 calc((100% - 18px) / 2); }
}

@media (max-width: 860px) {
    .grid--3, .grid--2, .grid--4, .panel-grid { grid-template-columns: 1fr; }
    .news-item { flex: 0 0 100%; }
    .slider { min-height: 480px; }
    .slide-content { padding: 72px 24px 84px; }
    .slide-hex { display: none; }
    .section { padding: 60px 0; }
    .head-status { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }
    .nav {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 16px 18px;
        background: rgba(4, 7, 10, .98);
        border-bottom: 1px solid var(--line);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 13px; }
    .nav .btn { width: 100%; margin-top: 8px; }
    .page-head .head-actions { margin-left: 0; width: 100%; }
}

@media (max-width: 560px) {
    .priv-grid, .stat-grid { grid-template-columns: 1fr; }
    .balance-card .v { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}
