:root {
  --bg-1: #0b0f1f;
  --bg-2: #161b3a;
  --glass: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --rainbow: linear-gradient(120deg,
    #ff5f6d 0%,
    #ffc371 15%,
    #ffee58 30%,
    #66ffb3 45%,
    #49c6ff 60%,
    #7c7dff 75%,
    #d96dff 90%,
    #ff5f6d 100%);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 92, 141, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(81, 165, 255, 0.28), transparent 30%),
    radial-gradient(circle at bottom center, rgba(138, 93, 255, 0.22), transparent 32%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
}

.background-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(10px);
}

.blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0.26;
  animation: drift 15s ease-in-out infinite alternate;
}

.blob-1 {
  top: -70px;
  left: -80px;
  background: #ff5f6d;
}

.blob-2 {
  top: 10%;
  right: -80px;
  background: #49c6ff;
  animation-duration: 19s;
}

.blob-3 {
  bottom: -100px;
  left: 15%;
  background: #7c7dff;
  animation-duration: 16s;
}

.blob-4 {
  bottom: -80px;
  right: 20%;
  background: #ffd166;
  animation-duration: 22s;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid var(--stroke);
  border-radius: 32px;
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--rainbow);
  background-size: 250% 250%;
  opacity: 0.18;
  z-index: -1;
  animation: gradientMove 10s ease infinite;
}

.image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(0px);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-140%);
  animation: shineSweep 4.6s ease-in-out infinite;
}

.content {
  padding: 8px 8px 8px 12px;
}

.mini-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, rgba(255,95,109,0.85), rgba(73,198,255,0.85));
  box-shadow: 0 10px 24px rgba(73,198,255,0.22);
}

.main-title {
  margin: 0;
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 1.05;
  background: var(--rainbow);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 8s linear infinite;
  text-shadow: 0 0 24px rgba(255,255,255,0.12);
}

.subtitle {
  margin: 22px 0 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.glow-button {
  position: relative;
  display: inline-block;
  padding: 15px 28px;
  font-weight: 800;
  text-decoration: none;
  color: #11142b;
  border-radius: 999px;
  background: var(--rainbow);
  background-size: 250% auto;
  animation: gradientMove 8s linear infinite;
  box-shadow:
    0 12px 30px rgba(121, 113, 255, 0.35),
    0 0 30px rgba(255, 112, 168, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.glow-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 18px 34px rgba(121, 113, 255, 0.45),
    0 0 40px rgba(255, 112, 168, 0.35);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes shineSweep {
  0% { transform: translateX(-140%); }
  55%, 100% { transform: translateX(140%); }
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -25px) scale(1.08); }
  100% { transform: translate(-25px, 30px) scale(0.95); }
}

@media (max-width: 860px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .image-wrap {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }

  .subtitle {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
