:root {
  color-scheme: dark;
  --page-bg: #101114;
  --background-image: url("./assets/background-desktop.png");
  --logo-size: clamp(128px, 24vw, 174px);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.9);
  --button-bg: #ffffff;
  --button-text: #000000;
  --focus: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px) 0;
  isolation: isolate;
}

.page-shell::before {
  position: absolute;
  inset: -18px;
  z-index: -2;
  content: "";
  background: var(--background-image) center / cover no-repeat;
  filter: blur(1.5px);
  transform: scale(1.04);
}

.page-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.5)),
    rgba(32, 0, 0, 0.16);
  backdrop-filter: blur(0.5px);
}

.profile {
  position: relative;
  z-index: 0;
  display: grid;
  justify-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: transparent;
  box-shadow: none;
  transform: none;
  gap: 0;
}

.profile > * {
  position: relative;
  z-index: 1;
}

.profile::before {
  display: none;
  content: none;
}

.profile::after {
  display: none;
  content: none;
}

.promo-banners {
  position: relative;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 0;
}

.promo-banners a {
  display: block;
  text-decoration: none;
}

.promo-banners img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.banner-cursor {
  position: absolute;
  top: 58%;
  left: 17%;
  z-index: 3;
  width: 34px;
  height: 34px;
  pointer-events: none;
  animation: banner-cursor-click 3.4s ease-in-out infinite;
}

.banner-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  color: #ffffff;
  fill: currentColor;
  stroke: #ffd76a;
  stroke-width: 1.3;
  paint-order: stroke fill;
  filter:
    drop-shadow(0 0 5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 12px rgba(255, 215, 106, 0.78))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.75));
}

.banner-cursor::after {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 34px;
  aspect-ratio: 1;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.45);
  animation: banner-click-ring 3.4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .page-shell {
    align-items: start;
    padding: 0 0 clamp(32px, 7vw, 72px);
  }

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

  .promo-banners .desktop-only-banner {
    display: none;
  }

  .promo-banners img {
    aspect-ratio: 5 / 2;
  }

  .banner-cursor {
    left: 25%;
  }
}

.logo-wrap {
  position: relative;
  display: grid;
  width: var(--logo-size);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 0 28px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transform: none;
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(251, 251, 248, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy {
  width: 100%;
  padding-inline: 20px;
  margin-bottom: 14px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.72);
}

.eyebrow {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow a {
  text-decoration: none;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 10vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.description {
  max-width: 34rem;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.12rem);
  line-height: 1.55;
}

.social-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding-inline: 20px;
  margin: 0 0 48px;
}

.social-link {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  min-width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  color: #000000;
  background: var(--button-bg);
  box-shadow: none;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.social-link svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  background: #f3f3f3;
}

.social-link[aria-label="Facebook"] svg {
  transform: translateX(-1px);
}

.social-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.link-list {
  display: grid;
  width: min(calc(100% - 48px), 690px);
  padding-inline: 0;
  gap: 22px;
}

.link-button {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  padding: 12px 24px;
  color: var(--button-text);
  background: var(--button-bg);
  font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: background 180ms ease;
}

.link-button svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.benefit-copy {
  width: min(calc(100% - 48px), 690px);
  margin: 34px auto 0;
  color: #ffffff;
  font-size: clamp(0.98rem, 2.8vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  animation: benefit-glow 2s ease-in-out infinite;
}

.link-button:hover {
  background: #f3f3f3;
  box-shadow: none;
}

.link-button:active {
  transform: none;
  box-shadow: none;
}

.link-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.link-button.primary {
  color: #ffffff;
  border: 2px solid #65ff8f;
  background: #00d84a;
  box-shadow:
    0 0 10px rgba(0, 255, 105, 0.8),
    0 0 24px rgba(0, 216, 74, 0.5);
  animation: cta-shake 1.8s ease-in-out infinite;
}

.link-button.primary:hover {
  background: #00f05a;
  box-shadow:
    0 0 12px rgba(0, 255, 105, 0.95),
    0 0 30px rgba(0, 240, 90, 0.62);
}

.link-button.secondary {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border: 2px solid #ffd76a;
  background: #b00000;
  text-shadow: 0 0 10px rgba(255, 215, 106, 0.55);
  box-shadow:
    0 0 10px rgba(255, 215, 106, 0.5),
    0 0 22px rgba(176, 0, 0, 0.45);
  animation: cta-pulse 1.8s ease-in-out infinite;
}

.link-button.secondary:hover {
  color: #ffffff;
  background: #d00000;
  box-shadow:
    0 0 12px rgba(255, 215, 106, 0.72),
    0 0 28px rgba(208, 0, 0, 0.55);
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes cta-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  12%,
  36% {
    transform: translateX(-3px);
  }

  24%,
  48% {
    transform: translateX(3px);
  }

  60% {
    transform: translateX(0);
  }
}

@keyframes banner-cursor-click {
  0%,
  16% {
    left: 17%;
    transform: scale(1);
  }

  21% {
    left: 17%;
    transform: scale(0.82);
  }

  30%,
  58% {
    left: 50%;
    transform: scale(1);
  }

  63% {
    left: 50%;
    transform: scale(0.82);
  }

  78%,
  100% {
    left: 17%;
    transform: scale(1);
  }
}

@keyframes banner-click-ring {
  0%,
  18%,
  27%,
  60%,
  69%,
  100% {
    opacity: 0;
    transform: scale(0.45);
  }

  21%,
  63% {
    opacity: 0.9;
    transform: scale(1.1);
  }
}

@keyframes benefit-glow {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.8),
      0 0 20px rgba(0, 255, 105, 0.42);
  }
}

@media (max-width: 420px) {
  :root {
    --background-image: url("./assets/background-mobile.jpg");
  }

  .page-shell {
    padding: 0 0 44px;
  }

  .profile {
    width: 100%;
    padding: 0;
  }

  .promo-banners {
    width: 100%;
    margin-bottom: 24px;
  }

  .social-list {
    gap: 12px;
    margin-bottom: 42px;
  }

  .social-link {
    flex-basis: 48px;
    width: 48px;
    min-width: 48px;
  }

  .social-link svg {
    width: 26px;
    height: 26px;
  }

  .link-button {
    min-height: 58px;
    padding: 10px 18px;
  }
}

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

  .link-button.primary,
  .link-button.secondary,
  .benefit-copy,
  .banner-cursor,
  .banner-cursor::after {
    animation: none;
  }
}
