/* ==========================================================================
   Bubble Blast Hero — Official Game Website Stylesheet
   Theme: Vibrant Bubble Arcade (Neon Cyan #00E5FF, Radiant Pink #FF2E93, Sunny Gold #FFBE1A, Royal Indigo #0C0F28)
   ========================================================================== */

:root {
  --bg-deep: #080A1C;
  --bg-surface: #0E1330;
  --bg-card: rgba(18, 24, 58, 0.75);
  --bg-card-hover: rgba(28, 36, 84, 0.9);
  --bg-glass: rgba(15, 21, 54, 0.65);
  --bg-glass-heavy: rgba(10, 14, 38, 0.92);

  --bubble-cyan: #00E5FF;
  --bubble-cyan-glow: rgba(0, 229, 255, 0.4);
  --bubble-pink: #FF2E93;
  --bubble-pink-glow: rgba(255, 46, 147, 0.4);
  --bubble-purple: #9D4EDD;
  --bubble-purple-glow: rgba(157, 78, 221, 0.4);
  --bubble-gold: #FFBE1A;
  --bubble-gold-glow: rgba(255, 190, 26, 0.4);
  --bubble-green: #10B981;
  --bubble-blue: #2563EB;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(0, 229, 255, 0.22);
  --border-pink: rgba(255, 46, 147, 0.3);
  --border-gold: rgba(255, 190, 26, 0.35);

  --text-white: #FFFFFF;
  --text-primary: #F0F4FF;
  --text-secondary: #A6B4D8;
  --text-muted: #6B79A3;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.7);
  --shadow-cyan: 0 0 35px rgba(0, 229, 255, 0.35);
  --shadow-pink: 0 0 35px rgba(255, 46, 147, 0.35);

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

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--bubble-cyan), var(--bubble-pink));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #3df3ff, #ff60ad);
}

::selection {
  background: var(--bubble-pink);
  color: #fff;
}

/* ==========================================================================
   Interactive Background Canvas
   ========================================================================== */

#bubbleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.glow-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--bubble-cyan) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.glow-pink {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--bubble-pink) 0%, transparent 70%);
  top: 30%;
  right: -150px;
}

.glow-gold {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--bubble-gold) 0%, transparent 70%);
  bottom: 10%;
  left: 10%;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 16px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 10, 28, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 10px 0;
  background: var(--bg-glass-heavy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--bubble-cyan-glow);
  object-fit: cover;
  transition: var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 25px var(--bubble-pink-glow);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, var(--bubble-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bubble-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--bubble-cyan), var(--bubble-pink));
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--bubble-cyan), #0099ff);
  color: #03081e;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--bubble-cyan-glow);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.6);
  filter: brightness(1.1);
}

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

.hamburger-bar {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--bubble-cyan);
  padding-left: 8px;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bubble-cyan);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--bubble-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--bubble-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-logo-img {
  max-width: 100%;
  width: 480px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
  animation: floatLogo 4s ease-in-out infinite alternate;
}

@keyframes floatLogo {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--bubble-cyan) 0%, var(--bubble-pink) 60%, var(--bubble-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.google-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000000;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 12px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.google-play-btn:hover {
  transform: translateY(-3px);
  border-color: var(--bubble-cyan);
  box-shadow: 0 15px 40px var(--bubble-cyan-glow);
}

.google-play-btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.gp-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.gp-small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1;
  font-weight: 600;
}

.gp-big {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--bubble-cyan);
  color: var(--bubble-cyan);
  transform: translateY(-3px);
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bubble-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Device Mockup Showcase in Hero */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #1A1F38;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 229, 255, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.device-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 65px rgba(255, 46, 147, 0.35);
  border-color: var(--border-pink);
}

.device-screen {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1280 / 571;
  background: #000;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
  animation: floatOrb 5s ease-in-out infinite alternate;
}

.badge-top-left {
  top: -15px;
  left: -20px;
  border-color: var(--border-glass);
  color: var(--bubble-cyan);
}

.badge-bottom-right {
  bottom: -20px;
  right: -20px;
  border-color: var(--border-pink);
  color: var(--bubble-pink);
  animation-delay: -2.5s;
}

@keyframes floatOrb {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tag {
    margin: 0 auto 20px auto;
  }
  .hero-logo-img {
    margin: 0 auto 20px auto;
  }
  .hero-subtitle {
    margin: 0 auto 30px auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-strip {
    justify-content: center;
  }
  .badge-top-left {
    left: 0;
  }
  .badge-bottom-right {
    right: 0;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

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

.section-tag {
  display: inline-block;
  background: rgba(255, 46, 147, 0.12);
  border: 1px solid var(--border-pink);
  color: var(--bubble-pink);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag.cyan {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--border-glass);
  color: var(--bubble-cyan);
}

.section-tag.gold {
  background: rgba(255, 190, 26, 0.12);
  border-color: var(--border-gold);
  color: var(--bubble-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Screenshots Gallery & Carousel
   ========================================================================== */

.gallery-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 50%, var(--bg-deep) 100%);
  position: relative;
}

.gallery-carousel-wrap {
  position: relative;
  margin-bottom: 30px;
}

.gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
  padding: 10px 4px 25px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--bubble-cyan) var(--bg-surface);
}

.gallery-card {
  flex: 0 0 85%;
  max-width: 900px;
  scroll-snap-align: center;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111536;
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .gallery-card {
    flex: 0 0 720px;
  }
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--bubble-cyan);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.25);
}

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 1280 / 571;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.03);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 10, 28, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  pointer-events: none;
}

.gallery-card-tag {
  align-self: flex-start;
  background: rgba(0, 229, 255, 0.25);
  color: var(--bubble-cyan);
  border: 1px solid var(--bubble-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.zoom-hint {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.gallery-card:hover .zoom-hint {
  background: var(--bubble-cyan);
  color: #000;
  border-color: var(--bubble-cyan);
}

/* Gallery Navigation Controls */
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.gallery-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.gallery-btn:hover {
  background: var(--bubble-cyan);
  color: #080A1C;
  border-color: var(--bubble-cyan);
  transform: scale(1.1);
}

/* Thumbnail Selector Strip */
.thumbnail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
}

.thumbnail-strip::-webkit-scrollbar {
  display: none;
}

.thumb-item {
  flex: 0 0 100px;
  aspect-ratio: 1280 / 571;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition-fast);
  background: #000;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item:hover {
  opacity: 0.9;
  border-color: rgba(0, 229, 255, 0.5);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--bubble-cyan);
  box-shadow: 0 0 14px var(--bubble-cyan-glow);
  transform: scale(1.05);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--bubble-cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 20px var(--bubble-cyan-glow);
}

.feature-card:nth-child(2) .feature-icon-box {
  background: rgba(255, 46, 147, 0.1);
  border-color: var(--border-pink);
  box-shadow: 0 8px 20px var(--bubble-pink-glow);
}

.feature-card:nth-child(3) .feature-icon-box {
  background: rgba(255, 190, 26, 0.1);
  border-color: var(--border-gold);
  box-shadow: 0 8px 20px var(--bubble-gold-glow);
}

.feature-card:nth-child(4) .feature-icon-box {
  background: rgba(157, 78, 221, 0.1);
  border-color: rgba(157, 78, 221, 0.3);
  box-shadow: 0 8px 20px var(--bubble-purple-glow);
}

.feature-card:nth-child(5) .feature-icon-box {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.feature-card:nth-child(6) .feature-icon-box {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Chapters / Worlds Showcase Grid
   ========================================================================== */

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

.chapter-badge-card {
  background: rgba(16, 22, 54, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

.chapter-badge-card:hover {
  transform: translateY(-4px);
  border-color: var(--bubble-cyan);
  background: rgba(22, 30, 74, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.ch-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--bubble-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ch-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.ch-levels {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bubble-gold);
  background: rgba(255, 190, 26, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.ch-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Power-Ups Showcase
   ========================================================================== */

.powers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.power-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.power-card:hover {
  transform: translateY(-4px);
  border-color: var(--bubble-pink);
  box-shadow: 0 10px 30px rgba(255, 46, 147, 0.2);
}

.power-bubble-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.power-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.power-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Specifications Table
   ========================================================================== */

.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 18px 24px;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-white);
  width: 35%;
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td:last-child {
  color: var(--text-secondary);
}

.badge-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-tag.green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-tag.blue {
  background: rgba(0, 229, 255, 0.15);
  color: var(--bubble-cyan);
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glass);
  box-shadow: var(--shadow-sm);
}

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

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--bubble-cyan);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--bubble-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(10, 14, 38, 0.4);
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Bottom Download Call-to-Action
   ========================================================================== */

.cta-section {
  position: relative;
  text-align: center;
  padding: 110px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(14, 20, 56, 0.9) 0%, rgba(26, 18, 54, 0.9) 100%);
  border: 2px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 229, 255, 0.15);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-app-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 30px var(--bubble-cyan-glow);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #050713;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 10;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--bubble-cyan);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Lightbox Modal for Fullscreen Screenshots
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--bubble-pink);
  border-color: var(--bubble-pink);
  transform: rotate(90deg);
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  max-height: 75vh;
  aspect-ratio: 1280 / 571;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 229, 255, 0.3);
  border: 2px solid var(--border-glass);
  background: #000;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 18px;
  text-align: center;
  color: #fff;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.lightbox-subtitle {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 18, 48, 0.8);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-prev {
  left: -70px;
}

.lightbox-nav-next {
  right: -70px;
}

.lightbox-nav-btn:hover {
  background: var(--bubble-cyan);
  color: #000;
  border-color: var(--bubble-cyan);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 992px) {
  .lightbox-nav-prev {
    left: 10px;
  }
  .lightbox-nav-next {
    right: 10px;
  }
  .lightbox-close {
    top: -45px;
    right: 5px;
  }
}

/* ==========================================================================
   Legal & Support Pages Styling
   ========================================================================== */

.legal-header {
  padding: 140px 0 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 50px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.legal-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-meta span strong {
  color: var(--bubble-cyan);
}

.legal-body {
  max-width: 900px;
  margin: 0 auto 80px auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.legal-body h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bubble-cyan);
  margin: 24px 0 10px 0;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul, .legal-body ol {
  margin: 16px 0 24px 28px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--bubble-cyan);
  text-decoration: underline;
  transition: var(--transition-fast);
}

.legal-body a:hover {
  color: var(--bubble-pink);
}

.callout-box {
  background: rgba(0, 229, 255, 0.08);
  border-left: 4px solid var(--bubble-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin: 28px 0;
}

.callout-box.warning {
  background: rgba(255, 46, 147, 0.08);
  border-left-color: var(--bubble-pink);
}

/* Contact & Support Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: rgba(14, 19, 48, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--bubble-cyan);
  box-shadow: 0 0 15px var(--bubble-cyan-glow);
  background: rgba(20, 26, 68, 0.95);
}

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

.copy-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-left: 10px;
}

.copy-email-btn:hover {
  background: var(--bubble-cyan);
  color: #000;
}
