:root {
  --bg: #0c100e;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.9);
  --accent: #ff4d2e;
  --accent-2: #ffb020;
  --tiktok: #25f4ee;
  --instagram: #ff3b7a;
  --line: rgba(255, 255, 255, 0.55);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c100e;
}

.bg-photo {
  position: absolute;
  inset: -4%;
  background:
    url("bg-dnipro.jpg") center 55% / cover no-repeat;
  transform: scale(1.04);
  animation: kenburns 28s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.04);
}

.bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 50% 40%, rgba(10, 14, 12, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(12, 16, 14, 0.42) 0%, rgba(10, 14, 12, 0.22) 36%, rgba(8, 12, 10, 0.45) 68%, rgba(6, 9, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(6, 9, 8, 0.35) 0%, transparent 26%, transparent 74%, rgba(6, 9, 8, 0.35) 100%);
}

.bg-shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 26% at 50% 16%, rgba(255, 196, 120, 0.18), transparent 70%),
    radial-gradient(ellipse 36% 22% at 78% 58%, rgba(255, 140, 60, 0.14), transparent 70%),
    radial-gradient(ellipse 32% 20% at 22% 72%, rgba(80, 160, 140, 0.08), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pulse-glow 10s ease-in-out infinite alternate;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.orb-a {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  top: 8%;
  left: -10%;
  background: rgba(255, 160, 80, 0.28);
}

.orb-b {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  right: -8%;
  bottom: 16%;
  background: rgba(255, 120, 50, 0.22);
  animation-delay: -5s;
}

.orb-c {
  width: min(40vw, 300px);
  height: min(40vw, 300px);
  left: 18%;
  bottom: -5%;
  background: rgba(70, 140, 120, 0.18);
  animation-delay: -9s;
}

.water {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 38%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(20, 40, 36, 0.12) 30%, rgba(10, 18, 16, 0.28) 100%),
    repeating-linear-gradient(
      100deg,
      transparent 0 18px,
      rgba(255, 200, 140, 0.03) 18px 19px,
      transparent 19px 40px,
      rgba(140, 200, 180, 0.025) 40px 41px
    );
  mask-image: linear-gradient(180deg, transparent, #000 35%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%);
  animation: water-shift 12s linear infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  opacity: 0;
  animation: rise 0.7s ease forwards 0.1s;
}

.brand {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 8px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.22s;
}

.tagline {
  margin: 1.1rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.05rem, 3.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: rise 0.8s ease forwards 0.36s;
}

.cta {
  margin-top: clamp(2.2rem, 6vw, 3.2rem);
  width: min(100%, 360px);
  opacity: 0;
  animation: rise 0.85s ease forwards 0.5s;
}

.helper {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.actions {
  display: grid;
  gap: 0.85rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.55rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #111;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 2px 0 rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

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

.btn-icon {
  display: inline-flex;
  line-height: 0;
}

.btn-tiktok {
  color: #fff;
  background: #111;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.btn-tiktok:hover {
  background: #000;
  border-color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(37, 244, 238, 0.25);
}

.btn-tiktok .btn-icon {
  color: #25f4ee;
}

.btn-tiktok .btn-icon svg {
  fill: currentColor;
}

.btn-instagram {
  color: #fff;
  background: #e1306c;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(225, 48, 108, 0.4);
}

.btn-instagram:hover {
  background: #c2255b;
  border-color: #fff;
  box-shadow: 0 14px 36px rgba(225, 48, 108, 0.5), 0 0 0 3px rgba(255, 59, 122, 0.3);
}

.btn-instagram .btn-icon {
  color: #fff;
}

.redirect-note {
  margin: 1.1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.redirect-note strong {
  color: #fff;
  font-weight: 700;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes pulse-glow {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

@keyframes water-shift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 0, 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .bg-photo,
  .bg-shine,
  .water,
  .eyebrow,
  .brand,
  .tagline,
  .cta {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
