/* ============================================================
   THE GAMITRON — style.css
   Crisp Canadian / Clean & Friendly
   Display: Bricolage Grotesque | Body: Outfit
   Palette: White + Snow Grey + Canadian Red + Ice Blue
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Brand palette */
  --red-600:       #c0201a;
  --red-500:       #d52b1e;
  --red-400:       #e84035;
  --red-100:       #fde8e7;
  --red-50:        #fff5f5;

  --ice-700:       #1a6b8a;
  --ice-600:       #2087af;
  --ice-500:       #33a8d4;
  --ice-300:       #8fd4ea;
  --ice-100:       #e0f4fb;
  --ice-50:        #f0fafd;

  --pine-700:      #1c4a2c;
  --pine-500:      #2d7a47;
  --pine-200:      #a8d5b5;

  --wood-600:      #8b5e3c;
  --wood-400:      #b07d55;
  --wood-100:      #f5ece4;

  /* Light theme (default) */
  --bg:            #ffffff;
  --bg-alt:        #f5f7f9;
  --bg-card:       #ffffff;
  --bg-stripe:     #f0f3f5;
  --surface:       rgba(255,255,255,0.92);

  --text:          #1a1f2e;
  --text-muted:    #5a6478;
  --text-light:    #8a94a8;

  --border:        #dde2ea;
  --border-light:  #edf0f5;

  --accent:        var(--red-500);
  --accent-dark:   var(--red-600);
  --accent-glow:   rgba(213,43,30,0.15);

  --blue:          var(--ice-500);
  --blue-dark:     var(--ice-700);
  --blue-glow:     rgba(51,168,212,0.15);

  --nav-bg:        rgba(255,255,255,0.88);
  --nav-border:    rgba(213,43,30,0.12);

  --shadow-sm:     0 1px 3px rgba(26,31,46,0.08), 0 1px 2px rgba(26,31,46,0.04);
  --shadow-md:     0 4px 16px rgba(26,31,46,0.10), 0 2px 6px rgba(26,31,46,0.06);
  --shadow-lg:     0 12px 40px rgba(26,31,46,0.12), 0 4px 12px rgba(26,31,46,0.06);
  --shadow-card:   0 2px 12px rgba(26,31,46,0.08);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --radius-pill:   999px;

  --transition:    0.24s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.44s cubic-bezier(0.4,0,0.2,1);

  --meta-light:    #ffffff;
  --meta-dark:     #111827;

  --font-display:  'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:     'Outfit', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg:            #0f1520;
  --bg-alt:        #161d2e;
  --bg-card:       #1c2438;
  --bg-stripe:     #131a28;
  --surface:       rgba(22,29,46,0.94);

  --text:          #e8edf5;
  --text-muted:    #8a97b0;
  --text-light:    #5a6882;

  --border:        #2a3448;
  --border-light:  #222d42;

  --accent:        #e84035;
  --accent-dark:   #ff5a50;
  --accent-glow:   rgba(232,64,53,0.22);

  --blue:          #33a8d4;
  --blue-dark:     #5bc0e0;
  --blue-glow:     rgba(51,168,212,0.22);

  --nav-bg:        rgba(15,21,32,0.92);
  --nav-border:    rgba(232,64,53,0.18);

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.25);
  --shadow-card:   0 2px 12px rgba(0,0,0,0.35);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw + 0.25rem, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

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

/* ── Layout Utilities ────────────────────────────────────── */
.container {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header p {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-header { margin-inline: auto; }
.text-center .section-label { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 28px rgba(213,43,30,0.28);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline-ice {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline-ice:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ── Navigation ──────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

#header.scrolled {
  border-bottom-color: var(--nav-border);
  box-shadow: 0 2px 24px rgba(26,31,46,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-muted);
  font-size: 1rem;
}

.theme-btn:hover {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: var(--accent);
}

/* Sun/moon icons via data-theme */
.icon-sun, .icon-moon { display: none; }
:root:not([data-theme="dark"]) .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: block; }

/* Hamburger */
#navToggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition);
}

#navToggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

#navToggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* Mobile Menu */
#mobileMenu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--bg);
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

#mobileMenu.open {
  transform: translateX(0);
}

#mobileMenu a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

#mobileMenu a:hover {
  color: var(--accent);
  background: var(--accent-glow);
  border-left-color: var(--accent);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: 5rem;
}

/* Subtle background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(51,168,212,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(213,43,30,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Dot grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero-content { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--red-600);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-badge {
  background: rgba(213,43,30,0.12);
  border-color: rgba(213,43,30,0.25);
  color: var(--accent-dark);
}

.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero h1 {
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

/* Stat chips */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  box-shadow: var(--shadow-sm);
}

.stat-chip-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-chip-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(213,43,30,0.08);
}

.hero-img-wrap img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* Floating maple leaf */
.maple-float {
  position: absolute;
  top: -24px;
  right: -20px;
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px var(--accent-glow);
  animation: floatLeaf 3.5s ease-in-out infinite;
  z-index: 3;
}

.maple-float svg { width: 38px; height: 38px; fill: #fff; }

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* Rating badge */
.hero-rating {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-rating .stars { color: #f5a623; letter-spacing: -2px; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-hint svg { width: 18px; height: 18px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(5px); opacity: 1; }
}

/* ── Stats Band ───────────────────────────────────────────── */
.stats-band {
  background: var(--accent);
  padding-block: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 2px,
    transparent 2px,
    transparent 20px
  );
}

.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
}

/* ── Games Showcase ──────────────────────────────────────── */
.games {
  background: var(--bg-alt);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

/* Card color variants */
.game-card[data-color="red"]::before { background: var(--red-500); }
.game-card[data-color="ice"]::before { background: var(--ice-500); }
.game-card[data-color="pine"]::before { background: var(--pine-500); }
.game-card[data-color="wood"]::before { background: var(--wood-400); }

.game-card[data-color="red"]:hover .game-icon { background: var(--red-100); }
.game-card[data-color="ice"]:hover .game-icon { background: var(--ice-100); }
.game-card[data-color="pine"]:hover .game-icon { background: rgba(45,122,71,0.1); }
.game-card[data-color="wood"]:hover .game-icon { background: var(--wood-100); }

[data-theme="dark"] .game-card[data-color="red"]:hover .game-icon { background: rgba(213,43,30,0.15); }
[data-theme="dark"] .game-card[data-color="ice"]:hover .game-icon { background: rgba(51,168,212,0.15); }
[data-theme="dark"] .game-card[data-color="pine"]:hover .game-icon { background: rgba(45,122,71,0.15); }
[data-theme="dark"] .game-card[data-color="wood"]:hover .game-icon { background: rgba(176,125,85,0.15); }

.game-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.game-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: background var(--transition);
  flex-shrink: 0;
}

.game-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-light);
}

.game-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.game-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.game-platform {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.game-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--ice-100);
  color: var(--ice-700);
}

[data-theme="dark"] .game-tag {
  background: rgba(51,168,212,0.15);
  color: var(--blue);
}

/* ── Features / Why Us ───────────────────────────────────── */
.features {
  background: var(--bg);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .feature-icon {
  background: rgba(213,43,30,0.12);
  border-color: rgba(213,43,30,0.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── Coast to Coast Strip ────────────────────────────────── */
.coast-strip {
  background: var(--bg-alt);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  position: relative;
}

.coast-strip::before,
.coast-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.coast-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}

.coast-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}

.coast-inner {
  text-align: center;
  margin-bottom: 2.5rem;
}

.coast-scroll {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scrollBelt 28s linear infinite;
}

.coast-scroll:hover { animation-play-state: paused; }

@keyframes scrollBelt {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.coast-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.coast-tag span { color: var(--accent); font-size: 1rem; }

/* ── About / Story ───────────────────────────────────────── */
.about {
  background: var(--bg);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-frame img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.2rem;
}

.maple-accent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.maple-accent svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.maple-accent span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--ice-100);
  color: var(--ice-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.15rem;
}

[data-theme="dark"] .about-list li::before {
  background: rgba(51,168,212,0.15);
  color: var(--blue);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  background: var(--bg-alt);
  padding-block: clamp(4rem, 8vw, 7rem);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.testimonial-location {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

/* ── CTA Band ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-500) 50%, var(--red-400) 100%);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 30%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.cta-band-maple {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
}

.cta-band-maple svg {
  width: clamp(100px, 15vw, 180px);
  height: auto;
  fill: #fff;
}

.cta-band-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.cta-band p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-white {
  background: #fff;
  color: var(--red-600);
  font-family: var(--font-display);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--red-50);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  background: var(--bg);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.92rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-detail-icon {
  background: rgba(51,168,212,0.1);
  border-color: rgba(51,168,212,0.2);
}

.contact-detail-text { color: var(--text-muted); }
.contact-detail-text strong { color: var(--text); display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.honeypot { display: none !important; visibility: hidden; }

.form-alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.form-alert.ok {
  background: rgba(45,122,71,0.1);
  border: 1px solid rgba(45,122,71,0.25);
  color: var(--pine-500);
}

[data-theme="dark"] .form-alert.ok {
  background: rgba(45,122,71,0.15);
  border-color: rgba(45,122,71,0.3);
  color: var(--pine-200);
}

.form-alert.err {
  background: var(--red-50);
  border: 1px solid var(--red-100);
  color: var(--red-600);
}

[data-theme="dark"] .form-alert.err {
  background: rgba(213,43,30,0.1);
  border-color: rgba(213,43,30,0.25);
  color: var(--accent-dark);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--bg-stripe);
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-maple {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-maple svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
}

/* ── Reveal Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.56s cubic-bezier(0.4,0,0.2,1), transform 0.56s cubic-bezier(0.4,0,0.2,1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* Hero staggered load animation */
.hero-anim-1 {
  animation: heroSlide 0.7s cubic-bezier(0.4,0,0.2,1) 0.1s both;
}

.hero-anim-2 {
  animation: heroSlide 0.7s cubic-bezier(0.4,0,0.2,1) 0.25s both;
}

.hero-anim-3 {
  animation: heroSlide 0.7s cubic-bezier(0.4,0,0.2,1) 0.4s both;
}

.hero-anim-4 {
  animation: heroSlide 0.7s cubic-bezier(0.4,0,0.2,1) 0.55s both;
}

.hero-anim-img {
  animation: heroImgReveal 0.9s cubic-bezier(0.4,0,0.2,1) 0.3s both;
}

@keyframes heroSlide {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroImgReveal {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-anim-1, .hero-anim-2, .hero-anim-3, .hero-anim-4, .hero-anim-img {
    animation: none !important;
    opacity: 1 !important;
  }
  .maple-float { animation: none !important; }
  .coast-scroll { animation: none !important; }
  .scroll-hint { animation: none !important; }
}

/* ── Focus Styles ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }

  #navToggle {
    display: flex;
  }

  #mobileMenu {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual { order: -1; }

  .hero-img-wrap img { max-width: 100%; }

  .hero-rating {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .maple-float { top: -12px; right: 10px; width: 56px; height: 56px; }
  .maple-float svg { width: 30px; height: 30px; }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    bottom: 1rem;
    right: 1rem;
    position: static;
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  .hero-stats { flex-direction: column; align-items: center; }
  .stat-chip { width: 100%; max-width: 240px; flex-direction: row; justify-content: space-between; }

  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-item + .stat-item::before { display: none; }

  .cta-band-actions { flex-direction: column; align-items: center; }
}
