:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-2: #0b1c33;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f6f9ff;
  --muted: #aebbd0;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #37d5ff;
  --blue: #4f8cff;
  --violet: #a978ff;
  --orange: #ffb15e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 12%, rgba(55, 213, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 84% 8%, rgba(169, 120, 255, 0.17), transparent 28rem),
    linear-gradient(145deg, #050912 0%, var(--bg) 42%, #0b1020 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    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: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #07111f;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-shell,
main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #03101d;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(55, 213, 255, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: 4rem 0 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.1rem;
  max-width: 820px;
  font-size: clamp(2.55rem, 11vw, 5.8rem);
  line-height: 0.96;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button,
.card-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button:focus-visible,
.card-link:focus-visible {
  outline: 3px solid rgba(55, 213, 255, 0.45);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #04101e;
  box-shadow: 0 16px 38px rgba(55, 213, 255, 0.22);
}

.button-secondary {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

.hero-panel {
  position: relative;
  padding: 1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.55), rgba(169, 120, 255, 0.42), rgba(255, 177, 94, 0.34));
  box-shadow: var(--shadow);
}

.orbit-card {
  min-height: 240px;
  padding: 1.5rem;
  border-radius: calc(var(--radius) - 1px);
  background: rgba(8, 17, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  color: var(--cyan);
  background: var(--panel-strong);
  font-size: 1.6rem;
}

.orbit-card strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.orbit-card p {
  color: var(--muted);
  line-height: 1.65;
}

.cards-section,
.soon-section,
.trust-section {
  padding: 3.5rem 0;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading h2,
.soon-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.app-grid {
  display: grid;
  gap: 1rem;
}

.app-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.app-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
  transform: rotate(-12deg);
}

.app-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.tools-card:hover {
  border-color: rgba(55, 213, 255, 0.55);
}

.games-card:hover {
  border-color: rgba(255, 177, 94, 0.55);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 20px;
  background: var(--panel-strong);
}

.card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tools-card .card-icon {
  color: var(--cyan);
}

.games-card .card-icon {
  color: var(--orange);
}

.app-card h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.9rem;
}

.app-card p {
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  width: fit-content;
  margin-top: 1.2rem;
  padding-inline: 1.15rem;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.soon-section {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.soon-section p {
  color: var(--muted);
  line-height: 1.75;
}

.trust-section {
  display: grid;
  gap: 0.85rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.trust-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(55, 213, 255, 0.12);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }

  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  }

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

  .soon-section {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }

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

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
