* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --emerald: #10b981;
  --dark-emerald: #047857;
  --mint: #d1fae5;
  --forest: #065f46;
  --cream: #fef3c7;
  --dark-bg: #111827;
  --darker-bg: #0f172a;
  --card-bg: #1f2937;
  --text-white: #f9fafb;
  --text-gray: #d1d5db;
  --text-muted: #9ca3af;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--darker-bg);
  color: var(--text-white);
  line-height: 1.7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Age Gate */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(12px);
}

.age-gate.hide {
  display: none;
}

.age-gate-box {
  background: linear-gradient(135deg, var(--card-bg), var(--dark-bg));
  border: 3px solid var(--emerald);
  border-radius: 20px;
  padding: 48px 42px;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(16, 185, 129, 0.4);
}

.gate-icon {
  font-size: 95px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.age-gate-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--emerald);
}

.gate-message,
.gate-requirement,
.gate-info {
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.gate-requirement {
  font-size: 19px !important;
  color: var(--text-white) !important;
  font-weight: 600;
}

.gate-info {
  color: var(--mint) !important;
  font-weight: 600;
}

.gate-buttons {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  justify-content: center;
}

.gate-btn {
  padding: 16px 38px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Poppins', sans-serif;
}

.gate-yes {
  background: linear-gradient(135deg, var(--emerald), var(--dark-emerald));
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.gate-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.gate-no {
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
}

.gate-no:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* Header */
.main-header {
  background: var(--card-bg);
  border-bottom: 3px solid var(--emerald);
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
}

.brand-icon {
  font-size: 34px;
  color: var(--emerald);
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--emerald);
}

/* Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.toggle-line {
  width: 28px;
  height: 3px;
  background: var(--emerald);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.open .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.open .toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emerald);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Area */
.hero-area {
  background: linear-gradient(135deg, var(--forest) 0%, var(--dark-emerald) 50%, var(--emerald) 100%);
  padding: 100px 0;
  text-align: center;
}

.hero-content-box {
  max-width: 850px;
  margin: 0 auto;
}

.hero-area h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 62px;
  font-weight: 900;
  margin-bottom: 24px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 21px;
  margin-bottom: 38px;
  line-height: 1.7;
}

.primary-button {
  display: inline-block;
  padding: 18px 52px;
  background: white;
  color: var(--forest);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.primary-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

/* Welcome Section */
.welcome-section {
  padding: 88px 0;
  background: var(--darker-bg);
}

.section-intro {
  text-align: center;
  margin-bottom: 58px;
}

.section-intro h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--emerald);
}

.intro-text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
}

.feature-box {
  background: var(--card-bg);
  border: 2px solid var(--forest);
  border-radius: 16px;
  padding: 42px;
  transition: all 0.3s;
}

.feature-box:hover {
  border-color: var(--emerald);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.feature-emoji {
  font-size: 72px;
  display: block;
  margin-bottom: 22px;
}

.feature-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--emerald);
}

.feature-box p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Game Display Section */
.game-display-section {
  padding: 88px 0;
  background: var(--dark-bg);
}

.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 46px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 18px;
  color: var(--emerald);
}

.section-lead {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.game-frame-container {
  border: 4px solid var(--emerald);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.game-frame {
  width: 100%;
  height: 730px;
  border: none;
  display: block;
}

/* Advantages Section */
.advantages-section {
  padding: 88px 0;
  background: var(--darker-bg);
}

.advantages-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 26px;
  margin-top: 48px;
}

.advantage-column {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.advantage-item {
  display: flex;
  gap: 22px;
  background: var(--card-bg);
  padding: 32px;
  border-radius: 12px;
  border-left: 5px solid var(--emerald);
  transition: all 0.3s;
}

.advantage-item:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.2);
}

.advantage-icon {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--emerald);
  flex-shrink: 0;
}

.advantage-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--emerald);
}

.advantage-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Important Info Section */
.important-info-section {
  padding: 88px 0;
  background: var(--dark-bg);
}

.info-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 3px solid var(--emerald);
  border-radius: 16px;
  padding: 48px;
}

.info-wrapper h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 38px;
  color: var(--emerald);
}

.info-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-block {
  background: var(--darker-bg);
  padding: 26px;
  border-radius: 10px;
  border: 2px solid var(--forest);
}

.info-block h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--mint);
}

.info-block p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Page Header */
.page-header {
  background: var(--card-bg);
  padding: 68px 0;
  text-align: center;
  border-bottom: 3px solid var(--emerald);
}

.page-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 54px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--emerald);
}

.page-subtitle {
  font-size: 19px;
  color: var(--text-muted);
}

/* Play Content */
.play-content {
  padding: 68px 0;
  background: var(--darker-bg);
}

.instructions-box {
  background: var(--card-bg);
  border: 2px solid var(--emerald);
  border-radius: 14px;
  padding: 38px;
  margin-bottom: 44px;
}

.instructions-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--emerald);
}

.instructions-list {
  list-style: none;
}

.instructions-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-muted);
  font-size: 16px;
}

.instructions-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-size: 20px;
  font-weight: 900;
}

/* Legal Content */
.legal-content {
  padding: 68px 0;
  background: var(--darker-bg);
}

.legal-document {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 56px;
  border-radius: 14px;
  border: 2px solid var(--forest);
}

.document-date {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 42px;
  font-size: 15px;
}

.legal-document h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-top: 42px;
  margin-bottom: 16px;
  color: var(--emerald);
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.legal-document p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

.legal-document ul {
  margin: 18px 0;
  padding-left: 38px;
}

.legal-document li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.legal-document a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-document a:hover {
  color: var(--mint);
}

.emphasis-box {
  background: var(--darker-bg);
  border: 3px solid var(--cream);
  border-radius: 12px;
  padding: 32px;
  margin: 36px 0;
}

.emphasis-box h2 {
  margin-top: 0 !important;
  color: var(--cream) !important;
}

/* Footer */
.site-footer {
  background: var(--card-bg);
  border-top: 3px solid var(--emerald);
  padding: 62px 0 38px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--emerald);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 16px;
}

.footer-links a:hover {
  color: var(--emerald);
}

.footer-bottom {
  text-align: center;
  padding-top: 38px;
  border-top: 2px solid var(--dark-bg);
  color: var(--text-muted);
  font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 330px;
    height: 100vh;
    background: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px;
    gap: 24px;
    transition: right 0.4s;
    border-left: 3px solid var(--emerald);
  }

  .main-nav.show {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 19px;
  }

  .hero-area {
    padding: 72px 0;
  }

  .hero-area h1 {
    font-size: 42px;
  }

  .hero-description {
    font-size: 18px;
  }

  .section-intro h2,
  .section-heading {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .advantages-columns {
    grid-template-columns: 1fr;
  }

  .game-frame {
    height: 550px;
  }

  .info-items {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 38px 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .age-gate-box {
    margin: 20px;
    padding: 38px 28px;
  }

  .age-gate-box h2 {
    font-size: 30px;
  }

  .gate-buttons {
    flex-direction: column;
  }

  .gate-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 22px;
  }

  .brand-icon {
    font-size: 26px;
  }

  .hero-area h1 {
    font-size: 32px;
  }

  .page-header h1 {
    font-size: 38px;
  }

  .game-frame {
    height: 450px;
  }
}
