:root {
  --bg-deep: #1a0533;
  --bg-mid: #7c3aed;
  --bg-hot: #db2777;
  --pink: #ec4899;
  --orange: #f97316;
  --gold: #fbbf24;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 60px rgba(12, 4, 26, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 32%),
    radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.18), transparent 35%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-mid), var(--bg-hot));
  background-size: 180% 180%;
  animation: gradientShift 10s ease-in-out infinite;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 90%);
  opacity: 0.22;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.25;
  pointer-events: none;
}

.ambient.one {
  width: 280px;
  height: 280px;
  top: 120px;
  right: -40px;
  background: rgba(251, 191, 36, 0.4);
}

.ambient.two {
  width: 360px;
  height: 360px;
  top: 40%;
  left: -130px;
  background: rgba(236, 72, 153, 0.35);
}

.brand-mark-sm {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
}

.brand-mark-sm--center {
  display: block;
  margin: 0 auto 16px;
}

.brand-mark-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0 0 18px;
  transition: padding 0.25s ease;
}

.compliance-banner {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  margin: 0 0 14px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(236, 72, 153, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled {
  padding: 10px 0;
}

.header-panel,
.glass-card,
.legal-card,
.slider-frame,
.footer-panel,
.promo-band,
.modal-card,
.toast,
.contact-form,
.iframe-shell {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.site-header.is-scrolled .header-panel {
  background: rgba(20, 7, 37, 0.72);
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy strong,
.hero-copy h1,
.section-title,
.page-hero h1,
.modal-card h2,
.review-card h3,
.faq-question,
.feature-card h3,
.game-card h2,
.about-strip h2,
.legal-card h2,
.metric-box strong,
.stat-tile strong {
  font-family: "Space Grotesk", sans-serif;
}

.brand-copy strong {
  font-size: 1.1rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-row,
.site-nav,
.header-utility,
.auth-slot,
.hero-actions,
.badge-row,
.chip-row,
.slider-controls,
.slider-dots,
.cookie-actions,
.footer-links,
.age-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-row {
  flex: 1;
  justify-content: flex-end;
  gap: 16px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
}

.site-nav a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
}

.site-nav a.is-active,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.site-nav a.is-active::after {
  background: var(--pink);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.9);
}

.header-utility,
.auth-slot {
  justify-content: flex-end;
}

.store-badge img {
  height: 56px;
  width: auto;
}

.ghost-btn,
.outline-btn,
.coin-btn,
.icon-btn,
.cta-btn {
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
}

.ghost-btn,
.outline-btn,
.icon-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
}

.cta-btn,
.coin-btn {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border: none;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.28);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
}

.coin-btn {
  padding: 12px 18px;
}

.main-content {
  padding-bottom: 48px;
}

.hero-section,
.page-hero,
.section {
  padding: 32px 0;
}

.hero-grid,
.page-hero-grid,
.text-columns,
.promo-band,
.play-panel,
.footer-panel,
.collection-grid,
.contact-grid,
.legal-grid,
.about-grid,
.feature-grid,
.review-grid,
.showcase-stat-grid,
.game-media-grid,
.metrics-row,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.hero-grid,
.page-hero-grid,
.text-columns,
.promo-band,
.play-panel,
.footer-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card,
.page-hero-card,
.text-block,
.feature-card,
.review-card,
.game-card,
.about-strip,
.legal-card,
.contact-form,
.iframe-shell {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.hero-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  animation: heroFloat 4.6s ease-in-out infinite;
}

.eyebrow,
.kicker,
.badge-pill,
.chip,
.page-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-copy h1,
.page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.94;
}

.hero-copy h2 {
  margin: 0 0 16px;
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.hero-copy p,
.page-hero p,
.text-block p,
.review-card p,
.feature-card p,
.about-strip p,
.legal-card p,
.game-card p,
.faq-answer,
.footer-copy p {
  color: var(--muted);
  line-height: 1.7;
}

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

.stat-tile,
.metric-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.showcase-card,
.showcase-art,
.slider-frame {
  padding: 20px;
  border-radius: var(--radius-xl);
}

.showcase-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.poster-stack {
  position: relative;
  height: 100%;
}

.poster {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  backdrop-filter: blur(12px);
}

.poster img,
.promo-thumb img,
.game-media-grid img,
.screenshot-grid img {
  width: 100%;
  height: 100%;
}

.poster.p1 {
  width: 54%;
  height: 82%;
  left: 0;
  bottom: 0;
  transform: rotate(-7deg);
}

.poster.p2 {
  width: 48%;
  height: 64%;
  right: 0;
  top: 12px;
  transform: rotate(8deg);
}

.poster.p3 {
  width: 40%;
  height: 38%;
  right: 12%;
  bottom: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.highlights,
.plain-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.highlights {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list {
  padding-left: 18px;
}

.slider-stage {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 250px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  filter: blur(8px);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  position: relative;
}

.slide img {
  width: 100%;
  max-height: 620px;
  margin: 0 auto;
}

.slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.icon-btn {
  width: 46px;
  height: 46px;
  padding: 0;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.2);
}

.slider-dot.is-active {
  background: var(--pink);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.85);
}

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

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

.stars {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.promo-band,
.play-panel,
.collection-grid,
.contact-grid,
.legal-grid,
.about-grid {
  align-items: start;
}

.promo-thumb,
.game-media-grid img,
.screenshot-grid img {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

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

.game-media-grid.single {
  grid-template-columns: 1fr;
}

.game-media-grid img,
.screenshot-grid img {
  height: 220px;
}

.contact-form form {
  display: grid;
  gap: 14px;
}

.field-label {
  display: grid;
  gap: 8px;
}

.field-label input,
.field-label textarea {
  width: 100%;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.field-label textarea {
  min-height: 160px;
  resize: vertical;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, margin-top 0.28s ease;
  margin-top: 0;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  margin-top: 14px;
}

.site-footer {
  padding: 18px 0 92px;
}

.footer-panel {
  border-radius: var(--radius-xl);
  padding: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-right {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.modal-overlay,
.age-overlay,
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(11, 4, 22, 0.68);
  backdrop-filter: blur(12px);
  display: none;
  padding: 20px;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.modal-overlay {
  z-index: 99990;
}

.age-overlay,
#age-gate {
  z-index: 100000;
}

.modal-overlay.is-open {
  display: flex;
}

.age-overlay.is-open,
#age-gate.is-open {
  display: flex;
}

html.age-verified .age-overlay,
html.age-verified #age-gate {
  display: none !important;
}

html.cookies-accepted .cookie-banner,
html.cookies-accepted #ck-banner {
  display: none !important;
}

html:not(.age-verified) body {
  overflow: hidden;
}

.modal-card,
.age-card {
  width: min(460px, 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.age-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.age-card img {
  width: 86px;
  height: 86px;
  margin: 0 auto 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.modal-card {
  position: relative;
}

.text-link {
  color: #fff;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.message-box {
  min-height: 24px;
  margin-bottom: 12px;
  color: #ffd9ea;
}

.cookie-banner,
#ck-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  padding: 14px 18px;
  background: rgba(26, 5, 51, 0.95);
  border-top: 1px solid rgba(236, 72, 153, 0.5);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.cookie-inner {
  width: min(var(--container), calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 130;
  padding: 16px 18px;
  border-radius: 18px;
  max-width: 360px;
  display: none;
}

.toast.is-visible {
  display: block;
}

.iframe-shell iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.disclaimer {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-grid,
  .about-grid,
  .legal-grid,
  .contact-grid,
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid,
  .page-hero-grid,
  .text-columns,
  .promo-band,
  .play-panel,
  .footer-panel { grid-template-columns: 1fr; }
  .footer-right { justify-items: start; }
}

@media (max-width: 780px) {
  .nav-row { flex-direction: column; align-items: stretch; }
  .site-nav,
  .header-utility,
  .auth-slot { justify-content: flex-start; }
  .hero-copy h1,
  .page-hero h1 { font-size: clamp(2.2rem, 12vw, 3.6rem); }
  .showcase-stat-grid,
  .metrics-row,
  .feature-grid,
  .review-grid,
  .collection-grid,
  .about-grid,
  .legal-grid,
  .contact-grid,
  .screenshot-grid,
  .game-media-grid { grid-template-columns: 1fr; }
  .cookie-inner,
  .slider-bar { flex-direction: column; align-items: flex-start; }
  .iframe-shell iframe { height: 420px; }
}
