/* ==========================================================================
   Arrow Nest - Official Game Website & Play Console Portal
   Theme: Vibrant Casual Puzzle Game (Official Colors & Screenshots Matching)
   Palette: Luminous Sky, Slate Charcoal, Rainbow Game Arrows
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fredoka:wght@600;700&display=swap');

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fun: 'Fredoka', 'Outfit', sans-serif;

  /* Official 'Arrow Nest' Brand Colors (Exact Hex from Hero Screenshot) */
  --brand-arrow: #0A1F44;   /* Deep Midnight Navy */
  --brand-n: #FC1D62;       /* Vibrant Hot Pink */
  --brand-e: #FEAC0B;       /* Radiant Golden Amber */
  --brand-s: #008EFD;       /* Electric Sky Blue */
  --brand-t: #03CC67;       /* Fresh Emerald Green */
  --brand-purple: #8B5CF6;  /* Royal Grape Purple */
  --brand-orange: #FF7A00;  /* Bright Tangerine */

  /* Neutral Surface Palette - Crisp, Clean, Luminous Light Gaming Theme */
  --bg-body: #F6F9FD;
  --bg-surface: #FFFFFF;
  --bg-surface-translucent: rgba(255, 255, 255, 0.88);
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FBFF;
  
  --border-subtle: rgba(10, 31, 68, 0.08);
  --border-card: rgba(226, 232, 240, 0.9);
  --border-glow: rgba(0, 142, 253, 0.3);

  --text-dark: #0A1F44;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(10, 31, 68, 0.08), 0 8px 10px -6px rgba(10, 31, 68, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(10, 31, 68, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 28px 56px -14px rgba(10, 31, 68, 0.18);
  --shadow-glow: 0 0 35px rgba(0, 142, 253, 0.22);
  --shadow-3d: 0 8px 0 rgba(10, 31, 68, 0.15);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Animated Ambient Sky & Floating Arrows Background */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 142, 253, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(252, 29, 98, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(254, 172, 11, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(3, 204, 103, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #F0F6FF 0%, #F9FBFE 30%, #F4F8FC 70%, #EDF4FE 100%);
}

.floating-bg-arrow {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  filter: blur(0.5px);
  user-select: none;
  animation: floatArrow 16s ease-in-out infinite alternate;
}

.fba-1 { top: 12%; left: 4%; width: 90px; color: var(--brand-s); animation-delay: 0s; transform: rotate(-15deg); }
.fba-2 { top: 25%; right: 5%; width: 110px; color: var(--brand-e); animation-delay: -3s; transform: rotate(35deg); }
.fba-3 { top: 55%; left: 8%; width: 85px; color: var(--brand-t); animation-delay: -6s; transform: rotate(180deg); }
.fba-4 { top: 70%; right: 7%; width: 100px; color: var(--brand-n); animation-delay: -9s; transform: rotate(-45deg); }
.fba-5 { bottom: 8%; left: 35%; width: 95px; color: var(--brand-purple); animation-delay: -12s; transform: rotate(90deg); }

@keyframes floatArrow {
  0% { transform: translateY(0px) rotate(var(--rot, 0deg)) scale(1); }
  50% { transform: translateY(-25px) rotate(calc(var(--rot, 0deg) + 6deg)) scale(1.05); }
  100% { transform: translateY(-45px) rotate(calc(var(--rot, 0deg) - 6deg)) scale(0.98); }
}

/* ==========================================================================
   Brand Identity & Letter Coloring (Exact Match from Screenshot)
   ========================================================================== */
.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-arrow {
  color: var(--brand-arrow);
  font-weight: 900;
}

.brand-nest {
  display: inline-flex;
  font-weight: 900;
}

.brand-nest .n { color: var(--brand-n); }
.brand-nest .e { color: var(--brand-e); }
.brand-nest .s { color: var(--brand-s); }
.brand-nest .t { color: var(--brand-t); }

.brand-tagline-text {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.8px;
  color: var(--brand-arrow);
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 0.85;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.gradient-text-game {
  background: linear-gradient(135deg, var(--brand-s) 0%, var(--brand-n) 50%, var(--brand-e) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-rainbow {
  background: linear-gradient(90deg, #FC1D62, #FEAC0B, #008EFD, #03CC67);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Badges */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 142, 253, 0.08);
  border: 1px solid rgba(0, 142, 253, 0.2);
  color: var(--brand-s);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.section-tag-amber {
  background: rgba(254, 172, 11, 0.12);
  border-color: rgba(254, 172, 11, 0.3);
  color: #D97706;
}

.section-tag-pink {
  background: rgba(252, 29, 98, 0.08);
  border-color: rgba(252, 29, 98, 0.25);
  color: var(--brand-n);
}

.section-tag-green {
  background: rgba(3, 204, 103, 0.1);
  border-color: rgba(3, 204, 103, 0.3);
  color: #059669;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.12);
  border: 2px solid #FFFFFF;
  transition: var(--transition-bounce);
}

.brand-link:hover .brand-logo {
  transform: scale(1.08) rotate(3deg);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 1.45rem;
}

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

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

.nav-link:hover {
  color: var(--brand-s);
}

.nav-link.active {
  color: var(--brand-n);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-bounce);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #008EFD 0%, #006FD8 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(0, 142, 253, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -4px rgba(0, 142, 253, 0.55);
}

.btn-play {
  background: linear-gradient(135deg, #03CC67 0%, #00A852 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(3, 204, 103, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-play:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -4px rgba(3, 204, 103, 0.55);
}

.btn-store {
  background: #0A1F44;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(10, 31, 68, 0.18);
}

.btn-store:hover {
  background: #061530;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 31, 68, 0.28);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: rgba(0, 142, 253, 0.4);
  color: var(--brand-s);
  transform: translateY(-2px);
}

.btn-game-3d {
  background: linear-gradient(180deg, #FEAC0B 0%, #E69500 100%);
  color: #0A1F44;
  box-shadow: 0 6px 0 #B87700, 0 12px 20px rgba(254, 172, 11, 0.35);
  border-radius: var(--radius-md);
  font-family: var(--font-fun);
  font-size: 1.1rem;
}

.btn-game-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #B87700, 0 16px 26px rgba(254, 172, 11, 0.45);
}

.btn-game-3d:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #B87700, 0 6px 10px rgba(254, 172, 11, 0.25);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 50px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-badge-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-t);
  box-shadow: 0 0 0 0 rgba(3, 204, 103, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 204, 103, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(3, 204, 103, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(3, 204, 103, 0); }
}

.hero-brand-block {
  margin-bottom: 16px;
}

.hero-main-title {
  font-size: 4rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-tagline-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #334155;
  background: rgba(10, 31, 68, 0.05);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}

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

.play-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #D97706;
  background: #FFFBEB;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #FDE68A;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-arrow);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Hero Visual Banner Card (User's Official Artwork) */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 31, 68, 0.06);
  transition: var(--transition-bounce);
}

.hero-visual-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}

.hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Floating Feature Badges on Hero Banner */
.floating-hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px -6px rgba(10, 31, 68, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.fhb-1 {
  top: -18px;
  left: -18px;
  animation-delay: 0s;
}

.fhb-2 {
  bottom: -22px;
  right: -14px;
  animation-delay: -3s;
}

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

.fhb-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: #F0F6FF;
}

.fhb-1 .fhb-icon { background: #FDF2F8; color: var(--brand-n); }
.fhb-2 .fhb-icon { background: #FEF3C7; color: #D97706; }

.fhb-text h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
}

.fhb-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Gameplay Screenshots Showcase (The 2 User-Provided Screenshots)
   ========================================================================== */
.showcase-section {
  padding: 90px 0;
  position: relative;
}

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

.section-title {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.screenshots-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.phone-card {
  background: #FFFFFF;
  border-radius: 36px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
  position: relative;
  transition: var(--transition-bounce);
}

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

.phone-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.level-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lt-god {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.lt-animal {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.phone-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0A1F44;
  box-shadow: 0 20px 40px -10px rgba(10, 31, 68, 0.25), inset 0 0 0 3px #1E293B;
  aspect-ratio: 9 / 16;
  cursor: zoom-in;
}

.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.phone-frame:hover .phone-screenshot-img {
  transform: scale(1.03);
}

.zoom-overlay-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 31, 68, 0.85);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.phone-frame:hover .zoom-overlay-hint {
  opacity: 1;
}

.phone-caption {
  margin-top: 20px;
  text-align: center;
}

.phone-caption h3 {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.phone-caption p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Screenshot Lightbox Modal */
.modal-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(10, 31, 68, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
}

.lightbox-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
}

.lightbox-close:hover {
  transform: scale(1.15) rotate(90deg);
}

/* ==========================================================================
   Realistic Phone Game Simulator (Authentic Game Mechanics!)
   ========================================================================== */
.minigame-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #F0F6FF 0%, #FFFFFF 50%, #F4F8FC 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.minigame-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.minigame-info h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.minigame-info p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Level Selection Tabs */
.level-selector-pills {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.lvl-btn {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-sm);
}

.lvl-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-s);
  color: var(--brand-s);
}

.lvl-btn.active {
  background: #0A1F44;
  color: #FFFFFF;
  border-color: #0A1F44;
  box-shadow: 0 6px 16px rgba(10, 31, 68, 0.25);
}

.simulator-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.sim-feat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.sim-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F0F6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sim-feat-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Realistic Smartphone Simulator Frame */
.phone-simulator-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 36px;
  margin-bottom: 30px;
}

/* Curved In-Game Ribbon Banner on Top */
.sim-banner-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  max-width: 80%;
  z-index: 15;
  filter: drop-shadow(0 6px 14px rgba(10, 31, 68, 0.25));
  pointer-events: none;
}

/* Mascot Brain and Trophy Stickers */
.sim-mascot-sticker {
  position: absolute;
  bottom: -22px;
  left: -28px;
  width: 130px;
  height: auto;
  z-index: 15;
  filter: drop-shadow(0 8px 18px rgba(10, 31, 68, 0.28));
  pointer-events: none;
  animation: mascotFloat 3.5s ease-in-out infinite;
}

.sim-trophy-sticker {
  position: absolute;
  bottom: -22px;
  right: -28px;
  width: 120px;
  height: auto;
  z-index: 15;
  filter: drop-shadow(0 8px 18px rgba(10, 31, 68, 0.28));
  pointer-events: none;
  animation: trophySparkle 3s ease-in-out infinite alternate;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes trophySparkle {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.04) rotate(2deg); }
}

@media (max-width: 640px) {
  .sim-mascot-sticker {
    width: 90px;
    left: -12px;
    bottom: -15px;
  }
  .sim-trophy-sticker {
    width: 80px;
    right: -12px;
    bottom: -15px;
  }
  .sim-banner-ribbon {
    width: 210px;
  }
}

.phone-simulator-frame {
  width: 100%;
  max-width: 410px;
  background: #0A1F44;
  border-radius: 46px;
  padding: 13px;
  box-shadow: 0 25px 60px -12px rgba(10, 31, 68, 0.38), 0 0 0 4px #1E293B, inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
  user-select: none;
}

.simulator-screen {
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Screen Dynamic Island Notch */
.simulator-notch {
  width: 108px;
  height: 24px;
  background: #0A1F44;
  border-radius: 12px;
  margin: 10px auto 4px;
}

/* Authentic Game Top HUD Bar (Exact replica of Flutter game screen) */
.sim-hud-top-authentic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 6px;
  background: #FFFFFF;
  gap: 8px;
}

.sim-hud-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(10, 31, 68, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0F172A;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.sim-hud-back-btn:hover {
  background: #F8FAFC;
  transform: scale(1.08);
}

.sim-hud-center-card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.08);
  padding: 4px 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 150px;
}

.sim-hud-god-pill {
  background: #FFE4E6;
  border-radius: 12px;
  padding: 1px 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
}

.sim-fire-icon {
  font-size: 0.68rem;
}

.sim-god-text {
  font-size: 0.65rem;
  font-weight: 900;
  color: #EF4444;
  letter-spacing: 0.6px;
}

.sim-hud-level-title {
  font-family: var(--font-fun);
  font-size: 1.05rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.1;
}

.sim-hud-wavy-track {
  width: 100px;
  height: 6px;
  background: #E2E8F0;
  border-radius: 999px;
  margin: 4px auto 3px;
  overflow: hidden;
}

.sim-hud-wavy-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #008EFD 0%, #03CC67 100%);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sim-hud-hearts-row {
  display: flex;
  gap: 4px;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.sim-hud-hearts-row.shake {
  animation: heartShake 0.4s ease;
}

@keyframes heartShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px) scale(1.1); }
  75% { transform: translateX(5px) scale(1.1); }
}

.sim-hud-right-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sim-hud-video-btn {
  height: 38px;
  padding: 0 10px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #3B82F6;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.sim-hud-video-btn:hover {
  background: #EFF6FF;
  transform: scale(1.08);
}

.sim-hud-hint-pill {
  height: 38px;
  padding: 0 10px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #FEAC0B;
  color: #D97706;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(254, 172, 11, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.sim-hud-hint-pill:hover {
  background: #FFFBEB;
  transform: scale(1.08);
}

.sim-status-mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 16px 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #64748B;
  background: #FFFFFF;
}

.sim-audio-btn-mini {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  transition: transform 0.15s ease;
}

.sim-audio-btn-mini:hover {
  transform: scale(1.1);
}

/* Canvas Area */
.canvas-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F9FAFB 100%);
  overflow: hidden;
  cursor: pointer;
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Toast Message */
.sim-toast {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(10, 31, 68, 0.9);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  white-space: nowrap;
}

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

/* Victory Overlay */
.sim-win-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sim-win-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sim-win-stars {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: 4px;
  animation: starsPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes starsPop {
  0% { transform: scale(0.3); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.sim-win-title {
  font-family: var(--font-fun);
  font-size: 1.8rem;
  color: #03CC67;
  margin-bottom: 6px;
}

.sim-win-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.sim-win-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 220px;
}

/* Bottom Bar */
.sim-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 18px 16px;
  background: #FFFFFF;
  border-top: 1px solid rgba(10, 31, 68, 0.05);
}

.sim-bottom-tip {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 90px 0;
}

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

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--brand-s));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 142, 253, 0.25);
}

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

.fc-blue { --card-accent: var(--brand-s); }
.fc-pink { --card-accent: var(--brand-n); }
.fc-amber { --card-accent: var(--brand-e); }
.fc-green { --card-accent: var(--brand-t); }
.fc-purple { --card-accent: var(--brand-purple); }
.fc-orange { --card-accent: var(--brand-orange); }

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.ci-blue { background: #E0F2FE; color: var(--brand-s); }
.ci-pink { background: #FCE7F3; color: var(--brand-n); }
.ci-amber { background: #FEF3C7; color: var(--brand-e); }
.ci-green { background: #DCFCE7; color: var(--brand-t); }
.ci-purple { background: #EDE9FE; color: var(--brand-purple); }
.ci-orange { background: #FFEDD5; color: var(--brand-orange); }

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   Level Shapes Showcase
   ========================================================================== */
.shapes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.shape-badge {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.shape-badge:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 142, 253, 0.4);
}

.shape-badge .emoji {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 8px;
}

.shape-badge h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.shape-badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   Google Play Console Data Safety & Compliance Box
   ========================================================================== */
.console-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.console-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.console-info p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.console-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.console-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.console-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-t);
}

.policy-links-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.policy-card-btn:hover {
  background: #FFFFFF;
  border-color: var(--brand-s);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  color: var(--brand-s);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--brand-s);
  transition: transform 0.3s ease;
}

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

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

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0A1F44;
  color: #FFFFFF;
  padding: 70px 0 35px;
  margin-top: 60px;
}

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

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.65;
  max-width: 320px;
}

.footer .brand-arrow {
  color: #FFFFFF;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748B;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Sub-Pages / Legal Pages Styling
   ========================================================================== */
.policy-page-header {
  padding: 50px 0 30px;
  text-align: center;
}

.policy-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.policy-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  line-height: 1.75;
}

.policy-badge-box {
  background: #F0F6FF;
  border-left: 4px solid var(--brand-s);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.policy-card h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.policy-card h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.policy-card p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.policy-card ul {
  margin: 12px 0 20px 24px;
}

.policy-card li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .screenshots-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shapes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .minigame-container {
    grid-template-columns: 1fr;
  }
  .console-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.8rem;
  }
  .screenshots-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .shapes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-menu.mobile-open {
    transform: translateY(0);
  }
  .nav-actions .btn-store {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
