@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600&display=swap');

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

:root {
  --primary: #6c3ce0;
  --primary-light: #8b5cf6;
  --secondary: #0ea5e9;
  --bg-dark: #0a0a1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-gold: #f59e0b;
  --gradient-1: linear-gradient(135deg, #6c3ce0, #0ea5e9);
  --gradient-2: linear-gradient(180deg, #0a0a1a 0%, #1a1040 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--gradient-2);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--primary-light);
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 60, 224, 0.25);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo svg {
  width: 38px;
  height: 38px;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 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);
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.97);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(108, 60, 224, 0.3);
  }

  .nav-links.show {
    transform: translateY(0);
  }
}

/* HERO SECTION */
.hero {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(108, 60, 224, 0.12) 0%, transparent 60%);
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--gradient-1);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 60, 224, 0.4);
  color: #fff;
}

/* NOTICES */
.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.notice-card {
  background: var(--bg-card);
  border: 1px solid rgba(108, 60, 224, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.notice-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.notice-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.notice-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.notice-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* GAME SECTION */
.game-section {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.game-section h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(108, 60, 224, 0.3);
  background: #000;
}

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

@media (max-width: 768px) {
  .game-frame-wrapper iframe {
    height: 400px;
  }
}

/* FEATURES STRIP */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.feature-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.feature-box h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* INFO SECTION */
.info-section {
  max-width: 1400px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
}

.info-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  text-align: center;
}

.info-section p {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
}

/* CONTENT PAGE */
.content-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 7rem 1.5rem 3rem;
}

.content-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.content-page h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: var(--accent-gold);
}

.content-page p, .content-page li {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.content-page ul, .content-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* PLAY PAGE */
.play-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem 1.5rem 3rem;
}

.play-wrapper h1 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.play-note {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
.site-footer {
  background: rgba(10, 10, 26, 0.95);
  border-top: 1px solid rgba(108, 60, 224, 0.2);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 350px;
}

.footer-links h4, .footer-responsible h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul, .footer-responsible ul {
  list-style: none;
}

.footer-links li, .footer-responsible li {
  margin-bottom: 0.4rem;
}

.footer-links a, .footer-responsible a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover, .footer-responsible a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(108, 60, 224, 0.12);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* AGE VERIFICATION OVERLAY */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.age-overlay.hidden {
  display: none;
}

.age-box {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-box .age-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.age-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.age-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

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

.age-btn-yes {
  padding: 0.7rem 2rem;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.age-btn-yes:hover {
  transform: scale(1.05);
}

.age-btn-no {
  padding: 0.7rem 2rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.age-btn-no:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* STARS BACKGROUND */
.stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

main {
  position: relative;
  z-index: 1;
}
