/* 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-dark: #0d0221;
  --bg-mid: #1e0a3a;
  --bg-darker: #080114;
  --card-bg: rgba(30, 10, 58, 0.7);
  --card-border: rgba(139, 92, 246, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 400;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-darker) 100%);
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 2, 33, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

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

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.4s ease-out;
}

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

.age-badge {
  background: #dc2626;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  margin-bottom: 24px;
  text-shadow: 8px 8px 0px var(--primary-glow);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  color: var(--accent);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 18px 48px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 8px 8px 0px var(--secondary);
  transition: all 0.4s ease-out;
  border: none;
  cursor: pointer;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-btn:hover {
  transform: scale(1.03) translate(-2px, -2px);
  box-shadow: 12px 12px 0px var(--secondary);
}

/* Sections */
section {
  padding: 100px 20px;
  position: relative;
}

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 6px 6px 0px var(--primary-glow);
}

/* Download Section */
.download-section {
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.download-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

.download-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input {
  padding: 16px;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  background: rgba(13, 2, 33, 0.8);
  color: #fff;
  font-size: 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color 0.4s ease-out;
}

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

.success-message {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  border-radius: 12px;
  color: #22c55e;
  font-weight: 600;
}

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

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  box-shadow: 8px 8px 0px var(--primary-glow);
  transition: all 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  transition: left 0.6s ease-out;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 12px 12px 0px var(--primary-glow);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--accent);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 18px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  font-size: 40px;
  color: var(--primary);
}

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

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease-out;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.1);
}

.faq-icon {
  font-size: 24px;
  transition: transform 0.4s ease-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Disclaimer Section */
.disclaimer-section {
  background: rgba(220, 38, 38, 0.1);
  border: 2px solid #dc2626;
  border-radius: 16px;
  padding: 48px;
  margin: 80px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-section h2 {
  color: #dc2626;
  margin-bottom: 24px;
  font-size: 36px;
}

.disclaimer-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

/* Footer */
footer {
  background: rgba(13, 2, 33, 0.95);
  border-top: 2px solid var(--card-border);
  padding: 60px 20px 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.4s ease-out;
}

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

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 32px;
  border: 4px solid #fff;
  margin-bottom: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--card-border);
  color: rgba(255, 255, 255, 0.7);
}

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

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card-bg);
  border: 3px solid var(--primary);
  border-radius: 16px;
  padding: 48px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 60px var(--primary-glow);
  animation: scaleIn 0.4s ease-out;
}

.modal-content h2 {
  font-size: 36px;
  margin-bottom: 24px;
  color: #dc2626;
}

.modal-content p {
  font-size: 18px;
  margin-bottom: 32px;
}

.modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.modal-btn {
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease-out;
}

.btn-accept {
  background: #22c55e;
  color: #fff;
}

.btn-decline {
  background: #dc2626;
  color: #fff;
}

.modal-btn:hover {
  transform: scale(1.03);
}

/* Point System Table */
.point-table {
  width: 100%;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  margin: 40px 0;
}

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

.point-table th {
  background: rgba(139, 92, 246, 0.3);
  font-weight: 700;
  color: var(--accent);
}

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

.point-table tr:hover {
  background: rgba(139, 92, 246, 0.1);
}

.strategy-tips {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  margin: 40px 0;
}

.strategy-tips ul {
  list-style: none;
  margin-top: 20px;
}

.strategy-tips li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
}

.strategy-tips li::before {
  content: '🏏';
  position: absolute;
  left: 0;
}

/* Privacy/Terms Pages */
.content-page {
  padding: 120px 20px 80px;
  min-height: 100vh;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 60px;
}

.content-container h1 {
  font-size: 48px;
  margin-bottom: 40px;
  color: var(--primary);
}

.content-container h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--accent);
}

.content-container p,
.content-container ul {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.content-container ul {
  padding-left: 32px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(13, 2, 33, 0.98);
    width: 100%;
    padding: 40px 20px;
    transition: left 0.4s ease-out;
    align-items: flex-start;
    border-bottom: 2px solid var(--card-border);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero h1 {
    font-size: 40px;
    text-shadow: 4px 4px 0px var(--primary-glow);
  }

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

  .section-title {
    font-size: 36px;
    text-shadow: 4px 4px 0px var(--primary-glow);
  }

  .download-card {
    padding: 32px 24px;
  }

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

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

  .content-container {
    padding: 40px 24px;
  }

  .modal-content {
    margin: 20px;
    padding: 32px 24px;
  }

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

@media (max-width: 640px) {
  .cta-btn {
    padding: 16px 32px;
    font-size: 16px;
  }

  .point-table th,
  .point-table td {
    padding: 12px;
    font-size: 14px;
  }

  .trust-badges {
    gap: 24px;
  }
}