/* ==========================================================================
   FINANCIVA TAX — B3IR13
   CLEAN HERO VISUAL REBUILD
   ========================================================================== */


/* ==========================================================================
   1. COVERAGE HERO
   ========================================================================== */

.world-card.glass.fin-coverage-b3i {
  position: relative !important;
  overflow: hidden !important;
}


/* ==========================================================================
   2. REMOVE ONLY PREVIOUS GENERATED GLOBE LAYERS
   ========================================================================== */

.fin-hero-globe-stage-b3ir6,
.fin-country-orbit-b3ir4,
.fin-country-orbit-b3ir5,
.b3ir12-hero-globe-stage {
  display: none !important;
}


/* ==========================================================================
   3. EXACT OBSOLETE LABEL REMOVAL
   ========================================================================== */

.fin-b3ir13-jurisdiction-title-hidden {
  display: none !important;
}


/* ==========================================================================
   4. NEW INDEPENDENT VISUAL LAYER
   ========================================================================== */

.fin-b3ir13-globe-layer {
  position: absolute !important;

  /*
    Dedicated visual area:
    heading/online remain above;
    cards/status remain below.
  */
  left: 28px !important;
  right: 28px !important;
  top: 46px !important;
  bottom: 88px !important;

  z-index: 8 !important;

  pointer-events: none !important;

  overflow: visible !important;
}


/* soft circular atmosphere; NOT a rectangle */

.fin-b3ir13-globe-layer::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 48%;

  width: 360px;
  height: 360px;

  translate: -50% -50%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(55,210,230,.11) 0%,
      rgba(55,210,230,.052) 42%,
      rgba(55,210,230,.018) 63%,
      transparent 77%
    );

  filter: blur(5px);
}


/* ==========================================================================
   5. CENTERED GLOBE
   ========================================================================== */

.fin-b3ir13-globe {
  position: absolute !important;

  left: 50% !important;
  top: 48% !important;

  width: 310px !important;
  height: 310px !important;

  max-width: 310px !important;
  max-height: 310px !important;

  object-fit: contain !important;

  translate: -50% -50% !important;

  z-index: 3 !important;

  opacity: .97;

  transform-origin: center center !important;

  animation:
    fin-b3ir13-globe-breathe
    4.8s
    ease-in-out
    infinite !important;

  filter:
    drop-shadow(
      0 0 16px
      rgba(46,196,222,.14)
    );
}


@keyframes fin-b3ir13-globe-breathe {
  0%,
  100% {
    scale: .985;
    opacity: .94;
  }

  50% {
    scale: 1.025;
    opacity: 1;
  }
}


/* ==========================================================================
   6. COUNTRY MARKERS
   ========================================================================== */

.fin-b3ir13-country {
  position: absolute;

  width: 42px;
  min-width: 42px;

  height: 46px;

  translate: -50% -50%;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 4px;

  z-index: 15;

  color: #47727e;

  font-size: 9px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: .035em;

  text-transform: uppercase;
  text-align: center;

  animation:
    fin-b3ir13-country-label-breathe
    3.4s
    ease-in-out
    infinite;

  animation-delay:
    var(--country-delay, 0s);
}


.fin-b3ir13-country::before {
  content: "";

  width: 13px;
  height: 13px;

  border-radius: 50%;

  background:
    rgba(248,255,255,.99);

  border:
    3px solid
    #60cfe7;

  box-shadow:
    0 0 0 3px rgba(255,255,255,.90),
    0 0 13px rgba(51,199,226,.25);

  animation:
    fin-b3ir13-country-dot-breathe
    3.4s
    ease-in-out
    infinite;

  animation-delay:
    var(--country-delay, 0s);
}


@keyframes fin-b3ir13-country-dot-breathe {
  0%,
  100% {
    scale: .94;

    box-shadow:
      0 0 0 3px rgba(255,255,255,.90),
      0 0 11px rgba(51,199,226,.21);
  }

  50% {
    scale: 1.10;

    box-shadow:
      0 0 0 4px rgba(255,255,255,.97),
      0 0 22px rgba(51,199,226,.37);
  }
}


@keyframes fin-b3ir13-country-label-breathe {
  0%,
  100% {
    opacity: .86;
  }

  50% {
    opacity: 1;
  }
}


/* India active */

.fin-b3ir13-country.fin-country-in::before {
  width: 18px;
  height: 18px;

  border:
    4px solid
    #3edac1;

  box-shadow:
    0 0 0 4px rgba(255,255,255,.93),
    0 0 21px rgba(62,218,193,.39);
}


/* ==========================================================================
   7. TIGHT ORBIT
   ========================================================================== */

/*
                 UK

          CA             IN

       US      GLOBE

                    AU
                           NZ
*/

.fin-b3ir13-country.fin-country-us {
  left: 26%;
  top: 54%;
  --country-delay: 0s;
}


.fin-b3ir13-country.fin-country-ca {
  left: 32%;
  top: 29%;
  --country-delay: .32s;
}


.fin-b3ir13-country.fin-country-uk {
  left: 50%;
  top: 17%;
  --country-delay: .64s;
}


.fin-b3ir13-country.fin-country-in {
  left: 74%;
  top: 45%;
  --country-delay: .96s;
}


.fin-b3ir13-country.fin-country-au {
  left: 72%;
  top: 70%;
  --country-delay: 1.28s;
}


.fin-b3ir13-country.fin-country-nz {
  left: 83%;
  top: 79%;
  --country-delay: 1.60s;
}


/* ==========================================================================
   8. PRESERVE 3 BOTTOM CARDS
   ========================================================================== */

.fin-coverage-kpi-row {
  z-index: 30 !important;
}


/* ==========================================================================
   9. PRESERVE OPERATIONAL STATUS
   ========================================================================== */

.fin-coverage-core-status {
  z-index: 31 !important;
}


/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

@media (max-width: 1300px) {

  .fin-b3ir13-globe {
    width: 280px !important;
    height: 280px !important;
  }

  .fin-b3ir13-globe-layer {
    left: 20px !important;
    right: 20px !important;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .fin-b3ir13-globe,
  .fin-b3ir13-country,
  .fin-b3ir13-country::before {
    animation: none !important;
  }
}