/* Shared motion — Classic + Gate Cinema — HEAVY FX pack */
:root {
  --gc-ease: cubic-bezier(.16, 1, .3, 1);
  --gc-ease-out: cubic-bezier(.22, 1, .36, 1);
  --gc-gold: #d4af37;
  --gc-gold-2: #f0d78c;
  --fg-shadow-hover: 0 18px 44px rgba(26, 143, 232, .28);
  --fg-shadow-btn: 0 14px 32px rgba(26, 143, 232, .35);
  --fg-glow: rgba(26, 143, 232, .45);
  --gc-dur: 1.15s;
  --gc-dur-move: 1.35s;
}

@media (prefers-reduced-motion: reduce) {
  .gc-reveal, .reveal, .gc-stagger > *, .gc-float-y, .gc-pulse-ring,
  .gc-btn-shine::after, .gc-marquee-track, .gc-ken,
  .fx-bounce, .fx-wiggle, .fx-shimmer, .fx-pulse-soft, .fx-spin-slow,
  .fg-btn, .fg-country-card, .fg-service-card, .fg-how-card, .fg-latest-card,
  .fg-ft-social a, .fg-dual-cta::after, .fg-dual-cta::before {
    animation: none !important;
    transition: none !important;
  }
  .gc-reveal, .reveal, .gc-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* —— Scroll reveals (smooth + directional) —— */
.gc-reveal, .reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity var(--gc-dur) var(--gc-ease),
    transform var(--gc-dur-move) var(--gc-ease),
    filter var(--gc-dur) var(--gc-ease);
  will-change: opacity, transform;
}
.gc-reveal.in, .reveal.show {
  opacity: 1;
  transform: none;
  filter: none;
}

.gc-reveal.from-left, .reveal.from-left {
  transform: translate3d(-64px, 0, 0);
  filter: blur(6px);
}
.gc-reveal.from-right, .reveal.from-right {
  transform: translate3d(64px, 0, 0);
  filter: blur(6px);
}
.gc-reveal.from-bottom, .reveal.from-bottom {
  transform: translate3d(0, 48px, 0);
  filter: blur(6px);
}
.gc-reveal.from-top, .reveal.from-top {
  transform: translate3d(0, -40px, 0);
  filter: blur(6px);
}
.gc-reveal.from-left.in, .gc-reveal.from-right.in,
.gc-reveal.from-bottom.in, .gc-reveal.from-top.in,
.reveal.from-left.show, .reveal.from-right.show,
.reveal.from-bottom.show, .reveal.from-top.show {
  transform: none;
  filter: none;
}

.gc-reveal.zoom, .reveal.zoom {
  transform: scale(.88);
  filter: blur(8px);
}
.gc-reveal.zoom.in, .reveal.zoom.show {
  transform: scale(1);
  filter: none;
}

.gc-reveal.flip-in, .reveal.flip-in {
  transform: perspective(900px) rotateX(12deg) translateY(28px);
  filter: blur(5px);
}
.gc-reveal.flip-in.in, .reveal.flip-in.show {
  transform: none;
  filter: none;
}

/* Stagger: L / R / bottom / top — reset !important so offsets never stick */
.gc-stagger > * {
  opacity: 0;
  transition:
    opacity 1.05s var(--gc-ease),
    transform 1.25s var(--gc-ease),
    filter 1.05s var(--gc-ease);
  filter: blur(4px);
}
.gc-stagger > *:nth-child(4n + 1) { transform: translate3d(-40px, 0, 0); }
.gc-stagger > *:nth-child(4n + 2) { transform: translate3d(40px, 0, 0); }
.gc-stagger > *:nth-child(4n + 3) { transform: translate3d(0, 32px, 0); }
.gc-stagger > *:nth-child(4n + 4) { transform: translate3d(0, -24px, 0); }

.gc-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.gc-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.gc-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.gc-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.gc-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.gc-stagger.in > *:nth-child(6) { transition-delay: .4s; }
.gc-stagger.in > *:nth-child(7) { transition-delay: .47s; }
.gc-stagger.in > *:nth-child(8) { transition-delay: .54s; }
.gc-stagger.in > *:nth-child(9) { transition-delay: .61s; }
.gc-stagger.in > *:nth-child(10) { transition-delay: .68s; }
.gc-stagger.in > *:nth-child(11) { transition-delay: .75s; }
.gc-stagger.in > *:nth-child(12) { transition-delay: .82s; }
.gc-stagger.in > *:nth-child(13) { transition-delay: .89s; }
.gc-stagger.in > *:nth-child(14) { transition-delay: .96s; }
.gc-stagger.in > *:nth-child(15) { transition-delay: 1.03s; }
.gc-stagger.in > *:nth-child(16) { transition-delay: 1.1s; }
.gc-stagger.in > *:nth-child(17) { transition-delay: 1.17s; }
.gc-stagger.in > *:nth-child(18) { transition-delay: 1.24s; }
.gc-stagger.in > *:nth-child(19) { transition-delay: 1.31s; }
.gc-stagger.in > *:nth-child(20) { transition-delay: 1.38s; }
.gc-stagger.in > *:nth-child(21) { transition-delay: 1.45s; }
.gc-stagger.in > *:nth-child(22) { transition-delay: 1.52s; }
.gc-stagger.in > *:nth-child(23) { transition-delay: 1.59s; }
.gc-stagger.in > *:nth-child(24) { transition-delay: 1.66s; }
.gc-stagger.in > *,
.gc-stagger.in > *:nth-child(n) {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* —— Continuous loops —— */
.gc-float-y, .fx-float { animation: gcFloatY 5.5s ease-in-out infinite; }
@keyframes gcFloatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.fx-bounce { animation: fxBounce 2.8s ease-in-out infinite; }
@keyframes fxBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.fx-wiggle { animation: fxWiggle 3.2s ease-in-out infinite; }
@keyframes fxWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

.fx-pulse-soft { animation: fxPulseSoft 2.6s ease-in-out infinite; }
@keyframes fxPulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.fx-spin-slow { animation: fxSpinSlow 12s linear infinite; }
@keyframes fxSpinSlow { to { transform: rotate(360deg); } }

@keyframes fgShimmerX {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.fx-shimmer {
  position: relative;
  overflow: hidden;
}
.fx-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: fxShimmerSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fxShimmerSweep {
  0%, 40% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

.gc-pulse-ring { position: relative; }
.gc-pulse-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid var(--fg-glow, rgba(26, 143, 232, .45));
  animation: gcPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes gcPulse {
  0% { transform: scale(.92); opacity: .9; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* —— Buttons —— */
.gc-btn, .fg-btn {
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--gc-ease), box-shadow .35s var(--gc-ease), background .35s, color .35s;
}
.gc-btn:hover, .fg-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--fg-shadow-btn, 0 14px 32px rgba(26, 143, 232, .35));
}
.gc-btn:active, .fg-btn:active { transform: translateY(0) scale(.98); }

.gc-btn-shine::after, .fg-btn.gc-btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.gc-btn-shine:hover::after, .fg-btn.gc-btn-shine:hover::after { animation: gcShine .85s ease; }
/* idle shine loop so effect is always visible */
.gc-btn-shine.fx-auto-shine::after, .fg-btn.gc-btn-shine.fx-auto-shine::after {
  animation: gcShine 3.8s ease-in-out infinite;
}
@keyframes gcShine { to { left: 140%; } }

/* —— Cards —— */
.gc-card-lift,
.fg-country-card,
.fg-service-card,
.fg-how-card,
.fg-latest-card,
.fg-review-card,
.fg-faq-item,
.fg-dual-card {
  transition: transform .45s var(--gc-ease), box-shadow .45s var(--gc-ease), border-color .45s !important;
}
@media (hover: hover) and (pointer: fine) {
  .gc-card-lift:hover,
  .fg-country-card:hover,
  .fg-service-card:hover,
  .fg-how-card:hover,
  .fg-latest-card:hover,
  .fg-review-card:hover,
  .fg-dual-card:hover {
    transform: translateY(-10px) rotate(-.35deg);
    box-shadow: var(--fg-shadow-hover, 0 18px 44px rgba(26, 143, 232, .28)) !important;
  }
}

.gc-tilt { transform-style: preserve-3d; transition: transform .25s ease; }

.gc-ken { animation: gcKen 22s ease-in-out infinite alternate; }
@keyframes gcKen {
  from { transform: scale(1.05) translate(0,0); }
  to { transform: scale(1.18) translate(-2%, -1%); }
}

.gc-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gc-marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: gcMarquee 38s linear infinite;
}
.gc-marquee:hover .gc-marquee-track { animation-play-state: paused; }
@keyframes gcMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gc-count, .count-up { font-variant-numeric: tabular-nums; }
.gc-magnetic { display: inline-flex; }

.gc-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--fg-accent, #1a8fe8), var(--fg-accent-2, #3db4ff), var(--fg-gold, #c9a227));
  z-index: 99999;
  box-shadow: 0 0 12px var(--fg-glow, rgba(26,143,232,.45));
}

.gc-cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--fg-accent-soft, rgba(26,143,232,.12)), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  mix-blend-mode: multiply;
  transition: opacity .3s;
  opacity: 0;
}
body.gc-has-pointer .gc-cursor-glow { opacity: 1; }

@media (max-width: 640px) {
  .gc-pulse-ring::before {
    display: none !important;
    animation: none !important;
  }
}

/* Mobile: softer L/R — still animated, never stuck */
@media (max-width: 991px) {
  .gc-reveal, .reveal {
    transform: translate3d(0, 28px, 0);
    filter: blur(3px);
    transition-duration: .95s, 1.1s, .95s;
  }
  .gc-reveal.from-left, .reveal.from-left {
    transform: translate3d(-24px, 0, 0);
  }
  .gc-reveal.from-right, .reveal.from-right {
    transform: translate3d(24px, 0, 0);
  }
  .gc-reveal.from-bottom, .reveal.from-bottom {
    transform: translate3d(0, 32px, 0);
  }
  .gc-reveal.from-top, .reveal.from-top {
    transform: translate3d(0, -22px, 0);
  }
  .gc-reveal.zoom, .reveal.zoom {
    transform: scale(.94);
  }
  .gc-reveal.flip-in, .reveal.flip-in {
    transform: translate3d(0, 24px, 0);
  }
  .gc-reveal.in, .reveal.show,
  .gc-reveal.from-left.in, .gc-reveal.from-right.in,
  .gc-reveal.from-bottom.in, .gc-reveal.from-top.in,
  .reveal.from-left.show, .reveal.from-right.show,
  .reveal.from-bottom.show, .reveal.from-top.show,
  .gc-reveal.zoom.in, .reveal.zoom.show,
  .gc-reveal.flip-in.in, .reveal.flip-in.show {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .gc-stagger > * {
    transition-duration: .9s, 1.05s, .9s;
  }
  .gc-stagger > *:nth-child(4n + 1) { transform: translate3d(-18px, 0, 0); }
  .gc-stagger > *:nth-child(4n + 2) { transform: translate3d(18px, 0, 0); }
  .gc-stagger > *:nth-child(4n + 3) { transform: translate3d(0, 22px, 0); }
  .gc-stagger > *:nth-child(4n + 4) { transform: translate3d(0, -14px, 0); }
  .gc-stagger.in > *,
  .gc-stagger.in > *:nth-child(n) {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* No-JS fallback — show content if JS fails */
.no-js .gc-reveal,
.no-js .reveal,
.no-js .gc-stagger > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.fg-service-icon, .fg-how-icon, .fg-dual-card .ico {
  transition: transform .35s var(--gc-ease);
}
@media (hover: hover) and (pointer: fine) {
  .fg-service-card:hover .fg-service-icon,
  .fg-how-card:hover .fg-how-icon,
  .fg-dual-card:hover .ico {
    transform: rotate(-10deg) scale(1.12);
  }
  .fg-country-card:hover .fg-country-img img {
    transform: scale(1.12);
    transition: transform .8s var(--gc-ease);
  }
}

.nav-cta, .nav-cta-mobile {
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--gc-ease), box-shadow .35s !important;
}
.nav-cta:hover, .nav-cta-mobile:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--fg-shadow-btn, 0 14px 32px rgba(26, 143, 232, .35)) !important;
}

.fg-ft-cta-btn {
  position: relative;
  overflow: hidden;
}

/* Footer FX */
.fg-ft-social a {
  transition: transform .35s var(--gc-ease), background .25s, box-shadow .35s !important;
}
.fg-ft-social a:hover {
  transform: translateY(-5px) rotate(8deg) scale(1.08) !important;
}
.fg-ft-col ul a,
.fg-ft-dest a {
  transition: transform .3s var(--gc-ease), color .25s, padding .25s !important;
}
.fg-ft-col ul a:hover,
.fg-ft-dest a:hover {
  transform: translateX(6px);
}
.fg-ft-trust span {
  transition: transform .35s var(--gc-ease), background .3s, border-color .3s !important;
}
.fg-ft-trust span:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: color-mix(in srgb, var(--ft-sky, #3db4ff) 55%, transparent) !important;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ft-sky, #3db4ff) 25%, transparent);
}
.fg-ft-cta-box.fx-shimmer::after { display: none; } /* keep footer CTA own ::after */

/* About badge float */
.fg-about-badge { animation: gcFloatY 6s ease-in-out infinite; }

/* Section eyebrow icon nudge */
.fg-eyebrow i { display: inline-block; animation: fxWiggle 4s ease-in-out infinite; }

/* Stats pop */
.fg-stats-grid strong {
  display: inline-block;
  transition: transform .4s var(--gc-ease);
}
.fg-stats-grid > *:hover strong {
  transform: scale(1.08);
}
