:root {
  --background: #070914;
  --foreground: #f5f6ff;
  --card: #101426;
  --muted: #aeb6cf;
  --border: #292f48;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--background); }
body {
  margin: 0;
  background: radial-gradient(circle at 80% 42%, #17122d 0, transparent 27%), var(--background);
  color: var(--foreground);
  font-family: "Arial Narrow", "Inter Tight", Inter, Arial, sans-serif;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
main { overflow: hidden; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  background: rgba(5, 6, 16, .84);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; }
.desktop-nav { display: flex; gap: 32px; color: #b8bed2; font-size: .82rem; font-weight: 700; }
.desktop-nav a, footer a { transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a.active, footer a:hover { color: #fff; }
.desktop-nav a.active { text-shadow: 0 0 18px #56e0c7; }

.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(4.8rem, 10vw, 8.3rem);
  line-height: .8;
  letter-spacing: -.095em;
  font-weight: 900;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .25));
}
.logo span:nth-child(1) { color: #ff5e6c; }
.logo span:nth-child(2) { color: #ffc454; }
.logo span:nth-child(3) {
  background: linear-gradient(90deg, #4de3ad, #4bc7ff, #9b59ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo b { color: #fff; letter-spacing: -.06em; }
.logo--compact { font-size: 1.85rem; letter-spacing: -.12em; }

.mini-cta, .rainbow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #060713;
  background: linear-gradient(100deg, #ff4f72, #ffbb4b, #45dfa9, #42bfff, #bf50f2);
  border-radius: 13px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 12px 35px rgba(92, 98, 255, .18);
  transition: transform .2s ease, filter .2s ease;
}
.mini-cta { min-height: 42px; padding: 0 20px; }
.rainbow-button { min-height: 52px; padding: 0 22px; }
.mini-cta:hover, .rainbow-button:hover { transform: translateY(-2px); filter: saturate(1.2) brightness(1.06); }
.mini-cta:focus-visible, .rainbow-button:focus-visible, .ghost-button:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid #59e5ca;
  outline-offset: 4px;
}

.menu-button, .mobile-nav { display: none; }
.menu-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: #121628;
  cursor: pointer;
}
.menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease;
}
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }
.menu-button[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-nav {
  position: fixed;
  inset: 62px 0 auto;
  padding: 18px;
  background: rgba(7, 9, 20, .98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 50px #0009;
}
.mobile-nav:not([hidden]) { display: grid; }
.mobile-nav a { padding: 15px 12px; border-bottom: 1px solid #1f2438; color: #d6d9e4; font-weight: 700; }

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  background-image: linear-gradient(to bottom, rgba(3, 4, 12, .28), rgba(4, 5, 14, .25) 62%, #070914 100%), url("assets/hero.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  width: min(720px, 90vw);
  height: min(560px, 72vh);
  background: radial-gradient(ellipse, rgba(5, 6, 16, .92) 0, rgba(5, 6, 16, .76) 48%, transparent 73%);
  filter: blur(8px);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  text-align: center;
  animation: rise .85s ease-out both;
}
.pill {
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(#090b17, #090b17) padding-box, linear-gradient(90deg, #ff4f72, #ffc54b, #4ddcb1, #b550f4) border-box;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-logo { margin-top: 35px; }
.hero h1 {
  margin: 28px 0 12px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-content > p {
  max-width: 610px;
  margin: 14px 0 25px;
  color: #d7d9e4;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ghost-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border: 1px solid #ffffff38;
  border-radius: 13px;
  background: #ffffff0d;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  backdrop-filter: blur(10px);
  transition: background .2s ease;
}
.ghost-button:hover { background: #ffffff1a; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: bob 2s ease-in-out infinite;
}

.facts {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #070914;
  border-block: 1px solid #20243a;
}
.facts div {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-right: 1px solid #20243a;
  text-transform: uppercase;
}
.facts div:last-child { border: 0; }
.facts small, .small-label {
  color: #929ab4;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.facts strong { font-size: .96rem; }

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
  scroll-margin-top: 68px;
}
.section-intro { max-width: 680px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #b38aff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow i {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #ff5b6d, #ffcd52, #45dfb2, #bb50ed);
  box-shadow: 0 0 10px #715fff;
}
.section h2 {
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 6.4rem);
  line-height: .91;
  letter-spacing: -.07em;
}
.section-intro > p:last-child, .split-intro > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.world-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 22px;
  margin-top: 64px;
}
.media-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #262c43;
  border-radius: 22px;
  background: linear-gradient(145deg, #13182a, #0d1120);
  box-shadow: 0 30px 80px #0004;
}
.media-card--lower { align-self: end; transform: translateY(72px); }
.card-top {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 4px 16px;
}
.card-top h3 { margin: 0; max-width: 76%; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1; letter-spacing: -.035em; }
.card-top span { color: #53dcca; font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.crop { position: relative; overflow: hidden; background: #0b0e19; }
.crop img { position: absolute; max-width: none; user-select: none; pointer-events: none; }
.crop-home, .crop-social { aspect-ratio: 16 / 9; border-radius: 13px; }
.crop-home img { width: 206%; left: -42%; top: -86%; }
.crop-social img { width: 201%; left: -69%; top: -39%; }

.characters-section { padding-top: 190px; }
.split-intro { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 70px; }
.split-intro > p { margin-bottom: 8px; }
.portrait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.portrait {
  aspect-ratio: 1 / 1.03;
  border: 1px solid #2b3148;
  border-radius: 20px;
  transition: transform .25s ease, border-color .25s ease;
}
.portrait:hover { transform: translateY(-7px); border-color: #7066c9; }
.portrait img { width: 606%; top: -105%; }
.portrait-1 img { left: -117%; }
.portrait-2 img { left: -222%; }
.portrait-3 img { left: -327%; }
.portrait-4 img { left: -432%; }

.features-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1160px) / 2));
  padding-right: max(24px, calc((100% - 1160px) / 2));
  background: linear-gradient(180deg, transparent, #0c1020 40%, #0b0e1b);
  border-block: 1px solid #1e2338;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.feature-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: radial-gradient(circle at 14% 10%, rgba(89, 82, 187, .18), transparent 36%), #0f1323;
}
.feature-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(110deg, #ff576d, #ffc04a, #44deb2, #bb54f2);
  color: #060713;
  font-weight: 900;
  box-shadow: 0 10px 30px #0008;
}
.feature-card h3 { margin: 30px 0 10px; font-size: 1.65rem; letter-spacing: -.04em; }
.feature-card p, .create-copy > p { margin: 0; color: var(--muted); font-family: Inter, Arial, sans-serif; line-height: 1.7; }

.create-section { padding-bottom: 150px; }
.create-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 24px; align-items: stretch; margin-top: 60px; }
.crop-customize { min-height: 640px; border: 1px solid #2d344d; border-radius: 22px; }
.crop-customize img { width: 273%; left: -55%; top: -29%; }
.create-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid #2a3048;
  border-radius: 22px;
  background: linear-gradient(145deg, #12172a, #0d1120);
}
.create-copy h3 { margin: 12px 0 20px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .92; letter-spacing: -.06em; }
.create-copy ul { display: grid; gap: 11px; margin: 28px 0 34px; padding: 0; list-style: none; color: #dce0ed; font-size: .92rem; font-weight: 700; }
.create-copy li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: #57e0c0;
  box-shadow: 0 0 14px #57e0c0;
}
.create-copy .rainbow-button { align-self: flex-start; }

.requirements-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1160px) / 2));
  padding-right: max(24px, calc((100% - 1160px) / 2));
  background: radial-gradient(circle at 95% 20%, #1a1538, transparent 32%), #080b17;
  border-top: 1px solid #20253d;
}
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 58px; }
.spec-card { padding: 32px; border: 1px solid #2a3047; border-radius: 22px; background: #0f1323; }
.spec-card--recommended {
  border-color: transparent;
  background: linear-gradient(#0f1323, #0f1323) padding-box, linear-gradient(135deg, #ff5971, #f9cb52, #55dfb6, #bd59ef) border-box;
}
.spec-label { margin: 0 0 22px; color: #95a2c8; font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.spec-card--recommended .spec-label { color: #ff8f7e; }
.spec-card h3 { margin: 0 0 18px; font-size: 2rem; letter-spacing: -.04em; }
.spec-card dl { margin: 0; }
.spec-card dl div { padding: 13px 0; border-top: 1px solid #22283d; }
.spec-card dt { color: #7edbc7; font-size: .66rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.spec-card dd { margin: 5px 0 0; color: #eef0f7; font-family: Inter, Arial, sans-serif; font-size: .88rem; }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 90px;
  padding: 44px;
  border: 1px solid #2b314a;
  border-radius: 24px;
  background: linear-gradient(120deg, #13172a, #1b1433);
}
.final-cta h2 { margin-top: 12px; font-size: clamp(2.3rem, 5vw, 4.8rem); }
.final-cta .rainbow-button { flex: 0 0 auto; }

footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 max(24px, calc((100% - 1160px) / 2));
  border-top: 1px solid #20253a;
  background: #050710;
  color: #7f879e;
  font-size: .78rem;
}
footer > a { justify-self: end; color: #b8bdd0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translate(-50%, 7px); } }

@media (max-width: 900px) {
  .desktop-nav, .mini-cta { display: none; }
  .menu-button { position: relative; display: grid; place-items: center; }
  .world-grid, .create-grid { grid-template-columns: 1fr; }
  .media-card--lower { transform: none; }
  .characters-section { padding-top: 120px; }
  .portrait-grid { grid-template-columns: repeat(2, 1fr); }
  .split-intro { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .crop-customize { min-height: 600px; }
  .create-copy { min-height: 480px; }
}

@media (max-width: 640px) {
  .site-header { height: 62px; padding-inline: 20px; }
  .hero { min-height: 820px; padding-top: 100px; background-position: 52% center; }
  .hero-backdrop { width: 110vw; height: 610px; }
  .hero-logo { font-size: clamp(4.2rem, 22vw, 6.3rem); }
  .hero h1 { font-size: 2.55rem; }
  .hero-content > p { font-size: .94rem; }
  .facts { grid-template-columns: 1fr; }
  .facts div { min-height: 75px; border-right: 0; border-bottom: 1px solid #20243a; }
  .section { width: min(100% - 36px, 1160px); padding: 90px 0; }
  .section h2 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .world-grid, .portrait-grid, .spec-grid { grid-template-columns: 1fr; }
  .card-top { min-height: 74px; }
  .crop-home img { top: -83%; }
  .portrait { aspect-ratio: 1 / .9; }
  .feature-grid { margin-top: 42px; }
  .features-section, .requirements-section { width: 100%; padding-inline: 18px; }
  .crop-customize { min-height: 520px; }
  .crop-customize img { width: 282%; left: -58%; top: -26%; }
  .create-copy { min-height: 460px; padding: 28px; }
  .spec-card { padding: 25px 22px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  footer { grid-template-columns: 1fr auto; padding-block: 25px; }
  footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
