:root {
  --brand-blue: #01a3fe;
  --brand-purple: #ac20db;
  --brand-pink: #dd55fc;
  --brand-sky: #53a4f1;
  --brand-cyan: #14f1fe;
  --bg-deep: #0a2753;
  --bg-blue: #087fd1;
  --bg-blue-soft: #0c69be;
  --panel: #0d2058;
  --panel-light: #172d6f;
  --surface: #ffffff;
  --surface-soft: #f5faff;
  --text: #071944;
  --muted: #64748b;
  --light-text: #f4fffe;
  --soft-text: #abb4be;
  --line: rgba(1, 163, 254, 0.18);
  --line-strong: rgba(20, 241, 254, 0.32);
  --primary-gradient: linear-gradient(270deg, var(--brand-blue) -0.31%, var(--brand-purple) 116.72%);
  --secondary-gradient: linear-gradient(90deg, var(--brand-pink) 0%, var(--brand-sky) 100%);
  --page-gradient: linear-gradient(
    180deg,
    var(--bg-deep) 0%,
    var(--bg-blue) 330px,
    var(--bg-blue-soft) 54%,
    var(--bg-deep) 100%
  );
  --shadow: 0 24px 70px rgba(0, 16, 35, 0.32);
  --shadow-soft: 0 14px 36px rgba(0, 16, 35, 0.2);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--page-gradient);
  color: var(--light-text);
  font-family:
    Prompt, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(221, 85, 252, 0.18) 0%, transparent 34%),
    linear-gradient(315deg, rgba(20, 241, 254, 0.14) 0%, transparent 42%);
  pointer-events: none;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

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

.section-inner,
.hero__inner {
  width: calc(100% - 24px);
  max-width: 430px;
  margin: 0 auto;
}

.hero {
  overflow: clip;
  padding: 14px 0 22px;
}

.hero__inner {
  display: grid;
  gap: 14px;
}

.brand-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(13, 32, 88, 0.68);
  box-shadow: 0 12px 28px rgba(0, 16, 35, 0.18);
  backdrop-filter: blur(16px);
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 104px;
  height: 42px;
  padding: 4px 5px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(20, 241, 254, 0.08)),
    rgba(0, 16, 35, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--brand-cyan);
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(20, 241, 254, 0.3);
  border-radius: 999px;
  background: rgba(13, 32, 88, 0.56);
  color: var(--brand-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.icon,
.feature-card__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

h1 {
  max-width: 390px;
  color: #ffffff;
  font-size: 2.02rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 390px;
  color: #dbeafe;
  font-size: 0.98rem;
}

.hero__experience {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 400px;
  margin-top: 2px;
}

.hero__art {
  display: none;
  position: absolute;
  z-index: 0;
  top: -24px;
  right: 50%;
  width: 236px;
  height: auto;
  translate: 50% 0;
  opacity: 0.42;
  filter: saturate(1.22) hue-rotate(42deg);
  pointer-events: none;
}

.luck-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  padding: 16px;
  border: 1px solid rgba(20, 241, 254, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.luck-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(1, 163, 254, 0.08), rgba(172, 32, 219, 0.08));
  pointer-events: none;
}

.luck-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.luck-card__kicker {
  margin-bottom: 4px;
  color: #0d63b9;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.luck-card h2,
.features h2,
.final-cta h2 {
  font-size: 1.28rem;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(20, 241, 254, 0.12);
  color: #0d63b9;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.status-pill .icon {
  width: 16px;
  height: 16px;
}

.result-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.result-list div {
  display: grid;
  grid-template-columns: minmax(122px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(1, 163, 254, 0.14);
  border-radius: 14px;
  background: #f7fbff;
}

.result-list dt {
  color: #5f6f8c;
  font-size: 0.88rem;
  font-weight: 800;
}

.result-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.masked-value {
  display: inline-block;
  min-width: 38px;
  filter: blur(2.4px);
  transition:
    filter 0.5s ease,
    color 0.5s ease;
}

.blurred-message {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(20, 241, 254, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(20, 241, 254, 0.12), rgba(172, 32, 219, 0.1)),
    #eef8ff;
}

.blurred-message::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.78) 45%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 2.8s ease-in-out infinite;
}

.blurred-message p {
  color: #0d3470;
  font-weight: 850;
  filter: blur(6px);
  user-select: none;
  transition: filter 0.5s ease;
}

.hero__actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(0, 16, 35, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 16, 35, 0.34);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 4px solid rgba(20, 241, 254, 0.34);
  outline-offset: 4px;
}

.button--primary {
  background: var(--primary-gradient);
  animation: pulse 2.8s ease-in-out infinite;
}

.button--secondary {
  background: var(--secondary-gradient);
}

.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.button:hover .icon {
  transform: translateX(3px);
}

.redirect-note {
  min-height: 20px;
  color: #dbeafe;
  font-size: 0.82rem;
  text-align: center;
}

.features {
  padding: 22px 0 34px;
}

.features .section-inner {
  display: grid;
  gap: 14px;
}

.features h2 {
  color: #ffffff;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(20, 241, 254, 0.18);
  border-radius: 18px;
  background: rgba(13, 32, 88, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.feature-card__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(20, 241, 254, 0.12);
  color: var(--brand-cyan);
}

.feature-card:nth-child(2) .feature-card__icon {
  background: rgba(83, 164, 241, 0.16);
  color: #9ed8ff;
}

.feature-card:nth-child(3) .feature-card__icon {
  background: rgba(221, 85, 252, 0.14);
  color: #f0b8ff;
}

.feature-card h3 {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.feature-card p {
  color: #dbeafe;
  font-size: 0.93rem;
}

.final-cta {
  padding: 0 0 34px;
}

.final-cta__inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px 16px;
  border: 1px solid rgba(20, 241, 254, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(13, 32, 88, 0.9), rgba(23, 45, 111, 0.86)),
    var(--panel);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.final-cta h2 {
  color: #ffffff;
}

.site-footer {
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  font-size: 0.8rem;
  text-align: center;
}

.site-footer .section-inner {
  display: grid;
  gap: 6px;
}

.is-revealing .status-pill {
  background: rgba(20, 241, 254, 0.14);
  color: #0d63b9;
}

.is-revealing .masked-value,
.is-revealing .blurred-message p {
  filter: blur(0);
}

.is-revealing .blurred-message::after {
  animation-duration: 0.9s;
}

@keyframes shimmer {
  0% {
    transform: translateX(-105%);
  }

  45%,
  100% {
    transform: translateX(105%);
  }
}

@keyframes pulse {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.08) brightness(1.04);
  }
}

@media (min-width: 720px) {
  .section-inner,
  .hero__inner {
    width: calc(100% - 56px);
    max-width: 1120px;
  }

  .hero {
    padding: 28px 0 42px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
    grid-template-areas:
      "brand brand"
      "copy experience"
      "actions experience";
    gap: 20px 54px;
    align-items: center;
  }

  .brand-bar {
    grid-area: brand;
    width: min(100%, 430px);
  }

  .hero__copy {
    grid-area: copy;
    justify-items: start;
    text-align: left;
  }

  h1 {
    max-width: 580px;
    font-size: 3.18rem;
  }

  .hero__lead {
    max-width: 520px;
    font-size: 1.08rem;
  }

  .hero__experience {
    grid-area: experience;
    min-height: 510px;
  }

  .hero__art {
    display: block;
    top: -8px;
    right: -32px;
    width: 430px;
    translate: 0;
    opacity: 0.5;
  }

  .luck-card {
    justify-self: start;
    max-width: 448px;
    padding: 20px;
  }

  .hero__actions {
    grid-area: actions;
    justify-items: start;
    width: 100%;
    max-width: 432px;
  }

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

@media (min-width: 1024px) {
  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 3.52rem;
  }
}

@media (max-width: 350px) {
  h1 {
    font-size: 1.76rem;
  }
}

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