/* 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);
  --text-light: #ffffff;
  --text-gray: #d1d5db;
}

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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+Pro:wght@400;600&family=Fira+Code&display=swap');

body {
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, var(--bg-darker) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 2, 33, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px var(--primary-glow);
}

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

.nav-links a {
  font-weight: 600;
  transition: all 0.4s ease-out;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.badge-18 {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  animation: pulse-glow 2s infinite;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.1)),
    url('ban.jpeg') center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 2, 33, 0.6), rgba(30, 10, 58, 0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.hero p {
  font-size: 24px;
  margin-bottom: 40px;
  color: var(--text-gray);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 18px 48px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease-out;
  box-shadow: 0 8px 24px var(--primary-glow), 8px 8px 0 rgba(124, 58, 237, 0.5);
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
  position: relative;
}

.cta-btn:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 32px var(--primary-glow), 12px 12px 0 rgba(124, 58, 237, 0.5);
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.cta-btn:hover::before {
  opacity: 1;
}

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

section h2 {
  font-size: 56px;
  text-align: center;
  margin-bottom: 64px;
  text-shadow: 3px 3px 0 var(--secondary), 6px 6px 16px var(--primary-glow);
}

/* Download Section */
.download-section {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 60px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 16px 48px var(--primary-glow), 12px 12px 0 rgba(124, 58, 237, 0.3);
}

.download-section h3 {
  font-size: 36px;
  margin-bottom: 24px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.email-form input {
  padding: 18px 24px;
  border-radius: 12px;
  border: 2px solid var(--card-border);
  background: rgba(13, 2, 33, 0.6);
  color: var(--text-light);
  font-size: 16px;
  font-family: 'Source Sans Pro', sans-serif;
  transition: all 0.4s ease-out;
}

.email-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 24px var(--primary-glow);
}

.success-message {
  display: none;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  color: #22c55e;
  padding: 24px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  animation: fadeInUp 0.6s ease-out;
}

.success-message.show {
  display: block;
}

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

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.4s ease-out;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2), 8px 8px 0 rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, var(--accent-glow), transparent);
  animation: shimmer 3s infinite;
}

.feature-card:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 16px 48px var(--primary-glow), 12px 12px 0 rgba(124, 58, 237, 0.4);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  position: relative;
}

.feature-card p {
  color: var(--text-gray);
  font-size: 16px;
  position: relative;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-gray);
}

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

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

.badge-icon {
  font-size: 48px;
}

.badge span {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15), 6px 6px 0 rgba(124, 58, 237, 0.2);
  transition: all 0.4s ease-out;
}

.faq-item:hover {
  box-shadow: 0 12px 32px var(--primary-glow), 8px 8px 0 rgba(124, 58, 237, 0.3);
}

.faq-question {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.4s ease-out;
}

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

.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;
  color: var(--text-gray);
}

.faq-answer-content {
  padding: 0 32px 24px;
  font-size: 16px;
  line-height: 1.8;
}

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

/* Point System Table */
.points-table {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2), 10px 10px 0 rgba(124, 58, 237, 0.25);
  margin: 48px 0;
}

.points-table table {
  width: 100%;
  border-collapse: collapse;
}

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

.points-table th {
  background: rgba(139, 92, 246, 0.2);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.points-positive {
  color: #22c55e;
  font-weight: 600;
}

.points-negative {
  color: #ef4444;
  font-weight: 600;
}

/* Tips Section */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.tip-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15), 8px 8px 0 rgba(124, 58, 237, 0.2);
  transition: all 0.4s ease-out;
}

.tip-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px var(--primary-glow), 12px 12px 0 rgba(124, 58, 237, 0.3);
}

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

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 120px auto 80px;
  padding: 60px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
}

.legal-content h1 {
  font-size: 48px;
  margin-bottom: 32px;
  text-shadow: 3px 3px 0 var(--secondary);
}

.legal-content h2 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: var(--accent);
  text-shadow: none;
}

.legal-content p,
.legal-content li {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin-left: 24px;
  margin-bottom: 24px;
}

/* Disclaimer Section */
.disclaimer {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  border-radius: 16px;
  padding: 48px;
  margin: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer h3 {
  font-size: 36px;
  margin-bottom: 24px;
  color: #ef4444;
}

.disclaimer p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
}

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

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 32px;
  display: inline-block;
}

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

.footer-links a {
  color: var(--text-gray);
  transition: all 0.4s ease-out;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-badge {
  font-size: 64px;
  margin: 32px 0;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto;
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.5);
  font-weight: 700;
  color: white;
}

.footer-18-text {
  font-size: 18px;
  font-weight: 600;
  color: #ef4444;
  margin-bottom: 24px;
}

.copyright {
  color: var(--text-gray);
  font-size: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
}

/* Age Verification Modal */
.age-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

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

.age-modal-content {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-dark));
  border: 3px solid var(--primary);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 24px 64px var(--primary-glow);
  animation: fadeInScale 0.6s ease-out;
}

.age-modal h2 {
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 3px 3px 0 var(--secondary);
}

.age-modal p {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-gray);
}

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

.age-btn {
  padding: 16px 40px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.4s ease-out;
  font-family: 'Source Sans Pro', sans-serif;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.age-btn-yes {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

.age-btn-yes:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5), 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.age-btn-no {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.age-btn-no:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5), 8px 8px 0 rgba(0, 0, 0, 0.3);
}

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

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

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(239, 68, 68, 0.7);
  }
}

@keyframes shimmer {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(13, 2, 33, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 40px 20px;
    border-left: 2px solid var(--card-border);
    transition: right 0.4s ease-out;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  }

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

  .hero h1 {
    font-size: 42px;
  }

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

  section h2 {
    font-size: 36px;
  }

  .download-section {
    padding: 40px 24px;
  }

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

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

  .age-modal h2 {
    font-size: 36px;
  }

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

  .legal-content {
    padding: 32px 24px;
    margin: 100px 20px 60px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  section h2 {
    font-size: 28px;
  }

  .cta-btn {
    padding: 14px 32px;
    font-size: 16px;
  }
}