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

:root {
  --bg-primary: #070512;
  --bg-secondary: #0f0a24;
  --card-bg: rgba(22, 16, 48, 0.7);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-hover-border: rgba(0, 240, 255, 0.4);
  
  --color-primary: #6c63ff;
  --color-primary-glow: rgba(108, 99, 255, 0.35);
  --color-cyan: #00f0ff;
  --color-cyan-glow: rgba(0, 240, 255, 0.3);
  --color-pink: #ff007f;
  --color-pink-glow: rgba(255, 0, 127, 0.3);
  
  --text-main: #f8f9fa;
  --text-muted: #9fa2b4;
  --text-dim: #6c7087;

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

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Radial Background Glows */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

body::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
  top: -150px;
  left: -150px;
}

body::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-pink), transparent 70%);
  bottom: 10%;
  right: -100px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ──────────────── Navbar ──────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 5, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
  transition: var(--transition-fast);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 16px var(--color-primary-glow);
  object-fit: cover;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-cyan);
  text-shadow: 0 0 8px var(--color-cyan-glow);
}

.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-primary), #4f46e5);
  border-radius: var(--radius-full);
  color: #fff;
  box-shadow: 0 4px 16px var(--color-primary-glow);
  transition: var(--transition-fast);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

/* ──────────────── Hero Section ──────────────── */
.hero {
  padding: 90px 0 60px;
  position: relative;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 30%, var(--color-cyan) 70%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

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

.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  color: #fff;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.play-icon {
  width: 28px;
  height: 28px;
}

.btn-text-small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.btn-text-large {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ──────────────── Phone Mockup Visual ──────────────── */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-glow {
  position: absolute;
  width: 320px;
  height: 480px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 560px;
  background: #15112c;
  border-radius: 40px;
  border: 6px solid #2d2654;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 25px rgba(108, 99, 255, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  flex: 1;
  background: url('https://cdn.jsdelivr.net/gh/GodzTitan/bottle-sort-assets@main/assestgame/2.png') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 26, 0.35);
}

.floating-card {
  position: relative;
  z-index: 2;
  background: rgba(25, 20, 50, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite alternate;
}

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

/* ──────────────── Features Grid ──────────────── */
.features-section {
  padding: 80px 0;
  border-top: 1px solid var(--card-border);
}

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

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

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

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

.feature-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 240, 255, 0.12);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ──────────────── Gallery Showcase ──────────────── */
.gallery-section {
  padding: 80px 0;
}

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

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-normal);
}

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

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

.gallery-card:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 12px 30px var(--color-cyan-glow);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 16px;
  background: linear-gradient(to top, rgba(7, 5, 18, 0.95), transparent);
}

.gallery-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.gallery-tag {
  font-size: 0.8rem;
  color: var(--color-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

/* ──────────────── Legal / Doc Content Pages ──────────────── */
.doc-section {
  padding: 60px 0 100px;
}

.doc-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 880px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
}

.doc-header {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.doc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.doc-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.doc-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin: 32px 0 12px;
}

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

.doc-body ul {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

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

.info-box {
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.info-box strong {
  color: #fff;
}

/* ──────────────── FAQ / Accordion ──────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ──────────────── Footer ──────────────── */
.footer {
  border-top: 1px solid var(--card-border);
  background: #04030a;
  padding: 60px 0 30px;
  margin-top: 60px;
}

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

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ──────────────── Responsive ──────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-desc {
    margin: 0 auto 30px;
  }

  .cta-group {
    justify-content: center;
  }

  .mockup-wrapper {
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doc-wrapper {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
}
