@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

:root {
  --primary: #0a0e27;
  --secondary: #1a1f4e;
  --accent: #00e5ff;
  --accent2: #7c4dff;
  --text: #e0e0e0;
  --text-bright: #ffffff;
  --gold: #ffd740;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-bright);
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

/* NAV */
.site-header {
  background: linear-gradient(180deg, rgba(10,14,39,0.98) 0%, rgba(26,31,78,0.95) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--accent);
  padding: 0 1.5rem;
}

.nav-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo svg {
  width: 36px;
  height: 36px;
  vertical-align: middle;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0d0d3d 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0,229,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(124,77,255,0.06) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 3%); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(to right, var(--accent), var(--gold), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(224,224,224,0.85);
}

.btn-glow {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 30px rgba(0,229,255,0.3);
  transition: all 0.3s;
}

.btn-glow:hover {
  box-shadow: 0 0 50px rgba(0,229,255,0.5);
  transform: translateY(-2px);
  color: #fff;
}

/* NOTICES */
.notices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: -2rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.notice-card {
  background: var(--secondary);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,229,255,0.15);
}

.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: rgba(224,224,224,0.7); }

/* SECTIONS */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-text {
  max-width: 900px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(224,224,224,0.8);
}

/* GAME EMBED */
.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 40px rgba(0,229,255,0.15);
}

.game-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: linear-gradient(135deg, var(--secondary), rgba(26,31,78,0.6));
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(0,229,255,0.1);
  transition: border-color 0.3s;
}

.feature-item:hover { border-color: var(--accent); }

.feature-item .icon { font-size: 2rem; margin-bottom: 1rem; }

.feature-item h3 { margin-bottom: 0.8rem; font-size: 1.1rem; }
.feature-item p { font-size: 0.92rem; color: rgba(224,224,224,0.7); }

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--secondary);
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.stat-item { text-align: center; }

.stat-item .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-item .label {
  font-size: 0.85rem;
  color: rgba(224,224,224,0.6);
  margin-top: 0.3rem;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  border-top: 1px solid rgba(0,229,255,0.15);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-links { margin-bottom: 1.5rem; }

.footer-links a {
  display: inline-block;
  margin: 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(224,224,224,0.4);
  line-height: 1.8;
}

/* 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-overlay.hidden { display: none; }

.age-box {
  background: var(--secondary);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(0,229,255,0.2);
}

.age-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.age-box p { margin-bottom: 2rem; font-size: 0.95rem; }

.age-btns { display: flex; gap: 1rem; justify-content: center; }

.age-btns button {
  padding: 0.8rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-yes {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
}

.btn-yes:hover { box-shadow: 0 0 30px rgba(0,229,255,0.4); }

.btn-no {
  background: transparent;
  border: 2px solid rgba(224,224,224,0.3) !important;
  color: var(--text);
}

.btn-no:hover { border-color: #ff5252 !important; color: #ff5252; }

/* PAGE CONTENT */
.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  min-height: 60vh;
}

.page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--gold);
}

.page-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: rgba(224,224,224,0.85);
}

.page-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: rgba(224,224,224,0.8);
}

.page-content ul li { margin-bottom: 0.5rem; }

/* MOBILE */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 2px solid var(--accent);
  }

  .nav-links.active { display: flex; }
  .nav-links li { padding: 0.8rem 0; border-bottom: 1px solid rgba(0,229,255,0.1); }

  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 1rem; }
  .notices { grid-template-columns: 1fr; margin-top: 1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .game-wrapper iframe { height: 400px; }
}
