:root {
  --bg: #06030b;
  --panel: rgba(28, 10, 39, 0.72);
  --text: #fff7ff;
  --muted: #c9a8d8;
  --pink: #ff4fa3;
  --pink-hot: #ff2f92;
  --violet: #9d4edd;
  --violet-bright: #c77dff;
  --lavender: #e7c6ff;
  --border: rgba(255, 79, 163, 0.28);
  --shadow: 0 34px 92px rgba(0, 0, 0, 0.54);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(157, 78, 221, 0.26), transparent 22rem),
    radial-gradient(circle at 86% 34%, rgba(255, 79, 163, 0.22), transparent 23rem),
    linear-gradient(145deg, #05020a 0%, #13081d 48%, #050309 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(102deg, transparent 0 12%, rgba(157, 78, 221, 0.1) 20%, transparent 34%),
    repeating-linear-gradient(115deg, transparent 0 42px, rgba(255, 79, 163, 0.052) 43px 44px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 7px);
  opacity: 0.72;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 72px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(5, 2, 10, 0.62);
  border-bottom: 1px solid rgba(255, 79, 163, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 0 22px rgba(255, 79, 163, 0.28);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  transition: color 180ms ease, text-shadow 180ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--violet-bright));
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

nav a:hover {
  color: var(--text);
  text-shadow: 0 0 18px rgba(255, 79, 163, 0.36);
}

nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 118px max(20px, calc((100vw - 1180px) / 2)) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.hero-bg-icon {
  position: absolute;
  width: min(78vw, 820px);
  right: -170px;
  top: 8%;
  opacity: 0.13;
  filter: blur(1px) saturate(1.2);
  transform: rotate(-8deg);
}

.hero-glass {
  position: absolute;
  inset: auto 7% 7%;
  height: 34%;
  border: 1px solid rgba(255, 79, 163, 0.18);
  border-radius: 8px;
  background: rgba(255, 79, 163, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.eyebrow {
  color: #ff9bd3;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  color: transparent;
  background: linear-gradient(90deg, #c77dff 0%, #ff7ac8 48%, #ff3d99 100%);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0;
}

h1 {
  margin-top: 12px;
  max-width: 9ch;
  font-size: clamp(4.5rem, 11vw, 8.8rem);
  line-height: 0.88;
  text-shadow: 0 0 34px rgba(255, 79, 163, 0.25);
}

.hero-copy {
  max-width: 620px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  font-weight: 720;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  position: relative;
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 950;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-action::before,
.secondary-action::before,
.hero-game-card::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -55%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(18deg);
  transition: left 520ms ease;
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 24px 58px rgba(255, 79, 163, 0.34), 0 0 42px rgba(157, 78, 221, 0.24);
}

.alt-action:hover,
.alt-action:focus-visible {
  box-shadow: 0 24px 58px rgba(157, 78, 221, 0.34), 0 0 42px rgba(255, 79, 163, 0.18);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(255, 122, 200, 0.54);
  box-shadow: 0 18px 44px rgba(255, 79, 163, 0.16);
}

.primary-action:hover::before,
.secondary-action:hover::before,
.primary-action:focus-visible::before,
.secondary-action:focus-visible::before {
  left: 115%;
}

.primary-action {
  color: #fff7ff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  box-shadow: 0 18px 42px rgba(255, 79, 163, 0.26), 0 0 28px rgba(157, 78, 221, 0.16);
}

.alt-action {
  background: linear-gradient(135deg, var(--violet), #7a35ef);
  box-shadow: 0 18px 42px rgba(157, 78, 221, 0.24), 0 0 28px rgba(255, 79, 163, 0.14);
}

.timeline-action {
  background: linear-gradient(135deg, #ff4fa3, #37c7ff);
  box-shadow: 0 18px 42px rgba(55, 199, 255, 0.18), 0 0 28px rgba(255, 79, 163, 0.16);
}

.secondary-action {
  color: var(--lavender);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 122, 200, 0.24);
}

.hero-games {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-game-card {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(157, 78, 221, 0.16), transparent 52%),
    rgba(25, 8, 36, 0.72);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, filter 190ms ease;
}

.hero-game-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 125, 255, 0.32), transparent 66%);
  transition: transform 220ms ease, opacity 220ms ease;
}

.hero-game-card::after {
  z-index: 0;
}

.hero-game-card > * {
  position: relative;
  z-index: 1;
}

.hero-game-card:hover,
.hero-game-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(199, 125, 255, 0.64);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34), 0 0 42px rgba(157, 78, 221, 0.22);
  filter: brightness(1.05);
}

.hero-game-card-hot:hover,
.hero-game-card-hot:focus-visible {
  border-color: rgba(255, 79, 163, 0.68);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34), 0 0 46px rgba(255, 79, 163, 0.25);
}

.hero-game-card:hover::before,
.hero-game-card:focus-visible::before {
  opacity: 1;
  transform: scale(1.18);
}

.hero-game-card:hover::after,
.hero-game-card:focus-visible::after {
  left: 118%;
}

.hero-game-card-hot {
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.18), transparent 52%),
    rgba(25, 8, 36, 0.72);
}

.hero-game-card-hot::before {
  background: radial-gradient(circle, rgba(255, 79, 163, 0.36), transparent 66%);
}

.hero-game-card-timeline {
  background:
    linear-gradient(145deg, rgba(55, 199, 255, 0.14), transparent 52%),
    rgba(25, 8, 36, 0.72);
}

.hero-game-card-timeline::before {
  background: radial-gradient(circle, rgba(55, 199, 255, 0.32), transparent 66%);
}

.hero-game-card-timeline:hover,
.hero-game-card-timeline:focus-visible {
  border-color: rgba(55, 199, 255, 0.62);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34), 0 0 46px rgba(55, 199, 255, 0.18);
}

.hero-game-card span,
.game-tile span {
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-game-card strong {
  margin-top: 12px;
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-game-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 680;
  line-height: 1.35;
}

.phone-preview {
  position: relative;
  z-index: 1;
  min-height: 640px;
  padding: 26px 18px;
  border: 1px solid rgba(255, 79, 163, 0.32);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 79, 163, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(34, 11, 46, 0.86), rgba(8, 5, 14, 0.92));
  box-shadow: var(--shadow), inset 0 0 0 7px rgba(255, 255, 255, 0.035);
}

.phone-top {
  width: 76px;
  height: 6px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mini-score {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 79, 163, 0.24);
  border-radius: 8px;
  background: rgba(8, 4, 14, 0.54);
}

.mini-score span,
.mini-card span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mini-score strong {
  color: var(--pink);
  font-size: 2rem;
}

.mini-card {
  margin-top: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 94px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 79, 163, 0.24);
  border-radius: 8px;
  background: rgba(30, 10, 40, 0.72);
}

.mini-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.35rem;
  line-height: 1;
}

.mini-card p {
  margin-top: 9px;
  color: var(--pink);
  font-size: 0.86rem;
  font-weight: 800;
}

.mini-cover {
  width: 94px;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(255, 122, 200, 0.34);
}

.cover-one {
  background:
    radial-gradient(circle at 34% 28%, #fff2a8 0 8%, transparent 9%),
    linear-gradient(135deg, #261f56, #ff4fa3);
}

.cover-two {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #140723, #9d4edd 48%, #ff2f92);
}

.mini-vs {
  width: 46px;
  height: 46px;
  margin: 16px auto -2px;
  display: grid;
  place-items: center;
  color: var(--pink);
  border: 1px solid rgba(255, 79, 163, 0.72);
  border-radius: 50%;
  background: rgba(17, 6, 25, 0.82);
  box-shadow: 0 0 34px rgba(255, 79, 163, 0.36);
  font-weight: 950;
}

.seo-band,
.feature-band,
.download-band {
  position: relative;
  z-index: 1;
  padding: 88px max(20px, calc((100vw - 1180px) / 2));
}

.seo-band {
  padding-top: 58px;
  padding-bottom: 58px;
}

.seo-band > div {
  max-width: 860px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.09), transparent 44%),
    rgba(18, 7, 28, 0.66);
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.seo-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.seo-band p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 680;
  line-height: 1.55;
}

.section-heading {
  max-width: 780px;
}

h2 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 79, 163, 0.1), transparent 42%),
    rgba(25, 8, 36, 0.72);
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.28);
}

.feature-grid span {
  color: var(--pink);
  font-weight: 950;
}

.feature-grid h3 {
  margin-top: 26px;
  font-size: 1.35rem;
}

.feature-grid p,
.download-band p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 680;
  line-height: 1.5;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(255, 79, 163, 0.16);
  border-bottom: 1px solid rgba(255, 79, 163, 0.16);
  background: rgba(255, 79, 163, 0.035);
}

.download-band > div {
  max-width: 720px;
}

footer {
  position: relative;
  z-index: 1;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

@media (max-width: 860px) {
  .site-header {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  nav a {
    padding: 6px 0;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
    padding-top: 138px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-bg-icon {
    width: 120vw;
    right: -42vw;
    top: 8%;
  }

  h1 {
    font-size: clamp(4.2rem, 19vw, 6.7rem);
  }

  .phone-preview {
    min-height: 530px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-games {
    grid-template-columns: 1fr;
  }

  .download-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-band .primary-action,
  .hero-actions a {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
