:root {
  color-scheme: dark;
  --bg: #06111e;
  --bg-deep: #030913;
  --panel: rgba(15, 31, 50, 0.84);
  --panel-strong: rgba(22, 43, 66, 0.96);
  --line: rgba(171, 206, 238, 0.2);
  --line-bright: rgba(65, 222, 212, 0.46);
  --text: #f5f8fe;
  --muted: #bed0df;
  --cyan: #3fe2d8;
  --sky: #6bc5ff;
  --green: #57d665;
  --gold: #ffdf75;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-panel: 0 20px 64px rgba(0, 0, 0, 0.28);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(63, 226, 216, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(63, 226, 216, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 28% 9%, rgba(63, 226, 216, 0.13), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(94, 139, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #06111e 0%, #07192a 38%, var(--bg-deep) 100%);
  background-size: 76px 76px, 76px 76px, auto, auto, auto;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header,
.section-shell,
.site-footer {
  width: min(1460px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  border: 1px solid rgba(171, 206, 238, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(13, 27, 44, 0.84), rgba(4, 13, 24, 0.78));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(22px);
}

.brand,
.nav,
.download-link,
.hero-actions,
.pill-row,
.button,
.plus-intro,
.social-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 13px;
  font-size: 29px;
  font-weight: 950;
}

.brand img {
  width: 54px;
  height: 54px;
}

.nav {
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  font-size: 15px;
  font-weight: 750;
}

.nav a {
  color: rgba(245, 248, 254, 0.9);
  transition: color 160ms ease, opacity 160ms ease;
}

.nav a:hover {
  color: var(--cyan);
}

.download-link,
.button {
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.download-link {
  justify-self: end;
  gap: 10px;
  padding: 0 30px;
  color: #06111e;
  background: linear-gradient(135deg, #72caff, var(--cyan));
  box-shadow: 0 16px 38px rgba(63, 226, 216, 0.26);
}

.download-link:hover,
.button:hover {
  transform: translateY(-2px);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
  min-height: calc(100vh - 92px);
  padding: 92px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(63, 226, 216, 0.28);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(17, 35, 54, 0.62);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5.9vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span,
h2 span {
  color: var(--cyan);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: #e1edf7;
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 18px;
  margin: 46px 0 34px;
}

.button {
  gap: 10px;
  padding: 0 28px;
  border: 1px solid var(--line);
}

.button-primary {
  color: #03101b;
  background: linear-gradient(135deg, #72caff 0%, var(--cyan) 62%, var(--green) 100%);
  box-shadow: 0 18px 42px rgba(63, 226, 216, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(7, 18, 31, 0.5);
}

.button-secondary:hover {
  border-color: var(--line-bright);
}

.pill-row {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pill-row li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #cfe1ef;
  background: rgba(6, 17, 30, 0.76);
  font-size: 13px;
  font-weight: 750;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 16px;
}

.hero-metrics span {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(171, 206, 238, 0.16);
  border-radius: 8px;
  background: rgba(7, 18, 31, 0.66);
  color: #bcd0df;
  font-size: 13px;
  line-height: 1.35;
}

.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.1;
}

.hero-media {
  position: relative;
  padding: clamp(8px, 1.1vw, 14px);
  border: 1px solid rgba(141, 174, 207, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(35, 63, 92, 0.78), rgba(7, 18, 31, 0.96)),
    rgba(5, 14, 26, 0.9);
  box-shadow:
    var(--shadow),
    0 48px 90px rgba(63, 226, 216, 0.17);
}

.hero-media::before {
  position: absolute;
  inset: auto 10% -44px;
  height: 96px;
  border-radius: 999px;
  background: rgba(63, 226, 216, 0.28);
  filter: blur(38px);
  content: "";
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1668 / 1026;
  border-radius: 7px;
  object-fit: contain;
  object-position: top center;
  background: rgba(2, 9, 18, 0.64);
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-heading h2,
.plus-copy h2,
.cta-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p,
.plus-copy p,
.cta-panel p {
  color: #d0dfec;
  font-size: 17px;
  line-height: 1.65;
}

.feature-section,
.community-section {
  padding: 76px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.feature-card,
.community-card,
.plus-panel,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(28, 53, 80, 0.92), rgba(8, 21, 36, 0.9)),
    var(--panel);
  box-shadow: var(--shadow-panel);
}

.feature-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  min-height: 0;
  padding: 18px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.feature-card:hover,
.community-card:hover,
.plus-panel:hover {
  border-color: rgba(63, 226, 216, 0.32);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
  transform: translateY(-2px);
}

.feature-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 23px;
  line-height: 34px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.2;
}

.feature-card p {
  margin-bottom: 0;
  color: #d2e1ee;
  font-size: 15px;
  line-height: 1.48;
}

.feature-card img {
  align-self: end;
  width: 100%;
  height: auto;
  max-height: 185px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  object-position: top center;
  background:
    linear-gradient(180deg, rgba(10, 23, 39, 0.5), rgba(2, 9, 18, 0.78));
}

.plus-panel {
  display: grid;
  grid-template-columns: 132px minmax(300px, 0.8fr) minmax(540px, 1.14fr);
  gap: clamp(24px, 4vw, 46px);
  padding: 32px;
  align-items: center;
}

.plus-intro {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.crown-box {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border: 1px solid rgba(255, 223, 117, 0.48);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 223, 117, 0.1);
  box-shadow: 0 14px 36px rgba(255, 223, 117, 0.12);
  font-size: 58px;
}

.plus-intro .eyebrow {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.plus-copy {
  align-self: center;
}

.plus-copy h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.plus-copy p {
  max-width: 720px;
}

.arcade-strip {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: center;
  padding: clamp(8px, 1vw, 12px);
  background:
    linear-gradient(180deg, rgba(12, 28, 46, 0.78), rgba(2, 9, 18, 0.74));
}

.arcade-strip img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.04);
}

.community-section {
  padding-top: 78px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.community-card {
  display: grid;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.community-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.community-card p {
  color: #d0dfec;
  line-height: 1.55;
}

.community-card img {
  width: 100%;
  height: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  object-position: top center;
  background:
    linear-gradient(180deg, rgba(10, 23, 39, 0.5), rgba(2, 9, 18, 0.78));
}

.profile-card img {
  object-position: top center;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding: 46px 70px;
  border-color: rgba(63, 226, 216, 0.62);
  background:
    radial-gradient(circle at 15% 50%, rgba(63, 226, 216, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(12, 56, 72, 0.96), rgba(10, 31, 51, 0.96));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.32),
    inset 0 0 44px rgba(63, 226, 216, 0.08);
}

.cta-panel h2 {
  margin-bottom: 8px;
}

.cta-action {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 360px;
}

.cta-action .button {
  width: 100%;
}

.cta-action small {
  color: #d7e4f0;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  padding: 58px 0 24px;
  color: #bed0df;
}

.footer-brand .brand {
  margin-bottom: 18px;
  font-size: 22px;
}

.footer-brand .brand img {
  width: 42px;
  height: 42px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 15px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--cyan);
}

.social-row {
  gap: 14px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(17, 35, 54, 0.9);
  color: var(--text);
  font-weight: 900;
}

.auth-redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 56px);
}

.auth-redirect-shell {
  width: min(100%, 920px);
}

.auth-redirect-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(63, 226, 216, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 50, 76, 0.96), rgba(6, 17, 30, 0.94)),
    radial-gradient(circle at 15% 0%, rgba(63, 226, 216, 0.18), transparent 35%);
  box-shadow: var(--shadow);
}

.auth-redirect-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(63, 226, 216, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(63, 226, 216, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(120deg, black, transparent 78%);
}

.auth-redirect-card > * {
  position: relative;
  z-index: 1;
}

.auth-redirect-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(171, 206, 238, 0.16);
  border-radius: 8px;
  background: rgba(3, 9, 19, 0.38);
  font-size: 20px;
  font-weight: 950;
}

.auth-redirect-brand img {
  width: 42px;
  height: 42px;
}

.auth-redirect-card h1 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1;
}

.auth-redirect-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.auth-redirect-status {
  width: fit-content;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(63, 226, 216, 0.28);
  border-radius: 8px;
  background: rgba(63, 226, 216, 0.08);
  color: #d7fff8;
  font-weight: 800;
}

.auth-redirect-status--error {
  border-color: rgba(255, 116, 136, 0.36);
  background: rgba(255, 116, 136, 0.1);
  color: #ffd8de;
}

.auth-redirect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.auth-redirect-actions a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
  filter: grayscale(0.35);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.reveal {
  transform: none;
  opacity: 1;
}

.js-ready .reveal {
  transform: translateY(22px);
  opacity: 0;
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.js-ready .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.feature-card,
.community-card {
  animation: cardFloatIn 680ms var(--ease-out) both;
  animation-play-state: paused;
}

.reveal.is-visible .feature-card,
.reveal.is-visible .community-card {
  animation-play-state: running;
}

.feature-card:nth-child(2),
.community-card:nth-child(2) {
  animation-delay: 80ms;
}

.feature-card:nth-child(3),
.community-card:nth-child(3) {
  animation-delay: 160ms;
}

.feature-card:nth-child(4) {
  animation-delay: 240ms;
}

@keyframes cardFloatIn {
  from {
    transform: translateY(18px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.legal-body {
  min-height: 100vh;
}

.legal-page {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 72px;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 70px);
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.legal-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(25, 48, 72, 0.9), rgba(9, 22, 37, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.legal-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d8e7f3;
  background: rgba(17, 35, 54, 0.72);
  font-size: 14px;
  font-weight: 850;
}

.legal-links a:hover {
  border-color: var(--line-bright);
  color: var(--cyan);
}

.legal-card h2 {
  margin: 32px 0 10px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 0;
  color: #c8d8e7;
  font-size: 16px;
  line-height: 1.75;
}

.legal-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(63, 226, 216, 0.26);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  background: rgba(13, 39, 59, 0.72);
  color: #dff8fb;
  font-weight: 750;
}

.legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.legal-highlight {
  min-height: 86px;
  padding: 14px 16px;
  border: 1px solid rgba(161, 197, 229, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(25, 48, 72, 0.78), rgba(9, 22, 37, 0.82));
}

.legal-highlight span {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-highlight strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.legal-highlight a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-address,
.legal-contact {
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(161, 197, 229, 0.18);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  background: rgba(8, 23, 38, 0.72);
  color: #d8e7f3;
  font-style: normal;
  line-height: 1.75;
}

.legal-contact a,
.legal-address a {
  color: var(--cyan);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-price-grid .legal-highlight {
  border-color: rgba(255, 223, 117, 0.32);
}

.legal-price-grid .legal-highlight span {
  color: var(--gold);
}

@media (max-width: 1260px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

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

  .hero-media {
    order: -1;
  }

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

  .plus-panel {
    grid-template-columns: 1fr 1.35fr;
  }

  .plus-intro {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 840px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, 1460px);
  }

  .site-header {
    top: 10px;
    padding: 12px;
  }

  .brand {
    font-size: 22px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .download-link {
    padding-inline: 16px;
  }

  .hero {
    padding-bottom: 48px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .feature-grid,
  .community-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card h3,
  .feature-card p {
    min-height: 0;
  }

  .cta-panel {
    flex-direction: column;
  }

  .cta-panel {
    align-items: stretch;
    padding: 30px;
  }

  .cta-action {
    min-width: 0;
  }

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

@media (max-width: 560px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr;
  }

  .download-link {
    justify-self: stretch;
  }

  .hero-media img {
    min-height: 0;
  }

  .hero-actions .button,
  .download-link {
    width: 100%;
  }

  .plus-panel {
    padding: 20px;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
