/* =====================================================
   POPPHIN™ — Main Stylesheet
   Brand: Popphin™ by Cinderpoint Systems LLC
   Aesthetic: Warm ocean, Scandinavian restraint, family joy
   Fonts: Nunito (headings) + Nunito Sans (body) — Google Fonts
   Palette: Pink #FFB6C1 · White #FFFFFF · Sunshine #FFD166
            Seafoam #06D6A0 · White #FFFFFF · Cloud #F0F8FF
   ===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1a2e3b;
  background: #ffffff;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- CSS Variables --- */
:root {
  --blue:          #FFB6C1;
  --blue-dark:     #e89aa5;
  --blue-light:    #ffe8ec;
  --blue-pale:     #FFF5F7;
  --coral:         #FFB6C1;
  --coral-dark:    #e89aa5;
  --coral-light:   #fff0f2;
  --yellow:        #FFD166;
  --yellow-dark:   #e8b800;
  --yellow-light:  #fff8e1;
  --seafoam:       #06D6A0;
  --seafoam-dark:  #05b585;
  --seafoam-light: #e0faf3;
  --white:         #FFFFFF;
  --cloud:         #F0F8FF;
  --ink:           #1a2e3b;
  --ink-mid:       #2d4a5e;
  --ink-light:     #567085;
  --off-white:     #f7fbfe;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --radius-pill:   9999px;
  --shadow-soft:   0 4px 20px rgba(255, 182, 193, 0.10);
  --shadow-card:   0 8px 36px rgba(255, 182, 193, 0.14);
  --shadow-hover:  0 18px 52px rgba(255, 182, 193, 0.22);
  --transition:    0.25s ease;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h4 { font-size: 1.2rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.22rem);
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-subtitle {
  text-align: center;
  color: var(--ink-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }
.text-blue   { color: var(--blue); }
.text-coral  { color: #003A5C; }
.text-yellow { color: var(--yellow-dark); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.22s ease;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.btn:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 5px 18px rgba(255, 107, 107, 0.38);
}

.btn-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.48);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 5px 18px rgba(0, 119, 182, 0.35);
}

.btn-secondary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.45);
}

.btn-seafoam {
  background: var(--seafoam);
  color: var(--white);
  box-shadow: 0 5px 18px rgba(6, 214, 160, 0.38);
}

.btn-seafoam:hover {
  background: var(--seafoam-dark);
  box-shadow: 0 10px 30px rgba(6, 214, 160, 0.48);
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.btn-white:hover {
  background: var(--cloud);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.btn-lg {
  font-size: 1.15rem;
  padding: 18px 48px;
}

.btn-sm {
  font-size: 0.88rem;
  padding: 10px 22px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--blue-light);
  transition: box-shadow var(--transition);
}

.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 119, 182, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.025em;
}

.nav-logo .logo-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(255, 182, 193, 0.22));
}

.nav-logo .logo-tm {
  font-size: 0.6rem;
  font-weight: 700;
  vertical-align: super;
  color: var(--blue);
  margin-left: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-light);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--blue-pale);
}

.nav-links a.nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 9px 22px;
  margin-left: 6px;
}

.nav-links a.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  background: none;
  border: none;
}

.nav-toggle:hover {
  background: var(--blue-pale);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 22px;
  border-top: 2px solid var(--blue-light);
  background: var(--white);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.nav-mobile a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}

.nav-mobile a.nav-cta {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  margin-top: 8px;
  border-radius: var(--radius-pill);
}

.nav-mobile a.nav-cta:hover {
  background: var(--coral-dark);
}

/* --- Page wrapper for fixed nav offset --- */
.page-body {
  padding-top: 72px;
}

/* =====================================================
   NOTICE BAR
   ===================================================== */
.notice-bar {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 11px 24px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.notice-bar a {
  text-decoration: underline;
  color: var(--yellow);
  transition: opacity var(--transition);
}

.notice-bar a:hover {
  opacity: 0.8;
}

/* =====================================================
   WAVE / SECTION DIVIDERS  (CSS clip-path)
   ===================================================== */
.wave-top {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-top svg,
.wave-bottom svg {
  display: block;
  width: 100%;
}

.wave-bottom {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

/* Clip-path wave on sections */
.section-wave-after {
  position: relative;
}

.section-wave-after::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.section-wave-after-cloud::after {
  background: var(--cloud);
}

.section-wave-after-yellow::after {
  background: var(--yellow-light);
}

/* =====================================================
   CONFETTI / BUBBLE ANIMATIONS
   ===================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(4deg); }
  66%       { transform: translateY(-6px) rotate(-3deg); }
}

@keyframes bubble-drift {
  0%   { transform: translateY(0) scale(1); opacity: 0.7; }
  50%  { transform: translateY(-30px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%       { transform: translate(12px, -18px) rotate(10deg); }
  66%       { transform: translate(-10px, 9px) rotate(-8deg); }
}

@keyframes bounce-in {
  0%   { transform: scale(0.8) translateY(16px); opacity: 0; }
  60%  { transform: scale(1.06) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}

@keyframes spin-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Confetti bubbles in hero */
.confetti-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.confetti-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  animation: bubble-drift ease-in-out infinite;
}

/* =====================================================
   HERO — HOME
   ===================================================== */
.hero {
  background: linear-gradient(150deg, #cce8f4 0%, #ddf0fc 45%, #e8f7fd 100%);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Wavy bottom cut */
.hero-wave {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .eyebrow {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-text h1 {
  color: var(--blue);
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--coral);
}

.hero-text .lead {
  font-size: 1.18rem;
  margin-bottom: 36px;
  color: var(--ink-mid);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Mascot visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 40px;
}

.hero-mascot {
  font-size: clamp(130px, 18vw, 210px);
  line-height: 1;
  filter: drop-shadow(0 20px 48px rgba(255, 182, 193, 0.22));
  animation: float-slow 5s ease-in-out infinite;
  user-select: none;
  position: relative;
  z-index: 2;
}

.hero-bubble {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--blue);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  z-index: 3;
  animation: bubble-drift ease-in-out infinite;
}

.bubble-1 {
  top: 12%;
  right: 3%;
  transform: rotate(4deg);
  color: #003A5C;
  animation-duration: 3.8s;
}

.bubble-2 {
  bottom: 18%;
  left: 1%;
  transform: rotate(-3deg);
  color: var(--blue);
  animation-duration: 4.4s;
  animation-delay: 0.8s;
}

/* Wave SVG divider below hero */
.hero-wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  background: var(--white);
  position: relative;
  z-index: 1;
  margin-top: -2px;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
}

/* =====================================================
   CHARACTERS PREVIEW SECTION — HOME
   ===================================================== */
.characters-section {
  background: var(--white);
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.character-card {
  background: var(--cloud);
  border-radius: var(--radius-lg);
  padding: 36px 24px 32px;
  text-align: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  border: 2.5px solid transparent;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.character-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.character-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue);
}

.character-card:nth-child(1) { border-top: 5px solid var(--blue); }
.character-card:nth-child(2) { border-top: 5px solid #9eb8c8; }
.character-card:nth-child(3) { border-top: 5px solid #b38fd4; }
.character-card:nth-child(4) { border-top: 5px solid var(--coral); }

.character-card .char-emoji {
  font-size: 3.8rem;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.10));
  animation: float-slow 5s ease-in-out infinite;
}

.character-card:nth-child(2) .char-emoji { animation-delay: 0.5s; }
.character-card:nth-child(3) .char-emoji { animation-delay: 1s; }
.character-card:nth-child(4) .char-emoji { animation-delay: 1.5s; }

.character-card .char-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 8px;
}

.character-card .char-role {
  font-size: 0.82rem;
  font-weight: 800;
  color: #003A5C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.character-card .char-desc {
  font-size: 0.93rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   WORLD TEASER — HOME
   ===================================================== */
.world-teaser-section {
  background: var(--cloud);
  padding: 80px 0 96px;
}

.world-teaser {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.world-teaser::before {
  content: '🌊';
  position: absolute;
  font-size: 340px;
  opacity: 0.06;
  right: -40px;
  bottom: -80px;
  line-height: 1;
  pointer-events: none;
}

.world-teaser::after {
  content: '🐬';
  position: absolute;
  font-size: 180px;
  opacity: 0.07;
  right: 64px;
  top: -20px;
  line-height: 1;
  pointer-events: none;
}

.world-teaser-inner {
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.world-teaser h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.world-teaser p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.72;
}

/* =====================================================
   MERCHANDISE TEASER — HOME
   ===================================================== */
.merch-section {
  background: var(--yellow-light);
  position: relative;
}

.merch-section::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--yellow-light);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.merch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.merch-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.merch-card-img {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  padding: 32px;
  text-align: center;
  font-size: 4rem;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merch-card-img.coral-bg {
  background: linear-gradient(135deg, var(--coral-light) 0%, #ffd8d8 100%);
}

.merch-card-img.yellow-bg {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff0a0 100%);
}

.merch-card-body {
  padding: 20px 22px 22px;
}

.merch-card-body h4 {
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}

.merch-card-body .price {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: #003A5C;
}

/* =====================================================
   SPORTS CALLOUT — HOME  (formerly racing-callout)
   ===================================================== */
.sports-callout {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.sports-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, rgba(0,119,182,0.18) 0%, rgba(255,107,107,0.12) 100%);
}

/* Keep racing-callout as alias */
.racing-callout {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.racing-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, rgba(0,119,182,0.18) 0%, rgba(255,107,107,0.12) 100%);
}

.racing-inner,
.sports-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.racing-text h2,
.sports-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.racing-text p,
.sports-text p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.racing-visual,
.sports-visual {
  text-align: center;
  font-size: 8rem;
  filter: drop-shadow(0 0 32px rgba(0, 119, 182, 0.45));
  animation: float-slow 5.5s ease-in-out infinite;
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.newsletter-section {
  background: var(--blue-pale);
}

.ck-form-wrapper {
  /* ConvertKit embed container — form injects here once ID is set */
  min-height: 56px;
}

/* =====================================================
   WORLD PAGE
   ===================================================== */
.world-hero {
  background: linear-gradient(160deg, #001e35 0%, #003560 50%, #0066a0 100%);
  color: var(--white);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.world-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cloud);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.world-hero h1 {
  color: var(--yellow);
  text-shadow: 0 0 48px rgba(255, 209, 102, 0.38);
}

.world-hero .lead {
  color: rgba(255,255,255,0.84);
}

.world-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.world-particles span {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.14;
  animation: drift 8s ease-in-out infinite;
}

/* The Surge section */
.surge-section {
  background: var(--cloud);
}

.surge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.surge-visual {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.surge-visual .surge-icon {
  font-size: 5.5rem;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
}

.surge-visual h3 {
  color: var(--yellow);
  margin-bottom: 14px;
}

.surge-visual p {
  opacity: 0.88;
  font-size: 0.95rem;
  line-height: 1.65;
}

.surge-zones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.zone-badge {
  background: rgba(255,255,255,0.13);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
}

.surge-text h2 {
  color: var(--blue);
  margin-bottom: 22px;
}

.surge-text p {
  color: var(--ink-light);
  margin-bottom: 16px;
  font-size: 1.04rem;
  line-height: 1.72;
}

/* Character bios */
.chars-section {
  background: var(--white);
}

.char-bio-card {
  background: var(--cloud);
  border-radius: var(--radius-xl);
  padding: 52px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: start;
  border: 2.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.char-bio-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-card);
}

.char-bio-card.featured {
  background: linear-gradient(145deg, #ddf0fc 0%, #c8e8f8 100%);
  border-color: var(--blue-light);
}

.char-portrait {
  text-align: center;
}

.char-portrait .portrait-emoji {
  font-size: 7.5rem;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.10));
  animation: float-slow 5s ease-in-out infinite;
}

.char-portrait .portrait-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 8px;
}

.char-portrait .portrait-tag {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.char-bio-info h3 {
  color: var(--blue);
  margin-bottom: 18px;
}

.char-bio-info p {
  color: var(--ink-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.trait-pill {
  background: var(--blue-pale);
  color: var(--blue);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--blue-light);
}

/* Stories section */
.stories-section {
  background: linear-gradient(180deg, var(--yellow-light) 0%, var(--white) 100%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  box-shadow: var(--shadow-soft);
  border: 2.5px solid transparent;
  transition: border-color var(--transition), transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

.story-card:hover {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.story-ep {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.story-card h3 {
  color: var(--blue);
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.story-card .story-chars {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.story-card p {
  color: var(--ink-light);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* =====================================================
   SHOP PAGE
   ===================================================== */
.shop-hero {
  background: linear-gradient(150deg, var(--yellow-light) 0%, #ffe59a 100%);
  padding: 90px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.shop-hero::before {
  content: '🛍️';
  position: absolute;
  font-size: 280px;
  opacity: 0.06;
  right: 10%;
  top: -30px;
  pointer-events: none;
}

.shop-hero h1 {
  color: var(--blue);
}

.shop-hero h1 span {
  color: var(--coral);
}

.shop-filter {
  background: var(--white);
  border-bottom: 2px solid var(--blue-light);
  padding: 20px 0;
  position: sticky;
  top: 72px;
  z-index: 100;
}

.filter-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-right: 4px;
}

.filter-btn {
  background: var(--off-white);
  color: var(--ink-mid);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.shop-section {
  background: var(--off-white);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-img {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--blue-light) 100%);
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  position: relative;
  flex-shrink: 0;
}

.product-img.coral-bg {
  background: linear-gradient(135deg, var(--coral-light) 0%, #ffd8d8 100%);
}

.product-img.yellow-bg {
  background: linear-gradient(135deg, var(--yellow-light) 0%, #fff0a0 100%);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.product-badge.badge-new {
  background: var(--seafoam);
}

.product-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-sku {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 9px;
  opacity: 0.65;
}

.product-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 9px;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #003A5C;
}

.add-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.add-btn:hover {
  background: var(--blue-dark);
  transform: scale(1.06);
}

/* Shop banner */
.shop-banner {
  background: linear-gradient(135deg, var(--coral) 0%, #ff8a8a 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px;
  text-align: center;
  margin: 40px 0 0;
  box-shadow: var(--shadow-card);
}

.shop-banner h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.shop-banner p {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Section heading within shop */
.shop-section h3[id] {
  color: var(--blue);
  margin-bottom: 30px;
  scroll-margin-top: 140px;
  font-family: 'Nunito', sans-serif;
}

/* =====================================================
   SPORTS HUB PAGE
   ===================================================== */
.sports-hero {
  background: linear-gradient(150deg, #cce8f4 0%, #e0f4fb 50%, #f0f8ff 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.sports-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.sports-hero .eyebrow {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.sports-hero h1 {
  color: var(--blue);
  margin-bottom: 20px;
}

.sports-hero h1 span {
  color: var(--coral);
}

.sports-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sports-hub-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 2.5px solid transparent;
}

.sports-hub-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-light);
}

.sports-hub-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  background: linear-gradient(135deg, #cce8f4 0%, #a8d8f0 100%);
}

.sports-hub-img.racing-bg {
  background: linear-gradient(135deg, #001a2e 0%, #003060 100%);
}

.sports-hub-body {
  padding: 28px 28px 32px;
  flex: 1;
}

.sports-hub-body h3 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.sports-hub-body p {
  color: var(--ink-light);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.sports-hub-body .sports-link {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: #003A5C;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.sports-hub-card:hover .sports-link {
  gap: 12px;
}

/* =====================================================
   RACING PAGE
   ===================================================== */
.racing-hero {
  background: linear-gradient(160deg, #0a0f1a 0%, #001a35 50%, #002a50 100%);
  color: var(--white);
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.racing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 22px,
    rgba(0, 119, 182, 0.04) 22px,
    rgba(0, 119, 182, 0.04) 44px
  );
}

.racing-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.racing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.racing-hero .eyebrow {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.racing-hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}

.racing-hero h1 span {
  color: #5ec8ff;
}

.racing-hero .lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: 34px;
}

.racing-hero-visual {
  text-align: center;
}

.racing-car-display {
  font-size: 9rem;
  display: block;
  filter: drop-shadow(0 0 44px rgba(0, 119, 182, 0.55));
  animation: float-slow 4.5s ease-in-out infinite;
  margin-bottom: 24px;
}

.team-colors {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.color-swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 3px solid rgba(255,255,255,0.2);
}

/* Racing story */
.racing-story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.story-grid .story-text h2 {
  color: var(--blue);
  margin-bottom: 22px;
}

.story-grid .story-text p {
  color: var(--ink-light);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.72;
}

.racing-trophy-visual {
  background: linear-gradient(135deg, var(--blue) 0%, #003060 100%);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.racing-trophy-visual .trophy-icon {
  font-size: 6rem;
  display: block;
  margin-bottom: 18px;
}

.racing-trophy-visual h3 {
  color: var(--yellow);
  margin-bottom: 10px;
}

.racing-trophy-visual p {
  opacity: 0.84;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Team stats */
.team-stats {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--yellow);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item .stat-label {
  font-weight: 700;
  font-size: 0.88rem;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Team identity */
.team-identity {
  background: var(--off-white);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.identity-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 34px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--transition);
}

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

.identity-card .identity-icon {
  font-size: 3.5rem;
  margin-bottom: 22px;
  display: block;
}

.identity-card h3 {
  color: var(--blue);
  margin-bottom: 14px;
}

.identity-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* Color band */
.color-band {
  height: 8px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 33%, var(--coral) 66%, var(--yellow) 100%);
  margin-bottom: 26px;
  border-radius: var(--radius-sm);
}

/* Racing CTA */
.racing-cta {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}

.racing-cta h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.racing-cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #0d1a26;
  color: rgba(255,255,255,0.68);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-brand .footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.footer-brand .footer-logo .logo-tm {
  font-size: 0.6rem;
  vertical-align: super;
  color: var(--coral);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-tagline {
  font-style: italic;
  color: #5ec8ff !important;
  font-weight: 600;
  margin-bottom: 0 !important;
}

.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.56);
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: #5ec8ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
}

.footer-hq {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.32);
}

/* =====================================================
   BADGES / PILLS
   ===================================================== */
.badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
}

.badge-blue   { background: var(--blue-pale); color: var(--blue); }
.badge-coral  { background: var(--coral-light); color: var(--coral-dark); }
.badge-yellow { background: var(--yellow-light); color: #9a7000; }
.badge-seafoam { background: var(--seafoam-light); color: var(--seafoam-dark); }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

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

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .characters-grid    { grid-template-columns: repeat(2, 1fr); }
  .merch-grid         { grid-template-columns: repeat(2, 1fr); }
  .shop-grid          { grid-template-columns: repeat(2, 1fr); }
  .sports-hub-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero-inner           { grid-template-columns: 1fr; text-align: center; }
  .hero-actions         { justify-content: center; }
  .hero-visual          { order: -1; }

  .racing-inner,
  .sports-inner         { grid-template-columns: 1fr; }

  .racing-hero-inner    { grid-template-columns: 1fr; text-align: center; }
  .sports-hero-inner    { grid-template-columns: 1fr; text-align: center; }

  .surge-grid           { grid-template-columns: 1fr; }
  .story-grid           { grid-template-columns: 1fr; }

  .char-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .char-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .char-traits {
    justify-content: center;
  }

  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .identity-grid        { grid-template-columns: 1fr; }
  .stories-grid         { grid-template-columns: 1fr; }

  .world-teaser {
    padding: 52px 36px;
    border-radius: var(--radius-lg);
  }

  .hero-text .lead      { max-width: 100%; }
}

/* =====================================================
   TOAST NOTIFICATION (shop add-to-bag)
   ===================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: #004f7c;
  color: #ffffff;
  font-family: 'Nunito', 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.toast.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 680px) {
  .section              { padding: 64px 0; }

  .nav-links            { display: none; }
  .nav-toggle           { display: flex; }

  .characters-grid      { grid-template-columns: 1fr 1fr; }
  .merch-grid           { grid-template-columns: 1fr 1fr; }
  .shop-grid            { grid-template-columns: 1fr; }
  .sports-hub-grid      { grid-template-columns: 1fr; }

  .footer-grid          { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom        { flex-direction: column; text-align: center; }

  .racing-car-display   { font-size: 6rem; }
  .world-teaser         { padding: 44px 28px; }
  .char-bio-card        { padding: 32px 22px; }
  .shop-banner          { padding: 40px 28px; }
  .racing-cta           { padding: 64px 0; }
}

@media (max-width: 440px) {
  .characters-grid      { grid-template-columns: 1fr; }
  .merch-grid           { grid-template-columns: 1fr; }
  .hero-mascot          { font-size: 100px; }
  .stats-grid           { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   ACCESSIBILITY — focus-visible + reduced motion
   Added 2026-05-13 as part of A+ a11y pass.
   ============================================================ */
:focus-visible {
  outline: 2px solid #FF6B9D;
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #FF6B9D;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
