:root {
  --primary: #34d399;
  --primary-glow: rgba(52, 211, 153, 0.4);
  --secondary: #10b981;
  --accent: #a3e635;
  --accent-glow: rgba(163, 230, 53, 0.3);
  --bg-from: #052e16;
  --bg-via: #14532d;
  --bg-to: #022c22;
  --card-bg: rgba(20, 83, 45, 0.6);
  --card-border: rgba(52, 211, 153, 0.2);
  --text-light: #ffffff;
  --text-gray: #d1d5db;
}

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

body {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-via) 50%, var(--bg-to) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 46, 22, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 0;
  border-bottom: 1px solid var(--card-border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 0 20px var(--primary-glow);
}

.logo-icon {
  width: 40px;
  height: 40px;
  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 12px var(--primary-glow);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

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

.age-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  display: inline-block;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  background: linear-gradient(rgba(5, 46, 22, 0.7), rgba(2, 44, 34, 0.8)), url('ban.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

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

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px var(--primary-glow), 0 0 40px var(--primary-glow);
  }
  50% {
    box-shadow: 0 8px 32px var(--primary-glow), 0 0 60px var(--primary-glow);
  }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  margin-bottom: 20px;
  text-shadow: 4px 4px 0 var(--secondary), 8px 8px 20px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 40px;
  color: var(--text-gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px var(--primary-glow), 6px 6px 0 var(--accent);
  position: relative;
}

.btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 32px var(--primary-glow), 8px 8px 0 var(--accent);
}

.btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

section {
  padding: 100px 20px;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 60px;
  text-shadow: 3px 3px 0 var(--secondary), 6px 6px 15px rgba(0, 0, 0, 0.4);
}

.download-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 60px 40px;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid var(--card-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 8px var(--primary-glow);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
}

.form-group input {
  padding: 14px 20px;
  border-radius: 10px;
  border: 2px solid var(--card-border);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 16px;
  font-family: 'Nunito', sans-serif;
  transition: all 0.25s ease;
}

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

.success-message {
  display: none;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.5s ease;
}

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

.feature-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid var(--card-border);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 6px 6px 0 var(--secondary);
}

.feature-card:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 8px 8px 0 var(--accent);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

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

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

.about-content p {
  margin-bottom: 20px;
}

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

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

.badge-icon {
  font-size: 36px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.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;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 4px 4px 0 var(--secondary);
  transition: all 0.25s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 6px 6px 0 var(--accent);
}

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

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

.faq-icon {
  transition: transform 0.25s ease;
  font-size: 24px;
  color: var(--primary);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 30px;
  color: var(--text-gray);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 20px;
}

.disclaimer {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 80px auto;
  max-width: 900px;
}

.disclaimer h2 {
  color: #ef4444;
  margin-bottom: 20px;
  font-size: 32px;
}

footer {
  background: rgba(5, 46, 22, 0.8);
  padding: 60px 20px 30px;
  border-top: 2px solid var(--card-border);
  margin-top: 100px;
}

.footer-content {
  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-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-section a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.footer-age-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 24px;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: linear-gradient(135deg, var(--bg-from), var(--bg-via));
  padding: 50px;
  border-radius: 16px;
  max-width: 500px;
  text-align: center;
  border: 3px solid #ef4444;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

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

.modal-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-gray);
}

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

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4), 4px 4px 0 #7f1d1d;
}

.btn-danger:hover {
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.6), 6px 6px 0 #7f1d1d;
}

.content-page {
  padding: 120px 20px 80px;
  min-height: 100vh;
}

.content-page h1 {
  font-size: 48px;
  margin-bottom: 40px;
  text-align: center;
  text-shadow: 3px 3px 0 var(--secondary);
}

.content-page h2 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: var(--primary);
}

.content-page p, .content-page li {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.scoring-table {
  width: 100%;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin: 30px 0;
  border: 2px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 4px 4px 0 var(--secondary);
}

.scoring-table th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 15px;
  text-align: left;
  font-weight: 700;
}

.scoring-table td {
  padding: 15px;
  border-bottom: 1px solid var(--card-border);
}

.scoring-table tr:hover {
  background: rgba(52, 211, 153, 0.1);
}

.strategy-box {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid var(--accent);
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(5, 46, 22, 0.98);
    flex-direction: column;
    padding: 40px;
    transition: left 0.3s ease;
  }
  
  nav.active {
    left: 0;
  }
  
  nav a {
    font-size: 20px;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .hero {
    padding: 100px 20px 60px;
  }
  
  section {
    padding: 60px 20px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    margin: 20px;
    padding: 30px;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}