/* ============ FROSTCRAFT NETWORK — v3 ============
   Paleta glaciar del logo · layout reestructurado (bento + split)
================================================================ */
:root {
  --bg-0: #030814;
  --bg-1: #061224;
  --bg-2: #0a1e40;

  --ice-0: #eaf7ff;
  --ice-1: #c0f0f0;
  --ice-2: #6ec8f5;
  --ice-3: #2fa6ee;
  --ice-4: #0f6bd0;
  --ice-5: #0a3a9a;
  --ice-6: #001a6b;
  --frost: #d8f0f0;

  --surface:    rgba(192,240,240,0.04);
  --surface-2:  rgba(192,240,240,0.075);
  --border:     rgba(110,200,245,0.18);
  --border-strong: rgba(110,200,245,0.36);
  --text:       #eaf7ff;
  --text-dim:   #a4c4e0;
  --text-muted: #6b8bad;
  --danger:     #ff6f7d;
  --amber:      #ffc27a;

  --grad-ice:  linear-gradient(135deg, #eaf7ff 0%, #6ec8f5 42%, #0f6bd0 100%);
  --grad-deep: linear-gradient(135deg, #2fa6ee 0%, #0f6bd0 55%, #001a6b 100%);
  --grad-hero:
    radial-gradient(ellipse at 18% 12%, rgba(47,166,238,.24), transparent 55%),
    radial-gradient(ellipse at 82% 22%, rgba(110,200,245,.18), transparent 50%),
    radial-gradient(ellipse at 50% 92%, rgba(15,107,208,.18), transparent 60%);

  --shadow-glow-ice:  0 20px 60px -22px rgba(47,166,238,.55);
  --shadow-glow-deep: 0 20px 60px -22px rgba(15,107,208,.55);
  --shadow-card: 0 12px 40px -14px rgba(0,0,0,.6), 0 0 0 1px rgba(192,240,240,.05) inset;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
.mono { font-family: var(--font-mono); }

/* ============ Background scene ============ */
.bg-scene {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(ellipse at top, #0a1e40 0%, #030814 60%),
    linear-gradient(180deg, #030814, #01060f);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(60deg, rgba(110,200,245,.05) 25%, transparent 25.5%, transparent 74.5%, rgba(110,200,245,.05) 75%),
    linear-gradient(-60deg, rgba(110,200,245,.05) 25%, transparent 25.5%, transparent 74.5%, rgba(110,200,245,.05) 75%),
    linear-gradient(0deg,   rgba(110,200,245,.04) 1px, transparent 1px);
  background-size: 60px 104px, 60px 104px, 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 78%);
  opacity: .55;
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; pointer-events: none; }

/* ============ Navbar ============ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: linear-gradient(180deg, rgba(3,8,20,.9), rgba(3,8,20,.55));
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { filter: drop-shadow(0 4px 14px rgba(47,166,238,.55)); }
/* Wordmark unificado — todo FROSTCRAFT al mismo tamaño/peso */
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  background: var(--grad-ice);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-tag {
  display: inline-block; margin-left: 10px; padding: 3px 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 10px; letter-spacing: .18em;
  color: var(--ice-2); background: rgba(47,166,238,.1);
  border: 1px solid rgba(47,166,238,.3); border-radius: 999px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--text-dim); border-radius: 10px; transition: all .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 13px;
  background: rgba(88,101,242,.16); border: 1px solid rgba(88,101,242,.32);
  color: #c9d0ff; transition: all .2s;
}
.btn-discord:hover { background: rgba(88,101,242,.3); transform: translateY(-1px); color: #fff; }
.btn-discord svg { display: block; width: 18px; height: 18px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; padding: 12px 24px 20px; flex-direction: column; gap: 4px; border-top: 1px solid var(--border); background: rgba(3,8,20,.96); }
.mobile-menu a { padding: 12px 14px; border-radius: 10px; color: var(--text-dim); font-weight: 500; }
.mobile-menu a:hover { background: var(--surface-2); color: var(--text); }
.mobile-menu.open { display: flex; }

/* ============ Buttons ============ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 14px;
  background: var(--grad-ice); color: #041a2e;
  box-shadow: var(--shadow-glow-ice), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .2s, box-shadow .2s, filter .2s;
  letter-spacing: .01em;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 25px 60px -15px rgba(47,166,238,.7), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 15px; border-radius: 14px; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text); transition: all .2s;
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(110,200,245,.55); transform: translateY(-1px); }
.ip-btn { position: relative; }
.ip-btn .ip-label { font-size: 10px; padding: 3px 7px; background: rgba(0,0,0,.28); border-radius: 6px; letter-spacing: .1em; }
.ip-btn .ip-value { font-family: var(--font-mono); font-weight: 700; }

/* ============ Glass ============ */
.glass, .glass-strong {
  position: relative;
  background:
    linear-gradient(180deg, rgba(192,240,240,.055), rgba(192,240,240,.015)),
    linear-gradient(135deg, rgba(15,107,208,.06), transparent 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.glass-strong {
  border-radius: var(--radius-lg);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -22px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06);
}
.glass::before, .glass-strong::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g fill='none' stroke='%236ec8f5' stroke-opacity='0.12' stroke-width='0.7'><path d='M20 40 L120 120 L90 220 L200 260 L320 200 L380 300'/><path d='M50 350 L140 280 L230 340 L340 320'/><path d='M0 180 L80 150 L160 190 L240 140 L360 170'/><path d='M120 20 L180 90 L260 40 L320 90'/></g></svg>");
  background-size: 380px 380px;
  opacity: .55;
  mix-blend-mode: screen;
  z-index: 0;
}
.glass::after, .glass-strong::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.09), transparent 35%);
  z-index: 0;
}
.glass > *, .glass-strong > * { position: relative; z-index: 1; }

/* ============ Hero ============ */
.hero {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 8px; padding: 56px 24px 80px;
  min-height: 78vh; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hero);
  z-index: -1; pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 820px; width: 100%; }

.hero-logo-wrap {
  position: relative; display: flex; justify-content: center; align-items: center;
  margin-bottom: 8px; padding: 22px;
}
.hero-logo-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47,166,238,.14), rgba(15,107,208,.06));
  border: 1px solid rgba(110,200,245,.28);
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  filter: drop-shadow(0 20px 40px rgba(15,107,208,.35));
}
.hero-logo-wrap::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed rgba(192,240,240,.18);
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  animation: slowspin 40s linear infinite;
}
.hero-glow { display: none; }
.hero-logo {
  width: min(240px, 60vw); position: relative; z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)) drop-shadow(0 0 24px rgba(47,166,238,.35));
  transform: rotate(-2deg);
  transition: transform .8s cubic-bezier(.2,.9,.2,1);
}
.hero-logo:hover { transform: rotate(2deg) scale(1.02); }
@keyframes slowspin { to { transform: rotate(360deg); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--text-dim);
  margin: 0 auto 22px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ice-3); box-shadow: 0 0 12px var(--ice-3); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.3); } }
.hero-title {
  font-size: clamp(44px, 6.5vw, 88px); font-weight: 700;
  letter-spacing: -0.035em; line-height: .95; margin-bottom: 16px;
}
.grad-ice { background: var(--grad-ice); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title-sub {
  display: block; font-size: .17em; font-weight: 500; letter-spacing: .42em;
  color: var(--ice-2); margin-top: 12px; font-family: var(--font-body);
}
.hero-desc { font-size: 17px; color: var(--text-dim); max-width: 580px; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; justify-content: center; }
.hero-stats { display: flex; gap: 32px; padding-top: 28px; border-top: 1px solid var(--border); justify-content: center; width: 100%; max-width: 560px; margin: 0 auto; }
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.hero-stats strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); }
.hero-stats span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; }

/* ============ Sections ============ */
.section { max-width: 1240px; margin: 0 auto; padding: 90px 24px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ice-2); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: 17px; }

/* ============ Status (BENTO redesign) ============ */
.status-bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.status-hero {
  grid-column: 1 / 2; grid-row: 1 / 3;
  padding: 36px; display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(47,166,238,.18), transparent 55%),
    linear-gradient(180deg, rgba(192,240,240,.055), rgba(192,240,240,.015));
}
.status-hero .status-topline {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: rgba(47,166,238,.14); border: 1px solid rgba(47,166,238,.4); color: var(--ice-1); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.status-pill.offline { background: rgba(255,167,72,.12); border-color: rgba(255,167,72,.4); color: var(--amber); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 2s infinite; }
.status-ip-inline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(0,0,0,.35); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 13px; color: var(--ice-1); font-weight: 700;
}
.status-ip-inline:hover { background: rgba(0,0,0,.55); border-color: var(--border-strong); }
.players-count {
  display: flex; align-items: baseline; gap: 14px; margin-top: 4px;
}
.players-count b#players-online {
  font-family: var(--font-display); font-size: clamp(64px, 10vw, 108px); font-weight: 700;
  line-height: 1; background: var(--grad-ice);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.players-count .players-max { font-size: 22px; color: var(--text-muted); font-weight: 500; }
.players-count .players-max strong { color: var(--text-dim); font-weight: 600; }
.players-count-label { color: var(--text-dim); font-size: 14px; margin-top: 6px; }
.players-bar { height: 10px; background: rgba(192,240,240,.08); border-radius: 999px; overflow: hidden; }
.players-fill { height: 100%; width: 0%; background: var(--grad-ice); border-radius: 999px; transition: width .8s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 0 20px rgba(47,166,238,.7); }
.status-hero .cta-row { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

.status-side { display: contents; }
.status-tile {
  padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  min-height: 130px;
}
.status-tile .tile-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.status-tile .tile-value { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text); word-break: break-word; }
.status-tile .tile-sub { font-size: 12px; color: var(--text-muted); }
.status-tile.tile-versions .tile-value { background: var(--grad-ice); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 26px; }
.status-tile.tile-ping .tile-value { display: flex; align-items: baseline; gap: 6px; }
.status-tile.tile-ping .tile-value small { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.ping-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; margin-left: 6px; }
.ping-bars span { display: block; width: 4px; background: var(--ice-2); border-radius: 2px; opacity: .35; }
.ping-bars span:nth-child(1) { height: 25%; }
.ping-bars span:nth-child(2) { height: 55%; }
.ping-bars span:nth-child(3) { height: 80%; }
.ping-bars span:nth-child(4) { height: 100%; }
.ping-bars.ok span { opacity: 1; }

/* ============ Modes (SPLIT redesign) ============ */
.modes-wrap { display: grid; gap: 20px; }
.mode-split {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 0;
  padding: 0; overflow: hidden;
}
.mode-split .mode-content { padding: 48px 44px; display: flex; flex-direction: column; gap: 18px; }
.mode-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
  background: rgba(47,166,238,.15); border: 1px solid rgba(47,166,238,.4); color: var(--ice-1);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; width: fit-content; }
.mode-tag.soon { background: rgba(164,196,224,.1); border-color: rgba(164,196,224,.3); color: var(--text-dim); }
.mode-split h3 { font-size: 38px; line-height: 1; }
.mode-split .mode-desc { color: var(--text-dim); font-size: 15px; max-width: 52ch; }
.mode-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 4px; }
.mode-features li { display: flex; align-items: flex-start; gap: 8px; color: var(--text-dim); font-size: 13px; }
.mode-features li::before { content: "❄"; color: var(--ice-2); flex-shrink: 0; margin-top: 1px; }
.mode-split .mode-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

.mode-visual {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 60% 40%, rgba(47,166,238,.28), transparent 60%),
    linear-gradient(160deg, rgba(15,107,208,.35), rgba(0,26,107,.55));
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.mode-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(60deg, rgba(192,240,240,.08) 25%, transparent 25.5%, transparent 74.5%, rgba(192,240,240,.08) 75%),
    linear-gradient(-60deg, rgba(192,240,240,.08) 25%, transparent 25.5%, transparent 74.5%, rgba(192,240,240,.08) 75%);
  background-size: 42px 72px;
  opacity: .5;
}
.mode-visual .visual-hex {
  position: relative;
  width: 200px; height: 200px;
  background: linear-gradient(180deg, rgba(234,247,255,.14), rgba(15,107,208,.28));
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(192,240,240,.25);
  color: var(--ice-1);
}
.mode-visual .visual-hex svg { width: 84px; height: 84px; opacity: .95; }
.mode-visual .visual-hex.pending {
  background: linear-gradient(180deg, rgba(164,196,224,.08), rgba(15,107,208,.14));
  color: var(--text-muted);
}
.mode-visual .visual-hex.pending svg { opacity: .55; }
.mode-visual .visual-label {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: .12em;
  text-transform: uppercase; padding: 8px 12px;
  background: rgba(3,8,20,.55); border: 1px solid var(--border); border-radius: 8px;
}

/* Mini roadmap grid con futuras modalidades */
.mode-mini {
  padding: 24px; display: flex; align-items: center; gap: 16px;
  opacity: .82;
}
.mode-mini .mini-hex {
  flex: 0 0 56px; width: 56px; height: 56px;
  background: linear-gradient(180deg, rgba(164,196,224,.12), rgba(15,107,208,.15));
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
}
.mode-mini .mini-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mode-mini h4 { font-size: 15px; }
.mode-mini p { color: var(--text-muted); font-size: 13px; }
.modes-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ============ Store ============ */
.store-hero { display: block; padding: 48px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.store-hero:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -20px rgba(47,166,238,.4), inset 0 1px 0 rgba(255,255,255,.1); }
.store-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.store-orb-1 { width: 400px; height: 400px; background: var(--ice-3); opacity: .22; top: -100px; right: -100px; }
.store-orb-2 { width: 300px; height: 300px; background: var(--ice-6); opacity: .32; bottom: -100px; left: -80px; }
.store-content { position: relative; display: grid; grid-template-columns: 1.5fr auto; gap: 40px; align-items: center; }
.store-content h3 { font-size: 30px; margin: 8px 0 12px; }
.store-content p { color: var(--text-dim); max-width: 520px; margin-bottom: 20px; }
.store-perks { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.store-cta { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; background: var(--grad-ice); color: #041a2e; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow-glow-ice); }

/* ============ FAQ ============ */
.faq { padding: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; text-align: left; padding: 22px 20px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text); font-family: var(--font-display); transition: color .2s; }
.faq-q:hover { color: var(--ice-1); }
.faq-chev { transition: transform .3s; flex-shrink: 0; color: var(--ice-2); }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; color: var(--text-dim); padding: 0 20px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 22px; }
.faq-a a { color: var(--ice-2); font-weight: 600; }

/* ============ Postulaciones ============ */
.post-wrap { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.post-info { padding: 32px; }
.post-info h3 { font-size: 22px; margin-bottom: 12px; }
.post-info > p { color: var(--text-dim); margin-bottom: 24px; }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.info-cols ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.info-cols li { color: var(--text-dim); font-size: 14px; }

.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.role-card { padding: 24px 20px; text-align: center; cursor: pointer; transition: all .3s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.role-card:hover { transform: translateY(-4px); border-color: rgba(110,200,245,.55); background: var(--surface-2); box-shadow: 0 20px 40px -10px rgba(47,166,238,.28); }
.role-card.active { border-color: var(--ice-2); background: linear-gradient(180deg, rgba(47,166,238,.14), rgba(47,166,238,.04)); box-shadow: var(--shadow-glow-ice); }
.role-emoji { font-size: 34px; margin-bottom: 10px; display: block; }
.role-card h4 { font-size: 16px; margin-bottom: 4px; }
.role-card p { font-size: 12px; color: var(--text-muted); }

.post-form { padding: 36px; display: flex; flex-direction: column; gap: 32px; }
.form-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.form-header h3 { font-size: 22px; }
.form-section h4 { font-size: 15px; margin-bottom: 18px; color: var(--ice-1); padding-bottom: 10px; border-bottom: 1px dashed var(--border); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-size: 14px; font-family: inherit;
  background: rgba(0,0,0,.3); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); transition: all .2s; resize: vertical;
}
.field textarea { min-height: 90px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ice-3); box-shadow: 0 0 0 3px rgba(47,166,238,.22); background: rgba(0,0,0,.4); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,111,125,.2); }
.err { color: #ff9098; font-size: 12px; min-height: 14px; }
.seg { display: flex; gap: 6px; background: rgba(0,0,0,.3); padding: 4px; border-radius: 10px; border: 1px solid var(--border); }
.seg button { flex: 1; padding: 10px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--text-dim); transition: all .2s; }
.seg button.active { background: var(--grad-ice); color: #041a2e; box-shadow: 0 4px 12px rgba(47,166,238,.5); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.post-success { padding: 48px 32px; text-align: center; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--grad-ice); display: inline-flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; color: #041a2e; margin-bottom: 20px; box-shadow: var(--shadow-glow-ice); }
.post-success h3 { font-size: 26px; margin-bottom: 8px; }
.success-id { margin-top: 14px; color: var(--text-muted); font-family: var(--font-mono); font-size: 13px; }
.success-id span { color: var(--ice-1); }

/* Postulaciones cerradas */
.post-closed-wrap { max-width: 720px; margin: 0 auto; padding: 0 1rem; }
.post-closed-card { padding: 3rem 2rem; text-align: center; border-radius: var(--radius-lg); }
.post-closed-icon { display: inline-flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 999px; margin: 0 auto 1.25rem; background: linear-gradient(135deg, rgba(255,111,125,.22), rgba(255,111,125,.06)); color: #ff9098; box-shadow: 0 8px 32px rgba(255,111,125,.28), inset 0 0 0 1px rgba(255,144,152,.35); }
.post-closed-card h3 { font-size: 1.9rem; margin: .25rem 0 .75rem; }
.post-closed-card p { color: var(--text-dim); line-height: 1.65; max-width: 56ch; margin: .5rem auto; }
.post-closed-cta { margin-top: 1rem; }
.post-closed-cta a { color: var(--ice-1); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-closed-cta a:hover { color: #fff; }
.post-closed-btn { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; background: #5865F2; color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; transition: all .2s; }
.post-closed-btn:hover { background: #4752c4; transform: translateY(-2px); }
@media (max-width: 640px) { .post-closed-card { padding: 2.25rem 1.25rem; } .post-closed-card h3 { font-size: 1.5rem; } }

/* ============ Footer ============ */
.footer { margin-top: 60px; padding: 60px 24px 28px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(0,0,0,.45)); }
.footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; background: transparent; filter: drop-shadow(0 4px 12px rgba(47,166,238,.45)); }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 6px 0 12px; }
.footer-ip { padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--ice-1); font-size: 13px; }
.footer-ip:hover { background: var(--surface-2); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--ice-2); margin-bottom: 14px; }
.footer-cols a { display: block; padding: 6px 0; color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer-cols a:hover { color: var(--ice-1); }
.footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; }

/* ============ Toast ============ */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 14px 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-strong); backdrop-filter: blur(20px); color: var(--text); font-size: 14px; font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,.5); animation: slide-in .3s ease; max-width: 340px; }
.toast.success { border-color: rgba(47,166,238,.5); color: var(--ice-1); }
.toast.error { border-color: rgba(255,111,125,.5); color: #ffb3ba; }
@keyframes slide-in { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.fade-out { animation: fade-out .3s ease forwards; }
@keyframes fade-out { to { opacity: 0; transform: translateX(120%); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Perf */
.section, .faq, .footer, #modos, #faq, #postulaciones, #tienda { content-visibility: auto; contain-intrinsic-size: 1px 600px; }
.hero-logo { will-change: transform; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .btn-discord span { display: none; }
  .brand-tag { display: none; }
  .hero { padding: 40px 20px 60px; min-height: auto; }
  .hero-logo { width: min(200px, 62vw); }
  .status-bento { grid-template-columns: 1fr; }
  .status-hero { grid-column: 1; grid-row: auto; }
  .mode-split { grid-template-columns: 1fr; }
  .mode-visual { min-height: 220px; order: -1; }
  .mode-split .mode-content { padding: 32px 26px; }
  .modes-mini-grid { grid-template-columns: 1fr; }
  .store-content { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .info-cols { grid-template-columns: 1fr; gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .mode-features { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .nav-cta .btn-primary { padding: 9px 14px; }
  .store-hero, .post-form, .post-info { padding: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-title { font-size: clamp(38px, 11vw, 64px); }
  .status-hero { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  #particles { display: none; }
}

/* ====== Success animation + cooldown (v4) ====== */
.post-success { text-align: center; padding: 2.5rem 1.5rem; }
.success-anim {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 1.2rem;
}
.success-check {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 18px rgba(51,209,255,.55));
}
.success-check .sc-ring {
  fill: none;
  stroke: #33d1ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
}
.success-check .sc-tick {
  fill: none;
  stroke: #a5f3fc;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  filter: drop-shadow(0 0 6px rgba(165,243,252,.9));
}
.post-success.is-in .success-check .sc-ring {
  animation: sc-ring-draw .7s cubic-bezier(.65,.05,.36,1) forwards;
}
.post-success.is-in .success-check .sc-tick {
  animation: sc-tick-draw .45s cubic-bezier(.65,.05,.36,1) .55s forwards;
}
@keyframes sc-ring-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-tick-draw { to { stroke-dashoffset: 0; } }

/* Confetti sutil */
.success-confetti {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: visible;
}
.success-confetti span {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 2px;
  opacity: 0;
  background: #33d1ff;
}
.success-confetti span:nth-child(1)  { background:#33d1ff; --dx: 80px;  --dy:-90px;  --rot:120deg; }
.success-confetti span:nth-child(2)  { background:#60a5fa; --dx:-70px;  --dy:-100px; --rot:-140deg; }
.success-confetti span:nth-child(3)  { background:#a5f3fc; --dx:100px;  --dy:20px;   --rot:200deg; }
.success-confetti span:nth-child(4)  { background:#22d3ee; --dx:-110px; --dy:10px;   --rot:-90deg; }
.success-confetti span:nth-child(5)  { background:#38bdf8; --dx:60px;   --dy:100px;  --rot:75deg; }
.success-confetti span:nth-child(6)  { background:#8b5cf6; --dx:-60px;  --dy:110px;  --rot:-70deg; }
.success-confetti span:nth-child(7)  { background:#0ea5e9; --dx:130px;  --dy:-40px;  --rot:60deg; }
.success-confetti span:nth-child(8)  { background:#c084fc; --dx:-130px; --dy:-30px;  --rot:-160deg; }
.success-confetti span:nth-child(9)  { background:#67e8f9; --dx:30px;   --dy:-130px; --rot:45deg; }
.success-confetti span:nth-child(10) { background:#93c5fd; --dx:-40px;  --dy:130px;  --rot:-50deg; }
.success-confetti span:nth-child(11) { background:#33d1ff; --dx:120px;  --dy:70px;   --rot:110deg; }
.success-confetti span:nth-child(12) { background:#a5f3fc; --dx:-115px; --dy:70px;   --rot:-115deg; }
.post-success.is-in .success-confetti span {
  animation: confetti-burst 1.1s cubic-bezier(.2,.7,.3,1) .7s forwards;
}
@keyframes confetti-burst {
  0%   { transform: translate(-50%,-50%) rotate(0); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--rot)); opacity: 0; }
}

/* Cooldown */
.cooldown-box {
  margin: 1.8rem auto 0;
  max-width: 340px;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(51,209,255,.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(51,209,255,.08), rgba(15,23,42,.4));
}
.cooldown-label {
  margin: 0 0 .4rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a5f3fc;
  opacity: .85;
}
.cooldown-timer {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #e0f2fe;
  letter-spacing: .05em;
  text-shadow: 0 0 12px rgba(51,209,255,.45);
}
.cooldown-hint {
  margin: .4rem 0 0;
  font-size: .72rem;
  color: rgba(226,232,240,.55);
}

.mode-mini .mini-hex{overflow:visible}
.mode-mini .mini-3d{display:block;transform:rotate(-2deg);transition:transform .8s cubic-bezier(.2,.9,.2,1),filter .8s cubic-bezier(.2,.9,.2,1);transform-origin:50% 55%;will-change:transform;filter:drop-shadow(0 8px 14px rgba(0,0,0,.45)) drop-shadow(0 0 10px rgba(47,166,238,.18));backface-visibility:hidden}
.mode-mini:hover .mini-3d,.mode-mini:focus-within .mini-3d,.mode-mini .mini-3d:active{transform:rotate(3deg) scale(1.06);filter:drop-shadow(0 12px 18px rgba(0,0,0,.5)) drop-shadow(0 0 14px rgba(47,166,238,.35))}
@media (hover:none){.mode-mini .mini-3d{animation:mini3dIdle 6s ease-in-out infinite}@keyframes mini3dIdle{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg) scale(1.03)}}}
.mini-link{display:inline;font-weight:inherit;color:var(--ice-2);text-decoration:underline;text-underline-offset:2px;transition:color .2s}
.mini-link:hover{color:var(--ice-1)}
