/* CSS Reset & Variables */
:root {
  --primary: #f43f5e;
  --primary-glow: rgba(244, 63, 94, 0.4);
  --secondary: #e11d48;
  --accent: #fb7185;
  --accent-glow: rgba(251, 113, 133, 0.3);
  --bg-start: #1c0a0d;
  --bg-mid: #2d1215;
  --bg-end: #0f0506;
  --card-bg: rgba(45, 18, 21, 0.6);
  --card-border: rgba(244, 63, 94, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #a1a1a1;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

.logo {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.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;
}

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

.nav-links a {
  transition: all 0.4s ease-out;
  position: relative;
}

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

.age-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 20px var(--primary-glow);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px 60px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(225, 29, 72, 0.1));
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('ban.jpeg') no-repeat;
  background-size: 100px 100px;
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-100px); }
}

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

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.4s ease-out;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px var(--primary-glow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer-move 3s infinite;
}

@keyframes shimmer-move {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-button:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px var(--primary-glow);
}

/* Download Section */
.download-section {
  padding: 100px 20px;
  text-align: center;
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 50px;
}

.download-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.email-input {
  padding: 16px 20px;
  border: 2px solid var(--card-border);
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  color: white;
  font-size: 16px;
  font-family: 'Work Sans', sans-serif;
  transition: all 0.4s ease-out;
}

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

.submit-button {
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.success-message {
  display: none;
  padding: 30px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  color: #4ade80;
  font-size: 18px;
  font-weight: 600;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Features Section */
.features-section {
  padding: 100px 20px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease-out;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease-out;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 20px 60px var(--primary-glow);
}

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

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

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* About Section */
.about-section {
  padding: 100px 20px;
  background: rgba(244, 63, 94, 0.05);
}

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

.about-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

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

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

.badge-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.badge span {
  font-weight: 600;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  padding: 100px 20px;
}

.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

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

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

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

.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 30px 25px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* Disclaimer Section */
.disclaimer-section {
  padding: 80px 20px;
  background: rgba(244, 63, 94, 0.1);
  border-top: 2px solid var(--card-border);
  border-bottom: 2px solid var(--card-border);
  text-align: center;
}

.disclaimer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.disclaimer-badge {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  box-shadow: 0 20px 60px var(--primary-glow);
}

.disclaimer-text h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--primary);
}

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

/* Footer */
.footer {
  padding: 60px 20px 30px;
  text-align: center;
}

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

.footer-logo {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  list-style: none;
}

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

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

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px 30px;
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: 50px;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.footer-age-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.footer-age-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}

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

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

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

.age-modal-content {
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-start));
  border: 3px solid var(--primary);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.age-modal-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 700;
  box-shadow: 0 20px 60px var(--primary-glow);
}

.age-modal h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}

.age-modal p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.age-button {
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease-out;
  font-family: 'Outfit', sans-serif;
}

.age-button.confirm {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.age-button.confirm:hover {
  transform: scale(1.03);
}

.age-button.decline {
  background: rgba(255,255,255,0.1);
  color: var(--text-secondary);
  border: 2px solid var(--card-border);
}

.age-button.decline:hover {
  background: rgba(255,255,255,0.2);
}

/* Point System Page */
.page-header {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(225, 29, 72, 0.1));
}

.page-header h1 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

.content-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.scoring-table {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

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

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

.scoring-table td {
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-secondary);
}

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

.scoring-table .points {
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.tips-section {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
}

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

.tips-section ul {
  list-style: none;
  padding: 0;
}

.tips-section li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.8;
}

.tips-section li::before {
  content: '🏀';
  position: absolute;
  left: 0;
  top: 15px;
}

/* Legal Pages */
.legal-page {
  padding: 120px 20px 60px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 20px;
  padding: 50px;
}

.legal-content h1 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 30px;
}

.legal-content h2 {
  color: var(--primary);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 30px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 30px;
  transition: all 0.4s ease-out;
}

.back-link:hover {
  transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    right: 0;
    bottom: 0;
    background: rgba(28, 10, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    transition: left 0.4s ease-out;
  }

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

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

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

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

  .section-title {
    font-size: 32px;
  }

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

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

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

  .age-button {
    width: 100%;
  }

  .disclaimer-content {
    flex-direction: column;
  }

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

  .legal-content {
    padding: 30px 20px;
  }

  .scoring-table th, .scoring-table td {
    padding: 15px 10px;
    font-size: 14px;
  }
}

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

  .cta-button {
    padding: 14px 30px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }
}