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

body {
  font-family: 'Work Sans', sans-serif;
  background: linear-gradient(to bottom right, #ecfdf5 0%, #d1fae5 100%);
  color: #064e3b;
  line-height: 1.7;
  min-height: 100vh;
}

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

/* Age Modal */
.age-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 100000;
  align-items: center;
  justify-content: center;
}

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

.age-modal-box {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 3rem;
  border-radius: 20px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(16, 185, 129, 0.5);
  color: white;
}

.age-modal-box h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.age-modal-box p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.age-modal-note {
  font-size: 0.95rem;
  opacity: 0.9;
}

.age-modal-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.age-btn-yes, .age-btn-no {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-btn-yes {
  background: white;
  color: #10b981;
}

.age-btn-yes:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

.age-btn-no {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.age-btn-no:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Navigation */
.top-nav {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  color: white;
}

.brand-symbol {
  font-size: 2.5rem;
}

.brand-name {
  font-size: 2rem;
  font-weight: 900;
}

.mobile-nav-btn {
  display: none;
  flex-direction: column;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  gap: 4px;
}

.mobile-nav-btn span {
  width: 25px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-links-container {
  display: flex;
  gap: 2rem;
}

.nav-links-container a {
  color: white;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links-container a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Intro Hero */
.intro-hero {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  padding: 5rem 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(16, 185, 129, 0.3);
}

.intro-hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-lead {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-action-btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: white;
  color: #10b981;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-action-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #059669;
  text-align: center;
  margin-bottom: 1.5rem;
}

.welcome-text {
  text-align: center;
  font-size: 1.15rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  color: #065f46;
  line-height: 1.8;
}

/* Principles Row */
.principles-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.principle-card {
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.emerald {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.teal {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
}

.green {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

.principle-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.principle-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  color: #047857;
  margin-bottom: 1rem;
}

/* Gameplay Section */
.gameplay-section {
  background: white;
  border-top: 4px solid #10b981;
  border-bottom: 4px solid #10b981;
}

.gameplay-intro {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #065f46;
}

.game-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(16, 185, 129, 0.3);
  border: 4px solid #10b981;
}

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

.expand-game-link {
  display: block;
  text-align: center;
  margin-top: 2rem;
  color: #10b981;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.expand-game-link:hover {
  color: #059669;
  transform: translateX(5px);
}

/* Perks Section */
.perks-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.perk-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.perk-item:hover {
  border-color: #10b981;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.2);
}

.perk-symbol {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.perk-item h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  color: #047857;
  margin-bottom: 0.8rem;
}

/* Values Section */
.values-section {
  background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
  text-align: center;
}

.values-section h2 {
  color: #064e3b;
}

.values-description {
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  color: #064e3b;
  line-height: 1.8;
}

.metrics-display {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #064e3b;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.1rem;
  color: #065f46;
}

/* Play Page */
.play-page {
  padding: 4rem 0;
  min-height: calc(100vh - 400px);
}

.play-page h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 3rem;
  color: #10b981;
  text-align: center;
  margin-bottom: 1rem;
}

.play-summary {
  text-align: center;
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #065f46;
}

.play-guide {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto 2rem;
  border-left: 5px solid #10b981;
}

.play-game-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(16, 185, 129, 0.3);
  border: 4px solid #10b981;
}

.play-game-frame {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.play-note {
  background: white;
  border: 3px solid #10b981;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 1000px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
}

/* Policy Pages */
.policy-page {
  padding: 4rem 0;
  min-height: calc(100vh - 400px);
}

.policy-page h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.8rem;
  color: #10b981;
  text-align: center;
  margin-bottom: 1rem;
}

.policy-date {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 3rem;
}

.policy-article {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #10b981;
}

.policy-article h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  color: #047857;
  text-align: left;
  margin-bottom: 1rem;
}

.policy-article ul {
  margin-left: 2rem;
  margin-top: 1rem;
}

.policy-article li {
  margin-bottom: 0.6rem;
}

.emphasis-box {
  background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
  border: 3px solid #10b981;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.emphasis-box h2 {
  text-align: left;
  margin-bottom: 1rem;
  color: #064e3b;
}

.emphasis-box ul {
  margin-left: 2rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-credits {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-nav-btn {
    display: flex;
  }

  .nav-links-container {
    position: fixed;
    left: -100%;
    top: 67px;
    flex-direction: column;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 0;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
  }

  .nav-links-container a {
    padding: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links-container.open {
    left: 0;
  }

  .intro-hero h1, .play-page h1, .policy-page h1 {
    font-size: 2.2rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .principles-row, .perks-layout {
    grid-template-columns: 1fr;
  }

  .game-iframe, .play-game-frame {
    height: 400px;
  }

  .metrics-display {
    gap: 2rem;
  }

  .age-modal-box {
    margin: 20px;
    padding: 2rem;
  }

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