:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --ink-soft: #9eb0c5;
  --night: #060a10;
  --panel: #0c131d;
  --panel-strong: #101a27;
  --orange: #ff7a1a;
  --orange-hot: #ff4d00;
  --blue: #57bfff;
  --line: rgba(255, 255, 255, .11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: #07101a; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; width: min(1180px, calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-size: 1.05rem; font-weight: 850; letter-spacing: -.04em; }
.brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 11px; background: #111c28; box-shadow: 0 8px 28px rgba(255, 90, 5, .22); }
.brand strong { color: var(--orange); }
nav { display: flex; gap: 1.6rem; margin-left: auto; }
nav a { color: #cbd7e5; text-decoration: none; font-size: .9rem; font-weight: 700; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: #fff; }
.header-button { padding: .62rem .95rem; border: 1px solid rgba(255, 122, 26, .45); border-radius: 11px; background: rgba(255, 122, 26, .11); color: #ffd1ae; text-decoration: none; font-size: .84rem; font-weight: 800; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -2; width: 36rem; height: 36rem; border-radius: 50%; filter: blur(110px); opacity: .18; pointer-events: none; animation: float-glow 9s ease-in-out infinite alternate; }
.hero::before { top: -18rem; right: -8rem; background: var(--orange); }
.hero::after { bottom: -24rem; left: -12rem; background: var(--blue); animation-delay: -4s; }
.arena-lines { position: absolute; z-index: -1; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.038) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.038) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 92%); animation: grid-shift 14s linear infinite; }
.hero-inner { width: min(1180px, calc(100% - 48px)); margin: auto; padding-top: 82px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .58fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.eyebrow { margin: 0 0 .9rem; color: #ffad70; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 26px; height: 2px; margin: 0 .5rem .2rem 0; background: var(--orange); }
h1, h2, h3 { line-height: 1.04; }
h1 { max-width: 760px; margin: 0; font-size: clamp(4rem, 8.2vw, 7.6rem); letter-spacing: -.078em; font-weight: 900; }
h1 em { background: linear-gradient(90deg, var(--orange), #ffb15f 52%, var(--blue)); background-size: 180% 100%; color: transparent; font-style: normal; background-clip: text; -webkit-background-clip: text; animation: gradient-slide 5s ease-in-out infinite alternate; }
.hero-lead { max-width: 520px; margin: 1.4rem 0 0; color: var(--ink-soft); font-size: clamp(1.04rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.2rem; border-radius: 12px; text-decoration: none; font-weight: 820; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, var(--orange), var(--orange-hot)); color: #fff; box-shadow: 0 14px 40px rgba(255, 76, 0, .24); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.035); color: #dce7f3; }
.button.secondary:hover { border-color: rgba(87,191,255,.4); background: rgba(87,191,255,.07); }

.server-mark { position: relative; justify-self: end; width: min(360px, 100%); padding: 1rem; border: 1px solid var(--line); border-radius: 30px; background: rgba(12, 19, 29, .8); box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.server-mark > img { position: relative; z-index: 2; display: block; width: 100%; border-radius: 21px; }
.server-mark > div:last-child { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: 1rem .35rem .2rem; }
.server-mark strong, .server-mark small { grid-column: 2; }
.server-mark small { color: var(--ink-soft); }
.mark-orbit { position: absolute; z-index: 1; inset: -12px; border: 1px solid rgba(255,122,26,.28); border-radius: 38px; animation: orbit-pulse 3s ease-in-out infinite; }
.status-dot { grid-row: 1 / span 2; width: 9px; height: 9px; border-radius: 50%; background: #50e294; box-shadow: 0 0 0 6px rgba(80,226,148,.11); animation: pulse 1.8s ease-out infinite; }

.shop-section, .connect-inner, .rules-inner, .legal-note, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.shop-section { padding: 7rem 0; scroll-margin-top: 1rem; }
.section-heading h2, .connect-inner h2, .rules-heading h2 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.2rem); letter-spacing: -.065em; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.product-card { position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.6rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.product-card::after { content: ""; position: absolute; width: 220px; height: 220px; top: -120px; right: -80px; border-radius: 50%; background: var(--orange); filter: blur(80px); opacity: .12; transition: opacity .28s ease, transform .28s ease; }
.token-card::after { background: var(--blue); }
.product-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.22); box-shadow: 0 26px 70px rgba(0,0,0,.3); }
.product-card:hover::after { opacity: .22; transform: scale(1.15); }
.product-top, .product-buy { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,122,26,.38); border-radius: 15px; background: rgba(255,122,26,.12); color: #ffb57c; font-weight: 900; }
.token-icon { border-color: rgba(87,191,255,.38); background: rgba(87,191,255,.12); color: #9bdcff; }
.badge { padding: .42rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: #b8c7d8; font-size: .78rem; font-weight: 760; }
.product-type { margin: 0 0 .35rem; color: var(--ink-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.product-card h3 { margin: 0; font-size: clamp(2.8rem, 5vw, 4.6rem); letter-spacing: -.06em; }
.vip-name { background: linear-gradient(90deg, #48aefd, #fff); color: transparent; background-clip: text; -webkit-background-clip: text; }
.product-note { max-width: 34ch; margin: .8rem 0 0; color: var(--ink-soft); }
.vip-features { display: grid; gap: .55rem; margin: 1rem 0 0; padding: 0; list-style: none; color: #bccada; }
.vip-features li { position: relative; padding-left: 1.25rem; }
.vip-features li::before { content: ""; position: absolute; left: 0; top: .67em; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #fff); box-shadow: 0 0 12px rgba(87,191,255,.45); }
.vip-features code { color: #fff; font: 800 .94em/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.product-buy { padding-top: 1.2rem; border-top: 1px solid var(--line); }
.product-buy strong { font-size: 1.7rem; }
.product-buy small { color: var(--ink-soft); }
.product-buy button { min-width: 110px; min-height: 44px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.06); color: #7e8b9b; font: 800 .84rem/1 system-ui, sans-serif; cursor: not-allowed; }
.token-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1.2rem; }
.token-options span { padding: .8rem; border: 1px solid rgba(87,191,255,.16); border-radius: 13px; background: rgba(87,191,255,.055); }
.token-options b, .token-options small { display: block; }
.token-options b { font-size: 1.05rem; }
.token-options small { color: #8fcff4; }
.shop-status { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); color: #b7c4d2; }
.shop-status p { margin: 0; }
.shop-status a { margin-left: auto; color: #ffd0ad; font-weight: 750; text-underline-offset: 3px; }
.status-dot.amber { flex: 0 0 auto; background: #ffad43; box-shadow: 0 0 0 6px rgba(255,173,67,.1); }
.currency-note { max-width: 760px; margin: 1rem 0 0; color: #78899d; font-size: .82rem; }

.connect-section { padding: 6rem 0; border-block: 1px solid var(--line); background: #080e16; scroll-margin-top: 1rem; }
.connect-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; align-items: center; }
.server-address { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.25rem 1.25rem 1.45rem; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-strong); }
.server-address span, .server-address code { display: block; }
.server-address span { color: var(--ink-soft); font-size: .78rem; }
.server-address code { color: #fff; font: 800 1.15rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.server-address button { border: 0; border-radius: 11px; padding: .78rem .95rem; background: #fff; color: #07101a; font: 800 .82rem/1 system-ui, sans-serif; cursor: pointer; }
.server-address button:hover { background: #dff2ff; }

.rules-section { padding: 7rem 0; scroll-margin-top: 1rem; }
.rules-inner { display: grid; grid-template-columns: .38fr 1.62fr; gap: 4rem; align-items: start; }
.eyebrow.light { color: #ffb77e; }
.rules-heading { position: sticky; top: 2rem; }
.rules-heading > p:last-child { margin-top: 1.3rem; color: var(--ink-soft); }
.rules-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rule-panel { padding: 1.6rem; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.accent-panel { background: linear-gradient(145deg, rgba(255,122,26,.12), rgba(12,19,29,.96)); border-color: rgba(255,122,26,.22); }
.panel-title { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.panel-title span { color: #ff9f58; font: 800 .75rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.panel-title h3 { margin: 0; font-size: 1.35rem; }
.rule-panel ol { list-style: none; margin: 0; padding: 0; }
.rule-panel li { position: relative; padding: .9rem 0 .9rem 3rem; border-top: 1px solid rgba(255,255,255,.085); color: #c4d0de; }
.rule-panel li::before { content: attr(data-number); position: absolute; left: 0; top: .95rem; color: #ff9650; font: 750 .73rem ui-monospace, SFMono-Regular, Consolas, monospace; }

.legal-note, footer { display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }
.legal-note { padding: 2rem 0; color: #7f90a4; font-size: .83rem; }
.legal-note p { max-width: 760px; margin: 0; }
.legal-note div { display: flex; gap: 1rem; }
.legal-note a, footer a { color: #ffb680; text-underline-offset: 3px; }
footer { padding: 2rem 0 4rem; align-items: center; color: var(--ink-soft); font-size: .84rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.footer-brand img { width: 32px; height: 32px; object-fit: cover; border-radius: 9px; background: #111c28; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.shop-grid .reveal:nth-child(2), .rules-columns .reveal:nth-child(2) { transition-delay: .1s; }

@keyframes gradient-slide { to { background-position: 100% 50%; } }
@keyframes float-glow { to { transform: translate3d(3rem, 2rem, 0) scale(1.08); } }
@keyframes grid-shift { to { background-position: 64px 64px; } }
@keyframes orbit-pulse { 50% { transform: scale(1.025); opacity: .55; } }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 15px rgba(80,226,148,0); } }

@media (max-width: 920px) {
  .hero-inner, .connect-inner, .rules-inner { grid-template-columns: 1fr; }
  .server-mark { justify-self: start; width: 260px; }
  .rules-heading { position: static; }
}

@media (max-width: 720px) {
  nav { display: none; }
  .header-button { margin-left: auto; }
  .hero { min-height: 820px; }
  .hero-inner { gap: 2rem; }
  .shop-grid, .rules-columns { grid-template-columns: 1fr; }
  .product-card { min-height: 380px; }
  .shop-status { align-items: flex-start; flex-wrap: wrap; }
  .shop-status a { width: 100%; margin-left: 1.8rem; }
}

@media (max-width: 520px) {
  .site-header, .hero-inner, .shop-section, .connect-inner, .rules-inner, .legal-note, footer { width: calc(100% - 28px); }
  .site-header { min-height: 68px; }
  .brand img { width: 34px; height: 34px; }
  h1 { font-size: clamp(3.45rem, 17vw, 5.2rem); }
  .hero { min-height: 760px; }
  .server-mark { width: 210px; }
  .shop-section, .rules-section { padding: 5rem 0; }
  .token-options { grid-template-columns: 1fr; }
  .token-options span { display: flex; justify-content: space-between; align-items: baseline; }
  .product-buy { align-items: flex-end; }
  .server-address { align-items: stretch; flex-direction: column; }
  .server-address code { overflow-wrap: anywhere; }
  .server-address button { align-self: flex-start; }
  .legal-note, footer { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .hero-actions, .shop-section, .connect-section { display: none; }
  .hero { min-height: 0; padding: 3rem 0; }
  .arena-lines { display: none; }
  .hero-inner, .rules-inner, .legal-note, footer { width: 100%; }
}
