@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a3e;
  --accent: #7b2ff7;
  --accent-glow: #a855f7;
  --gold: #f5c542;
  --text: #e0e0f0;
  --text-muted: #8888aa;
  --border: #2a2a5a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

a { color: var(--accent-glow); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-glow), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-glow);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent-glow); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,10,26,0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { transform: translateY(0); }
}

/* HERO */
.hero {
  margin-top: 70px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: radial-gradient(ellipse at center, #1a1050 0%, var(--bg-primary) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(123,47,247,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(245,197,66,0.1) 0%, transparent 50%);
  animation: nebula 20s ease-in-out infinite alternate;
}

@keyframes nebula {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(10deg) scale(1.1); }
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent-glow), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(123,47,247,0.4);
  color: #fff;
}

/* 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(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.notice-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-glow);
}

.notice-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.notice-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.notice-card p { color: var(--text-muted); font-size: 0.95rem; }

/* GAME SECTION */
.game-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--gold);
}

.game-wrapper {
  border: 2px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow: 0 0 40px rgba(123,47,247,0.15);
}

.game-wrapper iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
}

@media (max-width: 768px) {
  .game-wrapper iframe { height: 400px; }
}

/* INFO BLOCKS */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
}

.info-block {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.info-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-glow);
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FEATURES */
.features-strip {
  padding: 4rem 2rem;
  background: var(--bg-secondary);
}

.features-strip .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.feature-item {
  flex: 1 1 200px;
}

.feature-item .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
}

.feature-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* FOOTER */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  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(--accent-glow); }

.footer-responsible {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-responsible p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-responsible a {
  margin: 0 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* PAGE CONTENT */
.page-banner {
  margin-top: 70px;
  padding: 5rem 2rem 3rem;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1050 0%, var(--bg-primary) 70%);
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--accent-glow);
}

.page-content h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--gold);
}

.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 ul li { margin-bottom: 0.5rem; }

/* AGE POPUP */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-popup h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.age-popup p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-btn {
  padding: 12px 36px;
  border-radius: 50px;
  border: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.age-btn:hover { transform: scale(1.05); }

.age-btn-yes {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  color: #fff;
}

.age-btn-no {
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
}

.age-blocked {
  display: none;
  text-align: center;
  padding: 2rem;
}

.age-blocked h2 { color: #f44; margin-bottom: 1rem; }

.hidden { display: none !important; }

/* PLAY PAGE */
.play-container {
  margin-top: 70px;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.play-container h1 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  margin-top: 70px;
}

.play-note {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
