:root {
  color-scheme: dark;
  --night: #061225;
  --night-2: #081a33;
  --panel: #0b1d39;
  --panel-2: #102748;
  --line: #1d3558;
  --ink: #edf6ff;
  --muted: #a0b5cc;
  --muted-dark: #718ca8;
  --cyan: #39d7ff;
  --blue: #176fff;
  --gold: #f1bd6e;
  --violet: #ac76ff;
  --green: #66e3a2;
  --red: #ff6d75;
  --pixel: "Courier New", "Cascadia Mono", Consolas, monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(28, 94, 164, .22), transparent 38rem),
    linear-gradient(180deg, #07152a 0%, var(--night) 53%, #040d1b 100%);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.container { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }
.section-pad { padding-block: 96px; }
.skip-link {
  position: fixed; z-index: 100; top: 12px; left: 12px;
  padding: 12px 16px; transform: translateY(-160%);
  background: var(--cyan); color: #061225; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #fff2a8; outline-offset: 4px; }

.site-header {
  position: sticky; z-index: 50; top: 0;
  border-bottom: 1px solid rgba(93, 156, 224, .22);
  background: rgba(5, 15, 31, .94);
  box-shadow: 0 5px 24px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-emblem { width: 48px; height: 46px; overflow: hidden; filter: drop-shadow(0 0 9px rgba(36, 187, 255, .45)); }
.brand-name { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand-name strong { color: #eef7ff; font-size: 14px; font-weight: 900; letter-spacing: .16em; text-shadow: 0 2px 0 #254366; }
.brand-name span { color: var(--gold); font-family: var(--pixel); font-size: 9px; font-weight: 700; letter-spacing: .34em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.main-nav > a { color: #c8d9ef; font-size: 12px; font-weight: 700; transition: color .18s ease, text-shadow .18s ease; }
.main-nav > a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(57, 215, 255, .5); }
.nav-play {
  padding: 11px 18px; border: 1px solid #55dfff; border-radius: 2px;
  background: linear-gradient(180deg, #123c79, #0c2751);
  box-shadow: inset 0 0 0 2px rgba(41, 162, 255, .22), 0 4px 0 #041126, 0 0 16px rgba(19, 124, 255, .27);
  color: #f3fbff; font-family: var(--pixel); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.nav-play span { margin-left: 9px; color: var(--cyan); font-size: 15px; }
.nav-play:hover { filter: brightness(1.2); }
.menu-toggle { display: none; }

.hero { padding-top: 23px; }
.hero-frame {
  position: relative; overflow: hidden;
  border: 1px solid rgba(74, 181, 255, .52);
  background: #0a1c35;
  box-shadow: 0 0 0 5px rgba(11, 48, 93, .72), 0 0 38px rgba(7, 129, 255, .25), 0 22px 55px rgba(0, 0, 0, .38);
}
.hero-art { display: block; width: 100%; height: auto; }
.hero-frame::after {
  position: absolute; inset: 0; pointer-events: none;
  border: 5px solid rgba(8, 15, 28, .2); content: "";
  box-shadow: inset 0 -90px 90px rgba(4, 12, 25, .2);
}
.hero-overlay {
  position: absolute; right: 17px; bottom: 15px; left: 17px; z-index: 2;
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
}
.hero-chip, .hero-coordinates {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 11px; border: 1px solid rgba(142, 209, 255, .4);
  background: rgba(4, 15, 32, .84); color: #eaf7ff;
  font-family: var(--pixel); font-size: 8px; letter-spacing: .09em;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .4);
}
.hero-chip i { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 9px var(--green); }
.hero-coordinates { color: #d6e8f9; font-size: 7px; }
.hero-coordinates b { color: var(--gold); font-size: 12px; }
.hero-caption {
  display: flex; align-items: end; justify-content: space-between; gap: 30px;
  padding: 34px 4px 26px;
  border-bottom: 1px solid rgba(80, 133, 190, .25);
}
.eyebrow { margin: 0; color: #8bb8e7; font-family: var(--pixel); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.pixel-star { color: var(--cyan); text-shadow: 0 0 10px rgba(57, 215, 255, .65); }
.hero-caption h1 { margin: 11px 0 0; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.055em; }
.hero-caption h1 span { color: var(--cyan); text-shadow: 0 0 20px rgba(39, 181, 255, .3); }
.hero-description { max-width: 440px; margin: 0 0 3px; color: #adc0d4; font-size: 12px; line-height: 1.8; }

.quick-links {
  display: grid; align-items: stretch; grid-template-columns: 2fr 3.1fr; gap: 18px;
  padding-block: 24px 56px;
}
.image-button { position: relative; display: block; overflow: hidden; padding: 0; border: 0; background: transparent; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.image-button svg { display: block; width: 100%; height: 100%; }
.image-button:hover { z-index: 1; transform: translateY(-3px); filter: brightness(1.16) drop-shadow(0 0 11px rgba(56, 190, 255, .42)); }
.image-button:active { transform: translateY(1px); }
.play-button { grid-row: span 2; min-height: 150px; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px 11px; }
.link-grid .image-button { min-width: 0; min-height: 68px; }
.link-grid svg { object-fit: contain; }

.modes { position: relative; border-block: 1px solid rgba(48, 95, 147, .3); background: linear-gradient(180deg, rgba(8, 27, 52, .92), rgba(7, 18, 36, .76)); }
.modes::before, .modes::after {
  position: absolute; width: 10px; height: 10px; background: #0c5d9e; box-shadow: 0 0 13px rgba(38, 183, 255, .45); content: "";
}
.modes::before { top: -5px; left: 7%; }
.modes::after { right: 7%; bottom: -5px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(32px, 4.4vw, 49px); font-weight: 800; letter-spacing: -.06em; }
.section-heading h2 span { color: var(--gold); text-shadow: 0 0 16px rgba(241, 189, 110, .18); }
.section-description { max-width: 390px; margin: 0 0 3px; color: #9eb4cc; font-size: 11px; line-height: 1.8; }
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mode-card {
  position: relative; min-height: 160px; padding: 18px 16px 17px; overflow: hidden;
  border: 1px solid #254064; border-radius: 3px;
  background: linear-gradient(150deg, rgba(17, 43, 77, .92), rgba(7, 22, 44, .96));
  box-shadow: inset 0 0 0 3px rgba(11, 31, 60, .75), 0 5px 0 #040c19, 0 10px 20px rgba(0, 0, 0, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mode-card::before, .mode-card::after { position: absolute; width: 7px; height: 7px; background: #4d9dcb; opacity: .8; content: ""; }
.mode-card::before { top: -1px; left: 15px; }
.mode-card::after { right: 15px; bottom: -1px; }
.mode-card:hover { transform: translateY(-4px); border-color: rgba(57, 215, 255, .8); box-shadow: inset 0 0 0 3px rgba(21, 63, 111, .9), 0 6px 0 #040c19, 0 0 22px rgba(31, 160, 255, .17); }
.mode-card > svg { display: block; width: 74px; height: 62px; margin: 0 auto 10px; overflow: hidden; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
.mode-card h3 { margin: 0; color: #f1f7ff; font-family: var(--pixel); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.mode-card p { margin: 8px 0 0; color: #9eb5cd; font-size: 10px; line-height: 1.6; text-align: center; }
.mode-pvp { border-color: rgba(43, 206, 255, .55); }
.mode-events { border-color: rgba(172, 118, 255, .5); }
.mode-economy { border-color: rgba(241, 189, 110, .47); }
.mode-note { display: flex; align-items: center; gap: 9px; margin: 25px 0 0; color: #819db8; font-family: var(--pixel); font-size: 8px; letter-spacing: .08em; }
.status-led { width: 7px; height: 7px; background: var(--gold); box-shadow: 0 0 9px rgba(241, 189, 110, .7); }

.community { padding-top: 80px; padding-bottom: 95px; }
.community-panel { overflow: hidden; border: 1px solid rgba(70, 122, 181, .4); background: #091a32; box-shadow: 0 8px 0 #030a15, 0 20px 42px rgba(0, 0, 0, .22); }
.community-art { overflow: hidden; border-bottom: 1px solid rgba(54, 111, 174, .35); background: #091a32; }
.community-art svg { display: block; width: 100%; height: auto; }
.community-copy { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 34px; }
.community-copy h2 { margin: 11px 0 8px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.community-copy h2 span { color: var(--gold); }
.community-copy p:not(.eyebrow) { max-width: 620px; margin: 0; color: #a8bbd0; font-size: 11px; line-height: 1.8; }
.pixel-cta {
  display: flex; min-width: 220px; align-items: center; justify-content: space-between; gap: 15px;
  padding: 14px 16px; border: 2px solid #33c9ff; border-radius: 2px;
  background: linear-gradient(180deg, #1260b2, #0b3672);
  box-shadow: inset 0 0 0 2px rgba(185, 244, 255, .16), 0 5px 0 #041126, 0 0 20px rgba(30, 143, 255, .25);
  color: #f5fbff; font-family: var(--pixel); font-size: 9px; font-weight: 700; letter-spacing: .05em; cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}
.pixel-cta:hover { transform: translateY(-2px); filter: brightness(1.16); }
.cta-gem { color: var(--cyan); font-size: 16px; text-shadow: 0 0 10px var(--cyan); }
.cta-arrow { color: #c1efff; font-size: 16px; }

.site-footer { border-top: 1px solid rgba(62, 111, 169, .28); background: #040d1a; }
.footer-inner { display: flex; min-height: 89px; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand .footer-gem { color: var(--cyan); font-size: 29px; text-shadow: 0 0 12px rgba(57, 215, 255, .6); }
.footer-domain { color: #91a9c2; font-family: var(--pixel); font-size: 9px; letter-spacing: .05em; }
.footer-note { color: #728ba5; font-family: var(--pixel); font-size: 8px; letter-spacing: .12em; }
.footer-note b { margin-left: 5px; color: var(--gold); font-size: 12px; }

.toast {
  position: fixed; z-index: 100; right: 20px; bottom: 20px; max-width: min(420px, calc(100vw - 40px));
  padding: 14px 18px; border: 1px solid rgba(57, 215, 255, .7); border-radius: 2px;
  background: #0a1d38; box-shadow: 0 5px 0 #030a14, 0 0 22px rgba(34, 163, 255, .22);
  color: #eaf7ff; font-size: 12px; line-height: 1.6;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .container { width: min(100% - 42px, 760px); }
  .quick-links { grid-template-columns: 1fr; }
  .play-button { grid-row: auto; min-height: 115px; }
  .link-grid .image-button { min-height: 61px; }
  .mode-grid { grid-template-columns: repeat(4, 1fr); gap: 11px; }
  .mode-card { min-height: 153px; padding-inline: 11px; }
  .community-copy { align-items: start; flex-direction: column; }
  .pixel-cta { min-width: 245px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 69px; }
  .container { width: calc(100% - 30px); }
  .section-pad { padding-block: 65px; }
  .header-inner { min-height: 68px; }
  .brand-emblem { width: 41px; height: 40px; }
  .brand-name strong { font-size: 12px; }
  .menu-toggle {
    display: flex; width: 42px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    border: 1px solid #264364; border-radius: 2px; background: #0a1d38; cursor: pointer;
  }
  .menu-toggle span { width: 17px; height: 2px; background: var(--cyan); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0;
    padding: 8px 15px 17px; border-bottom: 1px solid #1b3b61; background: rgba(5, 15, 31, .98);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(124, 171, 219, .13); }
  .nav-play { margin-top: 13px; padding-block: 13px; }
  .hero { padding-top: 18px; }
  .hero-frame { box-shadow: 0 0 0 3px rgba(11, 48, 93, .72), 0 0 22px rgba(7, 129, 255, .2); }
  .hero-overlay { right: 8px; bottom: 8px; left: 8px; align-items: start; flex-direction: column; gap: 5px; }
  .hero-chip, .hero-coordinates { padding: 6px 7px; font-size: 6px; }
  .hero-coordinates { font-size: 5px; }
  .hero-caption { align-items: start; flex-direction: column; gap: 12px; padding: 25px 2px 20px; }
  .hero-caption h1 { font-size: clamp(28px, 8vw, 39px); }
  .hero-description { font-size: 11px; }
  .quick-links { gap: 11px; padding-block: 17px 43px; }
  .play-button { min-height: 91px; }
  .link-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 54px); gap: 7px; }
  .link-grid .image-button { min-height: 54px; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(29px, 8vw, 40px); }
  .section-description { font-size: 10px; }
  .mode-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .mode-card { min-height: 147px; padding: 15px 9px 13px; }
  .mode-card h3 { font-size: 10px; }
  .mode-card p { font-size: 9px; }
  .mode-note { align-items: start; font-size: 7px; line-height: 1.6; }
  .community { padding-top: 49px; }
  .community-copy { gap: 20px; padding: 23px 18px 25px; }
  .community-copy h2 { font-size: 25px; }
  .community-copy p:not(.eyebrow) { font-size: 10px; }
  .pixel-cta { width: 100%; min-width: 0; }
  .footer-inner { min-height: 100px; flex-wrap: wrap; justify-content: space-between; gap: 9px 15px; padding-block: 18px; }
  .footer-domain { order: 3; width: 100%; font-size: 8px; }
  .footer-note { font-size: 7px; }
}

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