
:root {
  color-scheme: dark;
  --bg: #1e112d;
  --panel: #2c1b3e;
  --ink: #fff3e9;
  --muted: #d9c5e2;
  --pink: #ff9ac9;
  --mint: #a7f4db;
  --line: #674b75;
  --display: "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
.wrap { width: min(1184px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 12px; left: 12px; padding: 12px; background: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.top { background: #20122d; border-bottom: 1px solid #533663; }
.top-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-family: var(--display); font-size: 20px; font-weight: 900; line-height: 1; }
.brand small { display: block; color: var(--pink); font: 800 10px/1.5 system-ui, sans-serif; letter-spacing: .26em; }
nav { display: flex; align-items: center; gap: clamp(15px, 4vw, 42px); }
nav a { text-decoration: none; font-size: .89rem; font-weight: 720; }
nav a:hover, .footer a:hover { color: var(--pink); }
.nav-join { display: flex; gap: 10px; align-items: center; color: var(--mint); border: 1px solid #619f97; padding: 10px 13px; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, 51vw, 720px); border-bottom: 1px solid #704b80; background: #251435; }
.hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 79%; height: 100%; object-fit: cover; object-position: 67% 54%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#241431 6%,#241431 18%,#241431f5 26%,#241431bf 39%,#24143120 64%,transparent 84%), linear-gradient(0deg,#21132ede,transparent 33%); }
.hero-inner { padding-block: 70px 58px; }
.tag { display: flex; gap: 9px; align-items: center; margin: 0 0 14px; color: var(--mint); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.tag span { font-size: .96rem; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-size: clamp(4.35rem, 9.2vw, 8.2rem); font-weight: 900; line-height: .86; letter-spacing: -.062em; text-shadow: 4px 5px #3c204d; }
h1 em { color: var(--pink); font-style: normal; }
.intro { margin: 26px 0 25px; max-width: 29ch; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 14px; justify-content: space-between; min-height: 48px; padding: 10px 15px; border: 1px solid transparent; text-decoration: none; font-size: .91rem; font-weight: 800; }
.primary { color: #2c153c; background: var(--pink); box-shadow: 0 4px #945378; }
.primary:hover { background: #ffc1db; }
.secondary { border-color: #856192; background: #281836; }
.secondary:hover { background: #442657; }
.address { display: flex; align-items: center; gap: 13px; width: fit-content; max-width: 100%; margin-top: 26px; padding: 5px 6px 5px 12px; border: 1px solid var(--line); min-height: 46px; background: #21132e; }
code { font-family: ui-monospace, monospace; color: var(--mint); overflow-wrap: anywhere; }
.address code { font-size: clamp(.74rem, 2.9vw, .91rem); white-space: nowrap; }
.address button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; border: 1px solid #745584; background: #392347; color: var(--ink); padding: 3px 9px; font-size: .79rem; font-weight: 760; cursor: pointer; }
.address button[hidden] { display: none; }
.address button:hover { background: #543461; }
.copy-status { color: var(--mint); margin: 6px 0 0; min-height: 1.5em; font-size: .8rem; }
.section { padding-block: clamp(55px, 8vw, 105px); }
h2 { font-size: clamp(2.5rem, 5.8vw, 5rem); font-weight: 900; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.section-heading { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 22px; margin-bottom: 29px; }
.section-heading > p { max-width: 35ch; color: var(--muted); margin: 0 0 2px auto; line-height: 1.55; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; }
.game { min-width: 0; background: var(--panel); border: 1px solid #50385d; }
.game-art { display: grid; place-items: center; height: 105px; overflow: hidden; position: relative; isolation: isolate; color: var(--icon,#ffadd5); background: var(--tile,#4a295d); }
.game-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 15px, #fff2 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, #fff2 15px 16px), radial-gradient(ellipse, #fff2, transparent 68%); mask-image: linear-gradient(#000, #0006); }
.game-art span { font: 850 3.05rem/1 var(--display); text-shadow: 3px 5px #201328a8; }
.sky, .pillars { --tile: #344a78; --icon: #aee8ff; }
.castle, .ctf { --tile: #674053; --icon: #ffd0ae; }
.parkour, .creative { --tile: #503871; --icon: #edc0ff; }
.safari, .survival { --tile: #285752; --icon: #b7f5d0; }
.bedwars, .lucky { --tile: #63414b; --icon: #ffe4a3; }
.game-copy { padding: 13px 12px 15px; }
.game h3 { font-size: clamp(1rem, 1.75vw, 1.24rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.12; }
.game p { margin: 7px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.cpu-note { border-left: 3px solid var(--pink); background: #2a1a39; padding: 13px 16px; color: var(--muted); line-height: 1.5; margin: 22px 0 0; }
.cpu-note strong { color: var(--pink); }
.join { background: #2b193b; border-block: 1px solid #533663; }
.platform-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.platform { padding: 20px; border: 1px solid #654772; background: #211330; }
.platform-label { color: var(--pink); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 7px; }
.platform h3 { font-size: clamp(1.38rem, 2.7vw, 2rem); letter-spacing: -.04em; }
.platform ol { padding-inline-start: 1.3em; color: var(--muted); line-height: 1.5; }
.platform li + li { margin-top: .5em; }
.platform a { color: var(--mint); text-underline-offset: 3px; }
.pending { margin: 0; color: #ffcee7; font-size: .88rem; line-height: 1.45; }
.family-inner { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 20px; padding: clamp(19px, 5vw, 45px); border: 1px solid #68527c; background: radial-gradient(ellipse at 0 0,#3b2951,#2a1a39 65%); }
.families h2 { font-size: clamp(2rem, 5vw, 3.65rem); }
.families p { color: var(--muted); max-width: 66ch; line-height: 1.55; margin: 11px 0 0; }
.footer { border-top: 1px solid #51375f; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding-block: 22px; color: var(--muted); font-size: .85rem; }
.footer span { color: var(--ink); font-weight: 800; }
.footer p { margin: 0; }
.footer a { margin-left: auto; }
@media (max-width: 950px) {
  .game-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-art { width: 94%; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .platform-grid, .section-heading { grid-template-columns: 1fr; gap: 13px; }
  .section-heading > p { margin-left: 0; }
  .hero { min-height: 640px; align-items: end; }
  .hero-art { width: 100%; height: 64%; object-position: center 48%; }
  .hero::after { background: linear-gradient(0deg,#241431 4%,#241431 34%,#241431f2 46%,#24143160 67%,transparent 85%); }
  .hero-inner { padding-block: 230px 28px; }
}
@media (max-width: 490px) {
  .top-inner { flex-wrap: wrap; gap: 11px; padding-block: 12px; }
  nav { justify-content: space-between; width: 100%; }
  .nav-join { padding: 7px 9px; }
  h1 { font-size: clamp(3.3rem, 13.4vw, 4.8rem); }
  .game-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .game-art { height: 79px; }
  .family-inner > img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
