/* ======================================================================
   B3IR7 — HERO VISUAL POLISH
   ====================================================================== */

/* ----------------------------------------------------------------------
   1) REMOVE HERO RECTANGULAR BORDER + SHADOW
   ---------------------------------------------------------------------- */

.world-card.glass.fin-coverage-b3i.fin-b3ir7-hero-borderless {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.world-card.glass.fin-coverage-b3i.fin-b3ir7-hero-borderless::before,
.world-card.glass.fin-coverage-b3i.fin-b3ir7-hero-borderless::after {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  content: none !important;
}

/* In case any nested shell is still creating the rectangular card feel */
.world-card.glass.fin-coverage-b3i.fin-b3ir7-hero-borderless .fin-hero-globe-stage-b3ir6 {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* ----------------------------------------------------------------------
   2) GLOBE BREATHING
   ---------------------------------------------------------------------- */

.fin-hero-flat-globe-b3ir6.fin-b3ir7-globe-live {
  animation: fin-b3ir7-globe-breathe 4.8s ease-in-out infinite !important;
  transform-origin: center center !important;
  will-change: transform, filter, opacity;
}

@keyframes fin-b3ir7-globe-breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.985);
    opacity: 0.94;
    filter:
      drop-shadow(0 0 10px rgba(52,196,225,.12))
      drop-shadow(0 0 24px rgba(52,196,225,.10));
  }
  50% {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 1;
    filter:
      drop-shadow(0 0 18px rgba(52,196,225,.20))
      drop-shadow(0 0 38px rgba(52,196,225,.16));
  }
}

/* ----------------------------------------------------------------------
   3) COUNTRY DOT BREATHING
   ---------------------------------------------------------------------- */

.fin-hero-country-b3ir6.fin-b3ir7-dot-live {
  will-change: transform, opacity;
}

.fin-hero-country-b3ir6.fin-b3ir7-dot-live::before {
  animation: fin-b3ir7-dot-breathe 3.2s ease-in-out infinite !important;
  animation-delay: var(--fin-dot-delay, 0s);
  will-change: transform, box-shadow, opacity;
}

.fin-hero-country-b3ir6.fin-b3ir7-dot-live {
  animation: fin-b3ir7-label-breathe 3.2s ease-in-out infinite !important;
  animation-delay: var(--fin-dot-delay, 0s);
}

@keyframes fin-b3ir7-dot-breathe {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.92;
    box-shadow:
      0 0 0 3px rgba(255,255,255,.88),
      0 0 12px rgba(51,199,226,.22);
  }
  50% {
    transform: scale(1.10);
    opacity: 1;
    box-shadow:
      0 0 0 4px rgba(255,255,255,.96),
      0 0 24px rgba(51,199,226,.36);
  }
}

@keyframes fin-b3ir7-label-breathe {
  0%, 100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

/* Stronger active breathing for IN */
.fin-hero-country-b3ir6.fin-country-in.fin-b3ir7-dot-live::before {
  animation: fin-b3ir7-dot-breathe-in 3.2s ease-in-out infinite !important;
  animation-delay: var(--fin-dot-delay, 0s);
}

@keyframes fin-b3ir7-dot-breathe-in {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.96;
    box-shadow:
      0 0 0 4px rgba(255,255,255,.92),
      0 0 18px rgba(63,218,194,.30);
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
    box-shadow:
      0 0 0 5px rgba(255,255,255,.98),
      0 0 30px rgba(63,218,194,.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fin-hero-flat-globe-b3ir6.fin-b3ir7-globe-live,
  .fin-hero-country-b3ir6.fin-b3ir7-dot-live,
  .fin-hero-country-b3ir6.fin-b3ir7-dot-live::before,
  .fin-hero-country-b3ir6.fin-country-in.fin-b3ir7-dot-live::before {
    animation: none !important;
    transform: none !important;
  }
}