:root {
  --red: #d71920;
  --red-dark: #a90f15;
  --yellow: #ffcc00;
  --blue: #1465d8;
  --green: #00a651;
  --ink: #101114;
  --muted: #62666e;
  --line: #dfe2e7;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --max: 1440px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; stroke-width: 1.8; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.release-strip {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 50px);
  padding: 6px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.site-header {
  width: 100%;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 225px; font-weight: 800; }
.brand img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; }
.brand span { max-width: 135px; line-height: 1.05; font-size: 16px; }
.host-lockup { width: 150px; height: 62px; display: flex; align-items: center; justify-content: center; padding-left: 20px; border-left: 1px solid var(--line); overflow: visible; }
.host-lockup img { width: 132px; height: 58px; display: block; object-fit: contain; object-position: center; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 42px); min-width: 0; }
.site-nav a { position: relative; padding: 14px 0; color: #33373d; font-size: 15px; font-weight: 650; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 3px; background: var(--red); transition: right 160ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.action-button, .icon-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  font-weight: 750;
}
.action-button { padding: 0 16px; white-space: nowrap; }
.icon-action { width: 48px; }
.records, .download { color: #fff; background: var(--red); border-color: var(--red); }
.telegram { color: #fff; background: #229ed9; border-color: #229ed9; }
.outline { color: var(--red); background: #fff; }
.action-button:hover, .icon-action:hover { filter: brightness(0.94); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--ink); background: #fff; border: 1px solid var(--line); }

.standards-bar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  color: #303a4b;
  background: #f5f7fb;
  border-bottom: 1px solid #ccd5e4;
  font-size: 13px;
}
.standards-bar > div { display: flex; align-items: center; gap: 14px; min-width: 0; }
.standards-bar svg { color: var(--red); flex: 0 0 auto; }
.standard-label { color: var(--red); text-transform: uppercase; font-size: 11px; font-weight: 800; }
.standards-bar strong { white-space: nowrap; }
.standards-bar > div > span:last-child { color: #697181; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.standards-bar > a { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 750; white-space: nowrap; }

.hero { min-height: 720px; position: relative; overflow: hidden; color: #fff; background: #040509; }
.hero-media { position: absolute; inset: 0; background: url('/assets/uno-arena-hero.png') 52% center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 4, 9, 0.97) 0%, rgba(2, 4, 9, 0.92) 36%, rgba(2, 4, 9, 0.28) 68%, rgba(2, 4, 9, 0.48) 100%); }
.hero-inner { width: min(var(--max), calc(100% - 48px)); min-height: 720px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr); align-items: center; gap: 30px; position: relative; z-index: 1; }
.hero-copy { padding: 72px 0 58px; }
.release-badge { width: fit-content; display: flex; align-items: stretch; margin-bottom: 34px; border: 1px solid #697181; }
.release-badge span, .release-badge strong { padding: 10px 14px; font-size: 12px; text-transform: uppercase; }
.release-badge span { color: #121212; background: var(--yellow); }
.eyebrow { margin: 0 0 17px; color: #50c8ff; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow.red { color: var(--red); }
.eyebrow.yellow { color: var(--yellow); }
.eyebrow.blue { color: var(--blue); }
.title-lockup { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 24px; }
.title-lockup img { width: 88px; height: 88px; object-fit: contain; border-radius: 10px; }
h1 { margin: 0; max-width: 720px; font-size: clamp(54px, 6.5vw, 106px); line-height: 0.9; font-weight: 430; letter-spacing: 0; text-wrap: balance; }
.hero-lede { max-width: 720px; margin: 28px 0 0; color: #e8eaf0; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid #7b818c; font-weight: 800; }
.button.primary { color: #fff; background: var(--red); border-color: var(--red); }
.button.secondary { color: #fff; background: rgba(10, 12, 18, 0.58); }
.button.light { color: #111; background: #fff; border-color: #fff; }
.button:hover { filter: brightness(1.08); }
.checksum { max-width: 690px; margin: 16px 0 0; color: #b9bdc6; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; overflow-wrap: anywhere; }
.checksum span { color: #fff; font-family: inherit; font-weight: 800; }
.ranking-lockup { width: fit-content; display: flex; align-items: center; gap: 12px; margin-top: 38px; }
.ranking-shield { width: 46px; height: 52px; display: grid; place-items: center; color: var(--yellow); border: 3px solid var(--yellow); border-radius: 7px 7px 18px 18px; font-size: 25px; font-weight: 950; }
.ranking-lockup span, .ranking-lockup small { display: block; color: #c8cbd2; font-size: 10px; text-transform: uppercase; }
.ranking-lockup strong { display: block; font-size: 22px; line-height: 1; }

.device-stage { min-height: 680px; display: flex; align-items: flex-end; justify-content: center; padding-top: 34px; }
.phone { width: min(420px, 88%); aspect-ratio: 0.49; position: relative; padding: 12px; border: 4px solid #62666e; border-radius: 58px; background: #0b0c0f; box-shadow: 0 38px 80px rgba(0, 0, 0, 0.48); transform: rotate(2deg) translateY(58px); }
.phone-camera { width: 18px; height: 18px; position: absolute; top: 19px; left: 50%; z-index: 2; border-radius: 50%; background: #07090b; transform: translateX(-50%); box-shadow: inset 0 0 0 4px #1d2229; }
.phone-screen { height: 100%; overflow: hidden; padding: 45px 22px 26px; color: #111; background: #f6f6f4; border-radius: 44px; }
.wallet-head { height: 66px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.wallet-head img { width: 62px; height: 62px; object-fit: contain; border-radius: 8px; }
.mini-parent { color: #6d7178; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.chain-tabs { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 6px; margin-top: 12px; padding: 5px; background: #fff; border: 1px solid #dde0e4; }
.chain-tabs span { min-height: 44px; display: grid; place-items: center; padding: 5px; color: #363a40; font-size: 11px; font-weight: 850; text-align: center; }
.chain-tabs .active { color: #fff; background: var(--red); }
.game-only { margin: 13px 0; color: var(--red-dark); font-size: 9px; font-weight: 900; text-align: center; text-transform: uppercase; }
.preview-balance { min-height: 170px; position: relative; padding: 26px 22px; color: #fff; background: #111419; border-radius: 32px; }
.preview-balance span { display: block; color: #a7aab0; font-size: 13px; font-weight: 800; }
.preview-balance strong { display: block; margin-top: 7px; font-size: clamp(50px, 5vw, 72px); line-height: 1; }
.preview-balance button { width: 48px; height: 48px; display: grid; place-items: center; position: absolute; top: 22px; right: 20px; color: #fff; background: #262a31; border: 1px solid #474c54; border-radius: 50%; }
.preview-controls { margin-top: 16px; padding: 24px 18px; background: #fff; border: 1px solid #e0e2e5; border-radius: 30px; }
.preview-controls label { color: #676b72; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.amount { margin: 6px 0 18px; color: #666a70; font-size: 42px; font-weight: 780; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.preview-actions span { min-height: 48px; display: grid; place-items: center; font-size: 13px; font-weight: 850; }
.preview-actions span:first-child { color: #fff; background: var(--red); }
.preview-actions span:last-child { background: #edf0f3; }
.bank-control { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; margin-top: 15px; padding: 12px; background: #f4f5f7; }
.bank-control svg { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--red-dark); }
.bank-control strong { color: var(--red-dark); font-size: 12px; }
.bank-control small { color: #686c73; font-size: 10px; }

.feature-band { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.feature-band article { min-height: 132px; display: grid; grid-template-columns: 38px 1fr; gap: 15px; align-items: center; padding: 26px clamp(20px, 3vw, 52px); border-right: 1px solid var(--line); }
.feature-band article:last-child { border-right: 0; }
.feature-band svg { width: 32px; height: 32px; color: var(--red); }
.feature-band strong, .feature-band span { display: block; }
.feature-band strong { margin-bottom: 6px; font-size: 15px; }
.feature-band span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.content-band { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-heading { max-width: 790px; }
.section-heading h2, .venue-band h2, .download-band h2 { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; font-weight: 540; text-wrap: balance; }
.section-heading > p:last-child, .venue-copy p:last-child { max-width: 780px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 62px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li > span { color: var(--red); font-size: 13px; font-weight: 900; }
.steps h3 { margin: 54px 0 10px; font-size: 24px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.venue-band { min-height: 380px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 72px max(24px, calc((100vw - var(--max)) / 2)); color: #fff; background: var(--red-dark); border-top: 12px solid var(--yellow); }
.venue-copy { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 46px; }
.venue-copy > img { width: 230px; height: 150px; display: block; object-fit: contain; object-position: center; }
.venue-copy p:last-child { color: #f4dfe0; }
.venue-band .button { flex: 0 0 auto; }

.governance { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; }
.document-links { border-top: 1px solid var(--line); }
.document-links a { min-height: 124px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; align-items: center; gap: 18px; padding: 22px 10px; border-bottom: 1px solid var(--line); }
.document-links a:hover { background: var(--soft); }
.document-links svg { width: 30px; height: 30px; color: var(--blue); }
.document-links strong, .document-links small { display: block; }
.document-links strong { margin-bottom: 8px; font-size: 20px; }
.document-links small { color: var(--muted); font-size: 14px; line-height: 1.45; }

.download-band { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; padding: 86px max(24px, calc((100vw - var(--max)) / 2)); color: #fff; background: #111317; }
.release-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #40434a; border-left: 1px solid #40434a; }
.release-links a { min-height: 112px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 16px; padding: 20px; border-right: 1px solid #40434a; border-bottom: 1px solid #40434a; }
.release-links a:hover { background: #1b1e24; }
.release-links svg { width: 30px; height: 30px; color: var(--yellow); }
.release-links strong, .release-links small { display: block; }
.release-links small { margin-top: 5px; color: #aeb2bb; }

footer { min-height: 130px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 28px max(24px, calc((100vw - var(--max)) / 2)); color: #646971; background: #f4f5f7; }
.parent-brand img { width: 170px; max-height: 58px; object-fit: contain; object-position: left center; }
footer p { margin: 0; font-size: 13px; }

:focus-visible { outline: 3px solid #1b78ff; outline-offset: 3px; }

@media (max-width: 1240px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 18px; }
  .host-lockup { display: none; }
  .site-nav { justify-content: flex-start; }
  .records span { display: none; }
  .records { width: 48px; padding: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 390px; }
  .feature-band { grid-template-columns: 1fr 1fr; }
  .feature-band article:nth-child(2) { border-right: 0; }
  .feature-band article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 920px) {
  .release-strip { justify-content: center; }
  .site-header { min-height: 78px; grid-template-columns: 1fr auto auto; padding-top: 10px; padding-bottom: 10px; }
  .brand { min-width: 0; }
  .brand img { width: 48px; height: 48px; }
  .brand span { max-width: 150px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 10px 24px 18px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(20, 24, 30, 0.12); }
  .site-nav.open { display: flex; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .header-actions { gap: 6px; }
  .header-actions .outline { display: none; }
  .standards-bar > div > span:last-child { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 0 30px; }
  .device-stage { min-height: 590px; padding: 0; overflow: hidden; }
  .phone { width: 370px; transform: rotate(1deg) translateY(80px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .venue-band { align-items: flex-start; flex-direction: column; }
  .governance, .download-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .release-strip { gap: 12px; padding: 5px 12px; font-size: 9px; }
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-left: 14px; padding-right: 14px; }
  .brand { grid-column: 1; grid-row: 1; }
  .brand span { font-size: 13px; }
  .brand img { width: 43px; height: 43px; }
  .menu-toggle { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .header-actions { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--line); }
  .action-button, .icon-action { min-height: 46px; }
  .records { width: auto; flex: 1 1 auto; padding: 0 13px; }
  .records span { display: inline; font-size: 12px; }
  .icon-action { width: 46px; }
  .standards-bar { padding: 10px 14px; }
  .standards-bar strong { font-size: 12px; }
  .standard-label { display: none; }
  .standards-bar > a { font-size: 0; }
  .standards-bar > a svg { width: 22px; height: 22px; }
  .hero-inner, .content-band { width: min(100% - 28px, var(--max)); }
  .hero-copy { padding-top: 52px; }
  .release-badge { margin-bottom: 26px; }
  .title-lockup { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; }
  .title-lockup img { width: 58px; height: 58px; }
  h1 { font-size: clamp(38px, 11.5vw, 48px); }
  .hero-lede { font-size: 17px; }
  .button { width: 100%; }
  .checksum { font-size: 9px; }
  .device-stage { min-height: 560px; }
  .phone { width: 330px; border-radius: 48px; }
  .phone-screen { padding-left: 16px; padding-right: 16px; border-radius: 36px; }
  .preview-balance { min-height: 150px; }
  .preview-balance strong { font-size: 52px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-band article { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .content-band { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 190px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin-top: 28px; }
  .venue-band { padding-top: 54px; padding-bottom: 54px; }
  .venue-copy { grid-template-columns: 1fr; gap: 30px; }
  .venue-copy > img { width: 185px; height: 120px; }
  .release-links { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
