:root {
  --bg-start: #1a0533;
  --bg-mid: #7c3aed;
  --bg-end: #db2777;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(236, 72, 153, 0.45);
  --text: #ffffff;
  --muted: #e9d5ff;
  --hot-pink: #ec4899;
  --deep-purple: #7c3aed;
  --gold: #fbbf24;
  --cta-a: #ec4899;
  --cta-b: #f97316;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Work Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(140deg, var(--bg-start), var(--bg-mid), var(--bg-end));
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -20%;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.2), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(236, 72, 153, 0.3), transparent 34%),
    radial-gradient(circle at 60% 80%, rgba(124, 58, 237, 0.35), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  object-fit: contain;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 8, 20, 0.58);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #f8eaff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hot-pink);
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1.05rem;
  font-weight: 700;
  font-family: "Work Sans", sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--cta-a), var(--cta-b));
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 0 3rem;
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.hero-panel {
  width: min(880px, 100%);
  padding: 2rem;
  animation: float 4.8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin: 0.6rem 0 0.9rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 1.4rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.15rem;
}

.card img {
  width: 100%;
  height: 240px;
  border-radius: 12px;
}

.card h3 {
  margin: 0 0 0.35rem;
}

.muted {
  color: var(--muted);
}

.play-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
}

.play-badge-wrap img {
  height: 56px;
  object-fit: contain;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.55);
  margin-bottom: 0.55rem;
}

.review-name {
  color: #ffd8ef;
  font-weight: 600;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 4, 12, 0.42);
}

.footer-inner {
  padding: 1.5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.legal-note {
  margin: 1rem 0 0.5rem;
  color: #f8ddff;
}

.copyright {
  color: #f3d7ff;
  font-size: 0.95rem;
}

.page-hero {
  padding: 8rem 0 2rem;
}

.page-hero h1 {
  margin-bottom: 0.35rem;
}

.content-block {
  padding: 1.25rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal.show {
  display: flex;
}

.auth-card {
  width: min(440px, 100%);
  padding: 1.2rem;
  position: relative;
}

.auth-close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}

.auth-switch {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tab {
  flex: 1;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-form label {
  display: block;
  margin: 0.45rem 0 0.2rem;
  font-weight: 600;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem;
  font-family: "Work Sans", sans-serif;
}

.auth-error {
  min-height: 1.1rem;
  margin: 0.55rem 0;
  color: #ffd5e6;
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
}

iframe {
  border-radius: 16px;
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 1.35rem;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
    order: 3;
  }
}
