/* ============================================================
   SolsticeMC — Arctic Solstice aesthetic
   ============================================================ */

:root {
  --bg:        #060A18;
  --bg-soft:   #0B1229;
  --bg-card:   #0E1832;
  --fg:        #EAF2FF;
  --muted:     #94A7C9;
  --dim:       #5A6A8C;
  --line:      rgba(148, 167, 201, 0.12);
  --line-strong: rgba(148, 167, 201, 0.22);

  --aqua:      #5EEAD4;
  --aqua-soft: #34D3BE;
  --sky:       #7DD3FC;
  --violet:    #A78BFA;
  --ember:     #FBBF24;

  --grad-aurora: linear-gradient(120deg, #5EEAD4 0%, #7DD3FC 48%, #A78BFA 100%);
  --grad-aurora-soft: linear-gradient(120deg, rgba(94,234,212,0.14) 0%, rgba(125,211,252,0.14) 48%, rgba(167,139,250,0.14) 100%);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --f-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --f-body:    'Instrument Sans', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.005em;
}

::selection { background: var(--aqua); color: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* --- Atmosphere layers --------------------------------------- */

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stars {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1px 1px at 12% 14%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 78% 32%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 45% 68%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(2px 2px at 88% 82%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 22% 88%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 65% 18%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 34% 42%, rgba(94,234,212,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 55%, rgba(125,211,252,0.45), transparent 60%);
  background-size: 1100px 820px;
  opacity: 0.55;
  animation: twinkle 12s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.4; }
  100% { opacity: 0.7; }
}

.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform;
}
.aurora-a {
  width: 680px; height: 680px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, #5EEAD4, transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.aurora-b {
  width: 620px; height: 620px;
  top: 40%; right: -220px;
  background: radial-gradient(circle, #7DD3FC, transparent 65%);
  animation: drift-b 28s ease-in-out infinite alternate;
  opacity: 0.45;
}
.aurora-c {
  width: 520px; height: 520px;
  bottom: -200px; left: 30%;
  background: radial-gradient(circle, #A78BFA, transparent 65%);
  animation: drift-c 32s ease-in-out infinite alternate;
  opacity: 0.32;
}
@keyframes drift-a { to { transform: translate(60px, 40px); } }
@keyframes drift-b { to { transform: translate(-50px, -30px); } }
@keyframes drift-c { to { transform: translate(40px, -50px); } }

/* --- Shared wrapper ------------------------------------------ */

section {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head .num {
  color: var(--aqua);
  font-weight: 600;
}
.section-head .label {
  position: relative;
  padding-left: 14px;
}
.section-head .label::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--aqua);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(94,234,212,0.15);
}

/* --- Navigation --------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(6, 10, 24, 0.6);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  font-variation-settings: 'wdth' 92, 'opsz' 18;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 18px rgba(94,234,212,0.45));
}
.brand-text { display: inline-flex; }
.brand-mc {
  color: var(--aqua);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(234, 242, 255, 0.4);
}
.nav-cta .arr { transition: transform 0.25s var(--ease); }
.nav-cta:hover .arr { transform: translate(2px, -2px); }

/* --- Buttons ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translate(3px, 0); }
.btn-ico { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--grad-aurora);
  color: #061A1E;
  box-shadow:
    0 12px 30px -10px rgba(94, 234, 212, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px -10px rgba(94, 234, 212, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-ghost {
  background: rgba(148, 167, 201, 0.06);
  color: var(--fg);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(148, 167, 201, 0.12);
  border-color: var(--aqua);
  color: var(--aqua);
}
.btn-lg {
  padding: 18px 32px;
  font-size: 16px;
}
.btn-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- HERO --------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.hero-inner {
  max-width: 960px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ember);
  letter-spacing: 0.02em;
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5);
  animation: pulse-dot 2s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
}

.hero-art {
  position: relative;
  margin: 48px 0 48px;
  max-width: 1120px;
  animation: fadeUp 1s var(--ease) 0.2s both;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 80px -30px rgba(94, 234, 212, 0.35),
    0 20px 60px -20px rgba(6, 10, 24, 0.8);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 50% 60%, rgba(94,234,212,0.18), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.hero-art-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--grad-aurora);
  opacity: 0.18;
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  animation: hero-art-pulse 6s var(--ease) infinite alternate;
}
@keyframes hero-art-pulse {
  0% { opacity: 0.12; }
  100% { opacity: 0.28; }
}

.hero-title {
  margin-top: 16px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: 'wdth' 90, 'opsz' 60;
  max-width: 820px;
}
.hero-title .line {
  display: block;
  animation: fadeUp 0.9s var(--ease) both;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) { animation-delay: 0.34s; color: var(--fg); }
.hero-title em {
  font-style: italic;
  font-family: 'Instrument Sans', serif;
  font-weight: 400;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  max-width: 620px;
  margin-top: 36px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  animation: fadeUp 0.9s var(--ease) 0.5s both;
}
.hero-sub em {
  font-style: italic;
  color: var(--aqua);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  animation: fadeUp 0.9s var(--ease) 0.6s both;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
  animation: fadeUp 0.9s var(--ease) 0.75s both;
}
.hero-foot > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-foot .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero-foot strong {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
}

/* --- SERVER / IP section ------------------------------------ */

.server {
  padding-top: 100px;
  padding-bottom: 80px;
}

.ip-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ip-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(94,234,212,0.06), rgba(125,211,252,0.03) 60%, transparent),
    rgba(14, 24, 50, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.ip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ip-card:hover {
  border-color: rgba(94,234,212,0.35);
  transform: translateY(-3px);
}
.ip-card:hover::before { opacity: 0.06; }

.ip-card-alt {
  background:
    linear-gradient(160deg, rgba(167,139,250,0.06), rgba(125,211,252,0.03) 60%, transparent),
    rgba(14, 24, 50, 0.6);
}

.ip-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(94,234,212,0.1);
  border: 1px solid rgba(94,234,212,0.25);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--aqua);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ip-card-alt .ip-badge {
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.25);
  color: var(--violet);
}
.ip-ver {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.ip-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.ip-host {
  display: block;
  font-family: var(--f-mono);
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  word-break: break-all;
  line-height: 1.2;
}
.ip-port {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-strong);
}
.ip-port .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.ip-port code {
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--aqua);
}
.ip-card-alt .ip-port code { color: var(--violet); }

.ip-hint {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.ip-hint .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  flex-shrink: 0;
}

.ip-copy {
  position: relative;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(94,234,212,0.08);
  border: 1px solid rgba(94,234,212,0.25);
  color: var(--aqua);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.ip-card-alt .ip-copy {
  background: rgba(167,139,250,0.08);
  border-color: rgba(167,139,250,0.25);
  color: var(--violet);
}
.ip-copy:hover {
  background: rgba(94,234,212,0.14);
}
.ip-card-alt .ip-copy:hover {
  background: rgba(167,139,250,0.14);
}
.ip-copy svg { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }
.ip-copy-default, .ip-copy-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.ip-copy-done {
  position: absolute;
  inset: 0;
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(100%);
  color: var(--aqua);
}
.ip-card-alt .ip-copy-done { color: var(--violet); }
.ip-copy.is-copied .ip-copy-default { opacity: 0; transform: translateY(-100%); }
.ip-copy.is-copied .ip-copy-done { opacity: 1; transform: translateY(0); }

.server-note {
  margin-top: 32px;
  max-width: 640px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.server-note .label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aqua);
  margin-right: 6px;
}

/* --- MODES -------------------------------------------------- */

.modes {
  padding-top: 100px;
  padding-bottom: 80px;
}

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mode {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: rgba(14, 24, 50, 0.45);
  border: 1px solid var(--line-strong);
  transition: all 0.4s var(--ease);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.mode::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(94,234,212,0.22), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
  opacity: 0.6;
}
.mode-vanilla::after {
  background: radial-gradient(circle, rgba(167,139,250,0.25), transparent 65%);
}
.mode:hover {
  border-color: rgba(94,234,212,0.3);
  transform: translateY(-4px);
}
.mode-vanilla:hover { border-color: rgba(167,139,250,0.3); }
.mode:hover::after { transform: scale(1.2); opacity: 0.9; }

.mode-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--aqua);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mode-vanilla .mode-tag { color: var(--violet); }

.mode-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-variation-settings: 'wdth' 90, 'opsz' 64;
  margin-bottom: 24px;
}

.mode-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 380px;
}

.mode-list {
  margin-top: auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mode-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
}
.mode-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--aqua);
}
.mode-vanilla .mode-list li::before { background: var(--violet); }

/* --- VALUES / NEVER ----------------------------------------- */

.values {
  padding-top: 100px;
  padding-bottom: 80px;
}

.manifesto {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 980px;
  margin: 0 0 72px;
  font-variation-settings: 'wdth' 96, 'opsz' 48;
}
.manifesto em {
  font-family: 'Instrument Sans', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.value {
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.value-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--aqua);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.value h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-variation-settings: 'wdth' 92, 'opsz' 26;
}
.value p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.never-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: rgba(6, 10, 24, 0.5);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.never-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(251, 100, 100, 0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.never-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 20px;
}
.never-tag {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  font-variation-settings: 'wdth' 90, 'opsz' 22;
  letter-spacing: -0.015em;
}
.never-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.never-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.never-list li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.never-list li:first-child { border-top: 0; padding-top: 0; }
.never-list strong {
  color: var(--fg);
  font-weight: 600;
}
.never-x {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(251, 100, 100, 0.12);
  color: #FB7185;
  font-weight: 700;
  font-size: 14px;
}

/* --- RULES -------------------------------------------------- */

.rules {
  padding-top: 100px;
  padding-bottom: 80px;
}

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

.rule {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(14, 24, 50, 0.4);
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
}
.rule:hover {
  background: rgba(14, 24, 50, 0.75);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.rule-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--aqua);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  opacity: 0.9;
}
.rule h4 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  font-variation-settings: 'wdth' 92, 'opsz' 20;
}
.rule p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.rule code {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(94,234,212,0.1);
  color: var(--aqua);
  border-radius: 4px;
}

.rule-staff {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(94,234,212,0.08), rgba(167,139,250,0.06));
  border-color: rgba(94,234,212,0.2);
}
.rule-staff .rule-num {
  color: var(--violet);
  font-size: 18px;
}

/* --- SHOP --------------------------------------------------- */

.shop {
  padding-top: 100px;
  padding-bottom: 80px;
}

.shop-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 60px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(94,234,212,0.08), rgba(167,139,250,0.04) 60%, transparent),
    rgba(14, 24, 50, 0.55);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  position: relative;
  min-height: 420px;
}

.shop-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variation-settings: 'wdth' 92, 'opsz' 52;
  margin-bottom: 28px;
}
.shop-title em {
  font-family: 'Instrument Sans', serif;
  font-style: italic;
  font-weight: 400;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shop-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 480px;
}
.shop-text strong { color: var(--fg); font-weight: 600; }
.shop-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.shop-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-voxel {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 8px;
  background: var(--grad-aurora);
  box-shadow:
    0 20px 40px -10px rgba(94,234,212,0.3),
    inset 0 1px 0 rgba(255,255,255,0.35);
  animation: voxel-float 6s ease-in-out infinite;
}
.shop-voxel-1 { top: 10%; left: 10%; animation-delay: 0s; background: linear-gradient(135deg, #5EEAD4, #34D3BE); }
.shop-voxel-2 { top: 20%; right: 15%; animation-delay: 1s; width: 60px; height: 60px; background: linear-gradient(135deg, #7DD3FC, #38BDF8); }
.shop-voxel-3 { bottom: 15%; left: 20%; animation-delay: 2s; width: 50px; height: 50px; background: linear-gradient(135deg, #A78BFA, #818CF8); opacity: 0.8; }
.shop-voxel-4 { bottom: 20%; right: 10%; animation-delay: 1.5s; width: 70px; height: 70px; background: linear-gradient(135deg, #5EEAD4, #7DD3FC); opacity: 0.85; }

@keyframes voxel-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.shop-coin {
  position: relative;
  width: 180px; height: 180px;
  color: var(--aqua);
  opacity: 0.85;
  filter: drop-shadow(0 20px 40px rgba(94,234,212,0.35));
  animation: spin-slow 30s linear infinite;
}
.shop-coin svg { width: 100%; height: 100%; }

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* --- CTA FINAL ---------------------------------------------- */

.cta-final {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 32px 120px;
  text-align: center;
}

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 28px;
}

.cta-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: 'wdth' 88, 'opsz' 80;
  margin-bottom: 28px;
}

.cta-sub {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 44px;
}
.cta-sub em { color: var(--fg); font-style: italic; }

.cta-ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- FOOTER ------------------------------------------------- */

.footer {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 32px 40px;
  border-top: 1px solid var(--line-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  width: fit-content;
}
.footer-col a:hover { color: var(--aqua); }

.brand-footer { margin-bottom: 6px; }
.footer-tag {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 280px;
}

.footer-ip {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg);
  padding: 10px 12px;
  background: rgba(94,234,212,0.06);
  border: 1px solid rgba(94,234,212,0.15);
  border-radius: 8px;
  word-break: break-all;
  line-height: 1.4;
}
.footer-ip span { color: var(--aqua); }
.footer-copy {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--aqua);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-copy:hover { color: var(--fg); }
.footer-copy.is-copied { color: var(--fg); }
.footer-copy.is-copied::after { content: " ✓"; color: var(--aqua); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.02em;
  gap: 24px;
  flex-wrap: wrap;
}

/* --- TOAST -------------------------------------------------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 20px 40px -10px rgba(94, 234, 212, 0.4);
  z-index: 100;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  opacity: 0;
}
.toast svg { width: 16px; height: 16px; color: var(--aqua-soft); }
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- Reveal on scroll --------------------------------------- */

.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --------------------------------------------- */

@media (max-width: 960px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }

  section, .hero, .cta-final, .footer { padding-left: 20px; padding-right: 20px; }

  .hero { padding-top: 56px; padding-bottom: 60px; }
  .hero-art { margin: 32px 0; }
  .hero-art img { border-radius: var(--radius); }
  .hero-sub { font-size: 17px; }
  .hero-foot { gap: 20px; margin-top: 56px; padding-top: 24px; }
  .hero-foot strong { font-size: 15px; }

  .ip-wrap { grid-template-columns: 1fr; gap: 14px; }
  .ip-card { padding: 24px; }
  .ip-host { font-size: 22px; }

  .modes-grid { grid-template-columns: 1fr; gap: 16px; }
  .mode { padding: 32px 28px; min-height: 340px; }

  .values-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .value { padding: 24px 0; }

  .never-card { padding: 28px 24px; }
  .never-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .never-badge { font-size: 10px; }

  .rules-grid { grid-template-columns: 1fr 1fr; }

  .shop-card { grid-template-columns: 1fr; padding: 36px 28px; min-height: 0; gap: 32px; }
  .shop-right { min-height: 280px; }
  .shop-coin { width: 130px; height: 130px; }

  .cta-final { padding: 80px 20px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .section-head { margin-bottom: 32px; }
}

@media (max-width: 520px) {
  .rules-grid { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .manifesto { font-size: 24px; }
  .shop-title { font-size: 30px; }
  .cta-title { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
