/* src/client/site.css */
:root {
  --site-bg: #020c1b;
  --site-card: #061424;
  --site-card-soft: #081c30;
  --site-text: #e8f4ff;
  --site-subtext: #8ab4d0;
  --site-primary: #00b4ff;
  --site-secondary: #ffffff;
  --site-tertiary: #00ffea;
  --site-accent: #00b4ff;
  --site-accent-2: #00ffea;
  --nav-bg: rgba(0, 4, 21, 0.96);
  --card-border: rgba(0, 180, 255, 0.18);
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  min-height: 100%;
  background: var(--site-bg);
}
body {
  margin: 0;
  font-family:
    "Trebuchet MS",
    "Segoe UI",
    sans-serif;
  color: var(--site-text);
  background-image:
    linear-gradient(rgba(0, 160, 255, 0.03) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(0, 160, 255, 0.03) 1px,
      transparent 1px);
  background-size: 40px 40px;
}
.site-wrap {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 132px;
}
.site-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--site-bg);
  background-image:
    linear-gradient(rgba(0, 160, 255, 0.03) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(0, 160, 255, 0.03) 1px,
      transparent 1px);
  background-size: 40px 40px;
}
.site-anim-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.site-fly {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.45;
  filter: drop-shadow(0 0 7px var(--site-primary));
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.site-fly--right {
  animation-name: mgFlyRight;
}
.site-fly--left {
  animation-name: mgFlyLeft;
}
.site-bob {
  position: absolute;
  font-size: 1.3rem;
  opacity: 0.3;
  filter: drop-shadow(0 0 5px var(--site-secondary));
  animation-name: mgBob;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.site-fw {
  position: absolute;
}
.site-fw-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid;
  left: -40px;
  top: -40px;
  animation-name: mgFwRing;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.site-fw-ring--inner {
  width: 38px;
  height: 38px;
  border-width: 1px;
  left: -19px;
  top: -19px;
}
.site-fw-spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: -2.5px;
  top: -2.5px;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.site-fw-spark--0 {
  animation-name: mgSp0;
}
.site-fw-spark--1 {
  animation-name: mgSp1;
}
.site-fw-spark--2 {
  animation-name: mgSp2;
}
.site-fw-spark--3 {
  animation-name: mgSp3;
}
.site-fw-spark--4 {
  animation-name: mgSp4;
}
.site-fw-spark--5 {
  animation-name: mgSp5;
}
.site-fw-spark--6 {
  animation-name: mgSp6;
}
.site-fw-spark--7 {
  animation-name: mgSp7;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 180, 255, 0.15);
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  margin: 0 -18px;
  padding-left: 18px;
  padding-right: 18px;
}
.site-nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.site-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav-links a {
  color: var(--site-subtext);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-nav-cta {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--site-primary);
  border-radius: 6px;
  color: var(--site-primary);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
  flex-shrink: 0;
  margin-left: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 60px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hero-ctas .cta {
  margin-top: 10px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--site-primary);
  border: 1px solid var(--site-primary);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  text-shadow: 0 0 40px rgba(0, 180, 255, 0.3);
}
.hero-accent {
  color: var(--site-primary);
  text-shadow: 0 0 20px #00b4ff, 0 0 60px rgba(0, 180, 255, 0.4);
}
.hero p {
  margin: 0 0 32px;
  color: var(--site-subtext);
  line-height: 1.7;
  font-size: 1.05rem;
}
.cta,
.game-link,
.back-link {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 32px;
  background: transparent;
  border: 2px solid var(--site-primary);
  border-radius: 6px;
  color: var(--site-primary);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3), inset 0 0 20px rgba(0, 180, 255, 0.05);
}
.cta--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--site-secondary);
  color: var(--site-secondary);
  box-shadow: none;
  margin-left: 12px;
}
.game-link,
.back-link {
  margin-top: 8px;
  font-size: 0.92rem;
}
.hero-art {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.mascot {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  position: relative;
  border: 2px solid rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3), inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}
.mascot-spark {
  background:
    linear-gradient(
      160deg,
      #001428,
      #002a50);
  border-color: #00b4ff;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.5), inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}
.mascot-bolt {
  background:
    linear-gradient(
      160deg,
      #001a20,
      #003040);
  border-color: #00ffea;
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.5), inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}
.mascot-bloop {
  background:
    linear-gradient(
      160deg,
      #101828,
      #1a2a40);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), inset 0 -10px 18px rgba(0, 0, 0, 0.3);
}
.eye {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--site-primary);
  position: absolute;
  top: 34px;
}
.eye.left {
  left: 30px;
}
.eye.right {
  right: 30px;
}
.mascot-bolt .eye {
  background: #00ffea;
}
.mascot-bloop .eye {
  background: #fff;
}
.smile {
  position: absolute;
  width: 30px;
  height: 15px;
  border: 3px solid var(--site-primary);
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  left: 50%;
  transform: translateX(-50%);
  top: 52px;
}
.mascot-bolt .smile {
  border-bottom-color: #00ffea;
}
.mascot-bloop .smile {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}
.ad-slot {
  margin: 0 0 16px;
  border: 2px dashed rgba(0, 180, 255, 0.25);
  border-radius: 14px;
  background: rgba(6, 20, 36, 0.65);
  color: var(--site-subtext);
  text-align: center;
  padding: 14px;
}
.ad-slot span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 180, 255, 0.5);
}
.top-mini-ad {
  position: absolute;
  top: -8px;
  right: 0;
}
.game-select {
  background:
    linear-gradient(
      180deg,
      var(--site-bg) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      var(--site-bg) 100%);
  border-top: 1px solid rgba(0, 180, 255, 0.12);
  border-bottom: 1px solid rgba(0, 180, 255, 0.12);
  padding: 0 0 56px;
  margin: 14px -18px 0;
}
.ticker-strip {
  overflow: hidden;
  border-top: 2px solid rgba(0, 180, 255, 0.25);
  border-bottom: 2px solid rgba(0, 180, 255, 0.25);
  background: rgba(0, 180, 255, 0.04);
  padding: 10px 0;
  margin-bottom: 48px;
}
.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: mgTicker 24s linear infinite;
}
.ticker-item {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--site-primary);
  padding: 0 28px;
  opacity: 0.7;
}
.ticker-sep {
  color: var(--site-secondary);
  padding: 0 4px;
  opacity: 0.4;
}
.gs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 18px 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.gs-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--site-secondary);
  margin-bottom: 8px;
}
.gs-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 180, 255, 0.4);
}
.gs-title-accent {
  color: var(--site-primary);
}
.gs-cursor {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  background: var(--site-primary);
  vertical-align: text-bottom;
  margin-left: 6px;
  box-shadow: 0 0 10px var(--site-primary);
  animation: mgBlink 1s step-end infinite;
}
.gs-subline {
  color: rgba(138, 180, 208, 0.5);
  font-size: 0.82rem;
  letter-spacing: 1px;
}
.gs-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 0 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.feat-card {
  grid-row: 1 / 3;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(0, 180, 255, 0.28);
  border-radius: 16px;
  padding: 28px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 180, 255, 0.12), inset 0 0 60px rgba(0, 180, 255, 0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  border-color: rgba(0, 180, 255, 0.5);
  box-shadow: 0 0 60px rgba(0, 180, 255, 0.2), inset 0 0 60px rgba(0, 180, 255, 0.06);
}
.feat-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 180, 255, 0.2) 0%,
      transparent 70%);
  pointer-events: none;
}
.feat-card-diag {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 52px 52px 0;
  border-color: transparent rgba(0, 180, 255, 0.2) transparent transparent;
}
.feat-card-num {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 180, 255, 0.07);
  letter-spacing: -8px;
  font-family: monospace;
  user-select: none;
  pointer-events: none;
}
.feat-card-icon-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 24px;
  position: relative;
}
.feat-card-icon-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(0, 180, 255, 0.15) 0%,
      rgba(0, 180, 255, 0.05) 55%,
      transparent 75%);
  border: 2px solid rgba(0, 180, 255, 0.45);
  box-shadow:
    0 0 32px rgba(0, 180, 255, 0.4),
    0 0 64px rgba(0, 180, 255, 0.12),
    inset 0 0 32px rgba(0, 180, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.8rem;
  animation: mgIconPulse 3s ease-in-out infinite;
}
.feat-card-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--site-primary);
  border: 1px solid rgba(0, 180, 255, 0.45);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.feat-card-name {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 180, 255, 0.5);
}
.feat-card-blurb {
  color: var(--site-subtext);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: auto;
  padding-bottom: 20px;
}
.feat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 8px;
  background: rgba(0, 180, 255, 0.12);
  border: 2px solid var(--site-primary);
  color: var(--site-primary);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.3);
  align-self: flex-start;
  transition: background 0.15s, box-shadow 0.15s;
}
.feat-card-cta:hover {
  background: rgba(0, 180, 255, 0.22);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.5);
}
.mini-card {
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  padding: 18px 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.mini-card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}
.mini-card-num {
  font-size: 0.62rem;
  letter-spacing: 3px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: monospace;
}
.mini-card-icon {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  margin-bottom: 14px;
  animation: mgIconPulse 3s ease-in-out infinite;
}
.mini-card-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--site-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.mini-card-blurb {
  color: rgba(138, 180, 208, 0.6);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.mini-card-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--mini-accent-bg, rgba(0,180,255,0.12));
  border: 2px solid var(--mini-accent, #00b4ff);
  color: var(--mini-accent, #00b4ff);
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 16px var(--mini-accent-shadow, rgba(0,180,255,0.4));
  align-self: flex-start;
  transition: filter 0.15s, box-shadow 0.15s;
}
.mini-card-cta:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 28px var(--mini-accent-shadow, rgba(0,180,255,0.6));
}
.featured,
.game-route-header {
  background: var(--site-card);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  padding: 16px;
  margin-top: 14px;
}
.character-panel {
  padding: 60px 0;
  text-align: center;
}
.crew-emoji-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.crew-emoji-box {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.crew-names {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 16px;
}
.crew-name {
  color: #5a7a90;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.game-card {
  background: var(--site-card-soft);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 180, 255, 0.15);
  display: flex;
  flex-direction: column;
}
.game-card .game-link,
.game-card .soon {
  margin-top: auto;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 180, 255, 0.1);
  color: var(--site-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
}
.soon,
.character-panel p,
.game-route-header p {
  color: var(--site-subtext);
}
.character-panel .gs-eyebrow {
  margin-bottom: 8px;
}
.character-panel h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 8px;
  color: #fff;
  display: inline-block;
}
.sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 12, 27, 0.96);
  border-top: 1px solid rgba(0, 180, 255, 0.2);
  padding: 10px 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-ads-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.footer-ads-col {
  display: flex;
  gap: 8px;
}
.footer-ads-col-right {
  justify-content: flex-end;
}
.footer-copyright {
  margin: 0;
  color: var(--site-subtext);
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
}
.footer-ad-inline {
  border: 1px dashed rgba(0, 180, 255, 0.25);
  border-radius: 10px;
  background: rgba(6, 20, 36, 0.7);
  color: var(--site-text);
  padding: 8px 10px;
  min-width: 132px;
  text-align: center;
}
.footer-ad-inline span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 180, 255, 0.4);
}
.footer-ad-inline strong {
  font-size: 0.82rem;
}
.site-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.site-logo {
  width: clamp(160px, 32vw, 300px);
  height: auto;
  display: block;
}
.logo-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.logo-card {
  background: var(--site-card);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  padding: 14px;
}
.logo-card h3 {
  margin: 8px 0 4px;
}
.logo-card p {
  margin: 0;
  color: var(--site-subtext);
}
.logo-preview-stage {
  border: 1px dashed rgba(0, 180, 255, 0.3);
  border-radius: 12px;
  padding: 12px;
  background: rgba(2, 12, 27, 0.35);
  overflow-x: auto;
}
.logo-svg {
  width: min(100%, 520px);
  height: auto;
  display: block;
}
.confetti-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  animation: confettiFall linear forwards;
}
.confetti-banner {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(2, 12, 27, 0.92);
  border: 2px solid var(--site-primary);
  border-radius: 20px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: confettiBannerIn 0.5s ease-out;
}
.confetti-trophy {
  font-size: 2.4rem;
}
.confetti-winner {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--site-primary);
  text-shadow: 0 2px 12px rgba(0, 180, 255, 0.5);
  white-space: nowrap;
}
@media (max-width: 1080px) {
  .footer-responsive .footer-ad-secondary {
    display: none;
  }
  .footer-ads-row {
    justify-content: center;
    gap: 12px;
  }
  .footer-ads-col,
  .footer-ads-col-right {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-copyright {
    white-space: normal;
  }
  .site-wrap {
    padding-bottom: 188px;
  }
}
@media (max-width: 480px) {
  .footer-responsive .footer-ads-row {
    display: none;
  }
}
@media (max-width: 920px) {
  .hero,
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-content: flex-start;
    padding-top: 0;
  }
  .gs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feat-card {
    grid-row: auto;
  }
  .gs-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 600px) {
  .gs-grid {
    grid-template-columns: 1fr;
  }
  .site-nav-links {
    display: none;
  }
  .site-nav-right {
    margin-left: auto;
  }
  .site-nav-cta {
    padding: 8px 16px;
    margin-left: 8px;
  }
  .site-logo {
    width: clamp(150px, 42vw, 210px);
  }
  .feat-card-icon-circle {
    width: 110px;
    height: 110px;
    font-size: 3.5rem;
  }
}
@media (max-width: 480px) {
  .site-wrap {
    padding: 0 10px 160px;
  }
  .hero {
    padding: 32px 0 24px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .cta,
  .game-link,
  .back-link {
    padding: 10px 14px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }
  .mascot {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
  .featured,
  .character-panel,
  .game-route-header {
    padding: 12px;
    border-radius: 12px;
  }
  .sticky-footer {
    padding: 8px 10px;
  }
  .footer-copyright {
    font-size: 0.8rem;
  }
  .footer-ad-inline {
    min-width: 0;
    flex: 1;
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}
@keyframes mgFlyRight {
  from {
    transform: translateX(-18vw);
  }
  to {
    transform: translateX(115vw);
  }
}
@keyframes mgFlyLeft {
  from {
    transform: translateX(115vw);
  }
  to {
    transform: translateX(-18vw);
  }
}
@keyframes mgBob {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}
@keyframes mgFwRing {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  75% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes mgSp0 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, -60px);
    opacity: 0;
  }
}
@keyframes mgSp1 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(42px, -42px);
    opacity: 0;
  }
}
@keyframes mgSp2 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(60px, 0);
    opacity: 0;
  }
}
@keyframes mgSp3 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(42px, 42px);
    opacity: 0;
  }
}
@keyframes mgSp4 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, 60px);
    opacity: 0;
  }
}
@keyframes mgSp5 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-42px, 42px);
    opacity: 0;
  }
}
@keyframes mgSp6 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-60px, 0);
    opacity: 0;
  }
}
@keyframes mgSp7 {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-42px, -42px);
    opacity: 0;
  }
}
@keyframes mgTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes mgBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes mgIconPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.06);
    filter: brightness(1.35);
  }
}
@keyframes confettiFall {
  0% {
    transform: translateY(-20vh) translateX(0) rotate(var(--rot-start, 0deg));
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) translateX(var(--drift, 20px)) rotate(var(--rot-end, 720deg));
    opacity: 0;
  }
}
@keyframes confettiBannerIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* src/games/ladoo/styles.css */
.ladoo-board {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  width: min(600px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  gap: 1px;
  background: rgba(0, 180, 255, 0.08);
  border: 2px solid rgba(0, 180, 255, 0.6);
  border-radius: 10px;
  padding: 0;
  box-shadow:
    0 0 45px rgba(0, 180, 255, 0.55),
    0 0 90px rgba(0, 180, 255, 0.2),
    inset 0 0 40px rgba(0, 180, 255, 0.06);
}
.ladoo-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  position: relative;
}
.ladoo-cell.path {
  background: #0a1e30;
  border: 1px solid rgba(0, 180, 255, 0.12);
}
.ladoo-cell.path.safe-red {
  background: rgba(255, 77, 77, 0.15);
}
.ladoo-cell.path.safe-green {
  background: rgba(0, 255, 150, 0.1);
}
.ladoo-cell.path.safe-yellow {
  background: rgba(255, 210, 77, 0.12);
}
.ladoo-cell.path.safe-blue {
  background: rgba(0, 180, 255, 0.15);
}
.ladoo-cell.home-col-red {
  background: rgba(255, 77, 77, 0.25);
}
.ladoo-cell.home-col-green {
  background: rgba(0, 255, 150, 0.18);
}
.ladoo-cell.home-col-yellow {
  background: rgba(255, 210, 77, 0.22);
}
.ladoo-cell.home-col-blue {
  background: rgba(0, 180, 255, 0.22);
}
.ladoo-cell.base-red {
  background: #e74c3c33;
}
.ladoo-cell.base-green {
  background: #2ecc7133;
}
.ladoo-cell.base-yellow {
  background: #f1c40f33;
}
.ladoo-cell.base-blue {
  background: #3498db33;
}
.ladoo-cell.center {
  background: rgba(0, 255, 234, 0.12);
  border: 1px solid rgba(0, 255, 234, 0.3);
}
.ladoo-token {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.ladoo-token.red {
  background: #e74c3c;
}
.ladoo-token.green {
  background: #2ecc71;
}
.ladoo-token.yellow {
  background: #f1c40f;
}
.ladoo-token.blue {
  background: #3498db;
}
.ladoo-token.you {
  box-shadow: 0 0 0 3px #fff, 0 1px 3px rgba(0, 0, 0, 0.4);
}
.ladoo-dice {
  text-align: center;
  padding: 8px;
}
.ladoo-dice-btn {
  font-size: 1.4rem;
  padding: 6px 10px;
  min-width: 0;
  border-radius: 12px;
  border: 2px solid var(--c-accent, #00b4ff);
  background: var(--c-surface, #061424);
  color: var(--c-text, #e8f4ff);
  cursor: pointer;
  transition: transform 0.1s;
}
.ladoo-dice-btn:hover:not(:disabled) {
  background: var(--c-card-soft, #0a1e30);
}
.ladoo-dice-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.ladoo-dice-result {
  font-size: 1.5rem;
  margin-top: 4px;
}
.ladoo-token-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.ladoo-token-btn:disabled {
  cursor: default;
  opacity: 0.4;
}
@media (max-width: 600px) {
  .ladoo-board {
    width: min(400px, 100%);
  }
  .ladoo-dice-btn {
    font-size: 1.5rem;
    padding: 10px 20px;
  }
}

/* src/games/stack-wars/styles.css */
* {
  box-sizing: border-box;
}
.game-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}
.title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00b4ff;
  text-shadow: 0 0 12px rgba(0, 180, 255, 0.5);
}
.control-panel {
  background: #061424;
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.1);
  margin-bottom: 14px;
}
.board-panel {
  background: #020c1b;
  border: 1px solid rgba(0, 180, 255, 0.45);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 0 40px rgba(0, 180, 255, 0.35),
    0 0 80px rgba(0, 180, 255, 0.15),
    inset 0 0 60px rgba(0, 180, 255, 0.05);
  margin-bottom: 14px;
}
.row {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #8ab4d0;
}
input,
select,
button {
  width: 100%;
  border-radius: 10px;
  border: 2px solid rgba(0, 180, 255, 0.25);
  padding: 9px 10px;
  margin-top: 6px;
  font-size: 1rem;
}
input,
select {
  background: #020c1b;
  border: 1px solid rgba(0, 180, 255, 0.25);
  color: #e8f4ff;
  border-radius: 8px;
}
button {
  background: transparent;
  border: 2px solid #00b4ff;
  color: #00b4ff;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.15);
}
.subtle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #8ab4d0;
}
.status {
  margin: 0 0 10px;
  font-weight: 900;
  color: #00b4ff;
}
.toy-frame {
  display: grid;
  justify-content: center;
  gap: 7px;
  background:
    linear-gradient(
      180deg,
      #010a18,
      #020d1f);
  border: 2px solid rgba(0, 180, 255, 0.65);
  border-radius: 12px;
  padding: 10px;
  box-shadow:
    0 0 50px rgba(0, 180, 255, 0.6),
    0 0 100px rgba(0, 180, 255, 0.25),
    inset 0 0 50px rgba(0, 180, 255, 0.08);
}
.slot {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 255, 0.2);
  background:
    radial-gradient(
      circle at 35% 35%,
      #0a1e30 0%,
      #050f1c 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}
.piece-red {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ff8a84 0%,
      #dc2c24 55%,
      #8e130f 100%);
  border-color: #740f0b;
}
.piece-yellow {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ffe77d 0%,
      #f3c40c 55%,
      #ab7f00 100%);
  border-color: #825f00;
}
.piece-green {
  background:
    radial-gradient(
      circle at 35% 35%,
      #8ff4b2 0%,
      #1fae56 55%,
      #0e6a34 100%);
  border-color: #0b582a;
}
.piece-purple {
  background:
    radial-gradient(
      circle at 35% 35%,
      #d8b6ff 0%,
      #7b36d9 55%,
      #4f1f95 100%);
  border-color: #3d1577;
}
.piece-orange {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ffd09a 0%,
      #e8801b 55%,
      #a95606 100%);
  border-color: #894504;
}
.piece-teal {
  background:
    radial-gradient(
      circle at 35% 35%,
      #9cf4ec 0%,
      #1caea0 55%,
      #0d6c63 100%);
  border-color: #095952;
}
.win-cell {
  outline: 3px solid #00ffea;
  outline-offset: -4px;
  box-shadow: 0 0 10px #00ffea66;
}
.drop-anim {
  animation: drop-in 360ms ease-out;
}
@keyframes drop-in {
  0% {
    transform: translateY(calc(var(--drop-distance, 120px) * -1)) scale(0.94);
  }
  70% {
    transform: translateY(6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.how-to-play {
  margin-top: 12px;
  background: #061424;
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 10px;
  padding: 10px;
}
.how-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: #00b4ff;
}
.how-to-play p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #8ab4d0;
}
@media (max-width: 860px) {
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }
  .slot {
    width: 44px;
    height: 44px;
  }
  .toy-frame {
    border-width: 8px;
    gap: 5px;
    padding: 8px;
  }
  .game-shell {
    padding: 10px;
  }
  .mp-color-form {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .game-shell {
    padding: 8px;
  }
  .control-panel,
  .board-panel {
    padding: 10px;
    border-radius: 10px;
  }
  .toy-frame {
    border-width: 6px;
    gap: 4px;
    padding: 6px;
  }
  .slot {
    width: 40px;
    height: 40px;
  }
  .status {
    font-size: 0.95rem;
  }
  button,
  .mp-btn {
    padding: 12px 14px;
    font-size: 1.05rem;
  }
  .actions {
    flex-direction: column;
    gap: 8px;
  }
  .actions button {
    width: 100%;
  }
  .mp-lobby {
    padding: 10px;
  }
  .mp-code {
    font-size: 1.4rem;
  }
  .mp-actions {
    flex-direction: column;
  }
  .how-to-play {
    font-size: 0.85rem;
  }
}
.actions {
  display: flex;
  justify-content: flex-start;
}
.actions button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.mp-lobby {
  margin-top: 10px;
  padding: 14px;
  background: #061424;
  border: 1px solid rgba(0, 180, 255, 0.18);
  border-radius: 10px;
  color: #e8f4ff;
}
.mp-lobby label {
  color: #8ab4d0;
}
.mp-heading {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #00b4ff;
}
.mp-code-display {
  text-align: center;
  padding: 14px 0;
}
.mp-label {
  margin: 0 0 6px;
  font-weight: 700;
  color: #8ab4d0;
}
.mp-code {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #00b4ff;
  margin: 8px 0;
  word-break: break-all;
}
.mp-waiting {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #00ffea;
  animation: mp-pulse 1.5s ease-in-out infinite;
}
@keyframes mp-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.mp-form label {
  margin-bottom: 10px;
}
.mp-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.mp-btn {
  flex: 1;
  padding: 10px;
  font-weight: 800;
  border: 2px solid #00b4ff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  background: transparent;
  color: #00b4ff;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.3);
}
.mp-btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 180, 255, 0.3);
  color: #8ab4d0;
  box-shadow: none;
}
.mp-btn:hover {
  filter: brightness(1.15);
}
.mp-color-form {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.mp-color-form label {
  flex: 1;
}
.mp-cancel {
  margin-top: 8px;
  width: auto;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(0, 180, 255, 0.3);
  color: #8ab4d0;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
}
.mp-error {
  color: #ff6b6b;
  font-weight: 700;
}
.mp-connected-bar {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 255, 234, 0.08);
  border: 1px solid rgba(0, 255, 234, 0.3);
  border-radius: 10px;
}
.mp-connected-info {
  font-size: 0.95rem;
  color: #00ffea;
}
.mp-leave {
  background: transparent !important;
  border: 2px solid #ff4d4d !important;
  color: #ff4d4d !important;
}

/* src/games/battleship/styles.css */
.bs-grids {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.bs-grid-wrap {
  text-align: center;
}
.bs-grid-wrap h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  width: min(360px, 45vw);
  aspect-ratio: 1;
  gap: 1px;
  background: rgba(0, 180, 255, 0.06);
  border: 2px solid rgba(0, 180, 255, 0.6);
  border-radius: 6px;
  box-shadow:
    0 0 40px rgba(0, 180, 255, 0.5),
    0 0 80px rgba(0, 180, 255, 0.2),
    inset 0 0 30px rgba(0, 180, 255, 0.06);
}
.bs-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.65rem;
  border: 1px solid transparent;
  transition: background 0.1s;
}
.bs-cell.water {
  background: #0a2040;
}
.bs-cell.ship {
  background: rgba(0, 180, 255, 0.3);
  border: 1px solid rgba(0, 180, 255, 0.5);
}
.bs-cell.unknown {
  background: #0a2040;
  cursor: crosshair;
}
.bs-cell.hit {
  background: #cc2222;
}
.bs-cell.miss {
  background: #0d2a45;
}
.bs-cell.hit::after,
.bs-cell.miss::after {
  font-size: 0.85rem;
  font-weight: 800;
}
.bs-cell.hit::after {
  content: "\2715";
  color: #fff;
}
.bs-cell.miss::after {
  content: "\b7";
  color: #99b;
}
.bs-cell.sunk {
  background: #991111;
}
.bs-cell.unknown:hover:not(:disabled) {
  background: #0d2d55;
}
.bs-cell:disabled {
  cursor: default;
}
.bs-cell.placing {
  background: rgba(0, 180, 255, 0.4);
}
.bs-cell.placing:hover {
  background: rgba(0, 180, 255, 0.55);
}
.bs-cell.blocked {
  background: rgba(255, 100, 100, 0.15);
  cursor: default;
}
.bs-ships-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 8px 0;
}
.bs-ship-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.bs-ship-badge.current {
  background: rgba(0, 180, 255, 0.3);
  color: #00b4ff;
  border: 1px solid #00b4ff;
}
.bs-ship-badge.done {
  background: rgba(0, 255, 234, 0.15);
  color: #00ffea;
  border: 1px solid #00ffea;
}
.bs-ship-badge.pending {
  background: rgba(255, 255, 255, 0.05);
  color: #8ab4d0;
  border: 1px solid rgba(0, 180, 255, 0.2);
}
.bs-ship-badge.sunk {
  background: rgba(204, 34, 34, 0.2);
  color: #ff6b6b;
  border: 1px solid #cc2222;
  text-decoration: line-through;
}
.bs-dir-toggle {
  margin: 6px 0;
}
.bs-dir-toggle button {
  padding: 4px 12px;
  font-size: 0.85rem;
  background: #061424;
  color: #e8f4ff;
  border: 1px solid rgba(0, 180, 255, 0.3);
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .bs-grid {
    width: min(320px, 90vw);
  }
}

/* src/games/tic-tac-toe/styles.css */
.ttt-grid {
  margin: 0 auto;
}
.slot-x {
  background: rgba(255, 77, 141, 0.85);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}
.slot-x::after {
  content: "\d7";
}
.slot-o {
  background: rgba(0, 180, 255, 0.85);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}
.slot-o::after {
  content: "\25cb";
}
@media (max-width: 480px) {
  .ttt-grid {
    width: min(260px, 100%);
  }
  .slot-x,
  .slot-o {
    font-size: 1.5rem;
  }
}

/* src/games/memory-match/styles.css */
.mm-grid {
  margin: 0 auto;
  gap: 6px;
  padding: 16px;
  background: rgba(0, 180, 255, 0.03);
  border: 2px solid rgba(0, 180, 255, 0.5);
  border-radius: 14px;
  box-shadow:
    0 0 40px rgba(0, 180, 255, 0.4),
    0 0 80px rgba(0, 180, 255, 0.15),
    inset 0 0 40px rgba(0, 180, 255, 0.05);
}
.mm-card {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid var(--c-border, rgba(0, 180, 255, 0.2));
  background: var(--c-surface, #061424);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, border-color 0.15s;
}
.mm-card:hover:not(:disabled) {
  transform: scale(1.06);
  border-color: var(--c-accent, #00b4ff);
}
.mm-card:disabled {
  cursor: default;
}
.mm-face {
  font-size: 2rem;
  line-height: 1;
  user-select: none;
}
.mm-card:not(.mm-revealed):not(.mm-matched) .mm-face {
  font-size: 1.5rem;
  color: var(--c-muted, rgba(0, 180, 255, 0.3));
}
.mm-revealed {
  background: var(--c-accent-soft, #0a1e30);
  border-color: var(--c-accent, #00b4ff);
}
.mm-matched {
  background: var(--c-green-soft, rgba(0, 255, 234, 0.08));
  border-color: var(--c-green, #00ffea);
  opacity: 0.7;
}
@media (max-width: 480px) {
  .mm-grid {
    width: min(300px, 100%);
    gap: 4px;
  }
  .mm-face {
    font-size: 1.5rem;
  }
}
/*# sourceMappingURL=app.css.map */
