@font-face {
  font-family: 'League Spartan';
  src: url('Fonts/League_Spartan/LeagueSpartan-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('Fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('Fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

@font-face {
  font-family: 'Luckiest Guy';
  src: url('Fonts/Luckiest_Guy/LuckiestGuy-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Love Malia';
  src: url('Fonts/love_malia/Love\ Malia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Button Anim Defs */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

:root {
  /* Default (Dark) Theme */
  color-scheme: dark;
  --bg: #0b0c10;
  --bg-soft: #141721;
  --surface: #1c202d;
  --surface-strong: #252b3d;
  --text: #fcfbfa;
  --text-muted: #b0b8c6;
  --line: rgba(255, 255, 255, 0.1);
  --brand-red: #FF006C;
  --coral: #ff2d87; /* secondary accent */
  --amber: #f5b738;
  --mint: #4ef0b8;
  --cyan: #56c8ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --anim--hover-time: 400ms;
  --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
  --glass-bg: rgba(30, 32, 40, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(24px) saturate(200%);
  --glass-shadow: 0 16px 42px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  --ambient-bg: radial-gradient(circle at 15% 20%, rgba(255, 0, 108, 0.15), transparent 45%),
                radial-gradient(circle at 85% 60%, rgba(86, 200, 255, 0.12), transparent 45%),
                var(--bg);
  --radius: 32px;
  --section-pad: clamp(4rem, 9vw, 7rem);
  --shell: min(1120px, calc(100% - 2rem));
  --font-primary: 'League Spartan', 'Montserrat', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: 'League Spartan', 'Montserrat', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-family: var(--font-primary);
    
  /* Liquid Glass UI Variables (Dark Mode Default) */
  --c-glass: #bbbbbc;
  --c-light: #fff;
  --c-dark: #000;
  --glass-reflex-dark: 2;
  --glass-reflex-light: 0.3;
  --saturation: 180%;
  --lg-bg: rgba(20, 15, 30, 0.7);
  --lg-blur: blur(24px) saturate(200%);
  --lg-border: 1px solid rgba(255, 100, 200, 0.15);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f9fa;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ededf2;
  --text: #111827;
  --text-muted: #525d6f;
  --line: rgba(0, 0, 0, 0.08);
  --brand-red: #FF006C;
  --coral: #ff2d87;
  --amber: #c48a00;
  --mint: #0a8f5f;
  --cyan: #0077aa;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-blur: blur(24px) saturate(180%);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  --ambient-bg: radial-gradient(circle at 15% 20%, rgba(255, 0, 108, 0.06), transparent 45%),
                radial-gradient(circle at 85% 60%, rgba(0, 119, 170, 0.06), transparent 45%),
                var(--bg);

  /* Liquid Glass UI Variables (Light Mode) */
  --c-glass: #bbbbbc;
  --c-light: #fff;
  --c-dark: #000;
  --glass-reflex-dark: 1;
  --glass-reflex-light: 1;
  --saturation: 180%;
  --lg-bg: rgba(250, 245, 255, 0.6);
  --lg-blur: blur(24px) saturate(200%);
  --lg-border: 1px solid rgba(255, 0, 108, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  position: relative;
  z-index: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  transition: color 300ms ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"],
.selectable-text {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--ambient-bg);
  pointer-events: none;
}

/* Consumer AI panel: uses the site's liquid-glass language without covering primary content. */
.consumer-ai { position: fixed !important; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 2147483000; display: block !important; visibility: visible !important; opacity: 1 !important; pointer-events: none; font-family: var(--font-primary); isolation: isolate; }
.consumer-ai-launcher, .consumer-ai-panel { pointer-events: auto; }
.consumer-ai-launcher { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; padding: .65rem; border: 1px solid var(--glass-border); border-radius: 50%; background: var(--brand-red); box-shadow: var(--shadow); cursor: pointer; }
.consumer-ai-launcher img { width: 100%; height: 100%; object-fit: contain; }
.consumer-ai-panel { width: min(390px, calc(100vw - 2rem)); max-height: min(640px, calc(100vh - 7rem)); overflow: hidden; display: flex; flex-direction: column; margin-bottom: .75rem; border: 1px solid var(--glass-border); border-radius: 24px; background: var(--lg-bg); backdrop-filter: var(--lg-blur); box-shadow: var(--glass-shadow); }
.consumer-ai-panel[hidden] { display: none; }
.consumer-ai-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.1rem 1.2rem .85rem; border-bottom: 1px solid var(--line); }
.consumer-ai-header h2, .consumer-ai-header p { margin: 0; }
.consumer-ai-header h2 { font-size: 1.35rem; }
.consumer-ai-close { border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.consumer-ai-messages { min-height: 180px; max-height: 350px; overflow-y: auto; display: flex; flex-direction: column; gap: .65rem; padding: 1rem; }
.consumer-ai-message { max-width: 88%; margin: 0; padding: .65rem .8rem; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .92rem; line-height: 1.45; }
.consumer-ai-message.is-assistant { align-self: flex-start; background: var(--surface-strong); color: var(--text); }
.consumer-ai-message.is-user { align-self: flex-end; background: var(--brand-red); color: #fff; }
.consumer-ai-ticket { align-self: flex-start; width: min(100%, 18rem); min-height: 2.75rem; border: 1px solid var(--mint); border-radius: 10px; padding: .65rem .8rem; background: color-mix(in srgb, var(--mint) 12%, transparent); color: var(--mint); cursor: pointer; font: inherit; font-weight: 700; text-align: center; }
.consumer-ai-ticket:hover, .consumer-ai-ticket:focus-visible { background: var(--mint); color: var(--bg); }
.consumer-ai-game { align-self: flex-start; width: min(100%, 18rem); min-height: 2.65rem; border: 1px solid var(--cyan); border-radius: 10px; padding: .6rem .8rem; background: color-mix(in srgb, var(--cyan) 12%, transparent); color: var(--text); cursor: pointer; font: inherit; font-weight: 700; text-align: center; }
.consumer-ai-game:hover, .consumer-ai-game:focus-visible { background: var(--cyan); color: var(--bg); }
.consumer-ai-form { padding: .8rem; border-top: 1px solid var(--line); }
.consumer-ai-form textarea { width: 100%; resize: vertical; min-height: 3.2rem; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; }
.consumer-ai-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .6rem; }
.consumer-ai-search { border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font: inherit; }
.consumer-ai-search.is-active { color: var(--mint); }
.consumer-ai-send { padding: .55rem .85rem; }
.anti-spam-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.turnstile-slot { min-height: 65px; margin-top: .55rem; display: flex; justify-content: center; align-items: center; }
@media (max-width: 520px) {
  .consumer-ai { right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom)); left: max(.5rem, env(safe-area-inset-left)); width: calc(100% - 1rem); }
  .consumer-ai-launcher { display: grid; margin-left: auto; position: relative; z-index: 1; }
  .consumer-ai-panel { width: 100%; max-width: 100%; max-height: min(76dvh, 620px); margin-bottom: .5rem; border-radius: 18px; }
  .consumer-ai-messages { min-height: 120px; max-height: min(42dvh, 320px); padding: .75rem; }
  .consumer-ai-message { max-width: 92%; font-size: .88rem; }
  .consumer-ai-form { padding: .65rem; }
  .consumer-ai-form textarea { min-height: 3rem; max-height: 7rem; }
  .consumer-ai-actions { flex-wrap: wrap; }
  .consumer-ai-send { min-width: 5.5rem; }
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
}

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

p {
  color: var(--text-muted);
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 14vw, 7rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

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

.section-shell,
.nav-shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow-shell {
  max-width: 760px;
}

.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 2rem));
  z-index: 50;
  border-radius: 999px;
  border: none;
  
  /* Liquid Glass UI from user snippet */
  --border-width: 1px;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 400ms cubic-bezier(1, 0.0, 0.4, 1);
  will-change: transform, backdrop-filter;
}

.site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

.site-header.nav-active,
.site-header.nav-active::after {
  border-radius: 24px;
}

[data-theme="light"] .site-header .brand,
[data-theme="light"] .site-header .site-nav a {
  color: #FF006C;
}

[data-theme="light"] .site-header .site-nav a[style*="--mint"] {
  color: #FF006C !important;
}

.nav-shell {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2rem 0 2.25rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mascot,
.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.brand:hover .brand-mascot,
.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-wordmark {
  height: 24px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Default / Dark Theme: Show white mascot, hide light-theme mascot */
.brand-mascot-dark,
.brand-mascot-white,
.brand-wordmark-white,
.brand-logo-white {
  display: inline-block;
}
.brand-mascot-light,
.brand-mascot-black,
.brand-wordmark-black,
.brand-logo-black {
  display: none;
}

/* Light Theme: Show pink/light-theme mascot, hide dark-theme mascot */
[data-theme="light"] .brand-mascot-dark,
[data-theme="light"] .brand-mascot-white,
[data-theme="light"] .brand-wordmark-white,
[data-theme="light"] .brand-logo-white {
  display: none !important;
}
[data-theme="light"] .brand-mascot-light,
[data-theme="light"] .brand-mascot-black,
[data-theme="light"] .brand-wordmark-black,
[data-theme="light"] .brand-logo-black {
  display: inline-block !important;
}

/* Explicit Dark Theme */
[data-theme="dark"] .brand-mascot-dark,
[data-theme="dark"] .brand-mascot-white,
[data-theme="dark"] .brand-wordmark-white,
[data-theme="dark"] .brand-logo-white {
  display: inline-block !important;
}
[data-theme="dark"] .brand-mascot-light,
[data-theme="dark"] .brand-mascot-black,
[data-theme="dark"] .brand-wordmark-black,
[data-theme="dark"] .brand-logo-black {
  display: none !important;
}

.brand-text {
  font-family: var(--font-primary, 'League Spartan', sans-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 1.25rem);
    top: 0.85rem;
  }
  .nav-shell {
    padding: 0 0.75rem 0 1.25rem;
    gap: 0.5rem;
    min-height: 3.85rem;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-left: 0.15rem;
  }
  .brand-mascot,
  .brand-logo {
    height: 42px;
    width: auto;
    margin-right: 0;
  }
  .brand-wordmark,
  .brand-text {
    display: none !important;
  }
  .header-controls {
    gap: 0.35rem;
  }
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

#google_translate_element {
  position: absolute;
  top: -9999px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Hide the Google Translate toolbar that appears at top of page */
.goog-te-banner-frame,
.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

#lang-select {
  display: none; /* hidden - replaced by custom dropdown */
}

/* Custom Language Dropdown */
.lang-dropdown {
  position: relative;
  z-index: 2;
}

.lang-dropdown-toggle {
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding-inline: 0.85em;
  padding-block: 0.5em;
  letter-spacing: -0.02em;
}

.lang-dropdown-toggle::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

.lang-dropdown-toggle:hover::after { --angle-1: -125deg; }

.lang-dropdown-chevron {
  font-size: 0.6em;
  opacity: 0.6;
  transition: transform 200ms ease;
  margin-left: 0.1em;
}

.lang-dropdown.is-open .lang-dropdown-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-0.4rem);
  min-width: 9rem;
  background: linear-gradient(
    -75deg,
    rgba(20, 20, 30, 0.9),
    rgba(40, 40, 55, 0.95),
    rgba(20, 20, 30, 0.9)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),
    0 8px 32px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 100;
}

.lang-dropdown.is-open .lang-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.lang-dropdown-menu button {
  all: unset;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
  box-sizing: border-box;
}

.lang-dropdown-menu button:hover,
.lang-dropdown-menu button.is-selected {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.lang-dropdown-menu button.is-selected {
  color: #fff;
  font-weight: 700;
}

.theme-toggle {
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding-inline: 0.65em;
  padding-block: 0.5em;
  letter-spacing: -0.02em;
  box-sizing: border-box;
}

.theme-toggle:hover {
  transform: scale(0.97);
}

.theme-toggle::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.theme-toggle:hover::after {
  --angle-1: -125deg;
}

.theme-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.95rem;
  padding: 0 !important;
  text-shadow: none !important;
}

.theme-toggle span::after {
  display: none !important;
}

.nav-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-content: center;
  gap: 0.34rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 4.5rem 1rem auto;
  display: grid;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 24, 33, 0.98);
  padding: 0.7rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.65rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Sliding indicator pill */
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999vw;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.07)
  );
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.15),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    left 250ms cubic-bezier(0.25, 1, 0.5, 1),
    width 250ms cubic-bezier(0.25, 1, 0.5, 1),
    opacity 180ms ease;
}

/* Conic border on the indicator */
.nav-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  top: -0.5px;
  left: -0.5px;
  padding: 1px;
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.4)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.4);
}

.site-nav a {
  position: relative;
  z-index: 1;
  border-radius: 999vw;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  padding-inline: 0.85em;
  padding-block: 0.5em;
  transition: color 200ms ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 82svh, 760px);
  align-items: end;
  overflow: hidden;
  padding-block: 7.75rem 4rem;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

/* Default / Dark Theme: show black art, hide white art */
.hero-image-black {
  display: block;
}
.hero-image-white {
  display: none;
}

/* Light Theme: show white art, hide black art */
[data-theme="light"] .hero-image-black {
  display: none !important;
}
[data-theme="light"] .hero-image-white {
  display: block !important;
}

[data-theme="dark"] .hero-image-black {
  display: block !important;
}
[data-theme="dark"] .hero-image-white {
  display: none !important;
}

.hero-overlay {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 20%, transparent 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 42%);
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo-heading {
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  max-width: 100%;
  line-height: 1;
}

.hero-logo {
  height: auto;
  max-height: clamp(54px, 9vw, 92px);
  width: auto;
  max-width: min(520px, 95%);
  object-fit: contain;
}

/* Default / Dark Theme: show white hero logo, hide black hero logo */
.hero-logo-white {
  display: block;
}
.hero-logo-black {
  display: none;
}

/* Light Theme: show black hero logo, hide white hero logo */
[data-theme="light"] .hero-logo-white {
  display: none !important;
}
[data-theme="light"] .hero-logo-black {
  display: block !important;
}

[data-theme="dark"] .hero-logo-white {
  display: block !important;
}
[data-theme="dark"] .hero-logo-black {
  display: none !important;
}

.tagline {
  margin-bottom: 1rem;
  color: var(--amber);
  font-size: clamp(1.25rem, 5vw, 2.2rem);
  font-weight: 900;
}

.hero-description {
  max-width: 36rem;
  margin-bottom: 1.7rem;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

/* ---- Liquid Glass Panel (Universal) ---- */
.glass-panel {
  border-radius: var(--radius);
}

/* Light-mode overrides for all card/panel elements */
/* Backgrounds/borders handled dynamically via color-mix liquid glass */

[data-theme="light"] .button-primary {
  background: #FF006C;
  color: #ffffff;
}

[data-theme="light"] .button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
  color: #111827;
}

[data-theme="light"] .button-secondary:hover,
[data-theme="light"] .button-secondary:focus-visible {
  border-color: rgba(255, 0, 108, 0.4);
  background: rgba(255, 0, 108, 0.06);
  color: #FF006C;
}

[data-theme="light"] .eyebrow {
  color: #FF006C;
}

[data-theme="light"] .tagline {
  color: #8a6d00;
}

[data-theme="light"] .section-games {
  background: var(--bg);
}

[data-theme="light"] .section-vision {
  background: var(--bg);
}

[data-theme="light"] .section-press {
  background: var(--bg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Button Wrap Container */
.button-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  display: inline-flex;
}

/* Button Shadow Container */
.button-shadow {
  --shadow-cuttoff-fix: 2em;
  position: absolute;
  width: calc(100% + var(--shadow-cuttoff-fix));
  height: calc(100% + var(--shadow-cuttoff-fix));
  top: calc(0% - var(--shadow-cuttoff-fix) / 2);
  left: calc(0% - var(--shadow-cuttoff-fix) / 2);
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
  overflow: visible;
  pointer-events: none;
}

/* Shadow */
.button-shadow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 999vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  left: calc(var(--shadow-cuttoff-fix) - 0.875em);
  padding: 0.125em;
  box-sizing: border-box;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  overflow: visible;
  opacity: 1;
}

/* Hide button-shadow in light mode - the drop shadow looks wrong on light bg */
[data-theme="light"] .button-shadow {
  display: none;
}

/* ========== BUTTON BASE STYLES ========== */

.button {
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  -webkit-backdrop-filter: blur(0.01em);
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}

/* Button Text */
.button span {
  position: relative;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  font-family: "Inter", var(--font-sans);
  letter-spacing: -0.05em;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0em 0.25em 0.05em rgba(0, 0, 0, 0.1);
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  padding-inline: 1.5em;
  padding-block: 0.875em;
}

.button:hover span {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

/* Text effect */
.button span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: calc(100% - var(--border-width));
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: 999vw;
  overflow: clip;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition: background-position calc(var(--anim--hover-time) * 1.25)
      var(--anim--hover-ease),
    --angle-2 calc(var(--anim--hover-time) * 1.25) var(--anim--hover-ease);
}

.button:hover span::after {
  background-position: 25% 50%;
}

.button:active span::after {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

@media (hover: none) and (pointer: coarse) {
  .button span::after,
  .button:active span::after {
    --angle-2: -45deg;
  }
}

/* ========== BUTTON OUTLINE ========== */
.button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

.button:hover::after {
  --angle-1: -125deg;
}

.button:active::after {
  --angle-1: -75deg;
}

@media (hover: none) and (pointer: coarse) {
  .button::after,
  .button:hover::after,
  .button:active::after {
    --angle-1: -75deg;
  }
}

/* Shadow Hover */
.button-wrap:has(.button:hover) .button-shadow {
  filter: blur(clamp(2px, 0.0625em, 6px));
  -webkit-filter: blur(clamp(2px, 0.0625em, 6px));
  transition: filter var(--anim--hover-time) var(--anim--hover-ease);
}

.button-wrap:has(.button:hover) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.875em);
  opacity: 1;
}

/* Rotation */
.button-wrap:has(.button:active) {
  transform: rotate3d(1, 0, 0, 25deg);
}

.button-wrap:has(.button:active) .button {
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05),
    0 0.25em 0 0 rgba(255, 255, 255, 0.75),
    inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15);
}

.button-wrap:has(.button:active) .button-shadow {
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
}

.button-wrap:has(.button:active) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  opacity: 0.75;
}

.button-wrap:has(.button:active) span {
  text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12);
}

.button-primary { }
.button-secondary { }

.disabled-button {
  cursor: default;
  opacity: 0.78;
}

.disabled-button:hover {
  transform: none;
}

.button-secondary {
  border-color: var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(103, 240, 189, 0.65);
  background: rgba(103, 240, 189, 0.1);
}

.section {
  padding-block: var(--section-pad);
}

.section-games {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  max-width: 740px;
}

.app-grid-large {
  max-width: 920px;
}

.app-icon-card {
  display: grid;
  min-height: 100%;
  justify-items: center;
  gap: 0.9rem;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.app-icon-card:hover,
.app-icon-card:focus-visible {
  border-color: rgba(103, 240, 189, 0.55);
  background:
    linear-gradient(145deg, rgba(103, 240, 189, 0.1), rgba(255, 255, 255, 0.045)),
    var(--surface-strong);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.app-icon {
  display: block;
  width: min(9.5rem, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26%;
  background: var(--surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.34);
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-copy {
  display: grid;
  gap: 0.35rem;
}

.app-name {
  color: var(--text);
  font-size: clamp(1.05rem, 4vw, 1.3rem);
  font-weight: 950;
  line-height: 1.05;
}

.app-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.app-status {
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-showcase {
  display: grid;
  gap: 1rem;
}

.game-showcase-card {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.game-showcase-icon {
  display: block;
  width: min(11.5rem, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border: none;
  border-radius: 26%;
  background: transparent;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.game-showcase-icon:hover,
.game-showcase-icon:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 52px rgba(0, 0, 0, 0.42);
  transform: translateY(-3px);
}

.game-showcase-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-showcase-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.game-showcase-copy h3 {
  margin-bottom: 0;
}

.compact-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  list-style: none;
}

.compact-list li {
  position: relative;
  padding-left: 1rem;
}

.compact-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "+";
  font-weight: 950;
}

.game-card,
.game-detail {
  display: grid;
  gap: 1.25rem;
}

.game-card {
  border-radius: var(--radius);
  padding: 0.75rem;
}

.game-media {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(86, 200, 255, 0.14), rgba(255, 107, 95, 0.12)),
    var(--surface);
}

.game-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 260ms ease;
}

.game-card:hover .game-media img {
  transform: scale(1.03);
}

.media-label {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(13, 15, 19, 0.72);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(12px);
}

.game-content,
.game-detail-copy {
  display: grid;
  align-content: center;
  gap: 1.4rem;
  padding: 0.5rem;
}

.game-page-hero h1 {
  max-width: 12ch;
}

.game-detail-icon {
  display: grid;
  width: min(19rem, 72vw);
  aspect-ratio: 1;
  place-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28%;
  background: var(--surface-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 70px rgba(0, 0, 0, 0.42);
}

.game-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.game-meta div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.85rem;
}

.game-meta dt {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-meta dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-weight: 900;
}

.text-link {
  width: fit-content;
  color: var(--mint);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(103, 240, 189, 0.35);
  text-underline-offset: 0.35rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--amber);
  text-decoration-color: rgba(255, 209, 102, 0.7);
}

.split-section,
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.copy-stack {
  max-width: 660px;
}

.copy-stack p {
  font-size: 1.15rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-card,
.contact-card {
  border-radius: var(--radius);
  padding: 1.15rem;
}

.feature-card {
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.feature-card:hover {
  border-color: rgba(86, 200, 255, 0.38);
  background: rgba(86, 200, 255, 0.07);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--coral);
  font-weight: 950;
}

.section-vision {
  background:
    linear-gradient(180deg, rgba(86, 200, 255, 0.08), var(--bg)),
    var(--bg);
}

.vision-layout {
  display: grid;
  gap: 2rem;
}

.vision-list {
  display: grid;
  gap: 1rem;
}

.vision-list article,
.game-notes {
  border-radius: var(--radius);
  padding: 1.15rem;
}

.vision-list h3 {
  font-size: clamp(1.2rem, 4vw, 1.55rem);
}

.game-notes {
  display: grid;
  gap: 1rem;
}

.game-notes h2 {
  font-size: clamp(2rem, 6vw, 3.2rem);
}

.section-press {
  background:
    linear-gradient(135deg, rgba(255, 107, 95, 0.12), rgba(86, 200, 255, 0.09)),
    var(--bg-soft);
}

.press-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
}

.press-panel p {
  max-width: 740px;
}

.contact-card {
  display: grid;
  gap: 1.35rem;
}

.contact-heading {
  max-width: 840px;
}

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.form-card {
  display: grid;
  gap: 1.25rem;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.form-card .button-wrap {
  justify-self: center;
}

.form-card-heading {
  display: grid;
  gap: 0.35rem;
}

.form-card-heading h3 {
  margin-bottom: 0;
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  letter-spacing: 0;
  padding: 0.8rem 0.85rem;
  text-transform: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--mint);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(103, 240, 189, 0.2);
  outline: none;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.contact-links-card {
  margin-top: 1rem;
}

.email-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--brand-red);
  font-size: clamp(1.25rem, 4vw, 2.2rem);
  font-weight: 950;
  text-decoration: none;
  transition: color 180ms ease;
}

.email-link:hover {
  color: var(--coral);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-shell p {
  margin: 0;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-shell a {
  color: var(--text-muted);
  font-weight: 800;
}

.footer-shell a:hover,
.footer-shell a:focus-visible {
  color: var(--mint);
}

.page-hero {
  padding-block: 8.5rem 3.5rem;
  background:
    linear-gradient(135deg, rgba(255, 107, 95, 0.14), rgba(103, 240, 189, 0.07)),
    var(--bg);
}

.page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 12vw, 5.8rem);
}

.page-hero p {
  max-width: 680px;
}

.detail-media {
  min-height: 20rem;
}

.game-detail .game-meta {
  grid-template-columns: 1fr;
}

.policy-section {
  padding-top: 2rem;
}

.policy-content {
  display: grid;
  gap: 1.25rem;
}

.policy-content h2 {
  margin-bottom: -0.65rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.policy-content a {
  color: var(--mint);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* ==========================================================================
   Playable Game Stage & Arcade Hub
   ========================================================================== */

.arcade-section {
  padding-top: clamp(5.5rem, 8vw, 6.75rem);
}

.game-stage-shell {
  display: grid;
  gap: 1.5rem;
  width: min(1320px, calc(100% - 2rem));
  margin-inline: auto;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.game-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.game-stage-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.game-stage-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.game-stage-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 24%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-strong);
  overflow: hidden;
  flex-shrink: 0;
}

.game-stage-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-stage-title-group h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  margin-bottom: 0.15rem;
}

.game-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint);
}

.game-stage-badge::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.game-stage-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.stage-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.stage-btn:hover,
.stage-btn:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.stage-btn-primary {
  background: #FF006C;
  color: #ffffff;
  border-color: transparent;
}

.stage-btn-primary:hover,
.stage-btn-primary:focus-visible {
  background: #d9005c;
  box-shadow: 0 8px 20px rgba(255, 0, 108, 0.35);
}

.game-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  transition: aspect-ratio 0.4s var(--ease-bounce);
}

.game-viewport-container.ios-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  max-height: -webkit-fill-available;
  aspect-ratio: auto !important;
  z-index: 99999;
  border-radius: 0;
  box-shadow: none;
}

.game-viewport-container {
  position: relative;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
  min-height: clamp(440px, 72vh, 840px);
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
  min-height: clamp(480px, 76vh, 880px);
}

.aspect-9-16 {
  aspect-ratio: 9 / 16;
  max-width: 480px;
  min-height: clamp(620px, 82vh, 880px);
  margin-inline: auto;
}

@media (max-width: 768px) {
  .aspect-16-9,
  .aspect-4-3,
  .aspect-9-16 {
    min-height: auto;
    height: auto;
  }
}

.game-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #090c10;
}

.game-viewport-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--bg);
}

.game-viewport-placeholder.is-hidden {
  display: none;
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-inline: auto;
  border-radius: 50%;
  border: 1px solid rgba(103, 240, 189, 0.3);
  background: rgba(103, 240, 189, 0.08);
  color: var(--mint);
  font-size: 1.8rem;
}

.game-stage-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.game-aspect-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.aspect-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 140ms ease;
}

.aspect-btn.is-active,
.aspect-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

/* Playable Games Grid */
.playable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.playable-card {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  padding: 1.25rem;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
  position: relative;
}

.playable-card:hover {
  border-color: rgba(103, 240, 189, 0.55);
  background:
    linear-gradient(145deg, rgba(103, 240, 189, 0.08), rgba(255, 255, 255, 0.04)),
    var(--surface-strong);
  transform: translateY(-3px);
}

.playable-card.is-active {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), 0 20px 48px rgba(0, 0, 0, 0.4);
}

.playable-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.playable-card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 26%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--surface-strong);
  overflow: hidden;
  flex-shrink: 0;
}

.playable-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playable-card-meta {
  flex-grow: 1;
}

.playable-card-meta h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.play-tag {
  display: inline-block;
  border-radius: 4px;
  background: rgba(103, 240, 189, 0.14);
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  letter-spacing: 0.03em;
}

.play-tag-upload {
  background: rgba(255, 209, 102, 0.14);
  color: var(--amber);
}

.playable-card-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.playable-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

/* Upload Helper Card */
.upload-helper-box {
  border: 1px dashed rgba(255, 209, 102, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.04);
  padding: 1.25rem;
  margin-top: 2rem;
}

.upload-helper-box h3 {
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.upload-helper-box ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.upload-helper-box code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--text);
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .nav-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.85rem 0 2.25rem;
    gap: 1.5rem;
  }

  .brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .header-controls {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0.75rem;
  }

  .site-nav {
    flex: 0 0 auto;
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0.25rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.5rem 0.8rem;
  }

  .hero {
    min-height: clamp(620px, 84svh, 820px);
    padding-bottom: 5rem;
  }

  .game-card,
  .game-detail,
  .split-section,
  .contact-layout,
  .game-showcase-card,
  .vision-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .game-card {
    padding: 1rem;
  }

  .game-showcase-card {
    align-items: center;
    grid-template-columns: 12rem minmax(0, 1fr);
    padding: 1.25rem;
  }

  .game-content,
  .game-detail-copy {
    padding: 1rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .press-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .footer-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  .game-media {
    min-height: 26rem;
  }

  .detail-media {
    min-height: 32rem;
  }

  .game-detail .game-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ================================================================
   UNIVERSAL LIQUID GLASS UI FOR ALL PANELS
   ================================================================ */
.glass-panel,
.game-card,
.playable-card,
.feature-card,
.contact-card,
.vision-list article,
.game-notes,
.form-card,
.app-icon-card,
.game-stage,
.press-panel,
.game-showcase-card {
  background: var(--lg-bg) !important;
  border: var(--lg-border) !important;
  backdrop-filter: var(--lg-blur) !important;
  -webkit-backdrop-filter: var(--lg-blur) !important;
  box-shadow: 
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.05),
    0px 8px 32px 0px rgba(0, 0, 0, 0.4),
    0px 0px 20px 0px rgba(167, 0, 255, 0.1) !important;
  border-radius: var(--radius);
}

/* Hover state for interactive cards */
.app-icon-card:hover,
.app-icon-card:focus-visible,
.game-card:hover,
.playable-card:hover,
.game-showcase-card:hover {
  background: rgba(103, 240, 189, 0.08) !important;
  border-color: rgba(103, 240, 189, 0.25) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28) !important;
  transform: translateY(-4px);
}

[data-theme="light"] .app-icon-card:hover,
[data-theme="light"] .app-icon-card:focus-visible,
[data-theme="light"] .game-card:hover,
[data-theme="light"] .playable-card:hover,
[data-theme="light"] .game-showcase-card:hover {
  background: rgba(255, 0, 108, 0.06) !important;
  border-color: rgba(255, 0, 108, 0.18) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================================================
   Analytics / Live Stats Page
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2.5rem 1.5rem 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 200px;
}

.game-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.game-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 200ms ease;
}

.game-stat-row:hover {
  transform: translateX(4px);
}

.game-stat-name {
  font-weight: 800;
  color: var(--text);
}

.game-stat-count {
  font-weight: 700;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

/* ---- App Store Style Games Grid ---- */
.games-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.game-grid-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  align-items: stretch;
}

.game-grid-card:hover,
.game-grid-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-color);
  background: color-mix(in srgb, var(--lg-bg) 96%, white 4%) !important;
  outline: none;
}

[data-theme="light"] .game-grid-card:hover,
[data-theme="light"] .game-grid-card:focus-visible {
  background: color-mix(in srgb, var(--lg-bg) 96%, black 4%) !important;
}

.game-grid-icon-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  background: transparent;
  flex-shrink: 0;
}

.game-grid-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.game-grid-card:hover .game-grid-icon {
  transform: scale(1.05);
}

.coming-soon-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-mask span {
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.game-grid-copy {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-grid-copy h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.game-short-desc, .short-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.game-meta-pill-container {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.25rem 0;
  flex-wrap: wrap;
}

.meta-pill {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  flex: 1;
}

[data-theme="light"] .meta-pill {
  background: rgba(0, 0, 0, 0.03);
}

.meta-pill dt {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.meta-pill dd {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
}
