.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-top: 34px;
  margin-bottom: 18px;
}

.hero-bg-grad {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(241, 6, 93, .075) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(255, 255, 255, .025) 0%, transparent 55%);
}

.hero-blur-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  background: rgba(7, 8, 12, .35);
}

.hero-in {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 28px;
  margin-top: 10px;
}

.hero-chars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.char {
  height: 300px;
  max-height: 300px;
  object-fit: contain;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  transition: transform .4s ease, opacity .4s ease, filter .4s ease;
  filter: blur(2px) brightness(.58) saturate(.55);
  opacity: .5;
}

.char:first-child {
  margin-right: -18px;
  transform: scale(.93);
}

.char--center {
  z-index: 2;
  height: 340px;
  max-height: 340px;
  margin: 0 -18px;
  filter: blur(2px) brightness(.7) saturate(.65);
  opacity: .55;
}

.char:last-child {
  margin-left: -18px;
  transform: scale(.93);
}

.char:hover {
  transform: translateY(-10px) scale(1.03);
  filter: blur(2px) brightness(.9) saturate(.8);
  opacity: 1;
}

.char:first-child:hover,
.char:last-child:hover {
  transform: translateY(-10px) scale(1.03);
}

.char.dimmed {
  filter: blur(4px) brightness(.35) saturate(.4);
  opacity: .35;
}

.hero-fg {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(17,17,15,.72) 0%, rgba(17,17,15,.18) 42%, rgba(17,17,15,.95) 100%);
}

.anim-in {
  opacity: 0;
  transform: translateY(18px);
  animation: slideUp .7s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

.anim-in[data-delay="1"] { animation-delay: .1s; }
.anim-in[data-delay="2"] { animation-delay: .2s; }
.anim-in[data-delay="3"] { animation-delay: .32s; }

.hero-h {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: var(--text2);
  margin-bottom: 10px;
}

.hero-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: max-content;
  margin: 0 auto 14px;
  padding: 7px 12px;
  border: 1px solid rgba(241, 6, 93, .22);
  border-radius: 999px;
  background: rgba(241, 6, 93, .06);
  color: var(--text2);
  font-size: clamp(12px, 1.35vw, 13px);
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.hero-news a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.hero-news a:hover {
  color: var(--white);
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-chars {
    padding: 0 18px;
    opacity: .7;
  }
  .char {
    height: 40vh;
    max-height: 320px;
  }
  .char--center {
    height: 46vh;
    max-height: 380px;
  }
}

@media (max-width: 560px) {
  .hero-chars {
    padding: 0 6px;
    opacity: .55;
  }
  .char {
    height: 32vh;
    max-height: 260px;
  }
  .char--center {
    height: 36vh;
    max-height: 290px;
  }
  .hero-news {
    max-width: calc(100vw - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.drop {
  position: absolute;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.08);
  top: -20px;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-20px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}
