* {
  box-sizing: border-box;
}

:root {
  --bg-deep: #1a0533;
  --bg-mid: #7c3aed;
  --bg-hot: #db2777;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --border-pink: rgba(236, 72, 153, 0.38);
  --border-soft: rgba(255, 255, 255, 0.16);
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-faint: rgba(255, 255, 255, 0.56);
  --pink: #ec4899;
  --purple: #7c3aed;
  --gold: #fbbf24;
  --orange: #f97316;
  --shadow-glow: 0 22px 60px rgba(15, 2, 32, 0.34);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --content-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.14), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.22), transparent 24%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-mid), var(--bg-hot));
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.18;
  pointer-events: none;
}

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

a {
  color: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(26, 5, 51, 0.52);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(236, 72, 153, 0.22);
  box-shadow: 0 16px 40px rgba(15, 2, 32, 0.28);
}

.nav-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.55));
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.9);
}

.free-games-notice {
  max-width: calc(var(--content-width) - 40px);
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px 20px 120px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding: 52px 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  backdrop-filter: blur(10px);
}

.hero-copy h1,
.section-title,
.page-title {
  margin: 18px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 720px;
}

.hero-copy p {
  max-width: 610px;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 14px 34px rgba(249, 115, 22, 0.28);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-store img {
  height: 54px;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
}

.hero-visual {
  position: relative;
}

.floating-card {
  position: relative;
  padding: 18px;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card::before,
.floating-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.65;
  z-index: -1;
}

.floating-card::before {
  width: 150px;
  height: 150px;
  background: rgba(236, 72, 153, 0.32);
  top: -28px;
  right: -18px;
}

.floating-card::after {
  width: 120px;
  height: 120px;
  background: rgba(251, 191, 36, 0.18);
  bottom: -16px;
  left: -16px;
}

.screenshot-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 2, 32, 0.4);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.floating-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.meta-pill {
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.18);
  text-align: center;
}

.meta-pill strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.section {
  margin-top: 32px;
}

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

.section-title,
.page-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-intro,
.page-intro {
  max-width: 780px;
  color: var(--text-soft);
  margin: 0;
}

.content-card {
  padding: 28px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.media-card,
.feature-card,
.review-card,
.info-card,
.cta-panel,
.legal-card {
  padding: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover,
.feature-card:hover,
.review-card:hover,
.info-card:hover,
.cta-panel:hover {
  transform: translateY(-8px);
  border-color: var(--border-pink);
  box-shadow: 0 24px 52px rgba(15, 2, 32, 0.34);
}

.media-card img,
.game-card img,
.demo-card img {
  width: 100%;
  border-radius: 18px;
  background: rgba(15, 2, 32, 0.28);
}

.media-card img {
  aspect-ratio: 16 / 9;
}

.feature-card h3,
.review-card h3,
.info-card h3,
.game-card h3,
.demo-card h3,
.legal-card h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
}

.feature-card p,
.review-card p,
.info-card p,
.game-card p,
.demo-card p,
.legal-card p,
.legal-card li {
  color: var(--text-soft);
  margin: 0;
}

.feature-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(236, 72, 153, 0.24);
  font-size: 1.35rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.review-author {
  margin-top: 16px;
  color: #fff;
  font-weight: 600;
}

.promo-band,
.page-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.promo-band img,
.page-band img {
  max-height: 380px;
  margin: 0 auto;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-copy h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.notice-strip {
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.35);
  backdrop-filter: blur(10px);
  color: #fff;
}

.page-hero {
  padding-top: 34px;
}

.page-kicker {
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.stack {
  display: grid;
  gap: 22px;
}

.game-card,
.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 22px;
  padding: 24px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-strip img {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.copy-list {
  padding-left: 18px;
  margin: 16px 0 0;
}

.copy-list li + li {
  margin-top: 10px;
}

.legal-card {
  padding: 28px;
}

.legal-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.demo-frame {
  padding: 18px;
}

.demo-frame iframe {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-glow);
}

.support-note {
  color: var(--text-faint);
  font-size: 0.95rem;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.25);
  }

  50% {
    box-shadow: 0 18px 40px rgba(236, 72, 153, 0.42);
  }
}

@media (max-width: 980px) {
  .hero,
  .promo-band,
  .page-band,
  .game-card,
  .demo-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(26, 5, 51, 0.72);
    border: 1px solid rgba(236, 72, 153, 0.2);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a.is-active::after {
    left: auto;
    right: -16px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  main {
    padding-bottom: 108px;
  }

  .floating-meta,
  .grid.gallery-grid,
  .grid.feature-grid,
  .grid.review-grid,
  .grid.dual-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-copy h1,
  .section-title,
  .page-title {
    letter-spacing: -0.04em;
  }

  .hero {
    padding-top: 34px;
  }

  .content-card,
  .media-card,
  .feature-card,
  .review-card,
  .info-card,
  .cta-panel,
  .legal-card,
  .game-card,
  .demo-card,
  .promo-band,
  .page-band {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .free-games-notice {
    border-radius: 0;
  }
}

footer > img:first-child {
  margin-left: auto;
  margin-right: auto;
}
