@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.woff2") format("woff2"), url("fonts/Poppins-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.woff2") format("woff2"), url("fonts/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rajdhani";
  src: url("fonts/Rajdhani-SemiBold.woff2") format("woff2"), url("fonts/Rajdhani-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Base Backgrounds */
  --color-bg: #fefdfc;
  --color-surface: #ffffff;
  --color-surface-alt: #f6f3ef;
  --color-dark: #1a1a1a;

  /* Primary Brand Colors */
  --color-primary: #50b6d4;
  --color-primary-light: #b8e6f2;
  --color-primary-dark: #2a8ea8;

  /* Accent Colors */
  --color-accent: #ffc107; /* yellow-gold */
  --color-accent-light: #ffe9a3;
  --color-accent-dark: #cc9a00;

  --color-secondary: #8c5ed3;
  --color-secondary-light: #dacaf1;
  --color-secondary-dark: #673ab7;

  /* Text Colors */
  --color-text: #2b2b2b;
  --color-text-light: #383838;
  --color-heading: #1a1a1a;
  --color-muted: #8a8a8a;
  --color-white: #ffffff;

  /* Borders & Shadows */
  --color-border: #2a8ea8;
  --shadow-soft: 0 2px 6px rgba(103, 58, 183, 0.5);
  --shadow-strong: 0 6px 20px #673ab7;

  /* Fonts */
  --font-base: "Poppins", sans-serif;
  --font-heading: "Rajdhani", sans-serif;

  /* Font Sizes */
  --font-size-base: 1rem; /* 16px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-lg: 1.25rem; /* 20px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-2xl: 2rem; /* 32px */
  --font-size-3xl: 3rem; /* 48px */

  /* Spacing */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 1rem; /* 16px */
  --space-md: 1.5rem; /* 24px */
  --space-lg: 2rem; /* 32px */
  --space-xl: 3rem; /* 48px */
  --space-2xl: 4rem; /* 64px */

  /* Radius */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.5rem; /* 8px */
  --radius-lg: 1rem; /* 16px */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-heading);
}

body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

figure {
  margin: 0;
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-3-4 {
  aspect-ratio: 3/4;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
}

.aspect-16-9 {
  aspect-ratio: 16/9;
}

.aspect-1-1 {
  aspect-ratio: 1/1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.3s, transform 0.2s;
}

.btn-primary {
  text-decoration: none !important;
  background: var(--color-primary);
  color: var(--color-surface) !important;
  border: 2px solid var(--color-primary-dark);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  color: var(--color-surface) !important;
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-surface);
  border: 2px solid var(--color-secondary-dark);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

/* Header */
.header {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
}

.logo-img {
  width: 100px;
}

.nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-primary);
}

.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  position: relative;
  width: 40px;
  height: 40px;
}

.burger-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.burger-open {
  opacity: 1;
}

.burger-close {
  opacity: 0;
}

.burger-toggle.active .burger-open {
  opacity: 0;
}

.burger-toggle.active .burger-close {
  opacity: 1;
}

/* Hero Portal */
.hero-portal {
  position: relative;
  padding: var(--space-2xl) 0;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.hero-portal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: var(--color-secondary-light);
  padding: 20px;
}

.hero-intro * {
  margin: 0 !important;
}

* {
  margin-top: 0;
}

.hero-intro .btn {
  align-self: flex-start;
}

.hero-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 80%;
}

.hero-chips {
  width: 100%;
}

/* How It Works */
.how-it-works {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.section-title {
  font-size: var(--font-size-2xl);
  text-align: center;
  margin-bottom: var(--space-sm);
}

/* Progress Fill Classes */
.progress-fill-0 {
  width: 0%;
}

.progress-fill-40 {
  width: 40%;
}

.progress-fill-50 {
  width: 50%;
}

.progress-fill-60 {
  width: 60%;
}

.progress-fill-75 {
  width: 75%;
}

.progress-fill-90 {
  width: 90%;
}

.progress-fill-100 {
  width: 100%;
}

.section-subtitle {
  display: block;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.steps-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.step-card {
  background: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 50px;
  margin-bottom: var(--space-sm);
}

.step-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.step-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.step-card small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Free Play Highlights */
.free-play {
  padding: var(--space-2xl) 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.game-tile {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.games-scroll {
  padding: 20px 0 0;
}

.game-tile:hover {
  transform: translateY(-5px);
}

.game-img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.game-info {
  padding: var(--space-md);
  text-align: center;
}

.game-info h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.game-info p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

/* Daily Spin Preview */
.daily-spin {
  padding: var(--space-xl) 0;
  background: var(--color-primary-light);
}

.spin-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-strong);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.spin-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.spin-rewards {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.spin-rewards li {
  font-size: var(--font-size-sm);
  color: var(--color-secondary);
  font-family: var(--font-heading);
}

/* Game Room Marquee */
.game-room {
  padding: var(--space-2xl) 0;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: var(--space-md);
  animation: marquee 20s linear infinite;
  padding: var(--space-md) 0;
}

.category-card {
  flex: 0 0 300px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.category-card:hover {
  transform: scale(1.05);
}

.category-img {
  width: 100%;
}

.category-card h3 {
  font-size: var(--font-size-lg);
  text-align: center;
  padding: var(--space-sm);
  margin: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Member Sayings */
.member-sayings {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.sayings-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px;
}

.slider-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s;
}

.saying-bubble {
  flex: 0 0 calc(100% - var(--space-md));
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.saying-bubble blockquote {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.saying-bubble cite {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.slider-prev,
.slider-next {
  background: var(--color-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev::before,
.slider-next::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-surface);
  border-right: 2px solid var(--color-surface);
}

.slider-prev::before {
  transform: rotate(-45deg);
}

.slider-next::before {
  transform: rotate(135deg);
}

/* Win Streaks */
.streaks-board {
  padding: var(--space-2xl) 0;
  position: relative;
}

.streaks-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.streak-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.streak-item:hover {
  transform: translateX(-5px);
}

.streak-avatar {
  width: 40px;
  border: 2px solid var(--color-primary);
  border-radius: 100%;
  flex: 0 0 auto;
}

.streak-info h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.streak-info p {
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.streak-info small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Chip Collector's Tip */
.collector-tip {
  padding: var(--space-xl) 0;
  background: var(--color-primary);
}

.tip-box {
  background: var(--color-surface);
  border-radius: 20px;
  padding: var(--space-lg);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-strong);
}

.tip-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

/* Explore the Club */
.explore-club {
  padding: var(--space-2xl) 0;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.explore-link {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.explore-link:hover {
  transform: translateY(-5px);
}

.explore-link h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.explore-link p {
  color: var(--color-text-light);
  margin: 0;
}

/* Join the Fun CTA */
.join-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-secondary);
}

.cta-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-strong);
}

.cta-card::before {
  content: "★";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--color-accent);
}

.cta-lead {
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

/* Footer */
.footer {
  background: var(--color-dark);
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.footer-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-white);
}

.footer-col p,
.footer-nav,
.footer-contact {
  color: var(--color-white);
  margin: 0;
}

.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: var(--space-sm);
}

.footer-nav a,
.footer-contact a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-primary);
}

.age-warn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.age-warn strong {
  font-size: var(--font-size-lg);
  color: var(--color-white);
}

.age-warn figure {
  width: 100px;
}

/* Media Queries */
@media (max-width: 1023px) {
  .header-container {
    position: relative;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    padding: var(--space-md);
    box-shadow: var(--shadow-soft);
  }

  .nav-list.active {
    display: flex;
  }

  .burger-toggle {
    display: block;
  }

  .hero-portal-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-intro .btn {
    align-self: center;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-chips {
    margin: 0 auto;
    max-width: 400px;
  }

  .games-grid,
  .explore-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .step-card {
    padding: var(--space-sm);
  }

  .category-card {
    flex: 0 0 200px;
  }
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  padding: var(--space-2xl) 0;
}

.hero-carousel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-arcade {
  width: 100%;
}

/* Free Spin-Ready Games */
.free-spin-games {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.section-lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.games-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-surface);
}

.games-scroll::-webkit-scrollbar {
  height: 8px;
}

.games-scroll::-webkit-scrollbar-track {
  background: var(--color-surface);
}

.games-scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-sm);
}

.game-card {
  flex: 0 0 280px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-tag {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 1;
}

.tag-spin {
  background: var(--color-accent);
}

.tag-bonus {
  background: var(--color-secondary);
}

.tag-combo {
  background: var(--color-primary);
}

.tag-quest {
  background: var(--color-accent-dark);
}

.tag-streak {
  background: var(--color-secondary-dark);
}

.tag-challenge {
  background: var(--color-primary-dark);
}

.game-details {
  padding: var(--space-md);
}

.game-details h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.game-details p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

ul.game-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  color: var(--color-muted);
  font-size: var(--font-size-sm);
}

ul.game-features li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-sm);
}

ul.game-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* Media Queries */
@media (max-width: 1023px) {
  .hero-carousel-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-arcade {
    margin: 0 auto;
    max-width: 400px;
  }
}

@media (max-width: 767px) {
  .game-card {
    flex: 0 0 240px;
  }
}

/* Game Iframe */
.game-iframe {
  padding: var(--space-xl) 0;
  background: var(--color-surface-alt);
}

.iframe-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Game Description */
.game-description {
  position: relative;
  padding: var(--space-2xl) 0;
}

.description-content {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
  text-align: center;
}

.description-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.game-highlights {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 0;
  color: var(--color-text-light);
}

.game-highlights li {
  position: relative;
  margin-bottom: var(--space-sm);
}

/* Game Features */
.game-features {
  padding: var(--space-2xl) 0;
  background: var(--color-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-img {
  width: 150px;
  border-radius: 100%;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px var(--color-secondary);
}

.feature-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--color-text-light);
  margin: 0;
}

/* Media Queries */
@media (max-width: 1023px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .game-description {
    padding: var(--space-xl) 0;
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }
}

/* Hero Story */
.hero-story {
  position: relative;
  padding: var(--space-2xl) 0;
}

.hero-story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-scrapbook {
  width: 100%;
}

/* Why FunChips Exists */
.why-funchips {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding-bottom: var(--space-md);
}

.timeline-item {
  flex: 0 0 300px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-icon {
  width: 50px;
  margin: 0 auto var(--space-sm);
}

.timeline-item h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.timeline-item p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.timeline-item small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Founders’ Log */
.founders-log {
  position: relative;
  padding: var(--space-2xl) 0;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.chat-bubble {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.chat-bubble::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-top: 10px solid var(--color-surface);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

.chat-bubble blockquote {
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin: 0 0 var(--space-sm);
}

.chat-bubble cite {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Milestone Moments */
.milestone-moments {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.timeline-vertical {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline-vertical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  position: relative;
}

.milestone-item.left {
  flex-direction: row-reverse;
  text-align: right;
}

.milestone-item.right {
  flex-direction: row;
  text-align: left;
}

.milestone-pin {
  width: 60px;
  z-index: 1;
}

.milestone-content {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  flex: 1;
}

.milestone-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.milestone-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.milestone-content small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Our Imaginary World */
.imaginary-world {
  position: relative;
  padding: var(--space-2xl) 0;
}

.world-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.world-zone {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.world-zone:hover {
  transform: translateY(-5px);
}

.zone-img {
  width: 100%;
  margin-bottom: var(--space-md);
}

.world-zone h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.world-zone p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.world-zone small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Culture Code */
.culture-code {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  margin: 0 auto var(--space-sm);
}

.value-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--color-text-light);
  margin: 0;
}

/* Player-made Lore */
.player-lore {
  position: relative;
  padding: var(--space-2xl) 0;
}

.lore-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.lore-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.lore-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.lore-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.lore-card cite {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.lore-card small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  display: block;
}

/* Visual Evolution */
.visual-evolution {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.evolution-snapshot {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.evolution-snapshot:hover {
  transform: translateY(-5px);
}

.snapshot-img {
  width: 100%;
  margin-bottom: var(--space-md);
}

.evolution-snapshot h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.evolution-snapshot p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.evolution-snapshot small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Behind the Chips */
.behind-chips {
  position: relative;
  padding: var(--space-2xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.team-member {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-img {
  width: 100%;
  margin-bottom: var(--space-md);
}

.team-member h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.team-member p {
  color: var(--color-text-light);
  margin: 0;
}

/* Back to Game Room CTA */
.game-room-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-primary-light);
  position: relative;
}

.cta-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.chip-icon {
  width: 50px;
  position: absolute;
}

.chip-icon-1 {
  left: 10%;
  top: 10%;
}
.chip-icon-2 {
  right: 20%;
  top: 15%;
}
.chip-icon-3 {
  left: 25%;
  bottom: 2%;
}

/* Media Queries */
@media (max-width: 1023px) {
  .hero-story-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-scrapbook {
    margin: 0 auto;
    max-width: 400px;
  }

  .world-map,
  .values-grid,
  .evolution-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .timeline-vertical::before {
    left: 65px;
  }

  .milestone-item.left,
  .milestone-item.right {
    flex-direction: row;
    text-align: left;
  }

  .milestone-item.left {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .timeline-horizontal {
    grid-template-columns: repeat(1, 1fr);
  }
  .timeline-item {
    flex: 0 0 240px;
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }
}

/* Hero Hub */
.hero-hub {
  position: relative;
  padding: var(--space-2xl) 0;
}

.hero-hub-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-badge {
  width: 100%;
}

/* Badge Showcase */
.badge-showcase {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: var(--space-sm);
}

.badge-tile {
  position: relative;
  cursor: pointer;
}

.badge-img {
  width: 100%;
  transition: transform 0.3s;
  border-radius: 100%;
}

.badge-tile:hover .badge-img {
  transform: scale(1.1);
}

.badge-popup {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-soft);
  width: 200px;
  text-align: center;
  z-index: 10;
}

.badge-tile:hover .badge-popup {
  display: block;
}

.badge-popup h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.badge-popup p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* Quests Today */
.quests-today {
  position: relative;
  padding: var(--space-2xl) 0;
}

.quest-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.quest-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.quest-card:hover {
  transform: translateY(-5px);
}

.quest-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.quest-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.quest-card small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Event Countdown */
.event-countdown {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
  text-align: center;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.countdown-box {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  min-width: 80px;
}

.countdown-number {
  font-size: var(--font-size-xl);
  display: block;
}

.countdown-label {
  font-size: var(--font-size-sm);
}

.event-details {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* Hall of Fame */
.hall-fame {
  position: relative;
  padding: var(--space-2xl) 0;
}

.fame-table-wrapper {
  overflow-x: auto;
}

.fame-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.fame-table th,
.fame-table td {
  padding: var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-muted-light);
}

.fame-table th {
  background: var(--color-primary-light);
  color: var(--color-secondary-dark);
  font-size: var(--font-size-base);
}

.fame-table td {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.avatar-img {
  width: 30px;
  vertical-align: middle;
  margin-right: var(--space-sm);
}

.fame-table tr:hover {
  background: var(--color-surface-alt);
}

/* Your Club Stats */
.club-stats {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.stat-item {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-item h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.progress-bar {
  background: var(--color-muted-light);
  border-radius: var(--radius-sm);
  height: 8px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.progress-fill {
  background: var(--color-primary);
  height: 100%;
  transition: width 0.3s;
}

.stat-item p {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.stat-item small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Achievements Grid */
.achievements-grid {
  position: relative;
  padding: var(--space-2xl) 0;
}

.achieve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.achieve-category {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.achieve-category h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
}

.achieve-item {
  margin-bottom: var(--space-md);
}

.achieve-item p {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.achieve-item small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Hub Tips & Tricks */
.hub-tips {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.accordion-list {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

.accordion-item summary {
  padding: var(--space-md);
  font-size: var(--font-size-base);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item summary::after {
  content: "▼";
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.accordion-item[open] summary::after {
  content: "▲";
}

.accordion-item p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.accordion-item small {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  display: block;
}

/* Media Queries */
@media (max-width: 1023px) {
  .hero-hub-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto;
    max-width: 400px;
  }

  .stats-grid,
  .achieve-grid {
    grid-template-columns: 1fr;
  }

  .countdown-boxes {
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  }

  .fame-table th,
  .fame-table td {
    font-size: var(--font-size-xs);
    padding: var(--space-sm);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }
}

/* Hero Guide */
.hero-guide {
  position: relative;
  padding: var(--space-2xl) 0;
}

.hero-guide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-manual {
  width: 100%;
}

/* What is FunChips Club? */
.what-is-funchips {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.intro-block {
  max-width: 800px;
  margin: var(--space-lg) auto;
}

.definitions-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.definitions-list li {
  padding: var(--space-sm) 0;
  color: var(--color-text-light);
}

.definitions-list li strong {
  color: var(--color-text);
}

/* How to Start Playing */
.how-to-play {
  position: relative;
  padding: var(--space-2xl) 0;
}

.play-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.play-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.play-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-bold);
}

.card-number {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

.play-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.play-card p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.play-card small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* What are Free Spins? */
.free-spins {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
  position: relative;
}

.spins-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.spins-card .chip-icon-1 {
  top: -5%;
}

.chip-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.spins-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.spins-benefits {
  list-style: disc;
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
  color: var(--color-text-light);
}

.spins-benefits li strong {
  color: var(--color-text);
}

/* Game Types Explained */
.game-types {
  position: relative;
  padding: var(--space-2xl) 0;
}

.game-types .container {
  position: relative;
  z-index: 2;
}

.tabs-container {
  max-width: 800px;
  margin: 0 auto;
}

.tabs-container input {
  display: none;
}

.tabs-container label {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  margin-right: var(--space-xs);
  transition: background 0.3s;
  border: 1px solid var(--color-primary);
}

.tabs-container input:checked + label {
  background: var(--color-primary);
  color: var(--color-white);
}

.tab-content {
  display: none;
  background: var(--color-surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

#tab-slot:checked ~ #content-slot,
#tab-puzzle:checked ~ #content-puzzle,
#tab-adventure:checked ~ #content-adventure {
  display: block;
}

.tab-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.tab-content ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin: var(--space-md) 0;
  color: var(--color-text-light);
}

/* How Badges Work */
.badges-work {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.badge-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.badge-timeline::before {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  top: -20px;
  bottom: -20px;
  width: 4px;
  background: var(--color-primary);
}

.badge-step {
  display: flex;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.badge-step * {
  margin: 0 !important;
}

.badge-icon {
  width: 40px;
}

.badge-step h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.badge-step p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.badge-step small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Daily Limits & Logs */
.daily-limits {
  position: relative;
  padding: var(--space-2xl) 0;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.limit-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.limit-box h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.limit-box p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.limit-box small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Privacy & Safety Info */
.privacy-safety {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.safety-block {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.safety-block h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.safety-block p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.safety-block small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.safety-block small a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Troubleshooting */
.troubleshooting {
  position: relative;
  padding: var(--space-2xl) 0;
}

.trouble-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.trouble-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

.trouble-item summary {
  padding: var(--space-md);
  font-size: var(--font-size-base);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trouble-item summary::after {
  content: "▼";
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

.trouble-item[open] summary::after {
  content: "▲";
}

.trouble-item p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.trouble-item small {
  padding: 0 var(--space-md) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  display: block;
}

/* Need More Help? */
.need-help {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.help-cta {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  max-width: 600px;
  margin: 0 auto;
}

.help-cta p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* Media Queries */
@media (max-width: 1023px) {
  .hero-guide-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-manual {
    margin: 0 auto;
    max-width: 400px;
  }

  .limits-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .tabs-container label {
    font-size: var(--font-size-sm);
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 767px) {
  .tabs-container label {
    width: 100%;
    margin: 0 0 15px;
    border-radius: 10px;
  }

  .badge-timeline::before {
    left: 15px;
  }

  .badge-step {
    padding: var(--space-sm);
    flex-direction: column;
  }

  .badge-icon {
    width: 30px;
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }
}

/* Hero Signals */
.hero-signals {
  position: relative;
  padding: var(--space-2xl) 0;
}

.hero-signals-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-transmitter {
  width: 100%;
}

/* Contact Form */
.contact-form {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.form-stack {
  max-width: 600px;
  margin: var(--space-lg) auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
  padding: var(--space-sm);
  border: 1px solid var(--color-muted-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background: var(--color-surface);
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 5px var(--color-primary-light);
}

.form-group textarea {
  resize: vertical;
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
}

.form-checkbox input {
  width: 16px;
  height: 16px;
}

.form-checkbox label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.form-checkbox label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Ping Location */
.ping-location {
  position: relative;
  padding: var(--space-2xl) 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.location-col h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.address-block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.location-icon {
  width: 40px;
}

.address-block p {
  margin: 0;
}

.address-block a {
  color: var(--color-text);
  text-decoration: none;
}

.address-block a:hover {
  color: var(--color-primary);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.hours-list li {
  padding: var(--space-sm) 0;
  color: var(--color-text-light);
}

.hours-list li strong {
  color: var(--color-text);
}

.location-col p {
  color: var(--color-text-light);
}

/* Our Signal Code */
.signal-code {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.code-principle {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.code-principle:hover {
  transform: translateY(-5px);
}

.principle-icon {
  width: 50px;
  margin: 0 auto var(--space-sm);
}

.code-principle h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.code-principle p {
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.code-principle small {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: var(--space-2xl) 0;
}

.cta-block {
  text-align: center;
  margin-top: var(--space-lg);
}

.glowing {
  position: relative;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px var(--color-primary-light);
  }
  50% {
    box-shadow: 0 0 20px var(--color-primary);
  }
}

/* Media Queries */
@media (max-width: 1023px) {
  .hero-signals-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-transmitter {
    margin: 0 auto;
    max-width: 400px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .code-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }

  .form-group input,
  .form-group textarea {
    font-size: var(--font-size-sm);
  }
}

/* Hero Privacy */
.hero-privacy {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0;
}

.hero-privacy-content {
  text-align: center;
}

/* Hero Terms */
.hero-terms {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0;
}

.hero-terms-content {
  text-align: center;
}

/* Hero Disclaimer */
.hero-disclaimer {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero-disclaimer .hero-lead,
.hero-privacy .hero-lead,
.hero-terms .hero-lead,
.hero-thank-you .hero-lead {
  margin: auto;
}

.hero-disclaimer-content {
  text-align: center;
}

/* Hero Thank You */
.hero-thank-you {
  background: var(--color-primary-light);
  padding: var(--space-2xl) 0;
}

.hero-thank-you-content {
  text-align: center;
}

/* Legal Content Sections */
.privacy-content,
.terms-content,
.disclaimer-content,
.thank-you-content {
  padding: var(--space-2xl) 0;
  background: var(--color-surface-alt);
}

.privacy-section,
.terms-section,
.disclaimer-section,
.thank-you-section {
  margin-bottom: var(--space-xl);
}

.privacy-section h3,
.terms-section h3,
.disclaimer-section h3,
.thank-you-section h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.privacy-section p,
.terms-section p,
.disclaimer-section p,
.thank-you-section p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.privacy-section ul,
.terms-section ul,
.disclaimer-section ul,
.thank-you-section ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.privacy-section ul li,
.terms-section ul li,
.disclaimer-section ul li,
.thank-you-section ul li {
  padding: var(--space-xs) 0;
}

.privacy-section a,
.terms-section a,
.disclaimer-section a,
.thank-you-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

.thank-you-section .btn {
  margin-top: var(--space-md);
  display: inline-block;
}

/* Media Queries */
@media (max-width: 767px) {
  .section-title {
    font-size: var(--font-size-xl);
  }

  .section-lead {
    font-size: var(--font-size-base);
  }

  .privacy-section h3,
  .terms-section h3,
  .disclaimer-section h3,
  .thank-you-section h3 {
    font-size: var(--font-size-lg);
  }
}
