:root {
  --bg-1: #05060b;
  --bg-2: #0a1020;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-2: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.52);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(90, 110, 255, 0.18), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, var(--bg-2), var(--bg-1) 55%, #030307 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.top-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 18% 18%, rgba(120, 140, 255, 0.10), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.08), transparent 22%);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
}

.hero-inner,
.section,
.review,
.card,
#intro,
#audioToggle {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-inner {
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.section {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow);
}

.section h2,
.characters-head h2 {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section p,
.section li,
.subtitle,
.characters-head p,
.review .source,
.card span {
  color: var(--muted);
}

.btn,
#audioToggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn {
  text-decoration: none;
  border-radius: 14px;
}

.btn:hover,
#audioToggle:hover,
.card:hover,
.review:hover,
.section:hover {
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.review {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-content {
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.22), rgba(10, 12, 18, 0.46));
}

.floating-badge,
.scroll-hint,
.eyebrow {
  color: var(--muted-2);
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.96) 55%),
    rgba(0, 0, 0, 0.98);
}

.intro-text {
  color: white;
  font-weight: 700;
}

#audioToggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
}

.glitch-hover:hover {
  animation: glitch 260ms steps(2, end) infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(1px, -1px); }
  40% { transform: translate(-1px, 1px); }
  60% { transform: translate(1px, 1px); }
  80% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}

@media (max-width: 900px) {
  .hero-inner,
  .section {
    border-radius: 22px;
  }

  #audioToggle {
    right: 14px;
    bottom: 14px;
  }
}
html, body {
  overflow-x: hidden;
  overflow-y: auto;
}
