:root {
  --bg: #0c1018;
  --bg-soft: #131a26;
  --card: #18202e;
  --card-hover: #1f283a;
  --line: #2a3550;
  --text: #eaf0f8;
  --muted: #9fb0c8;
  --brand: #2b50e0;        /* royal blue */
  --brand-2: #89c2ff;      /* baby blue */
  --brand-glow: rgba(43, 80, 224, 0.45);
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
/* Fixed, faded city skyline behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('assets/bg.webp') center top / cover no-repeat;
  opacity: 0.22;
}
/* Tech grid + gradient veil so content stays readable and looks clean */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* subtle tech grid (top layer) */
    repeating-linear-gradient(0deg,  rgba(137,194,255,0.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(137,194,255,0.05) 0 1px, transparent 1px 44px),
    /* readability veil (bottom layer) */
    linear-gradient(180deg, rgba(12,16,24,0.55) 0%, rgba(12,16,24,0.78) 55%, rgba(12,16,24,0.95) 100%);
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 10px; cursor: pointer; border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
  box-shadow: 0 6px 24px var(--brand-glow);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px var(--brand-glow); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--brand); box-shadow: none; }

/* BRAND (icon + wordmark lockup) */
.brand { display: flex; align-items: center; gap: 13px; font-weight: 800; }
.brand__logo {
  height: 50px; width: auto; display: block;
  filter: drop-shadow(0 3px 10px rgba(43,80,224,0.5));
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover .brand__logo { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 4px 16px rgba(137,194,255,0.7)); }
.brand__word {
  display: flex; flex-direction: column; line-height: 1;
  font-family: 'Bebas Neue', sans-serif; letter-spacing: 1.5px;
}
.brand__word b { font-size: 23px; font-weight: 400; color: var(--text); }
.brand__word b span { color: var(--brand-2); margin-left: 5px; }
.brand__word i {
  font-style: normal; font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 10px; letter-spacing: 4px; color: var(--muted); margin-top: 3px;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(12,16,24,0.92), rgba(12,16,24,0.72));
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(137,194,255,0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 30px rgba(0,0,0,0.35);
}
.nav .container { max-width: 100%; padding: 0 40px; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; color: var(--muted); font-weight: 500; font-size: 15px;
  padding: 9px 16px; border-radius: 10px; transition: color .18s, background .18s;
}
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); background: rgba(137,194,255,0.06); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--text); }
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.btn { color: #fff; margin-left: 10px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* HERO */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -200px; left: -100px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 60%);
  filter: blur(40px); z-index: 0; pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start;
}
.hero__intro { text-align: left; padding-top: 8px; }
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 3px;
  font-size: 13px; font-weight: 600; color: var(--brand-2);
  padding: 7px 18px; border: 1px solid rgba(137,194,255,0.25); border-radius: 999px; margin-bottom: 24px;
  background: rgba(137,194,255,0.06); text-shadow: 0 0 12px rgba(137,194,255,0.5);
}
.hero__eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2);
  box-shadow: 0 0 10px var(--brand-2); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(64px, 12vw, 140px); line-height: .92; letter-spacing: 2px;
}
.hero__title span { color: var(--brand); }
.hero__title { margin: 0; }
.hero__logo {
  width: min(320px, 70%); height: auto; display: block; margin: 0 0 4px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}
.hero__sub { max-width: 520px; margin: 22px 0 0; font-size: 18px; color: var(--muted); }
.hero__cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { display: flex; justify-content: flex-start; gap: 44px; margin-top: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--text); line-height: 1; }
.stat__label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* HERO PANELS: server status + discord */
.statuscard {
  margin-top: 36px; max-width: 420px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.statuscard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.statuscard__pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
}
.statuscard__pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.statuscard__pill.is-online { color: #3ba55d; border-color: rgba(59,165,93,0.4); background: rgba(59,165,93,0.1); }
.statuscard__pill.is-online i { background: #3ba55d; box-shadow: 0 0 8px #3ba55d; animation: pulse 2s ease-in-out infinite; }
.statuscard__pill.is-offline { color: #ed5252; border-color: rgba(237,82,82,0.4); background: rgba(237,82,82,0.1); }
.statuscard__pill.is-offline i { background: #ed5252; }
.statuscard__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; }
.statuscard__count { display: flex; align-items: baseline; gap: 10px; }
.statuscard__num {
  font-family: 'Bebas Neue', sans-serif; font-size: 46px; line-height: 1; color: var(--text);
}
.statuscard__sub { color: var(--muted); font-size: 14px; }
.statuscard__players {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.pchip {
  font-size: 12.5px; color: var(--text); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px;
}
.pchip--more { color: var(--brand-2); border-color: rgba(137,194,255,0.4); }

.discordcard {
  margin-top: 18px; max-width: 420px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.discordcard__frame { display: block; width: 100%; height: 340px; border: 0; }

/* PAGE HEADERS (sub-pages) */
.page-head {
  position: relative; padding: 80px 0 40px; text-align: center;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 65%);
  filter: blur(40px); z-index: 0; pointer-events: none;
}
.page-head > .container { position: relative; z-index: 1; }
.page-head__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 1px;
  font-size: clamp(44px, 8vw, 80px); line-height: 1; margin: 8px 0 18px;
}
.lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 18px; text-align: center; }
.inline-link { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

/* SECTIONS */
.section { padding: 90px 0; }
.section--top0 { padding-top: 56px; }
.section--connect { background: rgba(19,26,38,0.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--rules { background: rgba(19,26,38,0.6); border-top: 1px solid var(--line); }
.section__eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 13px;
  font-weight: 600; color: var(--brand-2); text-align: center;
  text-shadow: 0 0 14px rgba(137,194,255,0.45);
}
.section__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 1px;
  font-size: clamp(36px, 6vw, 56px); text-align: center; margin: 8px 0 48px;
}

/* GRID + CARDS */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, border-color .2s ease, background .2s, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px); border-color: var(--brand-2); background: var(--card-hover);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(137,194,255,0.15), 0 0 30px rgba(43,80,224,0.18);
}
.card__icon { color: var(--brand-2); margin-bottom: 16px; }
.card__icon svg { width: 34px; height: 34px; display: block; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* SHOWCASE (home: media + goals) */
.hero__showcase { display: flex; flex-direction: column; gap: 34px; }
.showcase__media { display: flex; flex-direction: column; gap: 18px; }
.vidcard {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
  background-image: linear-gradient(180deg, rgba(12,16,24,0.35), rgba(12,16,24,0.85)), url('assets/bg.webp');
  background-size: cover; background-position: center;
  display: grid; place-items: center; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.vidcard:hover { transform: translateY(-3px); border-color: var(--brand-2); box-shadow: 0 16px 40px rgba(0,0,0,0.45); }
.vidcard--main { aspect-ratio: 16 / 9; }
.vidcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vidcard--sm { aspect-ratio: 16 / 10; }
.vidcard__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: #fff; padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 4px 14px rgba(43,80,224,0.5);
}
.vidcard__play {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: default;
  display: grid; place-items: center; color: #fff;
  background: rgba(137,194,255,0.14); backdrop-filter: blur(4px);
  border: 1px solid rgba(137,194,255,0.4); box-shadow: 0 0 30px rgba(43,80,224,0.4);
  transition: transform .2s;
}
.vidcard--sm .vidcard__play { width: 48px; height: 48px; }
.vidcard:hover .vidcard__play { transform: scale(1.08); }
.vidcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vidcard--sm .vidcard__play svg { width: 20px; }
.vidcard__label {
  position: absolute; bottom: 14px; left: 16px; right: 16px; z-index: 2;
  font-weight: 600; font-size: 15px; color: var(--text);
}
.vidcard--sm .vidcard__label { font-size: 13px; }

/* GOALS TIMELINE */
.goals__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 1.5px;
  font-size: clamp(30px, 4vw, 44px); margin: 0 0 28px;
  color: var(--text); text-shadow: 0 0 20px rgba(137,194,255,0.3);
}
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2), transparent);
}
.tl { position: relative; padding: 0 0 30px 34px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--brand-2); box-shadow: 0 0 12px rgba(137,194,255,0.6);
}
.tl--now .tl__dot { background: var(--brand-2); animation: pulse 2s ease-in-out infinite; }
.tl__tag {
  font-size: 13px; font-weight: 700; color: var(--brand-2); margin: 0 0 2px;
  text-shadow: 0 0 12px rgba(137,194,255,0.4);
}
.tl__head { font-size: 19px; margin: 0 0 6px; }
.tl__desc { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* QUICKLINKS (home) */
.quicklinks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.quicklink {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s, background .2s;
}
.quicklink:hover { transform: translateY(-4px); border-color: var(--brand); background: var(--card-hover); }
.quicklink h3 { font-size: 20px; margin-bottom: 6px; }
.quicklink p { color: var(--muted); font-size: 15px; }
.quicklink__arrow { display: inline-block; margin-top: 14px; color: var(--brand-2); font-weight: 600; font-size: 14px; }

/* PAGE CTA */
.page-cta { text-align: center; margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* STEPS (connect) */
.steps { list-style: none; max-width: 560px; margin: 0 auto 36px; text-align: left; }
.steps li {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--line); color: var(--text); font-size: 16px;
}
.steps li:last-child { border-bottom: none; }
.steps__n {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
kbd {
  font-family: 'Courier New', monospace; background: var(--bg); border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 6px; padding: 2px 8px; font-size: 14px; color: var(--text);
}

/* CONNECT */
.connect { text-align: center; max-width: 680px; margin: 0 auto; }
.connect__sub { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.connect__code {
  display: inline-flex; align-items: center; gap: 18px; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 22px; font-size: 17px; color: var(--text); transition: border-color .2s;
}
.connect__code:hover { border-color: var(--brand); }
.connect__code code { font-family: 'Courier New', monospace; }
.connect__code code span { color: var(--brand); }
.connect__copy {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 6px;
}
.connect__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* TEAM */
.member { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; transition: transform .2s, border-color .2s; }
.member:hover { transform: translateY(-4px); border-color: var(--brand); }
.member { --accent: var(--brand); }
.member:hover { border-color: var(--accent); }
.member__avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
  display: grid; place-items: center; font-family: 'Bebas Neue', sans-serif;
  font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 2px var(--accent), 0 6px 18px rgba(0,0,0,0.35);
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member__role { color: var(--accent); font-size: 14px; font-weight: 600; }
.member h3 { font-size: 17px; }

/* STAFF PROFILE CARDS (Discord-style) */
.staff-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.staff__status { grid-column: 1 / -1; text-align: center; }
.pcard {
  --accent: var(--brand);
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pcard:hover {
  transform: translateY(-5px); border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
}
.pcard__banner {
  height: 92px; background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.pcard__avatar {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  margin: -46px 0 0 22px; position: relative;
  display: grid; place-items: center; font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; color: #fff; background: var(--bg-soft);
  border: 4px solid var(--card); box-shadow: 0 0 0 2px var(--accent);
}
.pcard__avatar img, .pcard__avatar span { width: 100%; height: 100%; }
.pcard__avatar img { object-fit: cover; display: block; }
.pcard__avatar span { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.pcard__body { padding: 12px 22px 22px; }
.pcard__top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pcard__name { font-size: 20px; margin: 0; }
.pcard__pronouns {
  font-size: 12px; color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); padding: 1px 8px; border-radius: 999px;
}
.pcard__user { color: var(--muted); font-size: 14px; margin: 1px 0 10px; }
.pcard__role {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: .5px; margin: 0 0 10px;
}
.pcard__status { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.pcard__status i { width: 9px; height: 9px; border-radius: 50%; background: #3ba55d; box-shadow: 0 0 6px #3ba55d; }
.pcard__bio { font-size: 14px; color: var(--text); opacity: .9; margin: 0 0 12px; line-height: 1.5; }
.pcard__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pcard__badge {
  --bc: var(--accent); font-size: 12px; font-weight: 600; color: var(--text);
  padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--bc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--bc) 45%, transparent);
}
.pcard__badge::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--bc); margin-right: 6px; vertical-align: middle;
}
.pcard__meta {
  display: flex; flex-direction: column; gap: 3px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}

/* STORE */
.store-cat { margin-bottom: 48px; }
.store-cat__title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 1px;
  font-size: clamp(26px, 4vw, 38px); margin: 0 0 22px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pkg {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pkg:hover {
  transform: translateY(-4px); border-color: var(--brand-2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 26px rgba(43,80,224,0.18);
}
.pkg__img { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.pkg__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg__img--none { background: linear-gradient(135deg, var(--brand), #0c1018); }
.pkg__body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.pkg__name { font-size: 18px; margin: 0; }
.pkg__desc { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.pkg__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.pkg__price { font-weight: 700; font-size: 18px; color: var(--text); }
.pkg__price s { color: var(--muted); font-weight: 500; font-size: 14px; margin-right: 4px; }
.pkg__buy { white-space: nowrap; }

/* AUTH MODAL */
.authmodal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(8,11,17,0.78); backdrop-filter: blur(6px); padding: 20px;
}
.authmodal__box {
  width: 100%; max-width: 400px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.authmodal__title {
  font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; margin: 0 0 10px;
}
.authmodal__text { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.authmodal__text strong { color: var(--brand-2); }
.authmodal__go { width: 100%; }
.authmodal__cancel {
  display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 14px;
}
.authmodal__cancel:hover { color: var(--text); }

/* RECENT PURCHASES */
.recent { margin-top: 56px; }
.recent__list { display: grid; gap: 10px; }
.recent__item {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px;
}
.recent__icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--brand-2); background: rgba(137,194,255,0.1); border: 1px solid rgba(137,194,255,0.25);
}
.recent__icon svg { width: 18px; height: 18px; }
.recent__txt { flex: 1; font-size: 14.5px; color: var(--muted); }
.recent__txt b { color: var(--text); }
.recent__time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* LEGAL PAGES (tos / privacy) */
.legal { max-width: 780px; margin: 0 auto; }
.legal p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; }
.legal h2 {
  font-size: 21px; color: var(--text); margin: 30px 0 10px;
  padding-top: 8px;
}
.legal ul { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text); }
.legal a.inline-link { color: var(--brand-2); }
.legal__note {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; font-style: italic; color: var(--muted);
}

/* APPLICATIONS */
.apptabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.apptab {
  font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 11px 20px;
  transition: color .15s, border-color .15s, background .15s;
}
.apptab:hover { color: var(--text); }
.apptab.active { color: #fff; border-color: var(--brand-2); background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.appform { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.appform[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appform input, .appform textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.appform input:focus, .appform textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(137,194,255,0.15);
}
.appform input::placeholder, .appform textarea::placeholder { color: var(--muted); opacity: .7; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-hint strong { color: var(--brand-2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.appform__submit { margin-top: 6px; }
.appform__msg { font-size: 14px; margin: 4px 0 0; min-height: 1em; }
.appform__msg.is-ok { color: #3ba55d; }
.appform__msg.is-err { color: #ed5252; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* MIC CHECK */
.miccheck { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.miccheck__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.miccheck__head strong { font-size: 15px; color: var(--text); }
.miccheck__head span { font-size: 13px; color: var(--muted); }
.miccheck__meter { height: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.miccheck__bar { height: 100%; width: 0; border-radius: 999px; transition: width .06s linear; background: var(--line); }
.miccheck__controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }
.mic-record { background: linear-gradient(135deg, #e0392b, #ff6a5a); box-shadow: none; }
.mic-record:disabled { opacity: .55; cursor: default; transform: none; }
.mic-playback { height: 34px; max-width: 100%; }
.miccheck__status { font-size: 13px; color: var(--muted); margin: 0; }
.miccheck__status.is-ok { color: #3ba55d; }
.miccheck__status.is-err { color: #ed5252; }

/* DAILY SPIN */
.daily-login { text-align: center; max-width: 480px; margin: 0 auto; }
.daily-login__btn { background: #5865f2; box-shadow: 0 8px 24px rgba(88,101,242,.4); margin-top: 14px; }
.daily-login__btn:hover { background: #4752c4; }
.daily { max-width: 420px; margin: 0 auto; text-align: center; }
.daily__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 26px;
  font-size: 14px; color: var(--muted);
}
.daily__top b { color: var(--text); }
.daily__streak b { color: var(--brand-2); }
.daily__logout { color: var(--muted); font-size: 13px; }
.daily__logout:hover { color: var(--brand-2); }
/* 3D crate */
.crate { position: relative; height: 200px; display: grid; place-items: center; perspective: 800px; }
.crate__cube { width: 120px; height: 120px; position: relative; transform-style: preserve-3d; animation: crateIdle 7s linear infinite; }
.crate__face {
  position: absolute; width: 120px; height: 120px; display: grid; place-items: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: var(--brand-2);
  background: linear-gradient(135deg, #243352, #161d2e);
  border: 2px solid var(--brand-2); box-shadow: inset 0 0 26px rgba(0,0,0,.55), 0 0 18px rgba(43,80,224,.3);
  text-shadow: 0 0 14px rgba(137,194,255,.6);
}
.crate__face--front  { transform: translateZ(60px); }
.crate__face--back   { transform: rotateY(180deg) translateZ(60px); }
.crate__face--right  { transform: rotateY(90deg) translateZ(60px); }
.crate__face--left   { transform: rotateY(-90deg) translateZ(60px); }
.crate__face--top    { transform: rotateX(90deg) translateZ(60px); }
.crate__face--bottom { transform: rotateX(-90deg) translateZ(60px); }
@keyframes crateIdle { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.crate.shake .crate__cube { animation: crateShake .18s linear infinite; }
@keyframes crateShake {
  0% { transform: rotateX(-22deg) rotateY(0) translate(0,0); }
  25% { transform: rotateX(-22deg) rotateY(40deg) translate(-7px,3px); }
  50% { transform: rotateX(-22deg) rotateY(-30deg) translate(7px,-3px); }
  75% { transform: rotateX(-22deg) rotateY(25deg) translate(-5px,2px); }
  100% { transform: rotateX(-22deg) rotateY(0) translate(0,0); }
}
.crate.burst .crate__cube { animation: crateBurst .55s ease-out forwards; }
@keyframes crateBurst { to { transform: rotateX(-22deg) scale(1.9); opacity: 0; } }
.crate__flash { position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }
.crate__flash.go { animation: crateFlash .6s ease-out forwards; }
@keyframes crateFlash {
  0% { box-shadow: 0 0 0 0 rgba(137,194,255,.7); opacity: 1; }
  100% { box-shadow: 0 0 0 300px rgba(137,194,255,0); opacity: 0; }
}

/* CS:GO-style reel */
.reel { position: relative; height: 130px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); }
.reel__track { display: flex; height: 100%; will-change: transform; }
.reel__item {
  flex: 0 0 168px; width: 168px; height: 100%; display: grid; place-items: center; text-align: center;
  border-right: 1px solid var(--line); font-weight: 700; font-size: 16px; color: var(--text); padding: 0 10px;
  background: linear-gradient(180deg, #1b2436, #141b2a);
}
.reel__item.is-cash { color: var(--brand-2); }
.reel__item.is-rare { color: #c084fc; }
.reel__item.is-jackpot { color: #ffd23f; }
.reel__item.is-none { color: var(--muted); opacity: .65; }
.reel__item.win { background: radial-gradient(circle at 50% 50%, rgba(137,194,255,.22), transparent 70%); }
.reel__item.win.is-rare { background: radial-gradient(circle at 50% 50%, rgba(168,85,247,.28), transparent 70%); }
.reel__item.win.is-jackpot { background: radial-gradient(circle at 50% 50%, rgba(255,210,63,.25), transparent 70%); }
.reel__item.win.is-none { background: none; }
.reel__marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); z-index: 3; background: var(--brand-2); box-shadow: 0 0 14px var(--brand-2); }
.reel__fade { position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none; }
.reel__fade--l { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.reel__fade--r { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.wheel__spin { margin-top: 26px; min-width: 200px; }
.wheel__spin:disabled { opacity: .6; cursor: default; transform: none; }
.wheel__result { margin-top: 16px; font-size: 16px; color: var(--muted); min-height: 1.2em; }
.wheel__result.is-win { color: var(--text); }
.wheel__result.is-win strong { color: var(--brand-2); }
.wheel__result.is-jackpot strong { color: #ffd23f; }
.wheel__result.is-err { color: #ed5252; }
.wheel__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* CHANGELOG */
.changelog { max-width: 760px; margin: 0 auto; }
.clog { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.clog__side { display: flex; flex-direction: column; align-items: center; }
.clog__dot {
  width: 14px; height: 14px; border-radius: 50%; margin-top: 24px;
  background: var(--bg); border: 3px solid var(--brand-2); box-shadow: 0 0 10px rgba(137,194,255,0.5);
}
.clog:not(:last-child) .clog__side::after {
  content: ''; flex: 1; width: 2px; margin-top: 6px;
  background: linear-gradient(180deg, var(--brand-2), transparent);
}
.clog__body {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 18px;
}
.clog__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.clog__date { font-weight: 700; color: var(--brand-2); font-size: 14px; text-shadow: 0 0 10px rgba(137,194,255,0.3); }
.clog__by { font-size: 12.5px; color: var(--muted); }
.clog__content { color: var(--text); font-size: 15px; line-height: 1.65; }
.clog__content h3 { font-size: 18px; margin: 6px 0 6px; }
.clog__content h4 { font-size: 15px; color: var(--brand-2); margin: 6px 0 4px; }
.clog__content ul { margin: 6px 0; padding-left: 20px; color: var(--muted); }
.clog__content li { margin: 3px 0; }
.clog__content code { font-family: 'Courier New', monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13px; }

/* RULES */
.rules { max-width: 760px; margin: 0 auto; list-style: none; counter-reset: r; }
.rules li {
  counter-increment: r; position: relative; padding: 18px 18px 18px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 14px; color: var(--muted);
}
.rules li::before {
  content: counter(r); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.rules li strong { color: var(--text); }
.rules__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* CTA */
.cta { padding: 100px 0; text-align: center; position: relative; }
.cta__inner h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(36px, 7vw, 64px); margin-bottom: 28px; letter-spacing: 1px; }

/* FOOTER */
.footer { background: rgba(10,13,20,0.72); border-top: 1px solid rgba(137,194,255,0.12); margin-top: 40px; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding: 56px 0 40px;
}
.footer__brand .brand { margin-bottom: 18px; }
.footer__tag { color: var(--muted); font-size: 15px; max-width: 360px; line-height: 1.6; }
.footer__socials { display: flex; gap: 12px; margin-top: 22px; }
.social {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  transition: color .18s, border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.social svg { width: 19px; height: 19px; }
.social:hover {
  color: #fff; border-color: var(--brand-2); transform: translateY(-2px);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(43,80,224,0.35);
}
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h4 {
  font-size: 15px; color: var(--brand-2); margin-bottom: 4px;
  text-shadow: 0 0 12px rgba(137,194,255,0.4);
}
.footer__col a { color: var(--muted); font-size: 14px; transition: color .15s, padding-left .15s; }
.footer__col a:hover { color: var(--text); padding-left: 4px; }
.footer__bottom {
  border-top: 1px solid var(--line); padding: 22px 0;
  color: var(--muted); font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__intro { text-align: center; }
  .hero__logo { margin: 0 auto 4px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
    transform: translateY(-130%); transition: transform .25s ease; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { width: 100%; padding: 12px 0; }
  .nav__toggle { display: flex; }
  .hero { padding: 80px 0 70px; }
  .hero__stats { gap: 32px; margin-top: 44px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .quicklinks { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; text-align: left; }
}
