@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #101012;
  --paper: #f3efe5;
  --cream: #fff9ea;
  --blue: #1648e8;
  --blue-dark: #0c2cb4;
  --lime: #d6ff33;
  --coral: #ff594a;
  --pink: #ff9ec8;
  --silver: #d9d9dc;
  --white: #ffffff;
  --border: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 15%, rgba(22, 72, 232, 0.08) 0 2px, transparent 3px),
    var(--paper);
  background-size: 22px 22px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid var(--lime);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  border: var(--border);
  background: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  border-bottom: var(--border);
  background: rgba(243, 239, 229, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 270px;
  padding: 12px 24px;
  border-right: var(--border);
  transition: background 180ms var(--ease-out);
}

.brand:hover {
  background: var(--lime);
}

.brand-bolt {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50% 42% 54% 40%;
  color: var(--paper);
  background: var(--blue);
  box-shadow: inset -5px -4px 0 rgba(0, 0, 0, 0.16);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 25px;
  transform: rotate(-8deg);
}

.brand-word {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: -1.7px;
}

.brand-word > span {
  display: block;
  color: var(--blue);
}

.header-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 0 24px;
  overflow: hidden;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.header-slogan i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 9px 0 0 var(--coral), -9px 0 0 var(--coral);
}

.player-menu-wrap {
  position: relative;
}

.player-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-width: 210px;
  padding: 0 22px;
  border: 0;
  border-left: var(--border);
  color: var(--paper);
  background: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.player-trigger:hover,
.player-trigger[aria-expanded="true"] {
  color: var(--ink);
  background: var(--lime);
}

.player-dot {
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--coral);
}

.chevron {
  margin-left: auto;
  font-size: 19px;
  transition: transform 180ms var(--ease-out);
}

.player-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.player-dropdown {
  position: absolute;
  z-index: 120;
  top: calc(100% + 3px);
  right: 0;
  width: 310px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.player-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.player-dropdown a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 8px 14px;
  border-bottom: 2px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  transition: background 150ms var(--ease-out), padding-left 150ms var(--ease-out);
}

.player-dropdown a:last-child {
  border-bottom: 0;
}

.player-dropdown a:hover {
  padding-left: 18px;
  background: var(--pink);
}

.player-dropdown .drop-feature {
  background: var(--lime);
}

.player-dropdown a > span {
  font-size: 22px;
}

.player-dropdown small {
  font-size: 9px;
  letter-spacing: 0.07em;
}

main {
  min-height: 70vh;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: page-in 260ms var(--ease-out) both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-shell {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-bottom: var(--border);
  color: var(--paper);
  background: var(--blue);
}

.hero-art {
  position: absolute;
  inset: 0;
}

.hero-art::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(11, 29, 120, 0.97) 0%, rgba(13, 45, 177, 0.81) 35%, rgba(22, 72, 232, 0.12) 66%, rgba(22, 72, 232, 0) 100%);
}

.hero-art::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 18px;
  line-height: 0.9;
  text-align: center;
}

.sticker-one {
  top: 56px;
  right: 5.5%;
  width: 90px;
  height: 90px;
  border-radius: 48% 52% 46% 54%;
  transform: rotate(9deg);
}

.sticker-two {
  right: 38%;
  bottom: 54px;
  width: 73px;
  height: 55px;
  border-radius: 50%;
  background: var(--coral);
  transform: rotate(-12deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(760px, 62vw);
  min-height: 650px;
  padding: 72px clamp(28px, 6vw, 92px) 34px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--coral);
}

.hero-copy h1,
.subpage-header h1,
.auth-art h1,
.legal-hero h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(56px, 7.6vw, 120px);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero-copy h1 em,
.subpage-header h1 em,
.auth-art h1 em,
.legal-hero h1 em,
.blitz-cta h2 em,
.checkout-head h2 em {
  color: var(--lime);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}

.hero-copy h1 > span {
  display: inline-block;
  color: var(--coral);
  transform: rotate(-2deg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
}

.mega-button {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: var(--border);
  color: var(--ink);
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms var(--ease-out);
}

.mega-button:hover {
  background: var(--coral);
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}

.mega-button:active {
  transform: scale(0.97);
  box-shadow: 3px 3px 0 var(--ink);
}

.button-glint {
  font-size: 22px;
}

.button-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.text-link {
  padding: 7px 0;
  border-bottom: 2px solid currentColor;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text-link span {
  color: var(--lime);
}

.hero-score-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.11em;
}

.hero-score-strip b {
  color: var(--lime);
}

.ticker {
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--coral);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 12px 0;
  gap: 25px;
  align-items: center;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 17px;
  white-space: nowrap;
  animation: ticker-move 22s linear infinite;
}

.ticker-track b {
  color: var(--lime);
  -webkit-text-stroke: 1px var(--ink);
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

.game-zone {
  position: relative;
  padding: 86px clamp(22px, 5vw, 76px) 110px;
  overflow: hidden;
}

.game-zone::before {
  position: absolute;
  top: 40px;
  right: -130px;
  width: 360px;
  height: 360px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  content: "";
  opacity: 0.13;
  box-shadow: inset 0 0 0 35px var(--paper), inset 0 0 0 38px var(--ink), inset 0 0 0 74px var(--paper), inset 0 0 0 77px var(--ink);
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 220px;
  max-width: 1380px;
  margin: 0 auto 54px;
  align-items: end;
}

.section-heading h2,
.blitz-cta h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(48px, 7vw, 102px);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.game-zone-orb {
  width: 180px;
  height: 180px;
  justify-self: end;
  overflow: hidden;
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  transform: rotate(7deg);
}

.game-zone-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  max-width: 1380px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 300px;
  padding: 17px;
  overflow: hidden;
  flex-direction: column;
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), filter 180ms var(--ease-out);
  isolation: isolate;
  cursor: pointer;
}

.game-card::before,
.game-card::after {
  position: absolute;
  z-index: -1;
}

.game-card::before {
  width: 190px;
  height: 190px;
  right: -66px;
  top: -40px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, transparent 0 12deg, rgba(255,255,255,0.28) 12deg 24deg);
}

.game-card::after {
  inset: 0;
  opacity: 0.19;
  background: repeating-linear-gradient(0deg, transparent 0 3px, var(--ink) 3px 4px);
}

.game-card:hover {
  z-index: 5;
  filter: saturate(1.15);
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 10px 12px 0 var(--ink);
}

.game-card:active {
  transform: scale(0.97);
}

.tone-1 { background: var(--blue); color: var(--paper); }
.tone-2 { background: var(--coral); }
.tone-3 { background: var(--lime); }
.tone-4 { background: var(--pink); }
.tone-5 { background: var(--paper); }
.tone-6 { background: var(--ink); color: var(--paper); }

.card-no {
  align-self: flex-start;
  padding: 3px 8px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.card-glyph {
  display: grid;
  width: 112px;
  height: 112px;
  margin: 9px auto 0;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50% 44% 55% 47%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--white), var(--silver));
  box-shadow: 5px 5px 0 var(--ink), inset -9px -9px 0 rgba(0, 0, 0, 0.09);
  font-family: Georgia, serif;
  font-size: 52px;
  transform: rotate(-8deg);
  transition: transform 220ms var(--ease-in-out);
}

.game-card:hover .card-glyph {
  transform: rotate(8deg) scale(1.06);
}

.game-card h3 {
  margin: auto 0 13px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.06em;
}

.play-chip {
  align-self: flex-start;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  transform: rotate(-2deg);
}

.blitz-cta {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 38px;
  min-height: 330px;
  padding: 56px clamp(24px, 6vw, 90px);
  align-items: center;
  overflow: hidden;
  border-top: var(--border);
  color: var(--paper);
  background: var(--blue);
}

.blitz-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.15;
  background-image: linear-gradient(45deg, var(--paper) 25%, transparent 25%), linear-gradient(-45deg, var(--paper) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--paper) 75%), linear-gradient(-45deg, transparent 75%, var(--paper) 75%);
  background-position: 0 0, 0 18px, 18px -18px, -18px 0;
  background-size: 36px 36px;
}

.blitz-cta > * {
  position: relative;
  z-index: 1;
}

.cta-star {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  border: var(--border);
  border-radius: 46% 54% 45% 55%;
  color: var(--ink);
  background: var(--coral);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 70px;
  transform: rotate(-10deg);
}

.dark-button {
  background: var(--paper);
}

.subpage-wrap {
  min-height: 740px;
  padding: 58px clamp(22px, 5vw, 76px) 90px;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  border-bottom: 2px solid currentColor;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.subpage-header {
  max-width: 1380px;
  margin: 0 auto 50px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.subpage-header h1,
.legal-hero h1 {
  font-size: clamp(60px, 8vw, 116px);
  color: var(--ink);
}

.subpage-header h1 em,
.legal-hero h1 em {
  color: var(--blue);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.tier-badge {
  display: flex;
  width: 190px;
  height: 190px;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: var(--shadow);
  transform: rotate(6deg);
  text-align: center;
}

.tier-badge span,
.tier-badge small {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.tier-badge strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 54px;
  line-height: 1;
}

.recharge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
  gap: 28px;
  max-width: 1380px;
  margin: 0 auto;
  align-items: start;
}

.recharge-panel,
.recharge-preview,
.checkout-panel,
.dashboard-shell,
.auth-card,
.legal-content {
  border: var(--border);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.recharge-panel {
  padding: 28px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 19px;
}

.step-label span,
.checkout-panel legend span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.amount-card {
  display: flex;
  min-height: 138px;
  padding: 14px;
  flex-direction: column;
  align-items: flex-start;
  border: 3px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: transform 150ms var(--ease-out), box-shadow 150ms var(--ease-out), background 150ms var(--ease-out);
}

.amount-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0 var(--ink);
}

.amount-card.is-selected {
  background: var(--lime);
  box-shadow: 5px 5px 0 var(--ink);
}

.amount-card small,
.amount-card span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.amount-card strong {
  margin-top: auto;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.custom-amount {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 3px solid var(--ink);
  background: var(--pink);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.money-input {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 25px;
}

.money-input input {
  width: 100%;
  padding: 7px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 25px;
}

.bonus-ladder {
  margin-top: 35px;
}

.ladder-row {
  display: flex;
  min-height: 43px;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--ink);
  border-bottom: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.ladder-row:last-child {
  border-bottom: 2px solid var(--ink);
}

.ladder-row:nth-child(odd) {
  background: #e7e1d4;
}

.ladder-row.is-current {
  color: var(--paper);
  background: var(--blue);
}

.ladder-row.is-current::after {
  content: "YOU ARE HERE";
  order: -1;
  padding: 2px 6px;
  color: var(--ink);
  background: var(--lime);
  font-size: 8px;
}

.ladder-row.forever {
  background: var(--lime);
  font-family: "Archivo Black", Impact, sans-serif;
}

.recharge-preview {
  position: sticky;
  top: 106px;
  padding: 28px;
  color: var(--paper);
  background: var(--blue);
}

.preview-orbit {
  display: flex;
  width: min(270px, 100%);
  aspect-ratio: 1;
  margin: 24px auto 28px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--ink);
  border-radius: 49% 51% 48% 52%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 9px 9px 0 var(--ink);
  transform: rotate(-4deg);
}

.preview-orbit > span {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(64px, 7vw, 100px);
  line-height: 0.8;
}

.preview-orbit small {
  margin-top: 10px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.preview-math > div {
  display: flex;
  padding: 11px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.preview-math b {
  color: var(--lime);
  font-size: 12px;
}

.round-note,
.secure-note {
  margin: 22px 0;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.78;
}

.full-button {
  width: 100%;
}

.tiny-link {
  display: table;
  margin: 20px auto 0;
  border-bottom: 1px solid currentColor;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.checkout-panel {
  display: none;
  max-width: 950px;
  margin: 44px auto 0;
  padding: 34px;
}

.checkout-panel.is-open {
  display: block;
  animation: page-in 240ms var(--ease-out) both;
}

.checkout-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.checkout-head h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.checkout-head h2 em {
  color: var(--blue);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.close-checkout {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: var(--border);
  background: var(--coral);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

#payment-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 26px;
  padding: 24px;
  border: 2px solid var(--ink);
}

#payment-form legend {
  display: flex;
  padding: 0 10px;
  align-items: center;
  gap: 9px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 16px;
}

.field-wide {
  grid-column: 1 / -1;
}

.checkout-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 3px solid var(--ink);
  background: var(--blue);
  color: var(--paper);
}

.checkout-summary > div {
  display: flex;
  min-height: 100px;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
}

.checkout-summary > div + div {
  border-left: 3px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.checkout-summary span {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.checkout-summary strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 28px;
}

.checkout-panel .secure-note {
  color: var(--ink);
  text-align: center;
}

.auth-page {
  background: var(--paper);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  min-height: calc(100vh - 78px);
}

.reverse-auth .auth-art {
  background: var(--coral);
}

.auth-art {
  position: relative;
  display: flex;
  padding: 60px clamp(28px, 6vw, 90px);
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border);
  color: var(--paper);
  background: var(--blue);
}

.auth-art::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.14;
  background: repeating-radial-gradient(circle at 70% 40%, transparent 0 21px, var(--paper) 22px 24px);
}

.auth-art > * {
  position: relative;
  z-index: 1;
}

.auth-art h1 {
  font-size: clamp(56px, 7vw, 105px);
}

.lime-art {
  color: var(--ink);
  background: var(--lime) !important;
}

.lime-art h1 em {
  color: var(--blue);
}

.coral-art {
  color: var(--ink);
  background: var(--coral);
}

.coral-art h1 em {
  color: var(--paper);
}

.auth-orb {
  display: grid;
  width: 150px;
  height: 150px;
  margin: 44px 0 30px;
  place-items: center;
  border: var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--white), #b9b9c1);
  box-shadow: 8px 8px 0 var(--ink);
  font-family: Georgia, serif;
  font-size: 78px;
  transform: rotate(-7deg);
}

.auth-slogan {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-card {
  width: min(540px, calc(100% - 48px));
  margin: auto;
  padding: clamp(28px, 5vw, 52px);
}

.auth-card h2 {
  margin: 0 0 5px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.auth-card > p,
.switch-copy {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.demo-form {
  margin-top: 30px;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

form input,
form select,
form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  transition: box-shadow 140ms var(--ease-out), background 140ms var(--ease-out);
}

form textarea {
  min-height: 76px;
  resize: vertical;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  background: #fffef6;
  box-shadow: 4px 4px 0 var(--blue);
}

.demo-form > label,
.demo-form > .form-row {
  margin-bottom: 18px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--blue);
}

.inline-link,
.switch-copy a {
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.switch-copy {
  margin: 23px 0 0;
  text-align: center;
}

.mini-auth {
  min-height: 720px;
}

.play-page {
  color: var(--paper);
  background: var(--ink);
}

.game-console {
  max-width: 1180px;
  margin: 0 auto;
  border: 4px solid var(--paper);
  background: var(--blue);
  box-shadow: 11px 11px 0 var(--coral);
}

.console-topline {
  display: flex;
  min-height: 130px;
  padding: 28px 32px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 4px solid var(--paper);
}

.console-topline h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.console-stats {
  display: flex;
  gap: 14px;
}

.console-stats > span {
  display: flex;
  min-width: 120px;
  padding: 10px 14px;
  flex-direction: column;
  border: 2px solid var(--paper);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.console-stats b {
  color: var(--lime);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 27px;
}

.play-field {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at center, #3d6dff, var(--blue-dark));
  background-size: 50px 50px, 50px 50px, auto;
}

.scanline {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 3px, var(--ink) 3px 5px);
  pointer-events: none;
}

.game-idle,
.game-over {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.game-idle h2,
.game-over h2 {
  margin: 10px 0 5px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(45px, 7vw, 83px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.game-idle p,
.game-over > p {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.idle-orb {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 45px;
}

.game-idle .mega-button,
.game-over .mega-button {
  margin-top: 25px;
}

.game-over {
  display: none;
  background: var(--coral);
  color: var(--ink);
}

.game-over.is-visible {
  display: flex;
}

#tap-target {
  position: absolute;
  z-index: 3;
  display: none;
  width: 82px;
  height: 82px;
  border: var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 39px;
  cursor: crosshair;
  transition: transform 90ms var(--ease-out);
}

#tap-target.is-playing {
  display: block;
}

#tap-target:active {
  transform: scale(0.86) rotate(12deg);
}

.console-footer {
  display: flex;
  padding: 16px 22px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 4px solid var(--paper);
  color: var(--ink);
  background: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.compact-heading h1 {
  font-size: clamp(54px, 7vw, 92px);
}

.profile-chip {
  display: flex;
  min-width: 240px;
  padding: 13px;
  align-items: center;
  gap: 12px;
  border: var(--border);
  background: var(--lime);
  box-shadow: var(--shadow);
}

.profile-chip > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  font-family: "Archivo Black", Impact, sans-serif;
}

.profile-chip div {
  display: flex;
  flex-direction: column;
  font-family: "DM Mono", monospace;
}

.profile-chip strong {
  font-size: 13px;
}

.profile-chip small {
  font-size: 9px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  max-width: 1380px;
  min-height: 600px;
  margin: 0 auto;
}

.dashboard-menu {
  display: flex;
  padding: 22px;
  flex-direction: column;
  gap: 12px;
  border-right: var(--border);
  background: var(--blue);
}

.dashboard-tab {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  min-height: 62px;
  padding: 10px 12px;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--paper);
  color: var(--paper);
  background: transparent;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out);
}

.dashboard-tab:hover,
.dashboard-tab.is-active {
  color: var(--ink);
  background: var(--lime);
  transform: translateX(4px);
}

.dashboard-tab span {
  font-size: 9px;
}

.dashboard-menu .mega-button {
  margin-top: auto;
  padding: 0 10px;
  font-size: 12px;
}

.dashboard-content {
  min-width: 0;
  padding: 34px;
}

.user-panel {
  display: none;
}

.user-panel.is-active {
  display: block;
  animation: page-in 200ms var(--ease-out) both;
}

.panel-title {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.panel-title h2 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.status-chip {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 2px solid var(--ink);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

th,
td {
  padding: 16px 14px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-align: left;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--paper);
  background: var(--ink);
  font-size: 9px;
  letter-spacing: 0.05em;
}

tbody tr:nth-child(even) {
  background: #e7e1d4;
}

.order-status {
  display: inline-block;
  padding: 5px 7px;
  border: 1px solid var(--ink);
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.order-status.success {
  background: var(--lime);
}

.order-status.failed {
  background: var(--coral);
}

.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
  margin-top: 0;
}

.settings-form .mega-button,
.security-note {
  grid-column: 1 / -1;
}

.security-form {
  grid-template-columns: 1fr 1fr;
}

.security-note {
  display: flex;
  padding: 17px;
  flex-direction: column;
  gap: 3px;
  border: 2px solid var(--ink);
  background: var(--pink);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  max-width: 1380px;
  margin: 0 auto 58px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 900px);
  gap: 32px;
  max-width: 1260px;
  margin: 0 auto;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  border: var(--border);
  box-shadow: var(--shadow);
}

.legal-nav a {
  display: flex;
  min-height: 56px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  transition: background 140ms var(--ease-out), padding-left 140ms var(--ease-out);
}

.legal-nav a:last-child {
  border-bottom: 0;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  padding-left: 18px;
  background: var(--lime);
}

.legal-nav span {
  opacity: 0.55;
}

.legal-content {
  padding: clamp(28px, 5vw, 60px);
}

.policy-article {
  display: none;
}

.policy-article.is-active {
  display: block;
  animation: page-in 220ms var(--ease-out) both;
}

.article-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.policy-article h2 {
  margin: 0 0 28px;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.policy-article h3 {
  margin: 38px 0 10px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.policy-article p,
.policy-article li {
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.75;
}

.policy-lead {
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.55 !important;
}

.policy-article ul,
.policy-article ol {
  padding-left: 23px;
}

.policy-article li::marker {
  color: var(--blue);
  font-weight: 800;
}

.policy-table {
  border: 2px solid var(--ink);
}

.policy-table div {
  display: flex;
  padding: 11px 14px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 11px;
}

.policy-table div:last-child {
  border-bottom: 0;
  background: var(--lime);
}

.legal-mail {
  margin-top: 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 40px;
  padding: 55px clamp(24px, 5vw, 76px);
  border-top: var(--border);
  color: var(--paper);
  background: var(--ink);
}

.footer-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.footer-company .brand {
  min-width: 0;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
}

.footer-company .brand:hover {
  background: transparent;
}

.footer-company .brand-word > span,
.footer-company a {
  color: var(--lime);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  align-content: start;
}

.footer-links a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  transition: color 140ms var(--ease-out), padding-left 140ms var(--ease-out);
}

.footer-links a:hover {
  padding-left: 6px;
  color: var(--lime);
}

.footer-stamp {
  display: flex;
  min-width: 135px;
  min-height: 135px;
  padding: 15px;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid var(--paper);
  color: var(--ink);
  background: var(--coral);
  box-shadow: 6px 6px 0 var(--paper);
  transform: rotate(3deg);
}

.footer-stamp span {
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.footer-stamp strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 24px;
  line-height: 0.87;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 22px;
  display: flex;
  max-width: calc(100vw - 44px);
  min-width: 300px;
  padding: 15px 18px;
  align-items: center;
  gap: 12px;
  border: var(--border);
  color: var(--ink);
  background: var(--lime);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: opacity 190ms var(--ease-out), transform 190ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast > span {
  font-size: 24px;
}

.toast p {
  margin: 0;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .header-slogan {
    display: none;
  }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .game-card {
    min-height: 285px;
  }
  .blitz-cta {
    grid-template-columns: 120px 1fr;
  }
  .blitz-cta .mega-button {
    grid-column: 2;
    justify-self: start;
  }
  .cta-star {
    width: 108px;
    height: 108px;
  }
  .dashboard-shell {
    grid-template-columns: 245px 1fr;
  }
}

@media (max-width: 900px) {
  .hero-shell,
  .hero-copy {
    min-height: 670px;
  }
  .hero-copy {
    width: 76vw;
  }
  .hero-art img {
    object-position: 64% center;
  }
  .hero-art::before {
    background: linear-gradient(90deg, rgba(8, 29, 124, .98) 0%, rgba(10, 39, 165, .88) 48%, rgba(22,72,232,.2) 82%);
  }
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .game-card {
    min-height: 300px;
  }
  .recharge-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .recharge-preview,
  .legal-nav {
    position: static;
  }
  .legal-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .legal-nav a {
    border-right: 2px solid var(--ink);
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-art {
    min-height: 480px;
    border-right: 0;
    border-bottom: var(--border);
  }
  .auth-card {
    margin: 50px auto;
  }
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .dashboard-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: var(--border);
  }
  .dashboard-menu .mega-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
  }
  .brand {
    min-width: 0;
    padding: 9px 14px;
  }
  .brand-bolt {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }
  .brand-word {
    font-size: 18px;
  }
  .player-trigger {
    min-width: 0;
    padding: 0 15px;
  }
  .player-trigger > span:nth-child(2) {
    display: none;
  }
  .player-dropdown {
    position: fixed;
    top: 69px;
    right: 8px;
    left: 8px;
    width: auto;
  }
  .hero-shell,
  .hero-copy {
    min-height: 620px;
  }
  .hero-copy {
    width: 100%;
    padding: 80px 22px 28px;
    justify-content: flex-end;
  }
  .hero-art::before {
    background: linear-gradient(0deg, rgba(7, 26, 120, .99) 0%, rgba(11, 41, 173, .9) 52%, rgba(22, 72, 232, .05) 100%);
  }
  .hero-art img {
    height: 60%;
    object-position: 72% center;
  }
  .hero-copy h1 {
    font-size: clamp(51px, 15vw, 76px);
  }
  .hero-actions {
    width: 100%;
    margin-top: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .mega-button {
    min-height: 54px;
  }
  .text-link {
    align-self: center;
  }
  .hero-score-strip {
    display: none;
  }
  .sticker-one {
    top: 24px;
    right: 20px;
    width: 73px;
    height: 73px;
    font-size: 14px;
  }
  .sticker-two {
    display: none;
  }
  .game-zone {
    padding: 62px 15px 72px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  .section-heading h2,
  .blitz-cta h2 {
    font-size: clamp(45px, 14vw, 68px);
  }
  .game-zone-orb {
    display: none;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .game-card {
    min-height: 236px;
    padding: 12px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .card-glyph {
    width: 82px;
    height: 82px;
    font-size: 39px;
  }
  .game-card h3 {
    font-size: 21px;
  }
  .blitz-cta {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 22px;
  }
  .cta-star {
    width: 86px;
    height: 86px;
    font-size: 47px;
  }
  .blitz-cta .mega-button {
    grid-column: 1;
  }
  .subpage-wrap {
    padding: 40px 14px 70px;
  }
  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .subpage-header h1,
  .legal-hero h1 {
    font-size: clamp(51px, 15vw, 76px);
  }
  .tier-badge {
    width: 135px;
    height: 135px;
    align-self: flex-end;
  }
  .tier-badge strong {
    font-size: 39px;
  }
  .recharge-panel,
  .recharge-preview,
  .checkout-panel,
  .dashboard-content,
  .legal-content {
    padding: 20px;
  }
  .amount-grid {
    grid-template-columns: 1fr 1fr;
  }
  .amount-card {
    min-height: 120px;
  }
  .custom-amount {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .ladder-row.is-current::after {
    display: none;
  }
  #payment-form fieldset,
  .checkout-summary,
  .settings-form,
  .security-form {
    grid-template-columns: 1fr;
  }
  .checkout-summary > div + div {
    border-top: 3px solid var(--ink);
    border-left: 0;
  }
  .field-wide,
  .settings-form .mega-button,
  .security-note {
    grid-column: 1;
  }
  .auth-shell {
    min-height: 0;
  }
  .auth-art {
    min-height: 410px;
    padding: 50px 22px 40px;
  }
  .auth-art h1 {
    font-size: clamp(50px, 15vw, 74px);
  }
  .auth-orb {
    width: 100px;
    height: 100px;
    margin: 28px 0 20px;
    font-size: 53px;
  }
  .auth-card {
    width: calc(100% - 28px);
    margin: 34px auto;
    padding: 24px;
  }
  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .console-topline {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .console-stats {
    width: 100%;
  }
  .console-stats > span {
    min-width: 0;
    flex: 1;
  }
  .play-field {
    min-height: 460px;
  }
  .game-idle,
  .game-over {
    padding: 18px;
  }
  .console-footer {
    gap: 7px;
    font-size: 7px;
  }
  .profile-chip {
    min-width: 0;
  }
  .dashboard-menu {
    grid-template-columns: 1fr;
  }
  .dashboard-content {
    min-height: 500px;
  }
  .panel-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-nav {
    grid-template-columns: 1fr 1fr;
  }
  .legal-nav a:nth-child(2n) {
    border-right: 0;
  }
  .policy-lead {
    padding: 15px;
    font-size: 16px !important;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 44px 22px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-stamp {
    width: 135px;
  }
}

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


/* Two-item User Center navigation after Account Settings removal. */
@media (max-width: 900px) and (min-width: 681px) {
  .dashboard-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared language navigation: static English and Turkish page counterparts. */
.header-controls {
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  padding: 0 20px;
  border-left: var(--border);
  color: var(--ink);
  background: var(--lime);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms var(--ease-out);
}
.language-switch:hover { background: var(--pink); }
.language-switch .language-active { text-decoration: underline; text-underline-offset: 5px; }
.language-switch .language-divider { opacity: 0.5; }
.language-switch:focus-visible { outline: 3px solid var(--blue); outline-offset: -6px; }

/* Turkish copy is intentionally typeset rather than forced into English widths. */
html[lang="tr"] .hero-copy h1 {
  font-size: clamp(52px, 6.3vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
html[lang="tr"] .subpage-header h1,
html[lang="tr"] .legal-hero h1 {
  font-size: clamp(50px, 6.6vw, 96px);
  line-height: 0.92;
}
html[lang="tr"] .section-heading h2,
html[lang="tr"] .blitz-cta h2 { line-height: 0.94; }
html[lang="tr"] .panel-title h2 { font-size: clamp(25px, 3.6vw, 48px); }
html[lang="tr"] .auth-art h1 { line-height: 0.92; }
html[lang="tr"] .checkout-head h2 { line-height: 0.94; }
html[lang="tr"] .form-row { flex-wrap: wrap; gap: 14px; }
html[lang="tr"] .inline-link { white-space: normal; }
html[lang="tr"] .dashboard-tab { line-height: 1.5; }
html[lang="tr"] .legal-nav a { line-height: 1.45; }
html[lang="tr"] .round-note { line-height: 1.7; }

@media (max-width: 1120px) {
  .language-switch { min-width: 92px; padding: 0 15px; }
}
@media (max-width: 680px) {
  .language-switch { min-width: 76px; padding: 0 10px; gap: 5px; font-size: 12px; }
  .header-controls .player-trigger { min-width: 52px; padding: 0 12px; gap: 6px; }
  html[lang="tr"] .hero-copy h1 { font-size: clamp(42px, 12vw, 65px); line-height: 0.94; }
  html[lang="tr"] .section-heading h2,
  html[lang="tr"] .blitz-cta h2 { font-size: clamp(36px, 11vw, 55px); }
  html[lang="tr"] .subpage-header h1,
  html[lang="tr"] .legal-hero h1 { font-size: clamp(36px, 10.5vw, 58px); }
  html[lang="tr"] .auth-art h1 { font-size: clamp(40px, 12vw, 68px); }
  html[lang="tr"] .checkout-head h2 { font-size: clamp(32px, 9vw, 52px); }
  html[lang="tr"] .auth-card h2 { font-size: 32px; }
  html[lang="tr"] .dashboard-tab { font-size: 10px; }
  html[lang="tr"] .legal-nav a { font-size: 9px; }
  html[lang="tr"] .preview-orbit small { line-height: 1.4; }
}

@media (max-width: 900px) {
  .recharge-layout { grid-template-columns: minmax(0, 1fr); }
  .recharge-layout > * { min-width: 0; }
  .money-input { min-width: 0; }
  .money-input input { width: 100%; min-width: 0; }
}
@media (max-width: 360px) {
  .recharge-preview .mega-button { padding: 14px 10px; font-size: 11px; }
  .step-label { font-size: 16px; }
}

html[lang="tr"] .ladder-row.is-current::after { content: "BURADASIN"; }
