:root {
  color-scheme: light;
  --ink: #111315;
  --paper: #f5f7fa;
  --lime: #c8fa46;
  --coral: #ff695e;
  --cyan: #55cde0;
  --muted: #515960;
  --border: #c0c6cb;
  --hero-title-size: clamp(2rem, 3.8vw + 0.4rem, 3.8rem);
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: "Arial Black", Arial, Helvetica, sans-serif; font-weight: 900; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.4; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid var(--ink);
  border-radius: 6px;
  z-index: 50;
}
.skip-link:focus { top: 12px; }

/* Site Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner, .content, .footer-inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 200px;
  min-height: 44px;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
}
.header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  transition: background-color 120ms ease;
}
.text-link:hover {
  background-color: #e4e8eb;
}

/* Action Buttons */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 120ms ease, transform 80ms ease, box-shadow 80ms ease;
}
.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.button-primary:hover {
  background: #b7e638;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--ink);
}
.button-secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
.button-secondary:hover {
  background: #e4e8ec;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--ink);
}
.button-warning {
  background: #f59e0b;
  color: #111315;
  box-shadow: 0 2px 0 var(--ink);
}
.button-warning:hover {
  background: #d97706;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--ink);
}
.button:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--ink);
}

/* Hero Section: 3-column Desktop Layout */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(32px, 5vw, 64px);
  padding-inline: clamp(16px, 3vw, 32px);
  overflow: hidden;
}
.hero-container {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(320px, 1.4fr) minmax(200px, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.hero-player {
  display: flex;
  align-items: center;
}
.hero-player-left {
  justify-content: flex-end;
}
.hero-player-right {
  justify-content: flex-start;
}
.hero-player img,
.hero-art img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: clamp(300px, 48vh, 520px);
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.06));
}
.hero-copy {
  text-align: center;
  padding-inline: 8px;
}
.hero h1 {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: var(--hero-title-size);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: clamp(12px, 1.8vw, 20px);
}
.hero-desc {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 0;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 3vw, 32px);
}

/* Sections */
.section { padding-block: clamp(48px, 6vw, 76px); }
.eyebrow { font-size: 14px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0; color: var(--muted); }

/* Challenge Section: Clearly Separated */
.challenge {
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.challenge .content {
  max-width: 780px;
}
.challenge h2 {
  margin-top: 8px;
}
.lead {
  font-size: 20px;
  margin: 18px auto 28px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 600px;
}
.duel-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 32px);
  margin: 36px auto 0;
}
.duel-signature img { width: 130px; height: 80px; }
.rival { font-size: 16px; font-weight: 700; padding-block: 6px; border-bottom: 4px solid var(--lime); }
.rival-them { border-color: var(--coral); }

/* Trust Section */
.trust { background: var(--ink); color: var(--paper); }
.trust h2 { color: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.trust-grid p { margin-top: 12px; color: #bac1c7; }
.status-dot { display: block; width: 12px; height: 12px; background: var(--lime); border-radius: 50%; margin-bottom: 20px; }
.status-dot.coral { background: var(--coral); }
.status-dot.cyan { background: var(--cyan); }
.privacy-note { border-top: 1px solid #707880; margin-top: 36px; padding-top: 24px; color: #bac1c7; font-size: 14px; }
.privacy-note a { color: var(--paper); font-weight: 700; }

/* Game Guide / How It Works */
.game-guide { background: #ffffff; border-bottom: 1px solid var(--border); }
.game-guide h2 { margin-top: 8px; margin-bottom: 8px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); margin-top: 36px; }
.guide-card { background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.guide-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0; line-height: 1.3; }
.guide-card p { font-size: 0.95rem; line-height: 1.6; color: var(--muted); margin: 0; }
.guide-card a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.guide-card a:hover { color: #000; }

/* Questions / FAQ */
.questions { background: var(--paper); border-bottom: 1px solid var(--border); }
.questions-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.questions h2 { margin-bottom: 24px; }
.questions a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 700; }
details p { padding: 0 24px 24px 0; color: var(--muted); }

/* Last-Call Banner */
.last-call { background: #e4f2ef; text-align: center; border-bottom: 1px solid var(--border); }
.last-call h2 { margin-top: 8px; margin-bottom: 24px; }
.age-note { font-size: 14px; margin-top: 24px; color: var(--muted); }

/* Site Footer */
.site-footer { padding-block: 36px; background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner .brand { flex-basis: 176px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.footer-inner nav a:hover { text-decoration: underline; }
.footer-inner p { font-size: 14px; color: var(--muted); }

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero {
    padding-block: 28px 40px;
    padding-inline: 16px;
  }
  .hero-container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "player-left player-right"
      "content content";
    gap: 16px 12px;
    align-items: end;
    max-width: 600px;
  }
  .hero-player-left {
    grid-area: player-left;
    justify-content: flex-end;
  }
  .hero-player-right {
    grid-area: player-right;
    justify-content: flex-start;
  }
  .hero-player img,
  .hero-art img {
    max-height: clamp(160px, 40vw, 260px);
    max-width: 100%;
    width: auto;
  }
  .hero-copy {
    grid-area: content;
    padding-inline: 0;
    padding-top: 8px;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .trust-grid { gap: 24px; }
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .questions-grid { gap: 32px; }
}

@media (max-width: 600px) {
  .header-inner, .content, .footer-inner { padding-inline: 16px; }
  .header-inner { min-height: 64px; gap: 12px; padding-block: 8px; }
  .brand { flex-basis: 160px; }
  .brand img { width: 160px; }
  .header-create { display: none; }
  h2 { font-size: 28px; }
  .hero-desc, .lead { font-size: 18px; }
  .trust-grid, .guide-grid, .questions-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .duel-signature { gap: 20px; }
  .duel-signature img { width: 90px; height: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-inner .brand { flex-basis: auto; width: 160px; }
}

@media (max-width: 440px) {
  .hero-actions {
    gap: 10px;
    width: 100%;
  }
  .hero-actions .button {
    flex: 1 1 140px;
    padding: 10px 14px;
    min-height: 44px;
  }
}

@media (max-width: 340px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
}

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

@media (forced-colors: active) {
  .button { border-color: ButtonText; }
  .rival, details, .faq-list { border-color: CanvasText; }
}
