:root {
  --bg: #1b0837;
  --bg-soft: #2d0d58;
  --surface: rgba(40, 17, 73, 0.7);
  --surface-strong: rgba(52, 21, 91, 0.9);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff8f2;
  --muted: #ecdfff;
  --lime: #d3ff58;
  --orange: #ff8c42;
  --cyan: #52e7ff;
  --pink: #ff4fd8;
  --yellow: #ffd84d;
  --coral: #ff6678;
  --shadow: 0 26px 90px rgba(17, 0, 42, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 79, 216, 0.28), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(82, 231, 255, 0.26), transparent 22%),
    radial-gradient(circle at 50% 92%, rgba(255, 216, 77, 0.22), transparent 22%),
    linear-gradient(135deg, #17062f 0%, #2d0d58 34%, #162a72 68%, #0d1d46 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
  pointer-events: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(36, 12, 67, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

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

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--lime);
}

.hero,
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: stretch;
}

.hero {
  min-height: calc(100vh - 96px);
  padding: 32px 0 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
strong {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
}

.lede {
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #1b0837;
  background: linear-gradient(135deg, var(--yellow), var(--orange) 45%, var(--pink));
  box-shadow: 0 16px 38px rgba(255, 79, 216, 0.28);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(82, 231, 255, 0.12), rgba(255, 79, 216, 0.12));
}

.service-card,
.partner-grid article,
.flow-panel,
.arcade-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.flow-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.service-card p,
.partner-grid p,
.flow-panel p,
.arcade-card p,
.section-heading p,
.cta-section p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-visual {
  display: flex;
  align-items: stretch;
}

.arcade-card {
  border-radius: 32px;
}

.primary-card {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(255, 79, 216, 0.28), rgba(82, 231, 255, 0.12) 40%, rgba(34, 18, 74, 0.9) 92%),
    linear-gradient(180deg, rgba(58, 20, 100, 0.96), rgba(23, 11, 53, 0.92));
}

.tab-slider {
  overflow: hidden;
}

.tab-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-button {
  border: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.tab-button:hover,
.tab-button.is-active {
  color: #1b0837;
  background: linear-gradient(135deg, var(--yellow), var(--lime));
  transform: translateY(-1px);
}

.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: panelFade 0.35s ease;
}

.tab-panel.is-active {
  display: block;
}

.primary-card h2 {
  margin: 12px 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.card-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(211, 255, 88, 0.18);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 42px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.service-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.partner-grid article {
  padding: 26px;
  border-radius: 28px;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--yellow);
  font-weight: 700;
}

.service-card h3,
.partner-grid h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.flow-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 79, 216, 0.16), rgba(82, 231, 255, 0.1) 36%, rgba(33, 15, 72, 0.96) 90%),
    linear-gradient(180deg, rgba(54, 22, 96, 0.96), rgba(20, 10, 47, 0.94));
}

.flow-panel div {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.cta-section {
  margin-top: 24px;
  padding: 38px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(255, 216, 77, 0.24), transparent 30%),
    radial-gradient(circle at 20% 80%, rgba(255, 79, 216, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(53, 21, 95, 0.96), rgba(17, 10, 45, 0.94));
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-inline: auto;
  max-width: 14ch;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .service-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .flow-panel {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .cta-section {
    padding: 30px 20px;
  }
}
