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

:root {
  --primary: #7c3aed;
  --secondary: #3b82f6;
  --accent: #a855f7;
  --bg-dark: #0a0a1a;
  --bg-card: #13132b;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --glow: rgba(124, 58, 237, 0.4);
}

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

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

.stars-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%),
              var(--bg-dark);
  z-index: -1;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,58,237,0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

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

.logo-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  vertical-align: middle;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent);
}

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

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.btn-glow {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 0 20px var(--glow);
}

.btn-glow:hover {
  box-shadow: 0 0 40px var(--glow);
  transform: translateY(-2px);
}

/* Notices */
.notices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.notice-card {
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

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

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

.notice-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

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

/* Game Section */
.game-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.game-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  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 Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.info-block {
  background: linear-gradient(135deg, var(--bg-card), rgba(59,130,246,0.05));
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(59,130,246,0.1);
}

.info-block h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

/* Content sections */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-section h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

.content-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--secondary);
}

.content-section p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.content-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.content-section ul li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: rgba(10,10,26,0.95);
  border-top: 1px solid rgba(124,58,237,0.15);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.responsible-gambling {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(124,58,237,0.1);
}

.responsible-gambling p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.responsible-gambling a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 0.8rem;
  font-size: 0.85rem;
}

.responsible-gambling a:hover { text-decoration: underline; }

.footer-copy {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Age Verification Modal */
.age-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-modal {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 0 60px var(--glow);
}

.age-modal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.age-modal p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

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

.age-modal-buttons button {
  padding: 12px 36px;
  border: none;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-yes {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.btn-yes:hover { box-shadow: 0 0 20px var(--glow); }

.btn-no {
  background: transparent;
  border: 2px solid var(--text-muted) !important;
  color: var(--text-muted);
}

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

.age-blocked {
  text-align: center;
  padding: 4rem 2rem;
}

.age-blocked h2 {
  font-family: 'Orbitron', sans-serif;
  color: #ef4444;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Play page */
.play-hero {
  padding: 3rem 2rem;
  text-align: center;
}

.play-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.play-note {
  max-width: 800px;
  margin: 0 auto 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(124,58,237,0.15);
}

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

/* Widgets */
.widget-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.widget {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(124,58,237,0.1);
}

.widget .w-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.widget .w-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

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

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10,10,26,0.98);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(124,58,237,0.2);
  }

  nav ul.open { display: flex; }

  nav ul li { text-align: center; padding: 0.8rem 0; }

  .hero h1 { font-size: 2.2rem; }

  .notices { grid-template-columns: 1fr; }

  .info-grid { grid-template-columns: 1fr; }

  .widget-strip { grid-template-columns: repeat(2, 1fr); }

  .nav-container { position: relative; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .widget-strip { grid-template-columns: 1fr; }
  .age-modal { padding: 2rem 1.5rem; }
}
