/* =====================================================
   WILDVERSE MUSIC LIBRARY - HERO PARTIAL
   File: /wildverse/includes/partials/hero.css
===================================================== */

.wv-library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
}

.wv-kicker {
  width: fit-content;
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid rgba(120, 247, 255, 0.35);
  border-radius: 999px;
  color: var(--wv-cyan);
  background: rgba(120, 247, 255, 0.075);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wv-library h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 62px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(120, 247, 255, 0.28),
    0 0 38px rgba(255, 79, 216, 0.16);
}

.wv-library-head p {
  max-width: 840px;
  margin: 10px 0 0;
  color: var(--wv-muted);
  font-size: 15px;
  line-height: 1.55;
}

.wv-license-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(84, 242, 167, 0.35);
  border-radius: var(--wv-radius);
  background:
    linear-gradient(135deg, rgba(84, 242, 167, 0.13), rgba(120, 247, 255, 0.06)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--wv-shadow);
}

.wv-license-card strong {
  color: var(--wv-green);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wv-license-card span {
  font-weight: 800;
}

.wv-license-card small {
  color: var(--wv-muted);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .wv-library-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wv-library h2 {
    font-size: clamp(32px, 12vw, 56px);
  }
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.6rem;
}

.hero-audio-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(120, 247, 255, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(120, 247, 255, 0.18), rgba(255, 79, 216, 0.13)),
    rgba(3, 16, 22, 0.72);
  color: #f1fbff;
  box-shadow:
    0 0 28px rgba(120, 247, 255, 0.18),
    0 16px 42px rgba(0, 0, 0, 0.42),
    inset 0 0 18px rgba(255, 255, 255, 0.05);
  text-decoration: none;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.hero-audio-cta:hover,
.hero-audio-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(120, 247, 255, 0.8);
  color: #ffffff;
  outline: none;
  box-shadow:
    0 0 36px rgba(120, 247, 255, 0.26),
    0 20px 48px rgba(0, 0, 0, 0.55);
}

.hero-audio-cta__icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #78f7ff);
  color: #031016;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(120, 247, 255, 0.5);
}

.hero-audio-cta__text {
  display: grid;
  gap: 0.18rem;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-audio-cta__text small {
  color: #b8c7d2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}
/* ================================================= */
/* HERO FREE AUDIO CTA — MOBILE FIX */
/* ================================================= */

@media (max-width: 760px) {
  .home-intro-inner {
    padding-inline: 1rem;
  }

  .hero-subtitle {
    max-width: 22rem;
    margin-inline: auto;
    margin-bottom: 1.1rem;
    font-size: clamp(1.15rem, 5.5vw, 1.6rem);
    line-height: 1.35;
  }

  .hero-actions {
    width: 100%;
    margin-top: 1rem;
    padding-inline: 0.75rem;
  }

  .hero-audio-cta {
    width: min(100%, 21.5rem);
    min-width: 0;
    gap: 0.75rem;
    padding: 0.72rem 0.9rem;
    border-radius: 1.45rem;
  }

  .hero-audio-cta__icon {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .hero-audio-cta__text {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
    line-height: 1.05;
    letter-spacing: 0.06em;
  }

  .hero-audio-cta__text small {
    margin-top: 0.2rem;
    font-size: clamp(0.78rem, 3.4vw, 0.95rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 420px) {
  .hero-audio-cta {
    width: min(100%, 19.5rem);
    padding: 0.65rem 0.78rem;
  }

  .hero-audio-cta__icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .hero-audio-cta__text {
    font-size: 1.05rem;
  }

  .hero-audio-cta__text small {
    font-size: 0.74rem;
  }
}
/* =====================================================
   WILDVERSE LIBRARY HERO — FUTURISTIC COMPACT UPGRADE
   Keeps height compact, adds motion + lifted neon edges
===================================================== */

.wv-library-head {
  position: relative;
  isolation: isolate;

  min-height: 150px;
  margin-bottom: 14px;
  padding: 14px;

  border: 1px solid rgba(120, 247, 255, 0.14);
  border-radius: 24px;

  background:
    radial-gradient(circle at 12% 0%, rgba(120, 247, 255, 0.14), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(255, 79, 216, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)),
    rgba(2, 12, 18, 0.58);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 34px rgba(0, 0, 0, 0.28);

  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* animated grid/light sweep */
.wv-library-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    linear-gradient(90deg, transparent, rgba(120, 247, 255, 0.12), transparent),
    linear-gradient(rgba(120, 247, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 247, 255, 0.045) 1px, transparent 1px);

  background-size:
    45% 100%,
    36px 36px,
    36px 36px;

  background-position:
    -55% 0,
    0 0,
    0 0;

  opacity: 0.55;
  animation: wvHeroScan 5.5s linear infinite;
}

/* soft animated glow blob */
.wv-library-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  z-index: -1;

  width: 240px;
  height: 240px;
  border-radius: 999px;

  background:
    radial-gradient(circle, rgba(84, 242, 167, 0.18), transparent 62%),
    radial-gradient(circle, rgba(255, 79, 216, 0.16), transparent 72%);

  filter: blur(10px);
  opacity: 0.8;
  animation: wvHeroOrb 6s ease-in-out infinite alternate;
}

@keyframes wvHeroScan {
  0% {
    background-position:
      -60% 0,
      0 0,
      0 0;
  }

  100% {
    background-position:
      160% 0,
      36px 36px,
      36px 36px;
  }
}

@keyframes wvHeroOrb {
  from {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  to {
    transform: translate3d(-34px, 22px, 0) scale(1.08);
  }
}

/* Left content becomes a compact command panel */
.wv-library-head > div:first-child {
  position: relative;
  z-index: 1;
  align-self: center;
}

/* Kicker: fun terminal chip */
.wv-kicker {
  position: relative;
  overflow: hidden;

  margin-bottom: 8px;
  padding: 6px 12px 6px 30px;

  border-color: rgba(120, 247, 255, 0.45);
  background:
    linear-gradient(135deg, rgba(120, 247, 255, 0.14), rgba(155, 108, 255, 0.08)),
    rgba(0, 0, 0, 0.28);

  box-shadow:
    0 0 18px rgba(120, 247, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wv-kicker::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;

  width: 9px;
  height: 9px;
  border-radius: 999px;

  background: var(--wv-green);
  box-shadow:
    0 0 10px var(--wv-green),
    0 0 22px rgba(84, 242, 167, 0.45);

  transform: translateY(-50%);
  animation: wvPulseDot 1.6s ease-in-out infinite;
}

@keyframes wvPulseDot {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(-50%) scale(0.86);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.16);
  }
}

/* Title: metallic neon shimmer */
.wv-library h2 {
  position: relative;

  max-width: 880px;

  background:
    linear-gradient(
      90deg,
      #ffffff 0%,
      #eafcff 25%,
      #78f7ff 45%,
      #ffffff 60%,
      #d6d8ff 100%
    );

  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  filter: drop-shadow(0 0 14px rgba(120, 247, 255, 0.16));
  animation: wvTitleShimmer 6s ease-in-out infinite;
}

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

  50% {
    background-position: 100% 50%;
  }
}

.wv-library-head p {
  margin-top: 8px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.35;
}

/* License card: lifted holographic side card */
.wv-license-card {
  position: relative;
  z-index: 1;
  align-self: center;

  min-height: 118px;
  padding: 14px 16px;

  border-radius: 22px;
  border-color: rgba(84, 242, 167, 0.38);

  background:
    radial-gradient(circle at 10% 0%, rgba(84, 242, 167, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(84, 242, 167, 0.13), rgba(120, 247, 255, 0.06) 45%, rgba(255, 79, 216, 0.06)),
    rgba(3, 16, 22, 0.7);

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(84, 242, 167, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -14px 24px rgba(0, 0, 0, 0.24);

  overflow: hidden;
}

.wv-license-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 18%, transparent 36%);
  transform: translateX(-120%);
  animation: wvLicenseShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wvLicenseShine {
  0%, 45% {
    transform: translateX(-120%);
  }

  75%, 100% {
    transform: translateX(120%);
  }
}

.wv-license-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  color: #68ffb4;
  text-shadow: 0 0 14px rgba(84, 242, 167, 0.26);
}

.wv-license-card strong::before {
  content: "◆";
  font-size: 0.72em;
  color: var(--wv-cyan);
  text-shadow: 0 0 12px rgba(120, 247, 255, 0.55);
}

.wv-license-card span {
  font-size: 0.95rem;
}

.wv-license-card small {
  font-size: 0.82rem;
}

/* Mobile: still compact, no giant hero */
@media (max-width: 1120px) {
  .wv-library-head {
    grid-template-columns: 1fr;
  }

  .wv-license-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .wv-library-head {
    min-height: 0;
    padding: 12px;
    border-radius: 20px;
    gap: 10px;
  }

  .wv-library h2 {
    font-size: clamp(28px, 10vw, 44px);
    line-height: 0.9;
  }

  .wv-library-head p {
    font-size: 12.5px;
    line-height: 1.3;
  }

  .wv-license-card {
    padding: 12px;
    border-radius: 18px;
  }

  .wv-license-card small {
    display: none;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wv-library-head::before,
  .wv-library-head::after,
  .wv-kicker::before,
  .wv-library h2,
  .wv-license-card::before {
    animation: none;
  }
}