/* Ocean Gate | client-requested motion layer, 2026-10.
   This file adds only map emphasis and motion effects.
   All approved typography, sizing, layout, original brand colours,
   section spacing and original styles.css remain unchanged. */

/* Live SVG country emphasis; original world map, paths and controls stay intact. */
.map-canvas { isolation:isolate; }
.map-canvas .world-svg { position:relative; z-index:1; }
.map-canvas .world-svg path.is-market {
  stroke:var(--blue);
  transform:scale(1); /* keep country borders geographically accurate in the focused SVG viewport */
  stroke-width:2.2;
  stroke-linejoin:round;
  paint-order:stroke fill;
  filter:drop-shadow(0 0 7px var(--blue)) drop-shadow(0 0 16px rgba(36,72,255,.82));
  cursor:pointer;
}
.map-canvas .world-svg path.is-current {
  stroke:#fff;
  stroke-width:2.4;
  filter:drop-shadow(0 0 9px #fff) drop-shadow(0 0 25px var(--blue));
}
/* Overlay uses the actual SVG paths' measured positions, not guessed map coordinates. */
.market-route-overlay {position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;overflow:visible;}
.market-route-overlay path {fill:none;stroke:var(--blue);stroke-width:1.8;stroke-dasharray:3 8;stroke-linecap:round;opacity:.72;animation:og-route-flow 13s linear infinite;}
.market-route-overlay path.route-active {stroke:#fff;opacity:.95;stroke-width:2.2;filter:drop-shadow(0 0 5px var(--blue));}
.market-route-overlay .market-label-leader {fill:none;stroke:rgba(255,255,255,.54);stroke-width:1.1;stroke-dasharray:2 5;animation:none;}
.market-route-overlay .route-endpoint {fill:var(--blue);stroke:#fff;stroke-width:1.5;}
@keyframes og-route-flow {to{stroke-dashoffset:-240;}}
.market-hotspot {position:absolute;z-index:3;width:28px;height:28px;transform:translate(-50%,-50%);pointer-events:none;}
.market-hotspot::before,.market-hotspot::after {content:"";position:absolute;inset:0;border:1px solid var(--blue);border-radius:50%;box-shadow:0 0 10px rgba(36,72,255,.34);animation:og-geo-pulse 3.4s ease-out infinite;}
.market-hotspot::after {animation-delay:1.7s;}
.market-hotspot .market-hotspot-core {position:absolute;inset:10px;border-radius:50%;background:var(--blue);box-shadow:0 0 12px var(--blue),0 0 22px rgba(36,72,255,.65);}
.market-hotspot.is-active::before,.market-hotspot.is-active::after {border-color:#fff;box-shadow:0 0 13px rgba(255,255,255,.6);}
.market-hotspot.is-active .market-hotspot-core {background:#fff;box-shadow:0 0 13px #fff,0 0 25px var(--blue);}
@keyframes og-geo-pulse {0%{transform:scale(.55);opacity:.95;}76%,100%{transform:scale(3.2);opacity:0;}}
/* Keep flag markers readable above the new connections and country halos. */
.map-canvas .map-marker {z-index:6;}
.map-canvas .map-marker.active {box-shadow:0 0 0 3px rgba(255,255,255,.20),0 0 35px rgba(36,72,255,.6),0 14px 35px rgba(0,0,0,.28);}
/* Performance only; no changes to sizing or placement. */
.ch-ico,.svc-card .go,.feature i {backface-visibility:hidden;}
@media(prefers-reduced-motion:reduce){
  .market-route-overlay path,.market-hotspot::before,.market-hotspot::after{animation:none!important;}
  .market-hotspot::before,.market-hotspot::after{opacity:.55;transform:scale(1.15);}
}
/* The original map SVG declares a wide intrinsic pixel width. Prevent its
   flex min-content size from pushing all three Asian markers off-screen on phones. */
.map-canvas .world-svg {min-width:0;max-width:100%;flex-shrink:1;}
