@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Exo+2:wght@300;400;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #7c3aed;
  --accent: #06d6a0;
  --dark: #0b0e17;
  --darker: #060810;
  --card-bg: rgba(124, 58, 237, 0.08);
  --text: #e0e0f0;
  --muted: #8888aa;
  --glow: 0 0 20px rgba(124, 58, 237, 0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--darker);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Orbitron', sans-serif; }

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

/* NAV */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--muted); font-weight: 400; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(11, 14, 23, 0.97);
    flex-direction: column; padding: 1.5rem 2rem;
    transform: translateY(-120%); transition: transform 0.35s;
  }
  .nav-links.open { transform: translateY(0); }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 2rem 4rem;
  background: radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.18) 0%, transparent 70%),
              var(--darker);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #c084fc, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a855f7);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(124, 58, 237, 0.6); color: #fff; }

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover { background: var(--accent); color: var(--dark); }

/* NOTICES */
.notices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.notice-card {
  background: var(--card-bg);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.notice-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.notice-card .icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.notice-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--accent); }
.notice-card p { font-size: 0.9rem; color: var(--muted); }

/* GAME SECTION */
.game-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.game-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  color: #c084fc;
}
.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}
.game-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* INFO BLOCKS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-block {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(124, 58, 237, 0.12);
}
.info-block h3 { color: var(--accent); margin-bottom: 0.8rem; font-size: 1rem; }
.info-block p { color: var(--muted); font-size: 0.95rem; }

/* SECTION */
.section { padding: 4rem 2rem; max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.5rem; color: #c084fc; }
.section p, .section li { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.section ul { padding-left: 1.5rem; }
.section ul li { margin-bottom: 0.5rem; }

.page-header {
  padding: 120px 2rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(124,58,237,0.12) 0%, transparent 70%);
}
.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #c084fc;
}

/* FOOTER */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  text-align: center;
  background: var(--darker);
}
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: var(--muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }
.site-footer p { color: var(--muted); font-size: 0.8rem; }

/* AGE POPUP */
.age-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6, 8, 16, 0.95);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.age-box {
  background: var(--dark);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.3);
}
.age-box h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #c084fc; }
.age-box p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }
.age-buttons { display: flex; gap: 1rem; justify-content: center; }
.age-buttons .btn { min-width: 120px; text-align: center; cursor: pointer; border: none; }

.age-overlay.hidden { display: none; }
