/* ========================================================
   WORM ESCAPE — OFFICIAL WEBSITE STYLESHEET
   Lush Sunlit Garden Theme (Supercell & Playrix Inspired)
   ======================================================== */

:root {
  /* Sky & Sunshine */
  --sky-blue: #6ec9ff;
  --sky-light: #e6f7ff;
  --sun-gold: #ffb800;
  --sun-warm: #ffe57f;
  --sun-glow: rgba(255, 184, 0, 0.4);

  /* Lush Meadow Greens */
  --grass-vibrant: #64c226;
  --grass-rich: #4ea818;
  --grass-deep: #2e7d18;
  --forest-dark: #164010;
  --forest-shadow: #0e2b0a;
  --meadow-bg: #eaf8d6;

  /* Playful Character Accents */
  --worm-orange: #ff7043;
  --worm-purple: #ab47bc;
  --worm-blue: #29b6f6;
  --worm-green: #43a047;
  --worm-yellow: #fbc02d;

  /* Card Surfaces & Glassmorphism */
  --card-bg-ivory: #ffffff;
  --card-bg-glass: rgba(255, 255, 255, 0.95);
  --card-border: rgba(100, 194, 38, 0.28);
  --card-border-gold: rgba(255, 184, 0, 0.5);
  --card-shadow-soft: 0 16px 40px rgba(22, 64, 16, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 24px 50px rgba(22, 64, 16, 0.18), 0 8px 20px rgba(0, 0, 0, 0.06);

  /* Typography Colors */
  --text-title: #14380f;
  --text-heading: #1e4d16;
  --text-body: #3c5938;
  --text-muted: #6b8966;
  --text-light: #ffffff;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(180deg, #6ec9ff 0%, #a4e4be 380px, #e8f7d4 750px, #e3f4ce 100%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ================= FLOATING DANDELIONS & LEAVES ================= */
.floating-garden-ambience {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.dandelion-seed {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 20%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: floatDandelion 14s infinite linear;
}

.dandelion-seed::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  transform: rotate(25deg);
}

.dandelion-seed.s1 { left: 8%; bottom: -40px; animation-duration: 16s; animation-delay: 0s; }
.dandelion-seed.s2 { left: 24%; bottom: -40px; animation-duration: 21s; animation-delay: 4s; }
.dandelion-seed.s3 { left: 52%; bottom: -40px; animation-duration: 18s; animation-delay: 2s; }
.dandelion-seed.s4 { left: 78%; bottom: -40px; animation-duration: 15s; animation-delay: 6s; }
.dandelion-seed.s5 { left: 92%; bottom: -40px; animation-duration: 24s; animation-delay: 8s; }

.garden-leaf {
  position: absolute;
  width: 18px;
  height: 26px;
  background: linear-gradient(135deg, rgba(120, 210, 60, 0.7), rgba(80, 170, 30, 0.7));
  border-radius: 0 100% 0 100%;
  animation: floatLeaf 20s infinite linear;
}

.garden-leaf.l1 { left: 15%; top: -30px; animation-duration: 22s; animation-delay: 1s; }
.garden-leaf.l2 { left: 60%; top: -30px; animation-duration: 18s; animation-delay: 7s; }
.garden-leaf.l3 { left: 85%; top: -30px; animation-duration: 25s; animation-delay: 12s; }

@keyframes floatDandelion {
  0% { transform: translateY(0) translateX(0) scale(0.8); opacity: 0; }
  15% { opacity: 0.85; }
  50% { transform: translateY(-50vh) translateX(40px) scale(1); opacity: 0.9; }
  85% { opacity: 0.7; }
  100% { transform: translateY(-110vh) translateX(80px) scale(0.9); opacity: 0; }
}

@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.75; }
  50% { transform: translateY(55vh) rotate(180deg) translateX(60px); }
  90% { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(360deg) translateX(120px); opacity: 0; }
}

/* ================= TOP NAVIGATION BAR ================= */
.top-nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  max-width: 1140px;
  width: calc(100% - 32px);
  margin: 0 auto;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(22, 64, 16, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  height: 64px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-container {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-heading);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--grass-deep);
  background: rgba(100, 194, 38, 0.12);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--grass-rich) 0%, var(--grass-deep) 100%);
  box-shadow: 0 4px 12px rgba(46, 125, 24, 0.3);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-google-play-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #2bb652 0%, #1e8e3e 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(30, 142, 62, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.btn-google-play-nav:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(30, 142, 62, 0.5);
  background: linear-gradient(135deg, #32ca5c 0%, #229d45 100%);
}

.gp-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.gp-top {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-weight: 600;
}

.gp-bot {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-heading);
  border-radius: 3px;
  transition: 0.3s;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding: 70px 0 100px;
  overflow: hidden;
}

.hero-sunbeam {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 245, 180, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--sun-gold);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--forest-dark);
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.25);
  margin-bottom: 18px;
}

.hero-logo-wrap {
  margin-bottom: 20px;
}

.hero-logo-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(22, 64, 16, 0.2));
  animation: logoGentlePulse 4s ease-in-out infinite;
}

@keyframes logoGentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.12;
  color: var(--text-title);
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.highlight-gold {
  color: #ff9f00;
  background: linear-gradient(135deg, #ff9100 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 4px 12px rgba(255, 160, 0, 0.2);
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 26px;
  max-width: 500px;
  font-weight: 500;
}

/* Trust Badges Row */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(100, 194, 38, 0.3);
  font-size: 14px;
  color: var(--text-heading);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.trust-badge strong {
  color: var(--text-title);
}

/* Store CTA Button */
.btn-hero-google-play {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #24b84f 0%, #178e3c 100%);
  border: 2px solid #ffffff;
  border-radius: 24px;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(23, 142, 60, 0.4), 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #ffffff;
  text-align: left;
}

.btn-hero-google-play:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(23, 142, 60, 0.55), 0 6px 14px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #2ecc5c 0%, #1ca347 100%);
}

.btn-hero-google-play:active {
  transform: translateY(1px) scale(0.98);
}

.gp-badge-icon {
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gp-badge-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.gp-badge-sub {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 2px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
  0% { left: -120%; }
  35%, 100% { left: 160%; }
}

/* Right Column: Phone Mockup with Floating Badges */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-floating-container {
  position: relative;
  animation: floatPhone 5s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-mockup-img {
  width: 380px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(22, 64, 16, 0.25));
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--sun-gold);
  border-radius: 9999px;
  padding: 8px 18px;
  box-shadow: 0 8px 24px rgba(22, 64, 16, 0.15);
  font-weight: 800;
  font-size: 14px;
  color: var(--forest-dark);
  z-index: 3;
}

.badge-top-right {
  top: 15%;
  right: -20px;
  animation: floatBadge1 4s ease-in-out infinite alternate;
}

.badge-bottom-left {
  bottom: 22%;
  left: -24px;
  animation: floatBadge2 4.5s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0) rotate(2deg); }
  100% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

.hero-meadow-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.hero-meadow-divider svg {
  width: 100%;
  height: 60px;
}

/* ================= COMMON SECTION CONTAINERS ================= */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-header-center {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1.5px solid var(--grass-rich);
  border-radius: 9999px;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--grass-deep);
  box-shadow: 0 3px 10px rgba(78, 168, 24, 0.15);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: var(--text-title);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
}

/* ================= 4 FEATURES SECTION ================= */
.features-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #4ea818 0%, #3e8e10 60px, transparent 180px);
}

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

.feature-card {
  position: relative;
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow-soft);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--grass-rich);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.icon-chest-bg { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }
.icon-leaf-bg { background: linear-gradient(135deg, #e8f8d6 0%, #c8e6c9 100%); }
.icon-star-bg { background: linear-gradient(135deg, #fff9c4 0%, #ffecb3 100%); }
.icon-heart-bg { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%); }

.feat-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.feature-bottom-accent {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--grass-rich), transparent);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-bottom-accent {
  opacity: 1;
}

/* ================= CHARACTERS SPOTLIGHT ================= */
.characters-section {
  padding: 60px 0 80px;
}

.character-spotlight-banner {
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border-gold);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--card-shadow-soft);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.tag-mascot {
  border-color: #ff9800;
  color: #e65100;
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--text-title);
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.spotlight-text {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 28px;
}

.characters-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.char-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7fbf2;
  border: 1.5px solid rgba(100, 194, 38, 0.25);
  border-radius: 16px;
  padding: 10px 16px;
  font-size: 14.5px;
  color: var(--text-heading);
  transition: all 0.25s ease;
}

.char-pill:hover {
  transform: translateX(4px);
  background: #ffffff;
  border-color: var(--grass-rich);
  box-shadow: 0 4px 12px rgba(46, 125, 24, 0.12);
}

.char-dot {
  font-size: 18px;
}

.mascot-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascot-img {
  width: 280px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(22, 64, 16, 0.25));
  animation: mascotWiggle 4s ease-in-out infinite;
}

@keyframes mascotWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.03); }
}

.mascot-speech-bubble {
  position: absolute;
  top: -15px;
  right: -10px;
  background: #ffffff;
  border: 2px solid var(--grass-rich);
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--forest-dark);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  animation: floatBubble 3s ease-in-out infinite alternate;
}

@keyframes floatBubble {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ================= "HOW TO PLAY" ================= */
.how-to-play-section {
  padding: 70px 0 90px;
}

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

.how-card {
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--card-shadow-soft);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.how-card:hover {
  transform: translateY(-8px);
  border-color: var(--grass-rich);
  box-shadow: var(--card-shadow-hover);
}

.how-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun-gold) 0%, #ff8f00 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 143, 0, 0.35);
}

.how-step-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
}

.how-step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.how-card-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(100, 194, 38, 0.2);
  background: #eaf8d6;
  margin-top: auto;
}

.how-step-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.how-card:hover .how-step-img {
  transform: scale(1.04);
}

/* ================= GAMEPLAY PREVIEW CAROUSEL ================= */
.gameplay-preview-section {
  padding: 70px 0 90px;
}

.carousel-card-container {
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border);
  border-radius: 32px;
  padding: 44px;
  box-shadow: var(--card-shadow-soft);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  max-width: 820px;
}

.carousel-track {
  position: relative;
  width: 100%;
}

.carousel-page {
  display: none;
  justify-content: center;
  gap: 36px;
  animation: fadeInPage 0.45s ease forwards;
}

.carousel-page.active {
  display: flex;
}

@keyframes fadeInPage {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.preview-device-card {
  position: relative;
  background: #14380f;
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 16px 36px rgba(22, 64, 16, 0.3), 0 0 0 4px #2e7d18;
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.preview-device-card:hover {
  transform: translateY(-6px);
}

.device-notch {
  width: 60px;
  height: 12px;
  background: #0e2b0a;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 6px;
}

.preview-img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.preview-caption {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 8px;
  padding-bottom: 4px;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grass-rich) 0%, var(--grass-deep) 100%);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(46, 125, 24, 0.3);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.carousel-arrow:hover {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--grass-vibrant) 0%, var(--grass-rich) 100%);
  box-shadow: 0 10px 24px rgba(46, 125, 24, 0.45);
}

.carousel-arrow:active {
  transform: scale(0.94);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 60px;
  background: #d4ebd0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 32px;
  background: var(--grass-rich);
}

/* ================= REVIEWS SECTION ================= */
.reviews-section {
  padding: 70px 0 90px;
}

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

.review-card {
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border);
  border-radius: 26px;
  padding: 32px 24px;
  box-shadow: var(--card-shadow-soft);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: var(--grass-rich);
  box-shadow: var(--card-shadow-hover);
}

.review-card.highlight-review {
  border-color: var(--card-border-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf0 100%);
}

.review-stars {
  color: #ffb800;
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(100, 194, 38, 0.15);
  padding-top: 16px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.av1 { background: #ffebee; }
.av2 { background: #e8f5e9; }
.av3 { background: #e1f5fe; }

.reviewer-name {
  font-weight: 800;
  color: var(--text-title);
  font-size: 15px;
}

.reviewer-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 70px 0 90px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg-glass);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow-soft);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--grass-rich);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  font-size: 24px;
  font-weight: 400;
  color: var(--grass-rich);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #ff8f00;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 22px;
}

/* ================= PRE-REGISTER CTA BANNER ================= */
.pre-register-banner-section {
  padding: 40px 0 80px;
}

.cta-banner-card {
  background: linear-gradient(135deg, #329f17 0%, #1e6d0a 100%);
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(30, 109, 10, 0.35);
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-badge {
  display: inline-block;
  background: #ffb800;
  color: #0e2b0a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 18px;
  opacity: 0.95;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: #178e3c;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  border: none;
  border-radius: 9999px;
  padding: 16px 36px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta-large:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  background: #fffdf5;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #1b4d14;
  color: #d1ebd0;
  position: relative;
  padding-top: 40px;
}

.footer-meadow-wave {
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.footer-meadow-wave svg {
  width: 100%;
  height: 40px;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 0.8fr 1fr;
  gap: 40px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-sub {
  font-size: 13.5px;
  opacity: 0.85;
  margin-bottom: 14px;
  line-height: 1.5;
}

.subscribe-form {
  display: flex;
  gap: 8px;
}

.subscribe-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.subscribe-input:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffb800;
}

.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.btn-subscribe {
  background: linear-gradient(135deg, var(--sun-gold) 0%, #ff8f00 100%);
  color: #0e2b0a;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-list a {
  color: #d1ebd0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link-list a:hover {
  color: #ffb800;
  text-decoration: underline;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb800;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-sub {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 18px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-btn:hover {
  background: var(--sun-gold);
  color: #0e2b0a;
  transform: translateY(-2px);
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* ================= POPUP MODALS ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 43, 10, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border: 3px solid var(--grass-rich);
  border-radius: 28px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-card-scroll {
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  text-align: left;
  padding: 36px 32px;
}

.modal-doc-header {
  border-bottom: 2px solid rgba(100, 194, 38, 0.2);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-doc-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--grass-deep);
  border: 1.5px solid var(--grass-rich);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modal-subtitle a {
  color: var(--grass-deep);
  font-weight: 700;
  text-decoration: underline;
}

.modal-view-standalone {
  display: inline-block;
  background: #f1f8ed;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  margin-top: 4px;
}

.modal-contact-email-badge {
  background: #f1f8ed;
  border: 1px solid rgba(100, 194, 38, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--grass-deep);
  margin-bottom: 16px;
}

.modal-contact-email-badge a {
  color: var(--grass-deep);
  font-weight: 700;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #f1f8ed;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #ffebee;
  color: #d32f2f;
  transform: rotate(90deg);
}

.modal-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-title);
  margin-bottom: 12px;
}

.modal-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input, .modal-textarea {
  width: 100%;
  background: #f7fbf3;
  border: 1.5px solid rgba(100, 194, 38, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-title);
  outline: none;
  transition: all 0.2s ease;
}

.modal-input:focus, .modal-textarea:focus {
  border-color: var(--grass-rich);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(78, 168, 24, 0.15);
}

.btn-modal-action {
  background: linear-gradient(135deg, var(--grass-rich) 0%, var(--grass-deep) 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(46, 125, 24, 0.3);
  transition: all 0.25s ease;
}

.btn-modal-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 24, 0.45);
}

.modal-body-text h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-title);
  margin: 18px 0 6px;
}

.modal-body-text p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 10px;
}

/* ================= TOAST NOTIFICATION ================= */
.site-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #1b4d14 0%, #0e2b0a 100%);
  color: #ffffff;
  border: 2px solid var(--sun-gold);
  border-radius: 16px;
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.site-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   Auto-Adjusting for Desktops, Laptops, Tablets & Mobile Phones
   ======================================================== */

/* ---------- 1. SMALL LAPTOPS & TABLETS LANDSCAPE (max-width: 1199px) ---------- */
@media (max-width: 1199px) {
  .hero-container {
    gap: 36px;
    grid-template-columns: 1fr 0.9fr;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
    padding: 6px 12px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-container {
    grid-template-columns: 1.1fr 1.2fr 0.8fr 1fr;
    gap: 28px;
  }
}

/* ---------- 2. TABLETS PORTRAIT & IPADS (max-width: 991px) ---------- */
@media (max-width: 991px) {
  .top-nav {
    top: 10px;
    width: calc(100% - 24px);
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--grass-rich);
    border-radius: 24px;
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    display: none;
    z-index: 101;
  }

  .nav-menu.open {
    display: flex;
    animation: fadeInDropdown 0.25s ease-out forwards;
  }

  @keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
  }

  .hero-section {
    padding: 50px 0 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-headline {
    font-size: clamp(32px, 5vw, 44px);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .phone-mockup-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }

  .character-spotlight-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;
  }

  .spotlight-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .characters-mini-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    margin: 0 auto;
    gap: 12px;
  }

  .how-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 40px 24px 50px;
  }
}

/* ---------- 3. STANDARD MOBILE PHONES (max-width: 767px) ---------- */
@media (max-width: 767px) {
  .section-container {
    padding: 0 18px;
  }

  .features-section,
  .characters-section,
  .how-to-play-section,
  .gameplay-preview-section,
  .reviews-section,
  .faq-section {
    padding: 50px 0 70px;
  }

  .section-header-center {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-sub {
    font-size: 15px;
  }

  .hero-headline {
    font-size: clamp(28px, 7vw, 36px);
    letter-spacing: -0.5px;
  }

  .hero-logo-img {
    width: 260px;
  }

  .btn-hero-google-play {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    padding: 13px 22px;
  }

  .gp-badge-icon {
    width: 42px;
    height: 42px;
  }

  .gp-badge-icon svg {
    width: 28px;
    height: 28px;
  }

  .gp-badge-title {
    font-size: 17px;
  }

  .gp-badge-sub {
    font-size: 12px;
  }

  .phone-mockup-wrapper {
    max-width: 320px;
  }

  .floating-badge {
    font-size: 12px;
    padding: 6px 13px;
  }

  .badge-top-right {
    right: 4px;
    top: 8%;
  }

  .badge-bottom-left {
    left: 4px;
    bottom: 12%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 22px;
  }

  .how-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .carousel-card-container {
    padding: 24px 14px;
    border-radius: 24px;
  }

  .carousel-wrapper {
    gap: 8px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-page {
    gap: 14px;
    justify-content: center;
  }

  .preview-device-card {
    max-width: 160px;
    padding: 7px;
    border-radius: 24px;
  }

  .preview-img {
    border-radius: 18px;
  }

  .preview-caption {
    font-size: 11.5px;
  }

  .device-notch {
    width: 44px;
    height: 9px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta-banner-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .cta-desc {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .btn-cta-large {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    font-size: 16px;
    padding: 14px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col-brand {
    text-align: center;
  }

  .footer-logo-img {
    margin: 0 auto 14px;
  }

  .modal-card {
    padding: 30px 20px;
    border-radius: 22px;
  }

  .modal-card-scroll {
    padding: 26px 18px;
    max-height: 82vh;
  }
}

/* ---------- 4. COMPACT MOBILE SCREENS & FOLDABLES (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .top-nav {
    top: 6px;
    width: calc(100% - 16px);
    height: 56px;
  }

  .nav-container {
    padding: 0 14px;
  }

  .nav-logo-img {
    height: 36px;
  }

  .btn-google-play-nav {
    padding: 5px 11px;
    gap: 6px;
  }

  .gp-top {
    display: none;
  }

  .gp-bot {
    font-size: 12px;
  }

  .hero-headline {
    font-size: 26px;
  }

  .hero-subtext {
    font-size: 14.5px;
  }

  .hero-trust-row {
    gap: 8px;
  }

  .trust-badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  .characters-mini-grid {
    grid-template-columns: 1fr;
  }

  .carousel-page {
    gap: 8px;
  }

  .preview-device-card {
    max-width: 135px;
    padding: 5px;
    border-radius: 18px;
  }

  .preview-img {
    border-radius: 14px;
  }

  .preview-caption {
    font-size: 10.5px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 10px;
  }

  .btn-subscribe {
    width: 100%;
    padding: 12px;
  }
}

/* ---------- 5. ULTRA-NARROW SCREENS (max-width: 360px) ---------- */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 23px;
  }

  .btn-hero-google-play {
    padding: 10px 14px;
    gap: 10px;
  }

  .gp-badge-title {
    font-size: 15px;
  }

  .gp-badge-sub {
    font-size: 11px;
  }

  .preview-device-card {
    max-width: 120px;
  }
}
