:root {
  --bg-primary: #07130F;
  --bg-secondary: #0D1F17;
  --surface: #142A20;
  --neon-green: #2CFF8F;
  --soft-glow: #6DFFB2;
  --gold-accent: #FFD86A;
  --cyan-accent: #4DEBFF;
  --mint-deep: #1F3B2E;
  --text-primary: #EFFFF6;
  --text-secondary: #B7D8C7;
  --text-muted: #7FAE97;
  --border: rgba(46, 255, 160, 0.12);
  --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus-visible {
  color: var(--neon-green);
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

section {
  padding: 80px 20px;
  scroll-margin-top: 120px; /* Offset for fixed header + disclaimer during anchor navigation */
}

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

/* Header & Disclaimer Wrapper */
.fixed-top-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.top-disclaimer {
  background-color: #030806;
  color: #7FAE97;
  text-align: center;
  font-size: 0.75rem;
  padding: 8px 20px;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.header {
  width: 100%;
  background-color: rgba(7, 19, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 15px 20px;
}

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

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.logo img {
  height: 45px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(44, 255, 143, 0.4);
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--neon-green);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(44, 255, 143, 0.3);
}

.btn-primary:hover {
  background-color: var(--soft-glow);
  box-shadow: 0 0 25px rgba(109, 255, 178, 0.5);
  color: var(--bg-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--neon-green);
  border: 1px solid var(--neon-green);
}

.btn-secondary:hover {
  background-color: rgba(44, 255, 143, 0.1);
  box-shadow: 0 0 15px rgba(44, 255, 143, 0.2);
}

/* Hero Section */
.hero {
  padding: 200px 20px 100px;
  background: radial-gradient(circle at 50% 0%, var(--mint-deep) 0%, var(--bg-primary) 70%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(44, 255, 143, 0.4);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, var(--border), transparent);
}

.hero-image {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(44, 255, 143, 0.15);
  display: block;
}

/* Game Section */
.game-section {
  background-color: var(--bg-secondary);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title span {
  color: var(--neon-green);
}

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

.game-container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 0 50px rgba(44, 255, 143, 0.1);
  overflow: hidden;
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Luck Stats */
.stats-section {
  background-color: var(--bg-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background-color: var(--surface);
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(44, 255, 143, 0.1);
  transform: translateY(-5px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--soft-glow);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neon-green);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* Rewards Section */
.rewards-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reward-card {
  background-color: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.reward-card:hover {
  transform: translateY(-8px);
  border-color: var(--soft-glow);
  box-shadow: 0 10px 30px rgba(44, 255, 143, 0.15);
}

.reward-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.reward-content {
  padding: 24px;
}

.reward-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.reward-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* About / Generic Text Sections */
.text-section {
  background-color: var(--bg-primary);
}

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

.text-container p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-question {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.faq-question::before {
  content: 'Q.';
  color: var(--neon-green);
  margin-right: 12px;
  font-weight: 800;
}

.faq-answer {
  color: var(--text-secondary);
  padding-left: 28px;
}

/* Footer */
.footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand img {
  height: 45px;
  width: auto;
  display: block;
}

.footer-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 400px;
}

.footer-title {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #5A7E6B;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1160px;
  margin: 0 auto;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s ease-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
  margin-right: 30px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(44, 255, 143, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .rewards-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto 24px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cookie-text {
    margin-right: 0;
  }
  .game-container {
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}