*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --gold: #b8963e;
  --gold-light: #efca3f;
  --brand-purple: #971df5;
  --brand-cyan: #3cb7ea;
  --background: #0a0a0f;
  --foreground: #f4f4f5;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background-color: rgba(184, 150, 62, 0.25);
  color: var(--foreground);
}

.splash {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
}

.atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere .grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
}

.glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(130px);
}

.glow-purple {
  top: 18%;
  left: 12%;
  width: 28rem;
  height: 28rem;
  background: rgba(151, 29, 245, 0.12);
}

.glow-cyan {
  bottom: 12%;
  right: 10%;
  width: 26rem;
  height: 26rem;
  background: rgba(60, 183, 234, 0.1);
  filter: blur(110px);
}

.glow-gold {
  top: 50%;
  left: 50%;
  width: 36rem;
  height: 36rem;
  transform: translate(-50%, -50%);
  background: rgba(184, 150, 62, 0.05);
  filter: blur(140px);
}

.atmosphere-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.7),
    transparent,
    var(--background)
  );
}

.content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.inner {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.brand {
  margin-bottom: 2rem;
}

.logo {
  display: block;
  margin: 0 auto;
  height: 6rem;
  width: auto;
}

.brand-name {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--foreground);
}

.rule {
  width: 7rem;
  height: 1px;
  margin: 2rem auto;
  background: linear-gradient(
    to right,
    var(--brand-purple),
    var(--gold),
    var(--brand-cyan)
  );
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(244, 244, 245, 0.45);
}

.partners {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(244, 244, 245, 0.9);
  border: 1px solid rgba(184, 150, 62, 0.35);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.partner-btn:hover {
  border-color: var(--gold);
  background-color: rgba(184, 150, 62, 0.08);
}

.partner-logo-realmone {
  height: 1.25rem;
  width: auto;
}

.partner-logo-synergist {
  height: 2rem;
  width: auto;
  mix-blend-mode: screen;
}

/* Match RealmOne SVG wordmark: white, ~same cap-height as the logo text */
.partner-name-synergist {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.external-icon {
  color: var(--gold);
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.partner-btn:hover .external-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem 2rem;
}

.footer p {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(244, 244, 245, 0.25);
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-rule-in {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

.splash-fade {
  animation: splash-rise 0.7s ease-out both;
}

.splash-rule {
  transform-origin: center;
  animation: splash-rule-in 0.85s ease-out both;
}

.splash-delay-1 { animation-delay: 0.05s; }
.splash-delay-2 { animation-delay: 0.18s; }
.splash-delay-3 { animation-delay: 0.32s; }
.splash-delay-4 { animation-delay: 0.42s; }
.splash-delay-5 { animation-delay: 0.55s; }

@media (min-width: 640px) {
  .brand {
    margin-bottom: 2.5rem;
  }

  .logo {
    height: 7rem;
  }

  .brand-name {
    margin-top: 1.5rem;
    font-size: 1.875rem;
  }

  .headline {
    font-size: 1.5rem;
  }

  .eyebrow {
    font-size: 1rem;
  }

  .partners {
    margin-top: 3.5rem;
    flex-direction: row;
  }

  .partner-logo-realmone {
    height: 1.5rem;
  }

  .partner-logo-synergist {
    height: 2.25rem;
  }

  .partner-name-synergist {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .logo {
    height: 8rem;
  }

  .brand-name {
    font-size: 2.25rem;
  }

  .headline {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .content {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .logo {
    height: 9rem;
  }

  .footer {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-fade,
  .splash-rule {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
