@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --royal-purple: #2d1b69;
  --deep-violet: #1a0f3c;
  --gold: #d4a843;
  --gold-light: #f0d78c;
  --cream: #f5f0e8;
  --text-light: #e8e0f0;
  --text-dim: #a89bc2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--deep-violet);
  color: var(--text-light);
  line-height: 1.7;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, var(--deep-violet) 0%, var(--royal-purple) 100%);
  border-bottom: 2px solid var(--gold);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo svg {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: 0.3s;
}

/* MAIN */
main { margin-top: 70px; }

/* HERO */
.hero {
  background: linear-gradient(160deg, var(--deep-violet) 0%, var(--royal-purple) 40%, #3d2080 100%);
  padding: 6rem 2rem 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(212,168,67,0.08) 0%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-10%) translateY(-10%); }
  50% { transform: translateX(10%) translateY(10%); }
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-violet);
  padding: 14px 40px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212,168,67,0.35);
}

/* NOTICES */
.notices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.notice-card {
  background: linear-gradient(135deg, rgba(45,27,105,0.8), rgba(61,32,128,0.6));
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.notice-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.notice-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.notice-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* GAME SECTION */
.game-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-section h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.game-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #000;
}

.game-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* FEATURES */
.features {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(45,27,105,0.3));
}

.features h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(26,15,60,0.6);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}

.feature-item .feat-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* INFO SECTION */
.info-section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-section p {
  margin-bottom: 1rem;
  color: var(--text-dim);
}

/* CONTENT PAGE */
.content-page {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-page h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2.4rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(212,168,67,0.3);
  padding-bottom: 1rem;
}

.content-page h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
}

.content-page p, .content-page li {
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.content-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* PLAY PAGE */
.play-hero {
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.play-hero h1 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.play-hero p {
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

.play-game-container {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.play-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(26,15,60,0.5);
  border-radius: 8px;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, #0d0820, var(--deep-violet));
  border-top: 2px solid var(--gold);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-responsible {
  margin-bottom: 1.5rem;
}

.footer-responsible h4 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-responsible a {
  color: var(--text-dim);
  text-decoration: none;
  margin: 0 0.8rem;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-responsible a:hover { color: var(--gold); }

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* AGE POPUP */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,25,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
}

.age-popup h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.age-popup p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.age-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-btns button {
  padding: 12px 36px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-yes {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--deep-violet);
}

.btn-yes:hover { transform: scale(1.05); }

.btn-no {
  background: transparent;
  color: var(--gold);
}

.btn-no:hover {
  background: rgba(212,168,67,0.15);
}

.age-blocked {
  color: #ff6b6b;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--deep-violet);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    border-bottom: 2px solid var(--gold);
  }

  .nav-links.open { transform: translateX(0); }

  .hero h1 { font-size: 2rem; }

  .notices { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .game-wrapper iframe { height: 350px; }

  .hero { padding: 4rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .site-header { padding: 0 1rem; }
  .logo { font-size: 1.2rem; }
}
