:root {
  color-scheme: dark;
  --bg: #111522;
  --panel: #171d2c;
  --panel-strong: #20283a;
  --text: #f7f4ea;
  --muted: #c8ccdc;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #f3c766;
  --gold-deep: #b98225;
  --blue: #5db8ff;
  --green: #69d49b;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0%, rgba(243, 199, 102, 0.16), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(93, 184, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #151327 0%, #101827 46%, #16131d 100%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 21, 34, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.content-wrap,
.content-section,
.category-band {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-nav a,
.footer-inner a,
.mini-list a,
.back-link a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.footer-inner a:hover,
.mini-list a:hover,
.back-link a:hover {
  color: var(--gold);
}

.game-hero,
.page-hero {
  padding: 56px 0 28px;
}

.hero {
  padding: 28px 0 0;
}

.hero-inner {
  width: min(100% - 32px, 1320px);
  margin: 0 auto;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  padding: 38px 40px 30px;
  border: 1px solid rgba(243, 199, 102, 0.48);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 210, 255, 0.28), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(255, 43, 214, 0.22), transparent 34%),
    radial-gradient(circle at 9% 8%, rgba(243, 199, 102, 0.18), transparent 30%),
    repeating-radial-gradient(circle at 92% 14%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #26104a 0%, #141c4f 42%, #170d2f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 0 70px rgba(255, 43, 214, 0.08), 0 20px 58px rgba(0, 0, 0, 0.28);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 10px 14px auto;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 238, 156, 0.95) 0 2px, rgba(243, 199, 102, 0.35) 3px, transparent 4px) 0 0 / 34px 8px repeat-x;
  opacity: 0.9;
  pointer-events: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  align-items: center;
  gap: 38px;
}

.game-summary h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.game-summary h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(3.25rem, 4.35vw, 3.875rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 8px 34px rgba(255, 43, 214, 0.22);
}

.hero-copy h1 span {
  color: var(--gold);
  white-space: nowrap;
}

.hero-copy p,
.game-summary p,
.page-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-copy .hero-kicker {
  max-width: 720px;
  margin: 0 0 8px;
  color: #ff76df;
  font-size: clamp(1.38rem, 2vw, 1.68rem);
  font-weight: 900;
  line-height: 1.15;
  text-shadow: 0 0 24px rgba(255, 67, 214, 0.32);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #18110a;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(185, 130, 37, 0.28);
}

.button:hover {
  filter: brightness(1.06);
}

.small-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.hero-feature,
.game-cover {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-feature {
  width: min(100%, 500px);
  justify-self: end;
}

.hero-feature img,
.game-cover img,
.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-feature img {
  height: 165px;
  object-fit: contain;
  background: #0e1320;
}

.slot-ornament {
  position: relative;
  justify-self: end;
  width: min(100%, 390px);
  padding: 16px;
  border: 1px solid rgba(243, 199, 102, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 43, 214, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(17, 12, 39, 0.92), rgba(8, 12, 27, 0.9));
  box-shadow: 0 0 34px rgba(0, 210, 255, 0.2), 0 0 46px rgba(255, 43, 214, 0.16), inset 0 0 30px rgba(243, 199, 102, 0.08);
}

.reel-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reel-strip span {
  display: flex;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 199, 102, 0.72);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #20143a, #0a0f22);
  color: #ff3f45;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 28px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0 15px rgba(255, 63, 69, 0.44);
}

.reel-strip span:nth-child(2) {
  color: #55d8ff;
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  text-shadow: 0 0 18px rgba(85, 216, 255, 0.48);
}

.slot-marquee,
.slot-count {
  width: fit-content;
  border: 1px solid rgba(243, 199, 102, 0.5);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(11, 13, 26, 0.72);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.slot-marquee {
  margin: 0 auto 12px;
  padding: 5px 14px;
  color: #1a0d10;
  background: linear-gradient(180deg, #fff2a5, var(--gold));
  font-size: 0.78rem;
  box-shadow: 0 0 22px rgba(243, 199, 102, 0.34);
}

.slot-count {
  margin: 12px auto 0;
  padding: 4px 10px;
  font-size: 0.72rem;
}

.content-section {
  padding: 52px 0;
}

.home-games {
  padding-top: 26px;
  padding-bottom: 28px;
}

.content-section.compact {
  padding: 28px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2,
.article-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.home-games .section-heading {
  margin-bottom: 12px;
}

.home-games .section-heading h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.1rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
  margin: 27px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 199, 102, 0.34);
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(243, 199, 102, 0.3);
  border-radius: 12px;
  background: rgba(19, 13, 50, 0.64);
  color: #efe8ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(255, 119, 223, 0.78);
  color: var(--text);
  outline: none;
  background: rgba(35, 20, 82, 0.76);
}

.filter-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(243, 199, 102, 0.24);
}

.filter-button.is-active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fff0a2, var(--gold) 55%, var(--gold-deep));
  color: #18110a;
  box-shadow: 0 0 20px rgba(243, 199, 102, 0.24);
}

.game-card.is-filtered-out {
  display: none;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-game-grid {
  gap: 15px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 44, 0.82);
  overflow: hidden;
}

.game-card-link {
  display: block;
  min-height: 100%;
  text-decoration: none;
}

.game-card-body {
  padding: 18px;
}

.game-card h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.home-games .game-card img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #0e1320;
}

.home-games .game-card-body {
  padding: 10px 12px 12px;
}

.home-games .game-card h3 {
  min-height: 2.36em;
  margin: 2px 0 8px;
  font-size: 1rem;
  line-height: 1.18;
}

.home-games .eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 0.68rem;
}

.featured-chip {
  padding: 2px 6px;
  border: 1px solid rgba(243, 199, 102, 0.38);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-games .small-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px 0;
}

.mini-list {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(32, 40, 58, 0.76);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 29, 44, 0.72);
}

.steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #07140d;
  font-weight: 800;
}

.steps h3 {
  margin: 14px 0 6px;
}

.steps p,
.article-copy p,
.notice {
  color: var(--muted);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb span::before {
  content: ">";
  margin-right: 8px;
  color: var(--muted);
}

.game-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 32px;
}

.game-summary {
  padding: 8px 0;
}

.play-now {
  min-width: 220px;
  min-height: 58px;
  margin-top: 10px;
  font-size: 1.02rem;
}

.article-copy {
  width: min(100%, 820px);
}

.article-copy p {
  margin: 0 0 18px;
}

.back-link {
  margin-top: 24px;
}

.notice {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(32, 40, 58, 0.76);
}

.narrow {
  width: min(100% - 32px, 860px);
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(11, 14, 23, 0.74);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner p {
  max-width: 720px;
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.not-found {
  min-height: 100vh;
}

@media (max-width: 920px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-detail {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-inner {
    max-width: none;
  }

  .hero-panel {
    min-height: 0;
  }

  .hero-main {
    grid-template-columns: 1fr;
  }

  .slot-ornament {
    display: none;
  }

  .game-grid,
  .category-band,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-inner,
  .footer-inner,
  .content-wrap,
  .content-section,
  .category-band,
  .hero-inner,
  .narrow {
    width: min(100% - 24px, 1320px);
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .game-hero,
  .page-hero {
    padding-top: 34px;
  }

  .game-summary h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-feature {
    justify-self: stretch;
    width: 100%;
  }

  .hero-feature img {
    height: 160px;
  }

  .game-grid,
  .category-band,
  .steps {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 1279px) {
  .home-game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 999px) {
  .home-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .header-inner {
    min-height: auto;
    padding: 10px 0 9px;
    gap: 7px;
  }

  .brand {
    width: 100%;
    line-height: 1.2;
  }

  .site-nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 5px;
  }

  .site-nav a {
    font-size: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero {
    padding: 18px 0 0;
  }

  .hero-inner {
    max-width: none;
  }

  .hero-panel {
    padding: 22px 22px 20px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 12% 0%, rgba(243, 199, 102, 0.12), transparent 32%),
      radial-gradient(circle at 92% 12%, rgba(255, 43, 214, 0.13), transparent 36%),
      linear-gradient(135deg, #241143 0%, #151946 52%, #140d29 100%);
  }

  .hero-panel::before {
    display: none;
  }

  .hero-copy .eyebrow {
    margin-bottom: 3px;
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    margin-bottom: 5px;
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-copy .hero-kicker {
    margin-bottom: 7px;
    font-size: 1.22rem;
    line-height: 1.18;
  }

  .hero-copy p {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .home-games {
    padding-top: 22px;
  }

  .filter-bar {
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .filter-button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .home-games .section-heading {
    margin-bottom: 10px;
  }

  .home-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 519px) {
  .home-game-grid {
    grid-template-columns: 1fr;
  }
}
