@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Raleway:wght@300;400;600;700&display=swap');

:root {
  --bg-deep: #0a0a0f;
  --bg-card: #14141f;
  --bg-surface: #1a1a2e;
  --purple: #9b59b6;
  --purple-light: #c39bd3;
  --purple-glow: rgba(155,89,182,0.25);
  --crimson: #e74c3c;
  --silver: #bdc3c7;
  --text-main: #ecf0f1;
  --text-dim: #7f8c8d;
  --border-subtle: rgba(155,89,182,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

/* HEADER */
.top-bar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 900;
  background: rgba(10,10,15,0.95);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.brand {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg { width: 32px; height: 32px; }

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

.main-nav a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple);
  transition: width 0.3s;
}

.main-nav a:hover, .main-nav a.current {
  color: var(--purple-light);
}

.main-nav a:hover::after, .main-nav a.current::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background: var(--purple);
  transition: all 0.3s;
  display: block;
}

.menu-toggle.active span:first-child { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:last-child { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 62px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 62px);
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.4s;
    border-left: 1px solid var(--border-subtle);
  }
  .main-nav.visible { right: 0; }
}

/* HERO - Split layout */
.void-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-surface));
  position: relative;
}

.void-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, var(--purple-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-text { position: relative; z-index: 2; padding: 2rem; }

.hero-text h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--purple-light);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 500px;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--purple);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 1px;
}

.cta-btn:hover {
  background: var(--purple-light);
  color: var(--bg-deep);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .decor-ring {
  width: 320px;
  height: 320px;
  border: 3px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseRing 4s ease-in-out infinite;
  box-shadow: 0 0 60px var(--purple-glow);
}

.decor-ring .inner-text {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--purple-light);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 30px var(--purple-glow); }
  50% { box-shadow: 0 0 80px var(--purple-glow), 0 0 120px rgba(155,89,182,0.1); }
}

@media (max-width: 768px) {
  .void-hero { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-visual { margin-top: 2rem; }
  .decor-ring { width: 200px; height: 200px; }
}

/* NOTICE STRIP */
.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.notice-strip .ns-item {
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--crimson);
  font-size: 0.95rem;
  border-right: 1px solid var(--border-subtle);
}

.notice-strip .ns-item:last-child { border-right: none; }
.notice-strip .ns-item .ns-icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }

@media (max-width: 600px) {
  .notice-strip { grid-template-columns: 1fr; }
  .notice-strip .ns-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* GAME EMBED */
.game-area {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--bg-surface), var(--bg-deep));
}

.game-container {
  max-width: 960px;
  margin: 0 auto;
}

.game-container iframe {
  width: 100%;
  height: 620px;
  border: 2px solid var(--purple);
  border-radius: 8px;
  display: block;
  box-shadow: 0 0 40px var(--purple-glow);
}

@media (max-width: 768px) {
  .game-container iframe { height: 380px; }
}

/* SECTION COMMON */
.sect {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.sect-head {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--purple-light);
  margin-bottom: 0.8rem;
}

.sect-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* TWO COLUMN CARDS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

.dark-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s;
}

.dark-card:hover { border-color: var(--purple); }

.dark-card .dc-icon { font-size: 2.2rem; margin-bottom: 1rem; }

.dark-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--purple-light);
  margin-bottom: 0.8rem;
}

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

/* INFO BLOCK */
.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3rem;
  margin-bottom: 2rem;
}

.info-block h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.info-block p {
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

/* FOOTER */
.void-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem;
  text-align: center;
}

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

.ft-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.ft-nav a:hover { color: var(--purple-light); }

.ft-responsible {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.ft-responsible p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 0.5rem; }

.ft-responsible a {
  color: var(--purple);
  text-decoration: none;
  margin: 0 0.5rem;
}

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

/* AGE GATE */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.age-box {
  background: var(--bg-surface);
  border: 2px solid var(--purple);
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  max-width: 460px;
  width: 100%;
}

.age-box h2 {
  font-family: 'Cinzel', serif;
  color: var(--crimson);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.age-box p { color: var(--text-dim); margin-bottom: 2rem; }

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

.btn-confirm {
  padding: 0.8rem 2.5rem;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-confirm:hover { background: var(--purple-light); color: var(--bg-deep); }

.btn-deny {
  padding: 0.8rem 2.5rem;
  background: var(--crimson);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-deny:hover { background: #c0392b; }

/* INNER PAGES */
.page-body { padding-top: 90px; min-height: 80vh; }

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-wrap h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--purple-light);
  margin-bottom: 2rem;
}

.page-wrap h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--purple);
  margin: 2rem 0 1rem;
}

.page-wrap p { color: var(--text-dim); margin-bottom: 1rem; }
.page-wrap ul, .page-wrap ol { color: var(--text-dim); padding-left: 1.5rem; margin-bottom: 1rem; }
.page-wrap li { margin-bottom: 0.5rem; }

/* PLAY PAGE */
.play-heading {
  text-align: center;
  padding: 2rem;
}

.play-heading h1 {
  font-family: 'Cinzel', serif;
  color: var(--purple-light);
  margin-bottom: 0.5rem;
}

.play-info {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-dim);
}
