@font-face {
  font-family: "Display";
  src: local("Arial Black"), local("Helvetica Neue");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f1eee8;
  --surface: #e8e3dc;
  --surface-strong: #dcd5cc;
  --text: #181614;
  --muted: #665f58;
  --line: rgba(24, 22, 20, 0.16);
  --accent: #c83d2f;
  --accent-strong: #a82e24;
  --accent-text: #fff7ee;
  --gold: #bd873c;
  --shadow: 0 20px 60px rgba(67, 36, 24, 0.15);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11100f;
  --surface: #1b1917;
  --surface-strong: #25211e;
  --text: #f3ede4;
  --muted: #b6aca1;
  --line: rgba(243, 237, 228, 0.14);
  --accent: #d44b3c;
  --accent-strong: #ee6453;
  --accent-text: #fff8f0;
  --gold: #c69a56;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #11100f;
    --surface: #1b1917;
    --surface-strong: #25211e;
    --text: #f3ede4;
    --muted: #b6aca1;
    --line: rgba(243, 237, 228, 0.14);
    --accent: #d44b3c;
    --accent-strong: #ee6453;
    --accent-text: #fff8f0;
    --gold: #c69a56;
    --shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  content: "";
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

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

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

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  width: min(1380px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand img {
  width: 138px;
  height: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.2rem);
  white-space: nowrap;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 0.25s ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--accent-strong);
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.theme-toggle,
.menu-toggle {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.theme-icon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 7px -5px 0 -2px var(--surface);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: transform 0.28s var(--ease), background 0.28s ease, box-shadow 0.28s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button:active {
  transform: scale(0.98);
}

.button-small {
  min-height: 42px;
  padding-inline: 1.15rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  gap: 4px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  min-height: min(720px, calc(100dvh - 72px));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5.5rem) 0 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0rem, 3vw, 3rem);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Display", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 1.3rem;
  max-width: 680px;
  font-size: clamp(3.3rem, 4vw, 4rem);
  line-height: 0.94;
  font-weight: 800;
}

h1 strong {
  color: var(--accent-strong);
  font-style: italic;
  line-height: 1.1;
  padding-bottom: 0.12em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 35ch;
  margin-bottom: 1.8rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

.text-link {
  position: relative;
  font-weight: 750;
  white-space: nowrap;
}

.text-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  content: "";
  background: var(--text);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hero-media:hover img {
  transform: scale(1.025);
}

.media-action {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(19, 16, 14, 0.78);
  color: #fff8f0;
  font-size: 0.86rem;
  font-weight: 750;
  backdrop-filter: blur(14px);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.95rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticker-track i {
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.category-section,
.flow-section {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading h2,
.mood-copy h2,
.flow-panel h2,
.cta-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.section-heading p,
.mood-copy > p,
.flow-panel > div > p,
.cta-section p {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.9fr;
  grid-template-rows: 590px;
  gap: 1rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border-radius: var(--radius);
  color: #fff8f0;
  background-image: linear-gradient(to top, rgba(17, 11, 8, 0.92), rgba(17, 11, 8, 0.05) 68%), url("assets/88big-game-strip.webp");
  background-size: 300% 100%, 300% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.game-card-slot {
  background-position: 0 0, 0 0;
}

.game-card-live {
  background-position: 50% 0, 50% 0;
  transform: translateY(2.5rem);
}

.game-card-arcade {
  background-position: 100% 0, 100% 0;
  transform: translateY(-1.5rem);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 24px 60px rgba(68, 25, 15, 0.24);
}

.game-index {
  align-self: flex-start;
  min-width: 42px;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 13, 10, 0.72);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  text-align: center;
}

.game-card h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1;
}

.game-card p {
  max-width: 28ch;
  margin-bottom: 1.2rem;
  color: rgba(255, 248, 240, 0.8);
}

.card-link {
  display: inline-flex;
  gap: 0.55rem;
  font-weight: 780;
}

.mood-section {
  width: min(1500px, calc(100% - 48px));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  align-items: stretch;
  gap: 1rem;
}

.mood-image {
  min-height: 720px;
  overflow: hidden;
  border-radius: var(--radius);
}

.mood-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mood-copy {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  padding: clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.mood-number {
  position: absolute;
  top: -0.22em;
  right: -0.08em;
  color: color-mix(in srgb, var(--accent) 14%, transparent);
  font-family: "Display", Arial, sans-serif;
  font-size: clamp(12rem, 24vw, 25rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

.mood-copy > *:not(.mood-number) {
  position: relative;
  z-index: 1;
}

.mood-points {
  width: 100%;
  margin: 2rem 0;
  display: grid;
  gap: 0.65rem;
}

.mood-points span {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 720;
}

.flow-panel {
  padding: clamp(2rem, 6vw, 6rem);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feeling-step;
}

.flow-list li {
  counter-increment: feeling-step;
  position: relative;
  min-height: 118px;
  padding: 1.2rem 0 1.2rem 5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-list li::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: "0" counter(feeling-step);
  color: var(--accent-strong);
  font-family: "Display", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
}

.flow-list strong {
  font-size: 1.2rem;
}

.flow-list span {
  color: var(--muted);
}

.cta-section {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto clamp(5rem, 10vw, 9rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 2rem;
}

.cta-section img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.cta-section h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.cta-section p {
  color: rgba(255, 248, 240, 0.82);
}

.cta-section .button {
  border-color: rgba(255, 255, 255, 0.25);
  background: #fff8f0;
  color: #642018;
  box-shadow: none;
}

.cta-section .button:hover {
  background: #efe2d4;
}

.site-footer {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 3rem 0 2.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p,
.responsible-note,
.copyright {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  justify-self: end;
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.responsible-note {
  max-width: 640px;
}

.responsible-note strong {
  margin-right: 0.35rem;
  color: var(--accent-strong);
}

.copyright {
  justify-self: end;
  align-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker 30s linear infinite;
  }

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

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: 130px 1fr auto;
    gap: 1rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
  }

  h1 {
    font-size: clamp(2.8rem, 5vw, 3.45rem);
  }

  .category-grid {
    grid-template-rows: 520px;
  }
}

@media (max-width: 880px) {
  .nav-shell {
    width: min(100% - 32px, 1380px);
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 0.8rem;
  }

  .nav-actions .button {
    display: none;
  }

  .hero,
  .category-section,
  .flow-section,
  .mood-section,
  .cta-section,
  .site-footer {
    width: min(100% - 32px, 1380px);
  }

  .hero {
    min-height: auto;
    padding: 3.5rem 0 2rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    padding-left: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 11vw, 5.8rem);
  }

  .hero-line {
    white-space: normal;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .category-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 420px);
  }

  .game-card,
  .game-card-live,
  .game-card-arcade,
  .game-card:hover {
    transform: none;
  }

  .mood-section {
    grid-template-columns: 1fr;
  }

  .mood-image {
    min-height: 480px;
  }

  .flow-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-section {
    grid-template-columns: 86px 1fr;
  }

  .cta-section img {
    width: 82px;
    height: 82px;
  }

  .cta-section .button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 600px) {
  .nav-shell {
    height: 64px;
  }

  .brand img {
    width: 112px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
  }

  .hero-media img {
    object-fit: contain;
    object-position: center;
  }

  .media-action {
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .category-section,
  .flow-section {
    padding: 5rem 0;
  }

  .category-grid {
    grid-template-rows: repeat(3, 380px);
  }

  .mood-image {
    min-height: 360px;
  }

  .mood-copy {
    padding: 2rem;
  }

  .mood-number {
    font-size: 13rem;
  }

  .flow-panel {
    padding: 2rem 1.4rem;
  }

  .flow-list li {
    padding-left: 4rem;
  }

  .cta-section {
    grid-template-columns: 64px 1fr;
    padding: 1.4rem;
    gap: 1rem;
  }

  .cta-section img {
    width: 62px;
    height: 62px;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .copyright {
    justify-self: start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .media-action {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header {
    background: var(--bg);
  }
}

/* Futuristic visual pass -------------------------------------------------- */
:root {
  --bg: #eee9e1;
  --surface: rgba(224, 217, 207, 0.82);
  --surface-strong: #d7cec2;
  --text: #171513;
  --muted: #6d655c;
  --line: rgba(35, 29, 25, 0.16);
  --accent: #db4135;
  --accent-strong: #bb2d25;
  --accent-soft: rgba(219, 65, 53, 0.12);
  --accent-text: #fffaf3;
  --gold: #ba8035;
  --glow: rgba(219, 65, 53, 0.22);
  --shadow: 0 36px 90px rgba(66, 31, 22, 0.18);
  --radius: 20px;
}

[data-theme="dark"] {
  --bg: #08090a;
  --surface: rgba(20, 20, 20, 0.86);
  --surface-strong: #171717;
  --text: #f4efe8;
  --muted: #aaa198;
  --line: rgba(246, 237, 226, 0.13);
  --accent: #ef4f40;
  --accent-strong: #ff6657;
  --accent-soft: rgba(239, 79, 64, 0.13);
  --accent-text: #fff9f2;
  --gold: #d7a45c;
  --glow: rgba(239, 79, 64, 0.28);
  --shadow: 0 42px 110px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08090a;
    --surface: rgba(20, 20, 20, 0.86);
    --surface-strong: #171717;
    --text: #f4efe8;
    --muted: #aaa198;
    --line: rgba(246, 237, 226, 0.13);
    --accent: #ef4f40;
    --accent-strong: #ff6657;
    --accent-soft: rgba(239, 79, 64, 0.13);
    --accent-text: #fff9f2;
    --gold: #d7a45c;
    --glow: rgba(239, 79, 64, 0.28);
    --shadow: 0 42px 110px rgba(0, 0, 0, 0.5);
  }
}

body {
  position: relative;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 74% 10%, var(--accent-soft), transparent 24rem),
    radial-gradient(circle at 10% 42%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 30rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 96%, white) 0%, var(--bg) 52rem);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--bg) 82%, transparent);
}

.nav-shell {
  width: min(1460px, calc(100% - 64px));
  height: 82px;
  grid-template-columns: 172px 1fr auto;
}

.brand {
  width: max-content;
  transition: filter 0.3s ease, transform 0.3s var(--ease);
}

.brand:hover {
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--gold) 45%, transparent));
  transform: translateY(-1px);
}

.brand img {
  width: 148px;
}

.main-nav {
  gap: clamp(1.4rem, 2.8vw, 2.8rem);
}

.main-nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.main-nav a::after {
  position: absolute;
  left: 50%;
  bottom: -0.85rem;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 14px var(--glow);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: var(--text);
}

.theme-toggle,
.menu-toggle {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, white 10%, transparent);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  transform: rotate(45deg);
  transition: border-color 0.25s ease, transform 0.35s var(--ease), background 0.25s ease;
}

.theme-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: rotate(45deg) scale(1.05);
}

.theme-icon {
  transform: rotate(-45deg);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 52px;
  border-radius: 12px 4px 12px 4px;
  letter-spacing: 0.015em;
  box-shadow: 0 14px 38px color-mix(in srgb, var(--accent) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button::before {
  position: absolute;
  inset: -40% auto -40% -50%;
  z-index: -1;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease);
}

.button:hover::before {
  left: 116%;
}

.button-small {
  min-height: 46px;
  padding-inline: 1.4rem;
}

.hero {
  position: relative;
  width: min(1460px, calc(100% - 64px));
  min-height: min(790px, calc(100dvh - 82px));
  padding: clamp(3rem, 6vw, 6rem) 0 4.5rem;
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1.24fr);
  gap: clamp(3rem, 6vw, 7rem);
}

.hero::before {
  position: absolute;
  left: -0.08em;
  bottom: -0.25em;
  z-index: -1;
  content: "88";
  color: transparent;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(18rem, 34vw, 34rem);
  letter-spacing: -0.18em;
  line-height: 1;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 5%, transparent);
  pointer-events: none;
}

.hero-copy {
  padding-left: clamp(0rem, 2.5vw, 2.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
  font-size: 0.71rem;
  letter-spacing: 0.18em;
}

.eyebrow span {
  position: relative;
  width: 26px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

.eyebrow span::before {
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

h1,
h2,
h3 {
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.55rem;
  font-size: clamp(3.4rem, 4.85vw, 5.25rem);
  letter-spacing: -0.065em;
  line-height: 0.89;
  text-wrap: balance;
}

h1 strong {
  position: relative;
  display: inline-block;
  padding-right: 0.08em;
  color: var(--accent-strong);
  text-shadow: 0 0 34px color-mix(in srgb, var(--accent) 14%, transparent);
}

h1 strong em {
  position: relative;
  z-index: 1;
  font-style: inherit;
}

h1 strong em::after {
  position: absolute;
  left: 0.08em;
  right: -0.02em;
  bottom: 0.03em;
  z-index: -1;
  height: 0.14em;
  content: "";
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--gold) 75%, var(--accent)));
  opacity: 0.5;
  transform: skewX(-18deg);
}

.hero-lede {
  max-width: 37ch;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
}

.hero-actions {
  gap: 1rem;
}

.text-link {
  padding: 0.5rem 0;
}

.text-link span,
.card-link b,
.media-action b {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.text-link:hover span,
.game-card:hover .card-link b,
.hero-media:hover .media-action b {
  transform: translate(3px, -3px);
}

.hero-signals {
  margin-top: clamp(2.5rem, 5vw, 4.4rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-signals span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-signals b {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
  font-family: "Avenir Next", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.hero-media {
  --pointer-x: 72%;
  --pointer-y: 24%;
  aspect-ratio: 16 / 10.35;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, var(--line));
  border-radius: 28px 7px 28px 7px;
  background: #16110e;
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 221, 173, 0.22), transparent 24%),
    linear-gradient(112deg, transparent 50%, rgba(255, 75, 55, 0.09));
  pointer-events: none;
}

.hero-media::after {
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -90px 90px rgba(7, 4, 3, 0.22);
}

.hero-media img {
  filter: contrast(1.04) saturate(1.04);
}

.hero-media:hover img {
  transform: scale(1.035);
}

.media-meta {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(8, 7, 6, 0.54);
  color: rgba(255, 248, 240, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.11em;
  backdrop-filter: blur(12px);
}

.media-meta i,
.section-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6858;
  box-shadow: 0 0 12px #ff4c3d;
  animation: signalPulse 2s ease-in-out infinite;
}

.media-corner {
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 38px;
  pointer-events: none;
}

.media-corner-top {
  top: 0.75rem;
  right: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.62);
}

.media-corner-bottom {
  left: 0.75rem;
  bottom: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
}

.media-action {
  z-index: 4;
  right: 1.3rem;
  bottom: 1.3rem;
  border-radius: 11px 3px 11px 3px;
  background: rgba(11, 9, 8, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.ticker {
  position: relative;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(12px);
}

.ticker::before,
.ticker::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 10vw;
  content: "";
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-track {
  padding: 1.05rem 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}

.ticker-track i {
  width: 34px;
  box-shadow: 0 0 10px var(--glow);
}

.category-section {
  width: min(1400px, calc(100% - 64px));
  padding: clamp(6.5rem, 11vw, 10.5rem) 0 clamp(7rem, 12vw, 11rem);
}

.section-heading {
  max-width: none;
  margin-bottom: 4.2rem;
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 710px;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-wrap: balance;
}

.section-heading p {
  max-width: 54ch;
}

.section-status {
  min-width: 190px;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.section-status > span {
  color: var(--muted);
}

.section-status strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: inherit;
}

.category-grid {
  grid-template-columns: 1.22fr 0.94fr 0.9fr;
  grid-template-rows: 620px;
  gap: 1.15rem;
}

.game-card {
  --pointer-x: 50%;
  --pointer-y: 35%;
  isolation: isolate;
  padding: 1.35rem;
  border: 1px solid rgba(244, 202, 141, 0.2);
  border-radius: 20px 5px 20px 5px;
  background-image: linear-gradient(to top, rgba(8, 7, 6, 0.96), rgba(8, 7, 6, 0.06) 70%), url("assets/88big-game-strip.webp");
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 28px 80px rgba(0, 0, 0, 0.18);
  transition: transform 0.55s var(--ease), border-color 0.35s ease, box-shadow 0.55s var(--ease), background-size 0.8s var(--ease);
}

.game-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(255, 156, 96, 0.24), transparent 42%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.game-card::after {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  z-index: -1;
  height: 18%;
  content: "";
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.09), transparent);
  opacity: 0;
  transform: skewY(-3deg);
  transition: top 0.8s var(--ease), opacity 0.25s ease;
  pointer-events: none;
}

.game-card:hover {
  border-color: rgba(255, 164, 103, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 36px 90px rgba(79, 22, 14, 0.32), 0 0 36px rgba(239, 79, 64, 0.09);
}

.game-card:hover::before,
.game-card:hover::after {
  opacity: 1;
}

.game-card:hover::after {
  top: 102%;
}

.game-card-slot:hover {
  transform: translateY(-10px);
}

.game-card-live {
  transform: translateY(2.25rem);
}

.game-card-live:hover {
  transform: translateY(1.5rem);
}

.game-card-arcade {
  transform: translateY(-1.25rem);
}

.game-card-arcade:hover {
  transform: translateY(-2rem);
}

.game-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.game-index {
  min-width: 45px;
  padding: 0.52rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px 3px 10px 3px;
  background: rgba(10, 8, 7, 0.68);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  backdrop-filter: blur(12px);
}

.game-mode {
  color: rgba(255, 248, 240, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.game-card > div:last-child {
  position: relative;
  padding: 1.5rem 0.35rem 0.35rem;
}

.game-card h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(2.25rem, 3vw, 3.65rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.game-card p {
  font-size: 0.96rem;
}

.card-link {
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

@keyframes signalPulse {
  0%, 100% { opacity: 0.48; transform: scale(0.78); }
  50% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .category-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
  }

  .category-grid .reveal:nth-child(3) {
    transition-delay: 0.16s;
  }
}

@media (max-width: 1180px) {
  .nav-shell,
  .hero,
  .category-section {
    width: min(100% - 48px, 1400px);
  }

  .hero {
    grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
  }

  h1 {
    font-size: clamp(3.1rem, 5vw, 4.2rem);
  }

  .category-grid {
    grid-template-rows: 550px;
  }
}

@media (max-width: 880px) {
  .nav-shell,
  .hero,
  .category-section {
    width: min(100% - 32px, 1400px);
  }

  .nav-shell {
    height: 72px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 4.5rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-copy {
    max-width: 680px;
  }

  h1 {
    font-size: clamp(3.5rem, 11vw, 6.2rem);
  }

  .hero-signals {
    max-width: 560px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  .section-status {
    display: none;
  }

  .category-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 460px);
  }

  .game-card,
  .game-card-live,
  .game-card-arcade,
  .game-card:hover,
  .game-card-live:hover,
  .game-card-arcade:hover {
    transform: none;
  }

  .game-card h3 {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

@media (max-width: 600px) {
  body::after {
    background-size: 42px 42px;
  }

  .hero {
    padding-top: 3.4rem;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.65rem);
    line-height: 0.92;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: auto;
    min-width: 172px;
  }

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

  .hero-signals span:last-child {
    display: none;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 20px 5px 20px 5px;
  }

  .hero-media img {
    object-fit: cover;
  }

  .media-meta {
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 5rem);
    overflow: hidden;
    white-space: nowrap;
  }

  .media-corner {
    display: none;
  }

  .category-section {
    padding: 6rem 0 7rem;
  }

  .section-heading h2 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  .category-grid {
    grid-template-rows: repeat(3, 410px);
  }

  .game-card {
    border-radius: 16px 4px 16px 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .media-meta i,
  .section-status i {
    animation: none;
  }
}
