@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --primary: #1a0a2e;
  --secondary: #6c3fa0;
  --accent: #f7b32b;
  --accent2: #e84393;
  --text: #f0e6ff;
  --bg-dark: #0d0518;
  --card-bg: rgba(108, 63, 160, 0.15);
  --border-glow: rgba(247, 179, 43, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; }

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent2); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(26,10,46,0.95) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.logo-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
}

.logo-icon::after {
  content: '✦';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: var(--primary);
}

.nav-desktop { display: flex; gap: 1.5rem; list-style: none; }
.nav-desktop a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--accent); }

.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(--accent);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--primary);
  border-bottom: 1px solid var(--border-glow);
  z-index: 999;
  flex-direction: column;
  padding: 1rem 2rem;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  color: var(--text);
  padding: 0.8rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav a:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* HERO SECTION */
.hero {
  margin-top: 70px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background: radial-gradient(ellipse at 50% 20%, rgba(108,63,160,0.25) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 80%, rgba(247,179,43,0.1) 0%, transparent 50%);
  position: relative;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), #fff, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  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: 1px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(247,179,43,0.3);
  color: #fff;
}

/* NOTICES */
.notices-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(108,63,160,0.1);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.notice-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* GAME SECTION */
.game-section {
  padding: 4rem 2rem;
  text-align: center;
}

.game-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.game-wrapper {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-glow);
  background: var(--card-bg);
  box-shadow: 0 0 50px rgba(108,63,160,0.2);
}

.game-wrapper iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-wrapper iframe { height: 400px; }
}

/* FEATURES */
.features {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(247,179,43,0.15);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.feature-card p { opacity: 0.85; font-size: 0.95rem; }

/* INFO SECTION */
.info-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.info-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-align: center;
}

.info-section p {
  margin-bottom: 1.2rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* CONTENT PAGE */
.content-page {
  margin-top: 70px;
  padding: 3rem 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100vh - 70px - 200px);
}

.content-page h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.content-page h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--accent2);
}

.content-page p {
  margin-bottom: 1.2rem;
  opacity: 0.9;
  font-size: 1.05rem;
}

.content-page ul, .content-page ol {
  margin: 1rem 0 1.5rem 2rem;
  opacity: 0.9;
}

.content-page li { margin-bottom: 0.5rem; }

/* FOOTER */
.site-footer {
  background: var(--primary);
  border-top: 1px solid var(--border-glow);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}
.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-responsible {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-responsible p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.8rem;
}

.footer-responsible a {
  color: var(--accent);
  margin: 0 0.5rem;
  font-size: 0.85rem;
}

/* AGE POPUP */
.age-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-popup {
  background: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 60px rgba(247,179,43,0.2);
}

.age-popup h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.age-popup p {
  margin-bottom: 2rem;
  opacity: 0.85;
  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;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: all 0.3s;
}

.btn-yes {
  background: var(--accent);
  color: var(--primary);
}
.btn-yes:hover { background: #f5c542; }

.btn-no {
  background: transparent;
  color: var(--accent);
}
.btn-no:hover { background: rgba(247,179,43,0.1); }

.age-blocked {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.age-blocked h2 {
  font-size: 2rem;
  color: var(--accent2);
  margin-bottom: 1rem;
}

.age-blocked p { opacity: 0.7; }

/* PLAY PAGE NOTE */
.play-note {
  background: var(--card-bg);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 960px;
}

.play-note h3 { color: var(--accent); margin-bottom: 0.5rem; }
.play-note p { font-size: 0.95rem; opacity: 0.8; }
