/* Home page premium polish. Asset safe: no hero, logo or sky files are changed here. */
.home-premium-shell {
  --mba-glass-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
  --mba-glass-edge: rgba(255, 255, 255, 0.58);
  --mba-soft-ink: rgba(12, 28, 48, 0.9);
  isolation: isolate;
}

.home-premium-shell::before {
  background:
    radial-gradient(80% 42% at 50% 8%, rgba(255, 246, 225, 0.28), transparent 62%),
    radial-gradient(76% 56% at 18% 18%, rgba(255, 177, 80, 0.2), transparent 64%),
    radial-gradient(84% 62% at 92% 6%, rgba(94, 166, 255, 0.2), transparent 66%) !important;
  opacity: 0.98 !important;
}

.home-premium-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 22%, transparent 74%, rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.16), transparent 36%);
  mix-blend-mode: screen;
}

.home-premium-shell .logo-float-pure {
  border-radius: 30px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.18)) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 18px 44px rgba(14, 39, 74, 0.16),
    0 6px 16px rgba(14, 39, 74, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28) !important;
  overflow: hidden;
}

.home-premium-shell .logo-float-pure::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 28px;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.32) 28%, transparent 44%);
  transform: translateX(-120%);
  animation: mbaHomeGlassSweep 7.5s ease-in-out infinite;
}

.home-premium-shell .tagline-shimmer {
  font-size: clamp(12px, 3.2vw, 13px) !important;
  letter-spacing: 0.28em !important;
  font-weight: 850 !important;
  line-height: 1.65 !important;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.52) !important;
}

.home-premium-shell .about-gold-cta {
  min-width: min(78%, 300px) !important;
  padding: 13px 22px !important;
  background:
    linear-gradient(120deg, rgba(255, 247, 222, 0.92), rgba(255, 209, 122, 0.68) 35%, rgba(255, 248, 225, 0.9) 58%, rgba(250, 178, 70, 0.7)) !important;
  border: 1px solid rgba(255, 239, 183, 0.94) !important;
  box-shadow:
    0 14px 34px rgba(124, 79, 12, 0.26),
    0 4px 10px rgba(24, 42, 70, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(163, 102, 22, 0.14) !important;
}

.home-premium-shell .about-gold-cta:active {
  transform: scale(0.97) !important;
}

.home-premium-shell .gpu-accelerated,
.home-premium-shell .featureCard,
.home-premium-shell .libCard,
.home-premium-shell .glass-card-hoverable {
  border: 1px solid var(--mba-glass-edge) !important;
  background: var(--mba-glass-surface) !important;
  box-shadow:
    0 14px 32px rgba(18, 48, 84, 0.11),
    0 4px 12px rgba(18, 48, 84, 0.06),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
}

.home-premium-shell .featureCard,
.home-premium-shell .libCard,
.home-premium-shell .hover-lib-card,
.home-premium-shell button {
  -webkit-tap-highlight-color: transparent;
}

.home-premium-shell .featureCard:hover,
.home-premium-shell .featureCard:active,
.home-premium-shell .libCard:hover,
.home-premium-shell .hover-lib-card:hover {
  box-shadow:
    0 18px 42px rgba(18, 48, 84, 0.15),
    0 8px 18px rgba(18, 48, 84, 0.08),
    inset 0 1.4px 0 rgba(255, 255, 255, 0.92) !important;
}

.home-premium-shell .cta-primary {
  box-shadow:
    0 18px 42px rgba(255, 143, 24, 0.34),
    0 6px 18px rgba(255, 143, 24, 0.18),
    inset 0 1.4px 0 rgba(255, 255, 255, 0.58) !important;
}

.home-premium-shell .cta-secondary {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.28)) !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  box-shadow:
    0 14px 34px rgba(18, 48, 84, 0.13),
    inset 0 1.3px 0 rgba(255, 255, 255, 0.9) !important;
}

.home-premium-shell .sky-float {
  filter: drop-shadow(0 20px 34px rgba(14, 43, 80, 0.14));
}

@keyframes mbaHomeGlassSweep {
  0%, 62% {
    transform: translateX(-130%);
    opacity: 0;
  }
  74% {
    opacity: 1;
  }
  100% {
    transform: translateX(135%);
    opacity: 0;
  }
}

@media (max-width: 390px) {
  .home-premium-shell .tagline-shimmer {
    letter-spacing: 0.22em !important;
  }

  .home-premium-shell .about-gold-cta {
    min-width: min(84%, 290px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-premium-shell .logo-float-pure::after {
    animation: none !important;
  }
}
