:root {
  --bg-black: #000000;
  --bg-image-url: url("images/ar.jpg");
  --alfa-red: #b4001a;
  --alfa-red-bright: #f0052b;
  --alfa-red-soft: #7f0013;
  --text-main: #f7f2f3;
  --shadow-red: rgba(240, 5, 43, 0.32);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "Sora", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-black);
  color: var(--text-main);
  overflow: hidden;
}

.landing {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: var(--bg-black);
}

.backdrop,
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  z-index: -3;
  background-image:
    radial-gradient(circle at 16% 18%, rgba(180, 0, 26, 0.22), transparent 48%),
    radial-gradient(circle at 85% 78%, rgba(180, 0, 26, 0.14), transparent 40%),
    linear-gradient(
      140deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.8) 25%,
      rgba(0, 0, 0, 0.5) 45%,
      rgba(0, 0, 0, 0.78) 75%,
      rgba(0, 0, 0, 0.94) 100%
    ),
    var(--bg-image-url);
  background-color: var(--bg-black);
  background-size: cover;
  background-position: center center;
  filter: saturate(1.05) contrast(1.1);
  transform: scale(1.03);
}

.landing.no-image .backdrop {
  background-image:
    radial-gradient(circle at 16% 18%, rgba(180, 0, 26, 0.24), transparent 48%),
    radial-gradient(circle at 85% 78%, rgba(180, 0, 26, 0.18), transparent 42%),
    linear-gradient(
      140deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.88) 36%,
      rgba(0, 0, 0, 0.92) 68%,
      rgba(0, 0, 0, 0.98) 100%
    );
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.86) 100%);
}

.grain {
  z-index: -2;
  opacity: 0.07;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.15) 0.4px, transparent 0.4px),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.3px, transparent 0.3px);
  background-size: 2px 2px, 3px 3px;
  mix-blend-mode: soft-light;
}

.content {
  max-width: 960px;
  width: min(95vw, 960px);
  text-align: center;
  padding: clamp(1rem, 2vw, 2rem);
}

.hero-word,
.final-line {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: clamp(0.11em, 1.2vw, 0.3em);
  line-height: 1.12;
  font-family: "Syncopate", "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
}

.hero-word {
  font-size: clamp(2rem, 9vw, 7rem);
  color: var(--alfa-red-bright);
  background: linear-gradient(
    180deg,
    #ff3d5e 0%,
    #f0052b 33%,
    #ca001f 68%,
    #7f0013 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 20px var(--shadow-red),
    0 0 68px rgba(180, 0, 26, 0.32);
  opacity: 0;
  transform: translateY(24px) scale(0.982);
  filter: blur(6px);
  transition:
    opacity 980ms ease,
    transform 1250ms cubic-bezier(0.18, 0.67, 0.22, 0.99),
    filter 1100ms ease;
}

.hero-word.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-word.is-hidden {
  opacity: 0;
  transform: translateY(-12px) scale(1.01);
  filter: blur(7px);
}

.final-line {
  margin-top: clamp(1.2rem, 3.2vh, 2rem);
  font-size: clamp(0.94rem, 2.05vw, 1.55rem);
  font-weight: 700;
  color: #ff385b;
  text-shadow:
    0 0 14px rgba(180, 0, 26, 0.3),
    0 0 36px rgba(180, 0, 26, 0.24);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1200ms ease, transform 1200ms ease;
}

.final-line.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .hero-word,
  .final-line {
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word,
  .final-line {
    transition: none;
    filter: none;
    transform: none;
  }
}
