@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0d0e15;
  --panel: #171720;
  --field: #12131b;
  --border: #2c2b38;
  --text: #f5f0f8;
  --muted: #b1adbf;
  --gold: #f2be74;
  --gold-light: #fbd697;
  --error: #ffabae;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 50% -300px, #211c2d 0%, transparent 720px), var(--background);
  font: 500 14px/1.6 Manrope, "Segoe UI", sans-serif;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, p, dl, dd { margin: 0; }
h1, h2 { line-height: 1.15; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 3; top: 10px; left: 10px; padding: 8px 16px; color: #21170e; background: var(--gold); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid #ffffff12; background: #0e0f16; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 800; letter-spacing: .075em; line-height: 1.2; white-space: nowrap; }
.brand b { color: var(--gold); }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .2em; }
nav { display: flex; gap: 32px; align-items: stretch; align-self: stretch; }
nav a { display: grid; align-items: center; padding-inline: 4px; color: var(--muted); font-size: 13px; font-weight: 800; }
nav a:hover, nav .current { color: var(--gold); }
nav .current { box-shadow: inset 0 -2px var(--gold); }
.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #373542;
  border-radius: 8px;
  padding: 8px 13px;
  background: #191922;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.portal-link span { color: var(--gold); }
.portal-link:hover { border-color: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 322px;
  margin-block: 28px 26px;
  border: 1px solid #403342;
  border-radius: 20px;
  background: #191623;
}
.hero-art { position: absolute; inset: 0 0 0 auto; width: 66%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -2; }
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #1a1623 34%, #1a1623ed 38%, #1a162378 49%, #19152200 65%),
    linear-gradient(0deg, #14111c9e, transparent 62%);
}
.hero-copy { padding: 27px clamp(28px, 4.1vw, 62px) 30px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 13px #f2be74a0; }
h1 { margin-block: 13px 14px; font-size: clamp(47px, 5.15vw, 74px); letter-spacing: -.07em; font-weight: 800; line-height: .99; }
h1 em { color: var(--gold); font-style: normal; }
.hero-copy > p:not(.eyebrow) { color: #d0c8da; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 19px; padding-block: 3px; color: var(--gold-light); font-size: 13px; font-weight: 800; }
.hero-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 360px); align-items: start; gap: 22px; }
.steps { display: grid; gap: 16px; min-width: 0; }
.panel { min-width: 0; margin: 0; padding: 23px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.section-title { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 17px; }
.section-title p { margin-top: 4px; color: var(--muted); font-size: 13px; }
h2 { font-size: 20px; font-weight: 800; letter-spacing: -.035em; }
.step { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border: 1px solid #f2be7440; border-radius: 8px; color: var(--gold-light); background: #f2be7413; font-weight: 800; }
.sample { margin: -1px 0 0 auto; padding: 6px 0 6px 10px; border: 0; background: none; color: var(--gold-light); text-align: right; font-size: 11px; font-weight: 800; }
.sample:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-fields label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 800; }
.account-fields input, .account-fields select { width: 100%; height: 45px; padding: 9px 12px; border: 1px solid #34323f; border-radius: 9px; background: var(--field); color: var(--text); }
.account-fields :is(input, select):focus { border-color: var(--gold); }
.account-fields [aria-invalid="true"] { border-color: var(--error); }
.login-form { margin-top: 16px; }
.login-form input + label { margin-top: 12px; }
.login-form .primary { margin-top: 16px; }
.field-error { margin-top: 6px; color: var(--error); font-size: 12px; }
.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; min-width: 0; }
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.choice label {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 98px;
  padding: 12px 15px;
  border: 1px solid #34323f;
  border-radius: 10px;
  background: var(--field);
  cursor: pointer;
  transition: border-color .16s, background-color .16s;
}
.choice label:hover { border-color: #a68152; }
.choice input:focus-visible + label { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.choice input:checked + label { border-color: var(--gold); background: #272029; }
.choice label::after {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid #656073;
  border-radius: 50%;
  content: "";
}
.choice input:checked + label::after { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px); }
.choice strong { margin-block: 3px 0; font-size: 14px; font-weight: 800; }
.choice .price { color: var(--gold-light); font-size: 12px; font-weight: 800; }
.choice .first-bonus { align-self: flex-start; margin-top: 9px; padding: 3px 7px; border: 1px solid #8f683c; border-radius: 5px; background: #36281b; color: #ffda9a; font-size: 10px; font-weight: 800; line-height: 1.5; }
.choice .first-bonus-total { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.bundle-group { margin-top: 24px; padding-top: 18px; border-top: 1px solid #382e3c; }
.bundle-group h3 { margin: 0; font-size: 17px; }
.bundle-group > p { margin: 4px 0 12px; color: var(--muted); font-size: 12px; }
#bundles .bundle-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bundle-choices .choice label { height: 100%; gap: 4px; align-items: flex-start; }
.bundle-choices .choice strong { padding-right: 22px; }
.bundle-rewards, .bundle-quota { color: var(--muted); font-size: 12px; line-height: 1.4; }
.bundle-quota { margin-top: auto; padding-top: 4px; color: var(--gold-light); }
.bundle-quota:empty { display: none; }
.bundle-choices .choice input:disabled + label { opacity: .64; cursor: not-allowed; }
@media (max-width: 540px) { #bundles .bundle-choices { grid-template-columns: 1fr; } }
.coin-stack { position: relative; width: 19px; height: 16px; margin-block: 2px 3px; }
.coin-stack::before, .coin-stack::after { position: absolute; inset: 1px 0 auto; height: 7px; border: 1px solid #f6ce85; border-radius: 50%; content: ""; background: linear-gradient(140deg, #ffe7ad, #d99349); }
.coin-stack::before { top: 7px; box-shadow: 0 2px #9d612f; }
.payment-guide { margin: 0 0 0 15px; padding-left: 12px; color: var(--muted); }
.payment-guide li + li { margin-top: 4px; }

.summary { position: sticky; top: 18px; }
.summary-panel { border-color: #423646; background: linear-gradient(150deg, #211b29 0%, #181721 65%); }
.summary-game { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 10px; border: 1px solid #3d3343; border-radius: 10px; background: #15141d; }
.summary-game strong, .summary-game div > span { display: block; }
.summary-game strong { font-size: 13px; font-weight: 800; }
.summary-game div > span { color: var(--muted); font-size: 11px; }
.game-mark { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border: 1px solid #f2be742a; border-radius: 7px; background: #f2be7410; }
.summary-lines { display: grid; gap: 8px; margin-block: 17px; font-size: 13px; }
.summary-lines div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; }
.summary-lines dt { color: var(--muted); }
.summary-lines dd { color: var(--text); font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 14px 16px; border-top: 1px solid #ffffff18; font-size: 13px; font-weight: 800; }
.total output, .total strong { color: var(--gold-light); font-size: 24px; letter-spacing: -.04em; }
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid #ffdca4;
  border-radius: 9px;
  color: #25180e;
  background: linear-gradient(125deg, #fbda9e, #ecb15f);
  font-size: 13px;
  font-weight: 800;
}
.primary:hover { background: var(--gold-light); }
.primary:disabled { opacity: .55; cursor: not-allowed; }
.primary span { font-size: 17px; }
.demo-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.demo-note > span[aria-hidden] { color: var(--gold-light); }
.order-status { margin-block: 0 16px; }
.order-status p { margin-block: 7px 12px; color: var(--muted); }
.payment-qr { display: block; width: min(100%, 290px); height: auto; margin-block: 14px 8px; background: white; }
.wallet-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 24px; margin-bottom: 18px; }
.wallet-panel h2 { margin: 0 0 6px; }
.wallet-balance { display: block; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 750; }
.wallet-panel form { display: grid; align-content: start; gap: 8px; }
.wallet-panel input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line, #4a425f); border-radius: 8px; color: inherit; background: #15131f; font: inherit; }
.wallet-panel p { margin: 4px 0; color: var(--muted); }
.wallet-panel details { min-width: 0; }
.wallet-panel summary { cursor: pointer; }
.wallet-history { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.wallet-history li { padding-block: 3px; overflow-wrap: anywhere; }

.help { margin-block: 38px 44px; }
.help h2 { margin-bottom: 14px; font-size: 23px; }
.faq { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; list-style: none; cursor: pointer; font-weight: 800; }
details summary::-webkit-details-marker { display: none; }
details summary::after { width: 8px; height: 8px; flex: 0 0 8px; margin-right: 5px; border: solid var(--gold); border-width: 0 1.5px 1.5px 0; content: ""; transform: translateY(-2px) rotate(45deg); }
details[open] summary::after { transform: translateY(2px) rotate(225deg); }
details p { max-width: 68ch; padding: 0 4px 15px; color: var(--muted); font-size: 13px; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 16px 28px; color: var(--muted); font-size: 11px; }
.footer .brand { color: var(--text); font-size: 12px; }

dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 25px;
  border: 1px solid #4e4051;
  border-radius: var(--radius);
  color: var(--text);
  background: #1d1926;
}
dialog::backdrop { background: #090810bd; backdrop-filter: blur(4px); }
dialog h2 { margin-top: 8px; padding-right: 28px; font-size: 26px; }
dialog h2 + p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.close { position: absolute; top: 12px; right: 12px; width: 33px; height: 33px; padding: 0; border: 1px solid var(--border); border-radius: 7px; color: var(--text); background: #24212e; font-size: 24px; line-height: 1; }
.close:hover { border-color: var(--gold); }
.review-lines { padding: 13px; border: 1px solid var(--border); border-radius: 9px; background: #17151e; }
#manual-order { display: block; width: 100%; margin-block: 13px 12px; padding: 10px 12px; resize: vertical; border: 1px solid var(--border); border-radius: 9px; background: var(--field); color: var(--text); font: inherit; }
#send-order:not([hidden]) + #copy-order { margin-top: 8px; border-color: #4e4051; color: var(--text); background: #252130; }
#send-order:not([hidden]) + #copy-order:hover { border-color: var(--gold); }

@media (max-width: 990px) {
  .wrap { width: calc(100% - 48px); }
  .checkout { grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; }
  .panel { padding: 18px; }
  .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .hero { min-height: 280px; }
  .hero-art { width: 72%; object-position: 49% 50%; }
  .hero::after { background: linear-gradient(90deg, #1a1623 18%, #1a1623ed 34%, #1a162380 51%, transparent 78%), linear-gradient(0deg, #14111c88, transparent 65%); }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .header-inner { flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-top: 11px; }
  .brand { gap: 7px; font-size: 13px; }
  .brand img { width: 29px; height: 29px; }
  .brand small { font-size: 8px; }
  .portal-link { padding: 7px 9px; font-size: 11px; }
  nav { order: 3; width: 100%; height: 43px; gap: 20px; margin-top: 5px; }
  nav a { font-size: 12px; }
  .hero { align-items: flex-end; min-height: 320px; margin-block: 15px 16px; border-radius: 15px; }
  .hero-art { width: 100%; height: 64%; object-position: center 46%; }
  .hero::after { background: linear-gradient(0deg, #1a1623 28%, #1a1623 42%, #1a1623bb 61%, transparent 84%); }
  .hero-copy { padding: 127px 18px 19px; }
  h1 { margin-block: 8px 10px; font-size: clamp(33px, 10.2vw, 53px); }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .hero-link { margin-top: 10px; }
  .panel { padding: 15px; }
  .section-title { gap: 8px; margin-bottom: 13px; }
  .section-title h2 { font-size: 18px; }
  .section-title p { font-size: 12px; }
  .step { flex-basis: 26px; height: 26px; border-radius: 7px; }
  .sample { font-size: 10px; padding-left: 2px; }
  .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice label { min-height: 91px; padding: 10px; }
  .choice label::after { top: 10px; right: 10px; }
  .help { margin-block: 30px 26px; }
  .footer .brand img { width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  .sample { max-width: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice label { transition: none; }
}
