@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

:root {
  --bg: #12091e;
  --surface: #1c1230;
  --violet: #9b59ff;
  --violet-soft: #c4a0ff;
  --orange: #ff8c42;
  --txt: #d4cde5;
  --txt-bright: #f4f0ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.75;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; color: var(--txt-bright); }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--orange); }

.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(18,9,30,0.96);
  backdrop-filter: blur(10px);
  height: 65px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%;
  border-bottom: 1px solid rgba(155,89,255,0.15);
}

.nb-brand { display: flex; align-items: center; gap: 10px; }
.nb-brand svg { width: 34px; height: 34px; }
.nb-brand span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--violet); }

.nb-links { display: flex; list-style: none; gap: 1.6rem; }
.nb-links a { color: var(--txt); font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.nb-links a:hover { color: var(--violet); }

.nb-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nb-toggle i { width: 24px; height: 2.5px; background: var(--violet); border-radius: 2px; transition: all 0.3s; }
.nb-toggle.on i:first-child { transform: rotate(45deg) translate(5px,5px); }
.nb-toggle.on i:nth-child(2) { opacity: 0; }
.nb-toggle.on i:last-child { transform: rotate(-45deg) translate(5px,-5px); }

@media(max-width:768px) {
  .nb-toggle { display: flex; }
  .nb-links {
    position: fixed; top: 0; right: -100%;
    width: 70%; max-width: 280px; height: 100vh;
    background: var(--surface);
    flex-direction: column;
    padding: 85px 1.5rem;
    transition: right 0.35s;
  }
  .nb-links.open { right: 0; }
}

.hero {
  margin-top: 65px;
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 85vh;
  background: linear-gradient(160deg, var(--bg) 0%, var(--surface) 100%);
}
@media(max-width:768px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 4rem 5% 3rem; }
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-text h1 span { color: var(--violet); }
.hero-text p { margin-bottom: 2rem; font-size: 1.05rem; }

.hero-visual {
  aspect-ratio: 750/600;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--violet);
  box-shadow: 0 0 60px rgba(155,89,255,0.15);
}
.hero-visual iframe { width: 100%; height: 100%; border: none; }

.btn-glow {
  display: inline-block;
  padding: 12px 38px;
  background: var(--violet);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  border: none; border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.btn-glow:hover {
  background: var(--orange);
  box-shadow: 0 4px 20px rgba(255,140,66,0.4);
  color: #fff;
}

.panel { max-width: 1160px; margin: 0 auto; padding: 5rem 5%; }

.panel-alt { background: var(--surface); }

.badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  flex: 1; min-width: 260px; max-width: 360px;
  background: rgba(155,89,255,0.06);
  border: 1px solid rgba(155,89,255,0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.badge .b-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.badge h3 { color: var(--violet-soft); margin-bottom: 0.5rem; }

.about-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
@media(max-width:768px) { .about-split { grid-template-columns: 1fr; } }

.about-split aside {
  background: rgba(255,140,66,0.06);
  border: 1px solid rgba(255,140,66,0.2);
  border-radius: 12px;
  padding: 1.5rem;
}
.about-split aside h4 { color: var(--orange); margin-bottom: 0.8rem; }
.about-split aside ul { margin-left: 1.2rem; }
.about-split aside li { margin-bottom: 0.3rem; font-size: 0.92rem; }

.pg-banner {
  margin-top: 65px;
  padding: 4.5rem 5% 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.pg-banner h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--violet); }
.pg-banner p { color: var(--txt); margin-top: 0.5rem; opacity: 0.7; }

.prose { max-width: 860px; margin: 0 auto; padding: 3rem 5% 5rem; }
.prose h2 { color: var(--violet-soft); margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0.5rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.35rem; }

.foot {
  background: var(--surface);
  text-align: center;
  padding: 2.5rem 5%;
  border-top: 1px solid rgba(155,89,255,0.1);
}
.foot-nav { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.foot-nav a { color: var(--txt); font-size: 0.88rem; }
.foot-nav a:hover { color: var(--violet); }
.foot-small { font-size: 0.78rem; opacity: 0.45; margin-top: 0.8rem; }

.age-gate {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(18,9,30,0.97);
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
}
.age-panel {
  background: var(--surface);
  border: 2px solid var(--violet);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px; width: 88%;
}
.age-panel h2 { color: var(--violet); margin-bottom: 1rem; }
.age-panel p { margin-bottom: 1.5rem; }
.age-choices { display: flex; gap: 1rem; justify-content: center; }
.age-choices button {
  padding: 10px 28px; border: none; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.btn-accept { background: var(--violet); color: #fff; }
.btn-reject { background: #333; color: #888; }

.play-hint {
  max-width: 800px; margin: 1.5rem auto; padding: 1rem 1.5rem;
  background: rgba(155,89,255,0.05); border-radius: 8px;
  border: 1px solid rgba(155,89,255,0.1);
  font-size: 0.92rem;
}

.game-box {
  max-width: 800px; margin: 2rem auto;
  aspect-ratio: 750/600;
  border-radius: 14px; overflow: hidden;
  border: 2px solid var(--violet);
  box-shadow: 0 0 40px rgba(155,89,255,0.12);
}
.game-box iframe { width: 100%; height: 100%; border: none; }
