:root {
  --paper: #fffaf3;
  --cream: #f2e2ce;
  --ink: #21150f;
  --muted: #755943;
  --cocoa: #7b3f1f;
  --green: #9bc51c;
  --line: rgba(123, 63, 31, 0.2);
  --shadow: 0 20px 55px rgba(77, 43, 22, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; background: radial-gradient(circle at 78% 12%, rgba(155, 197, 28, 0.16), transparent 20rem), linear-gradient(135deg, var(--paper), var(--cream)); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: 0.25; pointer-events: none; background-image: linear-gradient(rgba(123, 63, 31, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 63, 31, 0.06) 1px, transparent 1px); background-size: 24px 24px; }
a { color: inherit; text-decoration: none; }
.game-topbar, .game-hero, .game-info, .game-footer { width: min(calc(100% - 3rem), 1180px); margin: 0 auto; }
.game-topbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; color: var(--muted); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.back-link { color: var(--cocoa); }
.mini-brand { letter-spacing: 0.14em; }
.game-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 4rem; min-height: 600px; padding: 3rem 0 5rem; }
.eyebrow, .panel-kicker { color: var(--cocoa); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 2px; margin-right: 0.65rem; vertical-align: middle; background: var(--cocoa); }
h1, h2, p { margin-top: 0; }
.hero-copy h1 { max-width: 7ch; margin: 1.3rem 0; font-size: clamp(4rem, 9vw, 8.5rem); line-height: 0.82; letter-spacing: -0.08em; }
.hero-copy h1 em { color: var(--green); font-style: normal; text-shadow: 4px 4px 0 rgba(33, 21, 15, 0.1); }
.hero-intro { max-width: 34ch; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.hero-meta { display: flex; gap: 0.7rem; color: var(--cocoa); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.hero-art { position: relative; display: grid; place-items: center; width: 100%; min-height: 470px; padding: clamp(1.5rem, 4vw, 2.75rem); overflow: hidden; border-radius: 2rem; background: linear-gradient(145deg, #e3f16e, #94b91c 58%, #587613); box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.hero-art::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(33, 21, 15, 0.25); border-radius: inherit; }
.hero-art img { position: relative; z-index: 2; width: min(100%, 460px); max-width: 100%; max-height: min(68vw, 420px); object-fit: contain; mix-blend-mode: multiply; }
.art-orbit { position: absolute; border: 2px solid rgba(255,255,255,0.42); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { width: 75%; height: 36%; }
.orbit-two { width: 44%; height: 70%; transform: rotate(30deg); }
.game-info { padding-bottom: 6rem; }
.tabs { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.4rem; border-bottom: 1px solid var(--line); }
.tab { padding: 0.95rem 1rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 900; white-space: nowrap; }
.tab:hover, .tab.is-active { border-bottom-color: var(--cocoa); color: var(--cocoa); }
.tab-panels { padding: 4rem 0; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; animation: reveal 220ms ease both; }
.tab-panel[hidden] { display: none; }
.tab-panel h2 { max-width: 12ch; margin: 0.8rem 0 0; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 0.95; letter-spacing: -0.065em; }
.panel-copy { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.panel-copy p + p { margin-top: 1rem; }
.gallery-strip { display: flex; gap: 1rem; margin-top: 1.5rem; }
.gallery-strip img { width: min(48%, 220px); border: 5px solid #fff; box-shadow: var(--shadow); }
.legal-copy { max-width: 55ch; }
.legal-date { color: var(--cocoa); font-size: 0.8rem; font-weight: 900; }
.legal-copy h3 { margin: 2rem 0 0.55rem; color: var(--cocoa); font-size: 1rem; }
.legal-copy a { color: var(--cocoa); font-weight: 900; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-copy .action-link { color: #fffaf3; text-decoration: none; }
.action-link { display: inline-flex; margin-top: 1rem; padding: 0.85rem 1rem; background: var(--cocoa); color: #fffaf3; font-weight: 900; }
.game-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 820px) {
  .game-hero, .tab-panel { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art {
    min-height: 360px;
    max-width: min(100%, 520px);
    margin: 0 auto;
  }
  .hero-art img { max-height: 320px; }
}
@media (max-width: 560px) {
  .game-topbar, .game-hero, .game-info, .game-footer { width: min(calc(100% - 2rem), 1180px); }
  .game-topbar, .game-footer { align-items: flex-start; flex-direction: column; }
  .game-hero { padding-top: 2rem; }
  .hero-copy h1 { font-size: clamp(4rem, 21vw, 6rem); }
  .hero-art {
    min-height: 0;
    max-width: 100%;
    padding: 1.25rem;
    border-radius: 2rem;
    aspect-ratio: 1 / 1;
  }
  .hero-art::after { inset: 0.75rem; }
  .hero-art img {
    width: 100%;
    max-width: 320px;
    max-height: 240px;
  }
  .tab-panels { padding: 3rem 0; }
  .gallery-strip img { width: 50%; }
}
