/* Wing Group Voice & Social Party App Landing Page Design System */

:root {
  --bg-primary: #05141a;
  --bg-secondary: #013220;
  --bg-card: rgba(1, 50, 32, 0.45);
  --bg-card-hover: rgba(147, 232, 212, 0.15);
  --border-color: rgba(147, 232, 212, 0.25);
  
  --primary-green: #013220;
  --secondary-light: rgb(147, 232, 212);
  
  --logo-cyan: #00b4d8;
  --logo-sky: #00b4d8;
  --logo-blue: #1e3799;
  --logo-electric-blue: #2563eb;

  --accent-pink: #ff4c98;
  --accent-gold: #f8c907;
  --accent-purple: #8f06e4;

  --gradient-main: linear-gradient(135deg, #00b4d8 0%, rgb(147, 232, 212) 40%, #ff4c98 75%, #f8c907 100%);
  --gradient-emerald: linear-gradient(135deg, #013220 0%, #004d40 60%, #05141a 100%);
  --gradient-btn: linear-gradient(90deg, #00b4d8, #ff4c98);
  --gradient-blue-btn: linear-gradient(90deg, #2563eb, #00b4d8);
  --gradient-gold: linear-gradient(90deg, #f8c907, #ff9f43);
  --gradient-card: linear-gradient(180deg, rgba(0, 180, 216, 0.12) 0%, rgba(1, 50, 32, 0.5) 100%);
  
  --text-main: #ffffff;
  --text-muted: #a3ccbe;
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --shadow-neon: 0 10px 30px rgba(0, 180, 216, 0.35);
  --shadow-pink: 0 10px 30px rgba(255, 76, 152, 0.35);
  --shadow-green: 0 10px 30px rgba(147, 232, 212, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Ambient Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-1, .glow-2, .glow-3, .glow-4 {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.38;
  animation: floatGlow 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: var(--logo-cyan);
  top: -120px;
  left: -100px;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: var(--secondary-light);
  top: 35%;
  right: -150px;
  animation-delay: -5s;
}

.glow-3 {
  width: 450px;
  height: 450px;
  background: var(--accent-pink);
  bottom: -100px;
  left: 20%;
  animation-delay: -10s;
}

.glow-4 {
  width: 400px;
  height: 400px;
  background: var(--logo-electric-blue);
  top: 20%;
  left: 40%;
  animation-delay: -7s;
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, 80px) scale(0.9); }
}

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

/* Header / Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 20, 26, 0.88);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-img-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--logo-cyan);
  box-shadow: var(--shadow-neon);
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--logo-cyan);
}

/* Mobile Toggle Hamburger Icon */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: var(--shadow-neon);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 180, 216, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid var(--logo-cyan);
  color: var(--logo-cyan);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(0, 180, 216, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid var(--logo-cyan);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  color: var(--logo-cyan);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

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

.app-stats-row {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary-light);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Hero Visual / Room Simulator */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-mockup {
  width: 330px;
  max-width: 90vw;
  height: 660px;
  background: #000;
  border-radius: 48px;
  border: 10px solid #003049;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 55px rgba(0, 180, 216, 0.4);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 25px;
  background: #003049;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.room-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Floating Gifts Animation Overlay */
.floating-car-animation {
  position: absolute;
  bottom: 180px;
  left: -100px;
  width: 180px;
  z-index: 20;
  pointer-events: none;
  animation: driveCar 4s ease-in-out infinite;
}

@keyframes driveCar {
  0% { transform: translateX(0) scale(0.6); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(380px) scale(1.1); opacity: 0; }
}

/* Props & Gifts Toolbar Bar */
.gift-tray-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(5, 20, 26, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--logo-cyan);
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.gift-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.2s;
}

.gift-item-btn:hover {
  transform: scale(1.2);
}

.gift-item-btn span {
  font-size: 9px;
  font-weight: 700;
  color: var(--secondary-light);
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--logo-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(0, 180, 216, 0.12);
  border-color: var(--logo-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid var(--logo-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
  color: var(--logo-cyan);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Fruit Party Game Showcase Banner */
.fruit-game-banner {
  background: linear-gradient(135deg, #013220 0%, #004d40 50%, #05141a 100%);
  border: 2px solid var(--logo-cyan);
  border-radius: 36px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  margin: 60px 0;
}

.game-img {
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Interactive Room Showcase Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.room-card:hover {
  transform: translateY(-6px);
  border-color: var(--logo-cyan);
  background: rgba(0, 180, 216, 0.15);
}

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

.room-tag {
  background: rgba(255, 76, 152, 0.2);
  color: var(--accent-pink);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 12px;
}

.room-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.room-users-avatars {
  display: flex;
  align-items: center;
  gap: -10px;
  margin-bottom: 20px;
}

.mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-right: -10px;
  object-fit: cover;
}

/* Stats Banner */
.stats-banner {
  background: linear-gradient(135deg, #013220 0%, #00b4d8 100%);
  border: 2px solid var(--secondary-light);
  border-radius: 30px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: var(--shadow-neon);
}

.banner-stat h2 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.banner-stat p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Download APK Section */
.download-section {
  text-align: center;
  position: relative;
  background: var(--gradient-card);
  border: 2px solid var(--border-color);
  border-radius: 36px;
  padding: 80px 40px;
  overflow: hidden;
}

.download-title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.qr-code-box {
  background: white;
  padding: 16px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.qr-code-box img {
  width: 140px;
  height: 140px;
  display: block;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 100px;
  background: rgba(5, 20, 26, 0.95);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid rgba(0, 180, 216, 0.15);
  padding-top: 24px;
}

/* Particle Gift Animation */
.gift-particle {
  position: absolute;
  pointer-events: none;
  animation: giftRise 1.8s ease-out forwards;
  font-size: 36px;
  z-index: 100;
}

@keyframes giftRise {
  0% { transform: translateY(0) scale(0.5); opacity: 1; }
  50% { transform: translateY(-90px) scale(1.4); opacity: 0.9; }
  100% { transform: translateY(-180px) scale(0.8); opacity: 0; }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE STYLES (Strictly polished for mobile devices)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 60px;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin: 0 auto 28px auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }

  .app-stats-row {
    justify-content: center;
    gap: 20px;
  }

  .fruit-game-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Mobile Navigation Menu */
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(5, 20, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 18px;
    display: block;
    text-align: center;
  }

  .nav-download-hide-mobile {
    display: none;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 130px;
  }

  .hero-title {
    font-size: 34px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .app-stats-row {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 12px;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 22px;
  }

  .stat-item p {
    font-size: 11px;
  }

  /* Phone Mockup Mobile Scaled */
  .phone-mockup {
    height: 560px;
    width: 290px;
  }

  /* Section Titles */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-title-wrap {
    margin-bottom: 36px;
  }

  /* Features & Rooms Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

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

  /* Stats Banner */
  .stats-banner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .banner-stat h2 {
    font-size: 36px;
  }

  /* Download Section */
  .download-section {
    padding: 50px 20px;
  }

  .download-title {
    font-size: 28px;
  }

  .download-subtitle {
    font-size: 15px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
