@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap');

:root {
  --primary: #6a0dad;
  --primary-dark: #4a0080;
  --accent: #ffd700;
  --bg-dark: #1a0a2e;
  --bg-card: #2d1452;
  --text-light: #f0e6ff;
  --text-muted: #b8a0d4;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: #ffe44d; }

.site-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-dark));
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--accent);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-wrap svg { width: 40px; height: 40px; }

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  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;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.hero-section {
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: radial-gradient(ellipse at center, rgba(106, 13, 173, 0.4) 0%, transparent 70%);
  position: relative;
}

.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), #e6b800);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 50px;
  font-size: 1.05rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  color: var(--bg-dark);
}

.notices-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.notice-item .icon { font-size: 1.4rem; }

.game-showcase {
  padding: 4rem 2rem;
  text-align: center;
}

.game-showcase h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.game-frame-wrap {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 0 40px rgba(106, 13, 173, 0.5);
  background: #000;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-card .card-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.info-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.info-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.page-content {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 2rem;
  text-align: center;
}

.page-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 2rem 0 1rem;
}

.page-content p, .page-content li {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer {
  background: linear-gradient(135deg, var(--primary-dark), #0d0520);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 2px solid var(--accent);
  margin-top: 4rem;
}

.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;
  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(255, 215, 0, 0.1);
}

.responsible-gambling p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.responsible-gambling a {
  color: var(--accent);
  margin: 0 0.8rem;
  font-size: 0.85rem;
}

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-popup {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 0 60px rgba(106, 13, 173, 0.6);
}

.age-popup h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.age-popup p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.age-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-buttons button {
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-yes {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-yes:hover {
  background: #ffe44d;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-no {
  background: transparent;
  color: var(--accent);
}

.btn-no:hover {
  background: rgba(255, 215, 0, 0.1);
}

.play-section {
  padding: 3rem 2rem;
  text-align: center;
}

.play-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.play-section p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 2px solid var(--accent);
  }

  .nav-links.open { display: flex; }

  .hero-section h1 { font-size: 2rem; }
  .hero-section { padding: 3rem 1.5rem 2.5rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 1.5rem; }

  .game-frame-wrap iframe { height: 400px; }

  .notices-bar { gap: 1rem; padding: 1.5rem; }

  .footer-links { flex-direction: column; gap: 0.8rem; }
}
