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

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

:root {
  --primary: #00e5ff;
  --secondary: #7c4dff;
  --dark: #0a0e1a;
  --darker: #060911;
  --card-bg: #111827;
  --text: #e0e6f0;
  --text-muted: #8892a4;
  --accent-glow: rgba(0, 229, 255, 0.15);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1040 50%, #0a0e1a 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--primary); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  padding: 100px 2rem 60px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; width: 100%; height: 200px;
  background: linear-gradient(to top, var(--dark), transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
  color: #fff;
}

/* SECTIONS */
.section { padding: 80px 2rem; }
.section-dark { background: var(--darker); }
.section-title {
  text-align: center; font-size: 2.2rem; font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center; color: var(--text-muted);
  max-width: 600px; margin: 0 auto 3rem; font-size: 1.05rem;
}

/* NOTICES */
.notices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.notice-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.notice-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}
.notice-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.notice-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--primary); }
.notice-card p { color: var(--text-muted); font-size: 0.95rem; }

/* GAME EMBED */
.game-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.08);
}
.game-wrapper iframe {
  width: 100%; height: 600px; border: none;
  background: #000;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.info-block {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(124, 77, 255, 0.1);
}
.info-block h3 { color: var(--secondary); margin-bottom: 0.8rem; font-size: 1.15rem; }
.info-block p { color: var(--text-muted); }

/* FOOTER */
.site-footer {
  background: var(--darker);
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* AGE POPUP */
.age-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.age-box {
  background: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}
.age-box h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.age-box p { color: var(--text-muted); margin-bottom: 2rem; }
.age-buttons { display: flex; gap: 1rem; justify-content: center; }
.age-buttons button {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}
.btn-yes { background: var(--primary); color: var(--dark); }
.btn-yes:hover { background: #fff; }
.btn-no { background: transparent; color: var(--primary); }
.btn-no:hover { background: rgba(0, 229, 255, 0.1); }

.hidden { display: none !important; }

/* CONTENT PAGES */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 2rem 80px;
}
.page-content h1 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--primary); }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--secondary); }
.page-content p { margin-bottom: 1rem; color: var(--text-muted); }
.page-content ul { margin: 1rem 0 1rem 1.5rem; color: var(--text-muted); }
.page-content li { margin-bottom: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; width: 100%;
    background: rgba(10, 14, 26, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
  }
  .nav-links.active { transform: translateX(0); }
  .hero h1 { font-size: 2.2rem; }
  .notices { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .game-wrapper iframe { height: 400px; }
}
