:root {
  --bg-primary: #080c18;
  --bg-secondary: #0f1629;
  --bg-card: rgba(22, 31, 56, 0.75);
  --bg-card-hover: rgba(30, 43, 77, 0.88);
  --accent-gold: #ffb703;
  --accent-orange: #fb8500;
  --accent-cyan: #00f0ff;
  --accent-purple: #8338ec;
  --accent-pink: #ff007f;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.35);
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-neon: 0 0 25px rgba(0, 240, 255, 0.3);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #172554 0%, var(--bg-primary) 65%);
  min-height: 100vh;
}

/* Background Atmosphere */
.stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(1px 1px at 25px 35px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 120px 80px, #ffb703, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 240px 190px, #00f0ff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 380px 290px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 520px 450px, #ff007f, rgba(0,0,0,0));
  background-size: 600px 600px;
  opacity: 0.35;
  z-index: 0;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.brand-title {
  background: linear-gradient(135deg, #ffd54f 0%, #ff7043 50%, #ff4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.brand-tag {
  font-size: 0.7rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: width var(--transition-fast);
}

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

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

.btn-audio-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.btn-audio-toggle:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
}

.btn-audio-toggle.playing {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.audio-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 12px;
}

.audio-bar {
  width: 2px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 1px;
}

.playing .audio-bar:nth-child(1) { animation: soundBar 0.8s infinite ease-in-out; }
.playing .audio-bar:nth-child(2) { animation: soundBar 1.1s infinite ease-in-out 0.2s; }
.playing .audio-bar:nth-child(3) { animation: soundBar 0.9s infinite ease-in-out 0.4s; }

@keyframes soundBar {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  color: #0b1021;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(251, 133, 0, 0.4);
  transition: all var(--transition-normal);
  font-size: 0.95rem;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(251, 133, 0, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 140px 5% 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.gradient-title {
  background: linear-gradient(135deg, #ffd54f 0%, #ff7043 45%, #ff4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  text-shadow: 0 0 35px rgba(255, 112, 67, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #cbd5e1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

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

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   Interactive Phone Simulator Showcase
========================================= */
.simulator-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.simulator-glow {
  position: absolute;
  width: 380px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(255, 0, 127, 0.15) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Realistic Smartphone Bezel */
.phone-mockup {
  position: relative;
  z-index: 2;
  width: 320px;
  height: 650px;
  background: #1e1e24;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 2px #444857,
    0 0 0 5px #1a1b22,
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 240, 255, 0.25);
  transition: transform var(--transition-normal);
}

.phone-mockup:hover {
  transform: translateY(-4px) scale(1.01);
}

/* Side Buttons */
.phone-mockup::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 120px;
  width: 4px;
  height: 48px;
  background: #2e303b;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 60px 0 #2e303b, 0 120px 0 #2e303b;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 150px;
  width: 4px;
  height: 64px;
  background: #2e303b;
  border-radius: 0 3px 3px 0;
}

/* Inner Screen */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island & Status Bar */
.phone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  z-index: 30;
  pointer-events: none;
}

.status-time {
  letter-spacing: -0.2px;
}

.dynamic-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dynamic-island.active-warning {
  width: 160px;
  background: #d50000;
  box-shadow: 0 0 15px #ff1744;
}

.island-camera {
  width: 9px;
  height: 9px;
  background: #111;
  border-radius: 50%;
  border: 1px solid #222;
}

.island-sensor {
  width: 6px;
  height: 6px;
  background: #08111e;
  border-radius: 50%;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Screen Viewport Modes */
.phone-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  background: #0b1021;
  overflow: hidden;
}

.screen-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
}

.screen-view.active {
  display: flex;
}

/* Mode 1: Gameplay Screen */
.game-screen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-size: cover;
  background-position: top center;
  animation: scrollMap 14s linear infinite;
}

@keyframes scrollMap {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.game-hud {
  position: relative;
  z-index: 10;
  padding: 44px 14px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.stage-badge-hud {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}

.stage-badge-hud span {
  color: var(--accent-cyan);
}

.player-stats-hud {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #fff;
  font-weight: 800;
}

.hud-hearts {
  color: #ff3366;
}

.hud-bomb {
  background: rgba(255, 183, 3, 0.25);
  border: 1px solid var(--accent-gold);
  border-radius: 8px;
  padding: 1px 5px;
  color: var(--accent-gold);
  font-size: 9px;
}

/* Battle Arena Elements */
.game-arena {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* Flying Player Ship */
.player-fighter {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  z-index: 5;
  animation: playerFloat 2.4s ease-in-out infinite;
}

@keyframes playerFloat {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

.player-fighter img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
}

.player-thruster {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 20px;
  background: radial-gradient(circle, #00f0ff 0%, #ff007f 70%, transparent 100%);
  border-radius: 50%;
  animation: thrusterBurn 0.15s infinite alternate;
  filter: blur(1px);
}

@keyframes thrusterBurn {
  0% { transform: translateX(-50%) scale(0.9, 0.8); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.1, 1.3); opacity: 1; }
}

/* Live Bullets */
.bullet-stream {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.laser-bullet {
  position: absolute;
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #fff 0%, #00f0ff 80%);
  border-radius: 2px;
  box-shadow: 0 0 8px #00f0ff;
  animation: bulletFly 0.65s linear infinite;
}

.laser-bullet:nth-child(1) { left: 45%; bottom: 120px; animation-delay: 0s; }
.laser-bullet:nth-child(2) { left: 55%; bottom: 120px; animation-delay: 0s; }
.laser-bullet:nth-child(3) { left: 42%; bottom: 120px; animation-delay: 0.22s; }
.laser-bullet:nth-child(4) { left: 58%; bottom: 120px; animation-delay: 0.22s; }
.laser-bullet:nth-child(5) { left: 48%; bottom: 120px; animation-delay: 0.44s; }
.laser-bullet:nth-child(6) { left: 52%; bottom: 120px; animation-delay: 0.44s; }

@keyframes bulletFly {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-380px); opacity: 0; }
}

/* Enemy Boss / Troops */
.enemy-cluster {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.enemy-boss-mini {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 64, 129, 0.9));
  animation: bossHover 3s ease-in-out infinite alternate;
}

@keyframes bossHover {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translate(15px, 8px) scale(1.05); }
  100% { transform: translate(-15px, -5px) scale(0.98); }
}

/* Floating Stars / Coins */
.floating-item {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 4;
  animation: itemDrop 4s linear infinite;
}

.floating-item img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px #ffd54f);
}

.floating-item:nth-child(1) { left: 25%; top: 30%; animation-delay: 0.5s; }
.floating-item:nth-child(2) { left: 70%; top: 45%; animation-delay: 1.8s; }

@keyframes itemDrop {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(300px) rotate(360deg); opacity: 0; }
}

/* Mode 2: Arcade Boss Warning & Video */
.boss-warning-view {
  position: relative;
  background: #000;
  justify-content: center;
  align-items: center;
}

.warning-overlay-stripes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: repeating-linear-gradient(45deg, #ffd600, #ffd600 12px, #000 12px, #000 24px);
  z-index: 10;
  animation: stripeMove 1.5s linear infinite;
}

.warning-overlay-stripes.bottom {
  top: auto;
  bottom: 30px;
}

@keyframes stripeMove {
  0% { background-position: 0 0; }
  100% { background-position: 48px 0; }
}

.warning-flash-box {
  background: rgba(220, 20, 60, 0.35);
  border-top: 2px solid #ff1744;
  border-bottom: 2px solid #ff1744;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  position: absolute;
  top: 65px;
  z-index: 15;
  animation: warningBlink 0.6s infinite alternate;
}

@keyframes warningBlink {
  0% { opacity: 0.4; }
  100% { opacity: 1; background: rgba(220, 20, 60, 0.6); }
}

.warning-text-big {
  font-size: 20px;
  font-weight: 900;
  color: #ffea00;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #ff1744;
}

.warning-subtext {
  font-size: 10px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 700;
}

.boss-media-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 40px;
}

.boss-video-player {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 23, 68, 0.5);
  box-shadow: 0 0 25px rgba(255, 23, 68, 0.4);
}

.boss-hero-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  animation: bossPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 112, 67, 0.9));
}

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

.boss-info-card {
  margin-top: 14px;
  text-align: center;
  z-index: 10;
}

.boss-name-tag {
  font-size: 14px;
  font-weight: 900;
  color: #ffd54f;
  margin-bottom: 2px;
}

.boss-subtitle-tag {
  font-size: 10px;
  color: #ff80ab;
  font-weight: 600;
}

.boss-hp-bar {
  width: 180px;
  height: 6px;
  background: #2a2a2a;
  border-radius: 3px;
  margin: 6px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.boss-hp-fill {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, #ff1744 0%, #ff5252 100%);
  animation: hpPulse 1.2s infinite alternate;
}

@keyframes hpPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Mode 3: Hangar Card View */
.hangar-view {
  background: radial-gradient(circle at center, #1a2238 0%, #0b1021 100%);
  padding: 50px 16px 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hangar-card {
  width: 100%;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 213, 79, 0.4);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hangar-card-hero {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
}

.hangar-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffd54f;
}

.hangar-title {
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.hangar-perk {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 10px;
  color: #fff;
  border-left: 3px solid var(--accent-gold);
  text-align: left;
  line-height: 1.4;
}

/* Mode 4: Custom User Screenshot Slot */
.custom-slot-view {
  background: #0d1322;
  padding: 60px 16px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.upload-drop-zone {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 240, 255, 0.4);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: rgba(0, 240, 255, 0.03);
}

.upload-drop-zone:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--accent-cyan);
}

.upload-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.upload-text {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.upload-hint {
  font-size: 10px;
  color: var(--text-muted);
}

.custom-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: none;
}

/* Home Indicator Bar */
.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  z-index: 30;
}

/* Simulator External Controller */
.sim-controls {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  z-index: 5;
}

.sim-mode-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  width: 100%;
  justify-content: space-between;
}

.sim-tab-btn {
  flex: 1;
  padding: 7px 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
}

.sim-tab-btn.active {
  background: var(--accent-cyan);
  color: #0b1021;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.4);
}

.sim-sub-selector {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.sim-select {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  outline: none;
}

.sim-select option {
  background: var(--bg-secondary);
  color: #fff;
}

.btn-sim-action {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-sim-action:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   Features Section
========================================= */
.section-features {
  padding: 100px 5%;
  max-width: 1380px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

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

/* =========================================
   12 Zodiac Section (萌龍與神龍戰隊)
========================================= */
.section-zodiac {
  padding: 100px 5%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 22, 41, 0.7) 50%, transparent 100%);
}

.zodiac-container {
  max-width: 1380px;
  margin: 0 auto;
}

.zodiac-carousel-wrapper {
  position: relative;
  margin-top: 40px;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.zodiac-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.zodiac-card:hover,
.zodiac-card.active {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 28px rgba(255, 183, 3, 0.25);
  background: rgba(30, 42, 74, 0.95);
}

.zodiac-card.active::after {
  content: '預覽中';
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 9px;
  background: var(--accent-gold);
  color: #0b1021;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.zodiac-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.zodiac-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.zodiac-card:hover .zodiac-avatar img {
  transform: scale(1.15) rotate(4deg);
}

.zodiac-tag {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

.zodiac-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.zodiac-perk-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 8px;
  border-radius: 8px;
}

/* =========================================
   22 Taiwan Stages Section
========================================= */
.section-stages {
  padding: 100px 5%;
  max-width: 1380px;
  margin: 0 auto;
}

.region-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.region-tab-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.region-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.region-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0088ff 100%);
  color: #0b1021;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.4);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.stage-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.stage-thumb {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.stage-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.stage-card:hover .stage-thumb img {
  transform: scale(1.08);
}

.stage-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 213, 79, 0.4);
}

.stage-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stage-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.stage-landmark {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.stage-food {
  font-size: 0.75rem;
  color: #ffb703;
  background: rgba(255, 183, 3, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

/* =========================================
   Symphonic Audio Player Section
========================================= */
.section-audio {
  padding: 90px 5%;
  background: radial-gradient(circle at center, #172554 0%, var(--bg-primary) 70%);
}

.audio-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.audio-info h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.audio-track-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audio-track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.audio-track-item:hover,
.audio-track-item.playing {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
}

.track-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-icon {
  font-size: 1.4rem;
}

.track-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.track-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.audio-player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.disc-visualizer {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b1021 30%, #1e293b 60%, #00f0ff 95%, #fff 100%);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s linear;
}

.disc-visualizer.spinning {
  animation: discSpin 4s linear infinite;
}

@keyframes discSpin {
  100% { transform: rotate(360deg); }
}

.disc-center {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #080c18;
  border: 4px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* =========================================
   Download & Footer
========================================= */
.section-cta {
  padding: 100px 5%;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.15) 0%, rgba(0, 240, 255, 0.15) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

footer {
  padding: 50px 5% 30px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

  .hero-stats {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .audio-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .phone-mockup {
    width: 290px;
    height: 590px;
  }
}

/* App Store Screenshot Showcase & Phone Mockup Screenshot Integration */
.screenshot-view-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-screenshots {
  padding: 90px 5% 80px;
  position: relative;
  background: radial-gradient(ellipse at 50% 50%, rgba(30, 41, 59, 0.5) 0%, transparent 80%);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 40px auto 0;
}

@media (max-width: 1200px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.screenshot-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 16px 36px rgba(0, 240, 255, 0.22);
}

.screenshot-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #000;
  overflow: hidden;
}

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

.screenshot-card:hover .screenshot-img-wrapper img {
  transform: scale(1.04);
}

.screenshot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 16, 33, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.screenshot-caption {
  padding: 16px;
  background: rgba(15, 22, 41, 0.9);
  flex: 1;
}

.screenshot-caption h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

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

.sim-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sim-tab-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
}
