#home {
  background-color: #050506;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Vignette overlay */
#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.55) 0%, transparent 28%, transparent 62%, #050506 100%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle grid overlay */
#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(65% 60% at 50% 48%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(65% 60% at 50% 48%, black 30%, transparent 78%);
  pointer-events: none;
  z-index: 1;
}

/* Breathing red radial glow behind logo */
.home-glow {
  position: absolute;
  top: 44%;
  left: 50%;
  width: min(520px, 85vw);
  height: min(520px, 85vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(230, 57, 70, 0.24) 0%, rgba(230, 57, 70, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
  animation: glowBreathe 6s ease-in-out infinite;
}

@keyframes glowBreathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* Hero Content */
.home-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: min(44vh, 76vw);
  max-width: 400px;
  max-height: 44vh;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 16px 42px rgba(0, 0, 0, 0.75));
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  font-weight: 500;
  letter-spacing: clamp(2px, 0.5vw, 4px);
  text-transform: uppercase;
  color: var(--muted);
  margin: clamp(12px, 2vh, 20px) 0 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(16px, 2.5vh, 24px);
  flex-wrap: wrap;
}

/* Animated scroll hint */
.scroll-hint {
  position: absolute;
  bottom: clamp(14px, 2.5vh, 28px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 200ms ease;
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.scroll-hint:hover {
  color: #ffffff;
}

.scroll-hint-icon {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
  display: block;
}

.scroll-hint-wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 2.4s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(6px);
  }
  60% {
    transform: translateX(-50%) translateY(3px);
  }
}

@keyframes scrollWheel {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.2;
    transform: translateX(-50%) translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-glow {
    animation: none;
  }
  .scroll-hint {
    animation: none;
  }
  .scroll-hint-wheel {
    animation: none;
  }
}
