@import url("https://fonts.googleapis.com/css2?family=Bungee&family=DM+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #080a10;
  --panel: #11141d;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f2e9;
  --muted: rgba(245, 242, 233, 0.54);
  --lime: #dfff57;
  --purple: #826bff;
  --coral: #ff7868;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
}

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

.page {
  background:
    radial-gradient(circle at 72% 48%, rgba(130, 107, 255, 0.12), transparent 32%),
    var(--ink);
  display: grid;
  grid-template-rows: 84px 1fr 78px;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  padding: 0 clamp(28px, 4vw, 68px);
  position: relative;
}

.page::before,
.page::after {
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 50%;
  content: "";
  height: 70vw;
  pointer-events: none;
  position: absolute;
  right: -30vw;
  top: -35vw;
  width: 70vw;
}

.page::after {
  height: 48vw;
  right: -18vw;
  top: -24vw;
  width: 48vw;
}

.header,
.footer {
  align-items: center;
  display: flex;
  position: relative;
  z-index: 5;
}

.header {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

.main-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 8px 0;
  position: relative;
  text-transform: uppercase;
  transition: color .2s ease;
}

.main-nav a::after {
  background: var(--lime);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.brand-name {
  align-items: center;
  display: inline-flex;
  filter: drop-shadow(3px 3px 0 rgba(130,107,255,.22));
  font: 700 clamp(22px, 2vw, 29px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
  transform: skew(-4deg);
}

.brand-name img {
  border-radius: 9px;
  height: 42px;
  margin-right: 11px;
  object-fit: cover;
  transform: skew(4deg);
  width: 42px;
}

.brand-name span {
  color: var(--lime);
}

.brand-name strong {
  color: var(--coral);
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, .82fr) 1.18fr;
  min-height: 0;
  position: relative;
}

.hero-copy {
  align-self: center;
  padding-bottom: 2vh;
  position: relative;
  z-index: 3;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 9px;
  font-weight: 600;
  gap: 9px;
  letter-spacing: .16em;
  margin: 0 0 2.5vh;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--coral);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.hero h1 {
  font: 600 clamp(58px, 7.2vw, 108px)/.99 "Space Grotesk", sans-serif;
  letter-spacing: -.075em;
  margin: 0;
}

.hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.intro {
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.5;
  margin: 3.8vh 0 0;
  max-width: 390px;
}

.content-page {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: clamp(40px, 8vw, 120px);
  position: relative;
  z-index: 2;
}

.content-copy {
  max-width: 760px;
}

.content-copy h1 {
  font: 600 clamp(54px, 7vw, 96px)/1 "Space Grotesk", sans-serif;
  letter-spacing: -.07em;
  margin: 0 0 clamp(28px, 5vh, 52px);
}

.content-copy h1 em {
  color: var(--lime);
  font-style: normal;
}

.content-card {
  background: rgba(17, 20, 29, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 18px 18px 0 rgba(130, 107, 255, .12);
  padding: clamp(24px, 3.5vw, 48px);
}

.content-card p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
  margin: 0;
}

.content-card p + p {
  margin-top: 18px;
}

.content-card strong,
.content-card a {
  color: var(--text);
}

.content-card a:hover {
  color: var(--lime);
}

.galaxy-scene {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 16% 22%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 76% 16%, #8feaff 0 1px, transparent 2px),
    radial-gradient(circle at 88% 62%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 24% 82%, #dfff57 0 1px, transparent 2px),
    radial-gradient(circle at 67% 88%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 40% 12%, #826bff 0 2px, transparent 3px),
    radial-gradient(circle at 12% 58%, #ff7868 0 2px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(61, 45, 159, .78), rgba(30, 53, 135, .28) 48%, transparent 76%);
  justify-self: center;
  margin-right: 3vw;
  -webkit-mask-image: radial-gradient(circle at center, #000 55%, rgba(0, 0, 0, .78) 68%, transparent 88%);
  mask-image: radial-gradient(circle at center, #000 55%, rgba(0, 0, 0, .78) 68%, transparent 88%);
  max-width: 800px;
  position: relative;
  width: min(60vw, 800px);
}

.galaxy-nebula {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .96) 0 2%, rgba(255, 190, 143, .9) 5%, rgba(255, 120, 104, .48) 12%, rgba(130, 107, 255, .38) 30%, rgba(40, 177, 231, .22) 48%, transparent 67%);
  filter: drop-shadow(0 0 24px rgba(130, 107, 255, .7));
  height: 64%;
  left: 4%;
  position: absolute;
  top: 18%;
  transform: rotate(-12deg);
  width: 92%;
}

.galaxy-ring {
  border: solid;
  border-color: rgba(148, 220, 255, .82) transparent rgba(255, 120, 186, .72);
  border-radius: 50%;
  position: absolute;
  transform: rotate(-12deg);
}

.ring-one {
  border-width: 3px;
  height: 28%;
  left: 26%;
  top: 36%;
  width: 48%;
}

.ring-two {
  border-width: 5px;
  height: 42%;
  left: 15%;
  opacity: .68;
  top: 29%;
  width: 70%;
}

.ring-three {
  border-width: 2px;
  height: 54%;
  left: 7%;
  opacity: .46;
  top: 23%;
  width: 86%;
}

.galaxy-core {
  background: #fff5c5;
  border-radius: 50%;
  box-shadow: 0 0 12px #fff, 0 0 32px rgba(255, 184, 108, .95), 0 0 62px rgba(255, 120, 104, .7);
  height: 7%;
  left: 46.5%;
  position: absolute;
  top: 46.5%;
  width: 7%;
}

.mini-planet {
  background: linear-gradient(145deg, #9d8cff, #4230a8);
  border: 2px solid rgba(8, 10, 16, .72);
  border-radius: 50%;
  box-shadow: inset -4px -5px 8px rgba(8, 10, 16, .45), 0 0 14px rgba(130, 107, 255, .5);
  position: absolute;
}

.planet-one {
  background: linear-gradient(145deg, #8feaff, #3877b7);
  height: 14%;
  left: 8%;
  top: 15%;
  width: 14%;
}

.planet-two {
  background: linear-gradient(145deg, #ffd690, #c56962);
  height: 9%;
  right: 11%;
  top: 12%;
  width: 9%;
}

.planet-three {
  height: 6%;
  left: 25%;
  top: 44%;
  width: 6%;
}

.planet-four {
  background: linear-gradient(145deg, #dfff57, #5d9d69);
  bottom: 13%;
  height: 12%;
  right: 8%;
  width: 12%;
}

.planet-five {
  background: linear-gradient(145deg, #ff9a8e, #9b405f);
  bottom: 16%;
  height: 7%;
  left: 17%;
  width: 7%;
}

.planet-six {
  background: linear-gradient(145deg, #f5f2e9, #7489aa);
  height: 4%;
  right: 27%;
  top: 34%;
  width: 4%;
}

.planet-seven {
  background: linear-gradient(145deg, #6dd8f5, #7057e1);
  bottom: 30%;
  height: 5%;
  left: 42%;
  width: 5%;
}

.planet-eight {
  background: linear-gradient(145deg, #ffc978, #ff7868);
  height: 4%;
  left: 55%;
  top: 20%;
  width: 4%;
}

.store-actions {
  display: flex;
  gap: 8px;
  margin-top: 3vh;
}

.store-button {
  align-items: center;
  background: var(--text);
  border-radius: 7px;
  color: var(--ink);
  display: flex;
  gap: 9px;
  min-height: 48px;
  padding: 6px 13px;
  transition: background .2s ease, transform .2s ease;
}

.store-button:hover {
  background: var(--lime);
  transform: translateY(-2px);
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 7px;
}

.store-button strong {
  font-size: 14px;
  line-height: 1.05;
}

.apple {
  font-size: 23px;
  line-height: 1;
}

.play {
  border-bottom: 10px solid transparent;
  border-left: 18px solid var(--ink);
  border-top: 10px solid transparent;
  height: 0;
  width: 0;
}

.visual {
  min-height: 0;
  position: relative;
  z-index: 2;
}

.planet-system {
  height: min(56vw, 690px);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(56vw, 690px);
}

.planet {
  animation: planet-float 6s ease-in-out infinite;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.7) 0 2%, transparent 3%),
    linear-gradient(145deg, #9d8cff, #7057e1 62%, #4230a8);
  border: 3px solid #0c0d14;
  border-radius: 50%;
  box-shadow:
    inset -38px -42px 65px rgba(15,8,68,.42),
    0 0 90px rgba(130,107,255,.26);
  height: 55%;
  left: 22.5%;
  overflow: hidden;
  position: absolute;
  top: 22.5%;
  width: 55%;
  z-index: 2;
}

.planet-glow {
  border: 2px solid rgba(223,255,87,.58);
  border-radius: 50%;
  inset: 4%;
  position: absolute;
}

.land {
  background: var(--lime);
  border: 3px solid #0c0d14;
  position: absolute;
}

.land-one {
  border-radius: 60% 40% 55% 45%;
  height: 33%;
  left: -7%;
  top: 15%;
  transform: rotate(20deg);
  width: 46%;
}

.land-two {
  border-radius: 45% 55% 42% 58%;
  height: 37%;
  right: -4%;
  top: 42%;
  transform: rotate(-18deg);
  width: 44%;
}

.land-three {
  background: var(--coral);
  border-radius: 50%;
  bottom: -8%;
  height: 30%;
  left: 31%;
  transform: rotate(12deg);
  width: 34%;
}

.planet-face {
  left: 37%;
  position: absolute;
  top: 35%;
  z-index: 3;
}

.planet-face i {
  background: var(--ink);
  border-radius: 50%;
  display: inline-block;
  height: clamp(7px, .75vw, 11px);
  margin-right: clamp(24px, 2.8vw, 40px);
  width: clamp(7px, .75vw, 11px);
}

.planet-face b {
  border-bottom: clamp(4px, .45vw, 7px) solid var(--ink);
  border-radius: 50%;
  display: block;
  height: clamp(18px, 2vw, 29px);
  margin-left: 12%;
  width: 60%;
}

.planet-orbit {
  border: clamp(11px, 1.3vw, 18px) solid rgba(223,255,87,.86);
  border-left-color: transparent;
  border-radius: 50%;
  height: 75%;
  left: 12.5%;
  position: absolute;
  top: 12.5%;
  transform: rotate(20deg) skewX(-12deg);
  width: 75%;
  z-index: 1;
}

.orbit-b {
  border-color: rgba(255,255,255,.14);
  border-left-color: transparent;
  height: 94%;
  left: 3%;
  top: 3%;
  transform: rotate(-30deg) skewX(10deg);
  width: 94%;
}

.game-logo {
  align-items: center;
  border: 3px solid var(--ink);
  box-shadow: 8px 9px 0 rgba(0,0,0,.22);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  height: clamp(64px, 7.5vw, 100px);
  justify-content: center;
  position: absolute;
  width: clamp(64px, 7.5vw, 100px);
  z-index: 4;
}

.game-logo b {
  font: 700 clamp(19px, 2.2vw, 30px)/.9 "Space Grotesk", sans-serif;
  letter-spacing: -.08em;
}

.game-logo small {
  font-size: clamp(5px, .5vw, 7px);
  font-weight: 700;
  letter-spacing: .14em;
  margin-top: 5px;
}

.logo-pop {
  background: var(--coral);
  border-radius: 50%;
  left: 5%;
  top: 12%;
  transform: rotate(-12deg);
}

.logo-rush {
  background: var(--lime);
  border-radius: 18%;
  right: 6%;
  top: 10%;
  transform: rotate(9deg);
}

.logo-rush b {
  font-style: italic;
}

.logo-quest {
  background: #6dd8f5;
  border-radius: 50% 50% 14% 50%;
  bottom: 8%;
  left: 10%;
  transform: rotate(7deg);
}

.logo-bloom {
  background: #f4f0e7;
  border-radius: 28%;
  bottom: 6%;
  right: 7%;
  transform: rotate(-8deg);
}

@keyframes planet-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-13px) rotate(1deg); }
}

.message {
  align-items: center;
  background: var(--text);
  border-radius: 9px;
  bottom: 12%;
  color: var(--ink);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 25px;
  padding: 13px 15px;
  position: absolute;
  right: 1%;
  transform: rotate(-5deg);
  z-index: 3;
}

.message span {
  font-size: 18px;
}

.spark {
  color: var(--coral);
  font-size: clamp(30px, 4vw, 60px);
  position: absolute;
  z-index: 3;
}

.spark-one {
  right: 3%;
  top: 8%;
}

.spark-two {
  bottom: 8%;
  color: var(--purple);
  left: 5%;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  justify-content: space-between;
}

.footer a {
  color: var(--text);
  font-size: inherit;
}

.privacy-page {
  grid-template-rows: 84px auto 78px;
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
}

.privacy-content {
  margin: 0 auto;
  max-width: 1100px;
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.privacy-content h1 {
  font: 600 clamp(48px, 6.5vw, 88px)/1.02 "Space Grotesk", sans-serif;
  letter-spacing: -.065em;
  margin: 0 0 32px;
}

.privacy-content h1 em {
  color: var(--lime);
  display: block;
  font-style: normal;
}

.privacy-dates {
  border-left: 3px solid var(--purple);
  margin-bottom: 52px;
  padding-left: 20px;
}

.privacy-dates p {
  margin: 5px 0;
}

.privacy-content section {
  background: rgba(17, 20, 29, .82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 12px 12px 0 rgba(130, 107, 255, .08);
  margin-top: 24px;
  padding: clamp(24px, 4vw, 48px);
}

.privacy-content h2 {
  color: var(--text);
  font: 600 clamp(24px, 3vw, 34px)/1.25 "Space Grotesk", sans-serif;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}

.privacy-content h3 {
  color: var(--lime);
  font: 600 clamp(18px, 2vw, 22px)/1.35 "Space Grotesk", sans-serif;
  margin: 34px 0 12px;
}

.privacy-content h4 {
  color: var(--text);
  font-size: 16px;
  margin: 24px 0 8px;
}

.privacy-content p,
.privacy-content li,
.privacy-content address {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}

.privacy-content p {
  margin: 0;
}

.privacy-content p + p {
  margin-top: 16px;
}

.privacy-content ol,
.privacy-content ul {
  margin: 18px 0 0;
  padding-left: 26px;
}

.privacy-content li + li {
  margin-top: 7px;
}

.privacy-content address {
  font-style: normal;
}

.privacy-content strong,
.privacy-content a {
  color: var(--text);
}

.privacy-content a:hover {
  color: var(--lime);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-group {
  align-items: center;
  display: flex;
  gap: 16px;
}

.social-group > span {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.social-links a {
  align-items: center;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  display: flex;
  height: 44px;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  width: 44px;
}

.social-links svg {
  fill: var(--text);
  height: 21px;
  width: 21px;
}

.social-links a:hover,
.footer a:hover {
  color: var(--lime);
}

.social-links a:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

.gate-page {
  grid-template-rows: 84px 1fr;
  padding-bottom: 0;
}

.gate-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.gate-hero {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 0;
  place-content: center;
  position: relative;
  z-index: 2;
}

.gate-atmosphere {
  height: min(78vh, 720px);
  left: 50%;
  opacity: .42;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -48%);
  width: min(78vh, 720px);
  z-index: 0;
}

.gate-planet-system {
  height: 100%;
  position: relative;
  width: 100%;
}

.gate-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  z-index: 2;
}

.gate-eyebrow {
  color: rgba(245, 242, 233, 0.78);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: .18em;
  margin: 0 0 clamp(18px, 3vh, 28px);
  text-indent: .18em;
  text-transform: uppercase;
}

.gate-title {
  font: 700 clamp(52px, 9vw, 120px)/.95 "Space Grotesk", sans-serif;
  letter-spacing: -.06em;
  margin: 0;
  position: relative;
}

.gate-title em {
  color: var(--coral);
  font-style: normal;
}

.gate-badge {
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(223, 255, 87, .18);
  height: clamp(12px, 1.4vw, 18px);
  position: absolute;
  right: -.15em;
  top: .12em;
  width: clamp(12px, 1.4vw, 18px);
}

.gate-enter {
  background: var(--lime);
  box-shadow: 8px 8px 0 rgba(130, 107, 255, .28);
  color: var(--ink);
  font: 700 clamp(14px, 1.2vw, 16px)/1 "Space Grotesk", sans-serif;
  letter-spacing: .04em;
  margin-top: clamp(28px, 5vh, 48px);
  padding: 14px 36px;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gate-enter:hover {
  background: var(--text);
  box-shadow: 10px 10px 0 rgba(130, 107, 255, .36);
  transform: translate(-2px, -2px);
}

.gate-enter span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s ease;
}

.gate-enter:hover span {
  transform: translateX(4px);
}

@media (max-width: 800px) {
  .page {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
  }

  .header {
    height: 72px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 9px;
    letter-spacing: .04em;
  }

  .hero {
    display: block;
    padding: 70px 0 0;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(58px, 18vw, 90px);
  }

  .visual {
    height: 430px;
    margin-top: 35px;
  }

  .content-page {
    display: block;
    padding: 70px 0 90px;
  }

  .content-copy h1 {
    font-size: clamp(52px, 15vw, 78px);
  }

  .galaxy-scene {
    margin: 90px auto 40px;
    left: 50%;
    width: min(120vw, 620px);
    transform: translateX(-50%);
  }

  .planet-system {
    height: min(104vw, 560px);
    width: min(104vw, 560px);
  }

  .message {
    bottom: 3%;
  }

  .footer {
    flex-wrap: wrap;
    gap: 20px;
    min-height: 150px;
    padding: 20px 0;
  }

  .footer span {
    width: 100%;
  }

  .privacy-content {
    padding: 70px 0 90px;
  }

  .privacy-content h1 {
    font-size: clamp(46px, 13vw, 72px);
  }

  .social-group {
    order: 3;
    width: 100%;
  }

  .gate-page {
    display: grid;
    grid-template-rows: 72px 1fr;
    height: 100vh;
    min-height: 560px;
  }

  .gate-atmosphere {
    height: min(70vw, 420px);
    opacity: .34;
    width: min(70vw, 420px);
  }

  .gate-title {
    font-size: clamp(48px, 14vw, 72px);
  }
}

@media (max-width: 520px) {
  .page {
    padding: 0 20px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-name img {
    border-radius: 7px;
    height: 34px;
    margin-right: 8px;
    width: 34px;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav a {
    font-size: 7.5px;
    letter-spacing: 0;
  }

  .privacy-content section {
    border-radius: 14px;
    padding: 24px 20px;
  }
}

@media (max-height: 760px) and (min-width: 801px) {
  .hero h1 {
    font-size: clamp(54px, 6.3vw, 86px);
  }

  .planet-system {
    height: min(51vw, 570px);
    width: min(51vw, 570px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: .01ms !important;
  }
}
