.hero {
  min-height: 100vh;
  padding: 140px 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 95, 162, .55), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(63, 169, 255, .55), transparent 40%),
    linear-gradient(160deg, #6c3cf0 0%, #4b22c4 55%, #3b1d8f 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 0 0 1.2rem; }
.hero p { font-size: 1.25rem; opacity: .95; max-width: 560px; }
.hero .actions { margin-top: 2rem; }

.hero-shield {
  width: min(420px, 100%);
  margin-inline: auto;
  animation: hero-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3));
}

/* Floating stars & balloons */
.hero-float { position: absolute; pointer-events: none; animation: hero-drift 9s ease-in-out infinite; }
.hero-float--star { width: 34px; }
.hero-float--small { width: 22px; opacity: .85; }
.hero-float--balloon { width: 46px; }

/* Road with a driving bus */
.road { margin-top: auto; position: relative; height: 150px; }
.road::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: #2b2450;
}
.road::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 32px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 50px, transparent 50px 100px);
  animation: hero-lanes 1.2s linear infinite;
}
.road .bus { position: absolute; bottom: 40px; width: 230px; animation: hero-drive 16s linear infinite; z-index: 2; }

@keyframes hero-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(2deg); } }
@keyframes hero-drift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(12deg); } }
@keyframes hero-lanes { to { background-position: -100px 0; } }
@keyframes hero-drive { from { left: -260px; } to { left: 105%; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shield { width: 280px; }
}
@media (max-width: 560px) {
  .road .bus { width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .road .bus { left: 10%; }
}
