@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;700&family=Quicksand:wght@300;400;600;700&display=swap');

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

:root {
  --ice-blue: #00d4ff;
  --deep-navy: #0a1628;
  --crystal-purple: #7b68ee;
  --frost-white: #e8f4f8;
  --dark-slate: #1a2a44;
  --glow-cyan: rgba(0, 212, 255, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(180deg, var(--deep-navy) 0%, #0d1f35 50%, var(--deep-navy) 100%);
  color: var(--frost-white);
  min-height: 100vh;
  line-height: 1.8;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px var(--glow-cyan);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 3%;
  max-width: 1600px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 45px;
  height: 45px;
}

.brand-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ice-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.main-nav a {
  color: var(--frost-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ice-blue);
  transition: width 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--ice-blue);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ice-blue);
  margin: 5px 0;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.98);
  padding: 1rem 3%;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--frost-white);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  font-weight: 500;
}

.intro-banner {
  padding: 6rem 3% 4rem;
  text-align: left;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ice-blue);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px var(--glow-cyan);
}

.intro-text p {
  font-size: 1.15rem;
  color: rgba(232, 244, 248, 0.8);
  margin-bottom: 2rem;
}

.notice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip {
  background: rgba(123, 104, 238, 0.2);
  border: 1px solid var(--crystal-purple);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
}

.intro-visual {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 104, 238, 0.1));
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--glow-cyan);
}

.intro-visual .icon-big {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.game-zone {
  padding: 3rem 3%;
  max-width: 1600px;
  margin: 0 auto;
}

.game-zone h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  color: var(--crystal-purple);
  margin-bottom: 1.5rem;
  text-align: center;
}

.game-frame-wrapper {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 50px var(--glow-cyan);
  border: 1px solid var(--ice-blue);
}

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

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 4rem 3%;
  max-width: 1600px;
  margin: 0 auto;
}

.feature-box {
  background: linear-gradient(145deg, var(--dark-slate), rgba(26, 42, 68, 0.5));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.15);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-box:hover {
  transform: translateY(-8px);
  border-color: var(--ice-blue);
}

.feature-box .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  color: var(--ice-blue);
  margin-bottom: 0.8rem;
}

.feature-box p {
  font-size: 0.9rem;
  color: rgba(232, 244, 248, 0.7);
}

.text-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 3%;
}

.text-content h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem;
  color: var(--ice-blue);
  margin-bottom: 2rem;
}

.text-content h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  color: var(--crystal-purple);
  margin: 2.5rem 0 1rem;
}

.text-content p {
  margin-bottom: 1rem;
  color: rgba(232, 244, 248, 0.85);
}

.text-content ul {
  margin: 1rem 0 1rem 2rem;
  color: rgba(232, 244, 248, 0.85);
}

.text-content li {
  margin-bottom: 0.5rem;
}

.play-instructions {
  background: var(--dark-slate);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--ice-blue);
}

footer {
  background: rgba(5, 12, 25, 0.95);
  padding: 3rem 3%;
  margin-top: 4rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

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

.footer-content p {
  color: rgba(232, 244, 248, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.help-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.help-links a {
  color: var(--ice-blue);
  text-decoration: none;
  font-size: 0.85rem;
}

.help-links a:hover {
  text-decoration: underline;
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.age-gate.dismissed {
  display: none;
}

.age-dialog {
  background: linear-gradient(145deg, var(--dark-slate), var(--deep-navy));
  border: 2px solid var(--ice-blue);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  text-align: center;
  margin: 1rem;
}

.age-dialog h2 {
  font-family: 'Rajdhani', sans-serif;
  color: var(--ice-blue);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.age-dialog p {
  color: rgba(232, 244, 248, 0.8);
  margin-bottom: 2rem;
}

.age-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-confirm, .btn-deny {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-confirm {
  background: var(--ice-blue);
  color: var(--deep-navy);
}

.btn-confirm:hover {
  background: #33e0ff;
}

.btn-deny {
  background: transparent;
  border: 2px solid rgba(232, 244, 248, 0.4);
  color: rgba(232, 244, 248, 0.8);
}

.btn-deny:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

@media (max-width: 1024px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .intro-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .notice-chips {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .intro-text h1 {
    font-size: 2rem;
  }
  
  .features-row {
    grid-template-columns: 1fr;
  }
  
  .game-frame-wrapper iframe {
    height: 450px;
  }
  
  .age-actions {
    flex-direction: column;
  }
}
