/* CSS Reset & Variables */
:root {
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.5);
  --secondary: #7c3aed;
  --accent: #c4b5fd;
  --accent-glow: rgba(196, 181, 253, 0.3);
  --bg-start: #0d0221;
  --bg-mid: #1e0a3a;
  --bg-end: #080114;
  --card-bg: rgba(30, 10, 58, 0.7);
  --card-border: rgba(139, 92, 246, 0.25);
  --text-primary: #ffffff;
  --text-secondary: #c4b5fd;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&family=Work+Sans:wght@400;500;600&family=JetBrains+Mono&display=swap');

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

code, .monospace {
  font-family: 'JetBrains Mono', monospace;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 2, 33, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

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

.age-badge {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('/ban.jpeg') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  z-index: 1;
}

.hero-title {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
  cursor: pointer;
  font-size: 1.125rem;
}

.cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--primary-glow);
  background: var(--secondary);
  border-color: var(--accent);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* App Download Section */
.download-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.download-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid var(--card-border);
  border-radius: 6px;
  color: white;
  font-size: 1rem;
}

.email-input:focus {
  outline: none;
  border-color: var(--primary);
}

.success-message {
  display: none;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  padding: 1.5rem;
  border-radius: 6px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--primary-glow);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  padding: 0 1.5rem;
  color: var(--text-secondary);
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* Point System Tables */
.scoring-table {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin: 2rem 0;
  overflow: hidden;
}

.scoring-table th,
.scoring-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.scoring-table th {
  background: rgba(139, 92, 246, 0.2);
  color: var(--accent);
  font-weight: 600;
}

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

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tip-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
}

/* Age Verification Modal */
.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.age-modal.active {
  display: flex;
}

.age-modal-content {
  background: var(--bg-mid);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 3rem;
  max-width: 500px;
  text-align: center;
}

.age-modal-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.age-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}

.btn-confirm,
.btn-decline {
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid;
}

.btn-confirm {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-confirm:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--card-border);
}

/* Disclaimer Section */
.disclaimer-section {
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid var(--card-border);
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.disclaimer-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: rgba(13, 2, 33, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-age-badge {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 2rem;
  border: 3px solid var(--accent);
  display: inline-block;
  margin: 1rem 0;
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-secondary);
}

/* Privacy & Terms Pages */
.simple-page {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.content-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.content-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.content-section p,
.content-section ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.content-section ul {
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: rgba(13, 2, 33, 0.98);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--card-border);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
  }

  .hero::before {
    width: 100%;
    opacity: 0.08;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .download-form {
    flex-direction: column;
  }

  .email-input {
    width: 100%;
  }

  .age-modal-content {
    margin: 1rem;
    padding: 2rem;
  }

  .age-buttons {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

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

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