:root {
  --ink: #11182b;
  --ink-soft: #26314d;
  --paper: #f7f4eb;
  --card: #fffdf7;
  --line: rgba(17, 24, 43, 0.14);
  --lime: #c8ff3d;
  --lime-dark: #84b500;
  --coral: #ff6a55;
  --blue: #3157ff;
  --aqua: #59d9cf;
  --shadow: 0 18px 50px rgba(21, 29, 55, 0.12);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(89, 217, 207, 0.2), transparent 30rem),
    radial-gradient(circle at 95% 10%, rgba(200, 255, 61, 0.17), transparent 28rem),
    var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 235, 0.88);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 13px 3px;
  background: var(--ink);
  color: var(--lime);
  transform: rotate(-4deg);
}
.brand-text { font-size: clamp(1rem, 2vw, 1.25rem); }
.main-nav { display: flex; justify-content: center; gap: 6px; }
.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.slot-nav {
  border: 1px solid rgba(255, 106, 85, 0.35);
  color: #a62f20 !important;
}
.header-actions { display: flex; align-items: center; gap: 9px; }
.button.menu-button { display: none; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 8px 0 rgba(132, 181, 0, 0.28);
}
.button-primary:hover { transform: translateY(-2px); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.45); }
.button-dark { background: var(--ink); color: white; }
.button-live { background: var(--coral); color: white; box-shadow: 0 8px 0 rgba(151, 45, 29, 0.2); }
.button-block { width: 100%; margin-top: 15px; }
.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 50px;
  padding-block: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 9px; background: currentColor; }
h1, h2, h3 {
  margin: 0 0 .55em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: 1.35rem; line-height: 1.1; }
.hero h1 em { color: var(--blue); font-weight: inherit; }
.hero-copy > p { max-width: 650px; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 800;
}
.trust-row li::before { content: "✓"; margin-right: 7px; color: var(--lime-dark); }
.hero-art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 48% 52% 28% 72% / 45% 33% 67% 55%;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.orbit-one { inset: 50px; }
.orbit-two { inset: 105px; }
.hero-tile {
  position: absolute;
  padding: 18px 22px;
  border-radius: 18px;
  font-weight: 950;
  letter-spacing: .08em;
  box-shadow: 0 18px 30px rgba(0,0,0,.28);
}
.hero-tile-one { top: 14%; left: 12%; background: var(--lime); transform: rotate(-8deg); }
.hero-tile-two { top: 29%; right: 8%; background: var(--aqua); transform: rotate(7deg); }
.hero-tile-three { bottom: 13%; left: 22%; background: var(--coral); color: white; transform: rotate(4deg); }
.pixel-ball {
  position: absolute;
  width: 118px;
  aspect-ratio: 1;
  left: 42%;
  top: 42%;
  border-radius: 32% 68% 68% 32% / 45% 35% 65% 55%;
  background: var(--blue);
  box-shadow: 35px -30px 0 var(--lime), -28px 34px 0 var(--coral);
}
.section { padding-block: 68px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.section-heading h2 { margin-bottom: 0; }
.text-link { font-weight: 900; text-underline-offset: 4px; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 35px rgba(21, 29, 55, 0.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.game-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #121727;
}
.game-card-media img { width: 100%; height: 100%; object-fit: contain; }
.game-card-type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(17,24,43,.86);
  color: white;
  font-size: .68rem;
  font-weight: 900;
}
.game-card-body { padding: 17px; }
.game-card h3 {
  min-height: 2.2em;
  margin-bottom: 8px;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.game-card p {
  min-height: 3.6em;
  margin: 0 0 16px;
  color: var(--ink-soft);
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: .83rem;
}
.card-actions { display: flex; gap: 8px; }
.card-actions .button { min-height: 38px; flex: 1; padding: 9px 11px; font-size: .78rem; }
.category-ribbon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-block: 28px;
}
.category-tile {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  border-radius: 18px;
  color: white;
  background: var(--ink);
  text-decoration: none;
}
.category-tile:nth-child(2n) { background: var(--blue); }
.category-tile:nth-child(3n) { background: #0f8279; }
.category-tile strong { font-size: 1rem; }
.category-tile span { opacity: .72; font-size: .75rem; }
.editorial-callout {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 30px;
  margin-block: 60px;
  padding: 35px;
  border-radius: 32px;
  background: var(--lime);
}
.editorial-callout h2 { font-size: clamp(1.8rem, 3vw, 3rem); margin-bottom: 0; }
.adult-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  align-items: center;
  gap: 32px;
  margin-block: 60px 0;
  padding: 34px;
  border: 1px solid rgba(255, 106, 85, 0.35);
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 106, 85, 0.26), transparent 24rem),
    var(--ink);
  box-shadow: var(--shadow);
}
.adult-entry h2 {
  margin: 12px 0 8px;
  color: white;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.adult-entry p { max-width: 720px; margin: 0; color: rgba(255,255,255,.76); }
.adult-entry-actions { display: grid; gap: 12px; min-width: 270px; }
.adult-entry .button-ghost {
  border-color: rgba(255,255,255,.28);
  color: white;
  background: rgba(255,255,255,.08);
}
.listing-hero { padding: 64px 0 25px; }
.listing-hero h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
.listing-hero p { max-width: 760px; font-size: 1.05rem; color: var(--ink-soft); }
.breadcrumbs { margin-bottom: 28px; color: var(--ink-soft); font-size: .83rem; }
.breadcrumbs a { text-underline-offset: 3px; }
.sort-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sort-nav a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
}
.sort-nav a[aria-current="page"] { background: var(--ink); color: white; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 38px; }
.pagination a, .pagination span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
}
.pagination span { background: var(--ink); color: white; }
.listing-copy { max-width: 900px; margin: 30px auto 80px; }
.game-page { padding-block: 48px; }
.game-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 32px;
}
.game-title h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
.game-title p { max-width: 720px; color: var(--ink-soft); }
.play-stage, .slot-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0d1120;
  color: white;
  box-shadow: var(--shadow);
}
.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stage-toolbar h2 { margin: 0; font-family: "Trebuchet MS", sans-serif; font-size: 1rem; letter-spacing: 0; }
.stage-control {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 13px;
  background: transparent;
  color: white;
  cursor: pointer;
}
.legacy-player {
  width: 100%;
  max-height: 78vh;
  aspect-ratio: var(--game-ratio);
  display: grid;
  place-items: center;
  overflow: auto;
  background: #080b14;
}
.legacy-player object { max-width: 100%; max-height: 100%; }
.stage-note, .responsible-note { margin: 0; padding: 12px 20px; color: rgba(255,255,255,.72); font-size: .78rem; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}
.game-article { display: grid; gap: 18px; }
.content-card, .prose-card, .game-facts {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
}
.content-card h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.content-card p, .prose-card p { color: var(--ink-soft); }
.game-facts { position: sticky; top: 105px; }
.game-facts > img { width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 16px; background: #101522; }
.game-facts dl { margin: 18px 0 0; }
.game-facts dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.game-facts dt { color: var(--ink-soft); }
.game-facts dd { margin: 0; font-weight: 900; text-align: right; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-list a { padding: 6px 9px; border-radius: 999px; background: #e9e5da; font-size: .75rem; text-decoration: none; }
.related-section { padding-top: 25px; }
.site-footer { margin-top: 90px; padding: 55px 0 25px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; }
.footer-brand p { max-width: 380px; color: rgba(255,255,255,.65); }
.footer-column { display: grid; align-content: start; gap: 8px; }
.footer-column strong { margin-bottom: 7px; }
.footer-column a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.55); font-size: .75rem; }
.slot-area { background: #f3f0e6; }
.slot-area .site-header { border-bottom-color: rgba(255,106,85,.22); }
.adult-actions { display: flex; gap: 8px; }
.adult-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  font-size: .75rem;
  font-weight: 950;
}
.slot-hero { padding-block: 50px 32px; }
.slot-hero-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 38px;
  align-items: center;
}
.slot-hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.slot-hero-grid > img { width: 100%; aspect-ratio: 3/2; object-fit: contain; border-radius: 26px; background: #111729; }
.slot-stage { width: var(--shell); margin: 20px auto 45px; }
.slot-frame { min-height: 620px; background: #080b14; }
.slot-frame iframe { width: 100%; min-height: 620px; border: 0; }
.age-gate-open { overflow: hidden; }
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 11, 20, .88);
  backdrop-filter: blur(14px);
}
.age-gate[hidden] { display: none; }
.age-gate-card {
  width: min(560px, 100%);
  padding: 35px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}
.age-gate-card h2 { font-size: 2.4rem; }
.age-gate-card p { color: var(--ink-soft); }
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.prose-page { max-width: 900px; padding-block: 60px; }
.prose-page header { margin-bottom: 30px; }
.prose-page h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.prose-page header p { color: var(--ink-soft); font-size: 1.08rem; }
.prose-card h2 { margin-top: 1.5em; font-size: 2rem; }
.prose-card h2:first-child { margin-top: 0; }
.not-found { min-height: 70vh; display: grid; place-content: center; justify-items: start; }
.error-code { color: var(--coral); font-size: 7rem; font-weight: 950; line-height: 1; }
.not-found h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
.reveal { animation: rise .65s ease both; }
.delay-1 { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .button.menu-button { display: inline-flex; }
  .main-nav {
    position: absolute;
    inset: 82px 20px auto;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card);
    box-shadow: var(--shadow);
  }
  .main-nav[data-open] { display: grid; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { min-height: 360px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-ribbon { grid-template-columns: repeat(3, 1fr); }
  .editorial-callout { grid-template-columns: 1fr; }
  .adult-entry { grid-template-columns: 1fr; }
  .adult-entry-actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .game-facts { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --shell: min(100% - 24px, 1180px); --radius: 18px; }
  .header-inner { min-height: 70px; }
  .main-nav { inset: 70px 12px auto; }
  .hero { padding-block: 42px; gap: 28px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero-art { min-height: 290px; border-radius: 30px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .game-card-body { padding: 13px; }
  .game-card p { display: none; }
  .card-actions { display: grid; }
  .category-ribbon { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 45px; }
  .section-heading { align-items: start; }
  .game-title { display: grid; }
  .listing-hero h1, .game-title h1, .slot-hero h1 { font-size: 3rem; }
  .legacy-player { max-height: none; min-height: 360px; }
  .content-card, .prose-card, .game-facts { padding: 20px; }
  .slot-hero-grid { grid-template-columns: 1fr; }
  .slot-frame, .slot-frame iframe { min-height: 520px; }
  .adult-entry-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
