/* ==============================================
   ARASAN ARENA - Premium Animation System v2.0
   Smooth, Cinematic, Performance-Optimized
   ============================================== */

/* ---- Scroll Reveal Animation Base ---- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-down"] {
  transform: translateY(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="scale"] {
  transform: scale(0.9);
}

[data-animate="scale-up"] {
  transform: scale(0.8) translateY(30px);
}

[data-animate="rotate-fade"] {
  transform: rotate(-5deg) translateY(30px);
  opacity: 0;
}

[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Stagger Children Animation */
[data-animate-group] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate-group].animated > *:nth-child(1) { transition-delay: 0.05s; }
[data-animate-group].animated > *:nth-child(2) { transition-delay: 0.1s; }
[data-animate-group].animated > *:nth-child(3) { transition-delay: 0.15s; }
[data-animate-group].animated > *:nth-child(4) { transition-delay: 0.2s; }
[data-animate-group].animated > *:nth-child(5) { transition-delay: 0.25s; }
[data-animate-group].animated > *:nth-child(6) { transition-delay: 0.3s; }
[data-animate-group].animated > *:nth-child(7) { transition-delay: 0.35s; }
[data-animate-group].animated > *:nth-child(8) { transition-delay: 0.4s; }

[data-animate-group].animated > * {
  opacity: 1;
  transform: none;
}

/* ---- Hero Text Reveal Animation ---- */
.hero-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-reveal-1 { animation-delay: 0.1s; }
.hero-reveal-2 { animation-delay: 0.25s; }
.hero-reveal-3 { animation-delay: 0.4s; }
.hero-reveal-4 { animation-delay: 0.55s; }
.hero-reveal-5 { animation-delay: 0.7s; }

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Navbar Scroll Animation ---- */
.navbar {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  height: 64px;
}

.navbar.scrolled .navbar-brand img {
  height: 36px;
}

/* ---- Hover Lift Effect ---- */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ---- Card Hover Depth ---- */
.card-depth {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.card-depth:hover {
  transform: translateY(-12px) perspective(1000px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ---- Image Zoom Hover ---- */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.img-zoom:hover img {
  transform: scale(1.08);
}

/* ---- Button Ripple Effect ---- */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
}

.btn-ripple:active::after {
  transform: scale(2);
  opacity: 1;
  transition: transform 0s, opacity 0s;
}

/* ---- Button Glow Effect ---- */
.btn-glow {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s;
}

.btn-glow:hover::before {
  opacity: 0.5;
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 195, 0, 0.35);
}

/* ---- Floating Elements ---- */
.float-y {
  animation: floatY 4s ease-in-out infinite;
  will-change: transform;
}

.float-y-slow {
  animation: floatY 6s ease-in-out infinite;
}

.float-y-fast {
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.float-x {
  animation: floatX 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* ---- Rotating Elements ---- */
.spin-slow {
  animation: spinSlow 20s linear infinite;
  will-change: transform;
}

.spin-medium {
  animation: spinSlow 10s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- Pulse Animation ---- */
.pulse {
  animation: pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* ---- Glow Pulse ---- */
.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
  will-change: box-shadow;
}

@keyframes glowPulse {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(244, 195, 0, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(244, 195, 0, 0.5);
  }
}

/* ---- Shimmer Effect ---- */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  will-change: background-position;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- Gradient Text Animation ---- */
.gradient-text-animate {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #ff6b6b 25%,
    var(--gold) 50%,
    #4ecdc4 75%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 5s linear infinite;
  will-change: background-position;
}

@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---- Animated Gradient Background ---- */
.gradient-bg-animate {
  background: linear-gradient(
    -45deg,
    #ee7752,
    #e73c7e,
    #23a6d5,
    #23d5ab
  );
  background-size: 400% 400%;
  animation: gradientBg 15s ease infinite;
  will-change: background-position;
}

@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---- Link Hover Animation ---- */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-underline:hover::after {
  width: 100%;
}

/* ---- Magnetic Button Effect (CSS-only approximation) ---- */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
  transform: scale(1.05);
}

/* ---- Counter Animation ---- */
.counter-animate {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---- Loading Screen ---- */
.loading-screen-v2 {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen-v2.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo-v2 {
  animation: loadingBreathe 1.5s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes loadingBreathe {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.loading-bar-v2 {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 32px;
}

.loading-bar-fill-v2 {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  width: 0;
  animation: loadingFill 2s ease forwards;
}

@keyframes loadingFill {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ---- Mobile Menu Animation ---- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger Animation */
.hamburger span {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- Page Transition ---- */
.page-transition-v2 {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.page-transition-v2.entering {
  transform: scaleY(1);
  transform-origin: bottom;
}

.page-transition-v2.leaving {
  transform: scaleY(0);
  transform-origin: top;
}

/* ---- Parallax Effect ---- */
.parallax-slow {
  will-change: transform;
  transform: translateZ(0);
}

/* ---- Testimonial Card Animation ---- */
.testimonial-enter {
  animation: testimonialEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes testimonialEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==============================================
   PREMIUM CINEMATIC ANIMATIONS
   Card Hover, Button Ripple, Parallax, Progress
   ============================================== */

/* ---- Hero Text Reveal Animation ---- */
.hero-title-reveal {
  overflow: hidden;
}

.hero-title-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: charReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes charReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays for characters */
.hero-title-reveal .char:nth-child(1) { animation-delay: 0.1s; }
.hero-title-reveal .char:nth-child(2) { animation-delay: 0.15s; }
.hero-title-reveal .char:nth-child(3) { animation-delay: 0.2s; }
.hero-title-reveal .char:nth-child(4) { animation-delay: 0.25s; }
.hero-title-reveal .char:nth-child(5) { animation-delay: 0.3s; }
.hero-title-reveal .char:nth-child(6) { animation-delay: 0.35s; }
.hero-title-reveal .char:nth-child(7) { animation-delay: 0.4s; }
.hero-title-reveal .char:nth-child(8) { animation-delay: 0.45s; }
.hero-title-reveal .char:nth-child(9) { animation-delay: 0.5s; }
.hero-title-reveal .char:nth-child(10) { animation-delay: 0.55s; }

/* ---- Hero Fade Up ---- */
.hero-fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-up.delay-1 { animation-delay: 0.3s; }
.hero-fade-up.delay-2 { animation-delay: 0.5s; }
.hero-fade-up.delay-3 { animation-delay: 0.7s; }

/* ---- Floating Elements ---- */
.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.float-medium {
  animation: floatMedium 4s ease-in-out infinite;
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-2deg); }
}

.float-fast {
  animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* ---- Scroll Reveal Base ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Stagger Reveal for Lists ---- */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-reveal.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-reveal.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-reveal.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-reveal.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-reveal.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-reveal.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ---- Section Reveal ---- */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scale Reveal ---- */
.scale-reveal {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-reveal.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---- Slide Reveal Directions ---- */
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease;
}

.slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s ease;
}

.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Decorative Shapes Animation ---- */
.shape-float {
  position: absolute;
  animation: shapeFloat 8s ease-in-out infinite;
}

@keyframes shapeFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(5deg);
  }
  50% {
    transform: translate(-5px, -25px) rotate(-3deg);
  }
  75% {
    transform: translate(-15px, -10px) rotate(2deg);
  }
}

/* ---- Glow Pulse Animation ---- */
.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(244, 195, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(244, 195, 0, 0.6);
  }
}

/* ---- Navbar Scroll Effect ---- */
.navbar-scroll {
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar-scroll.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ---- Image Hover Zoom ---- */
.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover-zoom:hover img {
  transform: scale(1.08);
}

/* ---- Card Lift Effect ---- */
.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ---- Button Shine Effect ---- */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-shine:hover::before {
  left: 100%;
}

/* ---- Loading Skeleton Shimmer ---- */
.skeleton-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Card Hover Depth Effect ---- */
.hover-depth {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.hover-depth:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card Inner Shine Effect */
.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.card-shine:hover::before {
  transform: translateX(100%) rotate(45deg);
}

/* ---- Button Ripple Effect ---- */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.btn-ripple:active::after {
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- Button Glow Effect ---- */
.btn-glow {
  position: relative;
  transition: all 0.3s ease;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--gold), var(--red), var(--gold));
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-glow:hover::before {
  opacity: 0.6;
  animation: rotateGlow 3s linear infinite;
}

/* ---- Scroll Progress Indicator ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---- Parallax Layers ---- */
.parallax-container {
  perspective: 1px;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.parallax-layer-back {
  transform: translateZ(-1px) scale(2);
}

.parallax-layer-base {
  transform: translateZ(0);
}

/* ---- Image Zoom on Hover ---- */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
  transform: scale(1.1);
}

/* ---- Text Reveal Animation ---- */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: textReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes textReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Staggered text reveal delays */
.text-reveal span:nth-child(1) { animation-delay: 0.1s; }
.text-reveal span:nth-child(2) { animation-delay: 0.2s; }
.text-reveal span:nth-child(3) { animation-delay: 0.3s; }
.text-reveal span:nth-child(4) { animation-delay: 0.4s; }
.text-reveal span:nth-child(5) { animation-delay: 0.5s; }

/* ---- Gradient Text Animation ---- */
.gradient-text-animate {
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---- Floating Elements ---- */
.float-y {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.float-x {
  animation: floatX 5s ease-in-out infinite;
}

@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(15px); }
}

/* ---- Navbar Scroll Animation ---- */
.navbar-scroll {
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar-scroll.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ---- Magnetic Button Effect (CSS only) ---- */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magnetic-btn:hover {
  transform: scale(1.05);
}

/* ---- Smooth Section Transitions ---- */
.section-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Decorative Line Animation ---- */
.line-grow {
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.line-grow.visible {
  width: 100%;
}

/* ---- Pulse Ring Animation ---- */
.pulse-ring {
  position: relative;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2s ease-out infinite;
}

.pulse-ring::after {
  animation-delay: 1s;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ---- Counter Animation Helper ---- */
.counter-animate {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---- Scroll-triggered Reveal ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.9);
}

/* ---- Loading Skeleton ---- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Gallery Hover Overlay ---- */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-overlay-icon {
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ---- Smooth Scroll Snap ---- */
.scroll-snap-x {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-snap-x > * {
  scroll-snap-align: start;
}

/* ---- Section Divider Animation ---- */
.divider-animate {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.divider-animate.animated {
  width: 100%;
}

/* ---- Reveal on Scroll (JavaScript-assisted) ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Stagger Animation Delays ---- */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* ---- Reduce Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-animate],
  [data-animate-group] > *,
  .hero-reveal,
  .float-y,
  .float-x,
  .spin-slow,
  .pulse,
  .glow-pulse,
  .shimmer,
  .gradient-text-animate,
  .gradient-bg-animate,
  .loading-logo-v2,
  .loading-bar-fill-v2 {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Performance Hints ---- */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* ---- Animation Utilities ---- */
.animate-none { animation: none; }
.animate-fade { animation: fadeIn 0.3s ease; }
.animate-scale { animation: scaleIn 0.3s ease; }
.animate-slide-up { animation: slideUp 0.4s ease; }
.animate-slide-down { animation: slideDown 0.4s ease; }
.animate-bounce { animation: bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   PREMIUM CINEMATIC ANIMATION ADDITIONS v3
   Advanced micro-interactions, blobs, parallax, effects
   ============================================================ */

/* ─── Animated Background Blobs ─── */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.blob-gold {
  background: radial-gradient(circle, rgba(244,195,0,0.25) 0%, transparent 70%);
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-teal {
  background: radial-gradient(circle, rgba(0,140,140,0.2) 0%, transparent 70%);
  animation: blobFloat 15s ease-in-out infinite reverse;
}
.blob-red {
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
  animation: blobFloat 10s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%       { transform: translate(20px, -30px) scale(1.05) rotate(3deg); }
  50%       { transform: translate(-15px, -20px) scale(0.96) rotate(-2deg); }
  75%       { transform: translate(10px, 15px) scale(1.03) rotate(1deg); }
}

/* ─── Animated Section Background Particles ─── */
.particle-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(244,195,0,0.08);
  animation: particleDrift linear infinite;
  will-change: transform, opacity;
}
@keyframes particleDrift {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ─── Magnetic Button CSS Enhancement ─── */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.magnetic-btn:hover {
  transform: scale(1.06);
}
.magnetic-btn:active {
  transform: scale(0.97);
}

/* ─── Glowing CTA Button ─── */
.btn-glow-gold {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-glow-gold::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(90deg, #F4C300, #ff6b35, #F4C300);
  background-size: 200% 100%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.4s ease;
  animation: glowRotate 3s linear infinite;
}
.btn-glow-gold:hover::before { opacity: 0.8; }
.btn-glow-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(244,195,0,0.45);
}

@keyframes glowRotate {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ─── Scroll Progress Line ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #ff6b35, var(--gold));
  background-size: 200% 100%;
  z-index: 9999;
  transition: width 0.1s ease;
  animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ─── Line Grow Animation ─── */
.line-grow {
  position: relative;
  overflow: hidden;
}
.line-grow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}
.line-grow.visible::after { width: 100%; }

/* ─── Page Transition Overlay ─── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: linear-gradient(135deg, var(--gold) 0%, #c9a400 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
.page-transition.active {
  animation: pageTransitionEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes pageTransitionEnter {
  0%   { transform: scaleY(0); transform-origin: bottom; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  51%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* ─── Image Parallax Container ─── */
.parallax-container {
  overflow: hidden;
  position: relative;
}
.parallax-image {
  transform: scale(1.12);
  transition: transform 0s linear;
  will-change: transform;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Section Divider Animated ─── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(244,195,0,0.4) 30%,
    rgba(244,195,0,0.4) 70%,
    transparent 100%
  );
  position: relative;
  margin: 0;
  overflow: visible;
}
.section-divider::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 5px;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-divider.visible::before { width: 80px; }

/* ─── Premium Card Glow on Hover ─── */
.card-glow {
  transition: all 0.4s ease;
  position: relative;
}
.card-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(12px);
}
.card-glow:hover::after { opacity: 0.35; }
.card-glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ─── Text Gradient Shimmer ─── */
.text-shimmer {
  background: linear-gradient(90deg,
    var(--gold) 0%,
    #fff 30%,
    var(--gold) 60%,
    #fff 90%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
}
@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Stagger Animation for Grid Items ─── */
[data-animate-group].animated > *:nth-child(9)  { transition-delay: 0.45s; }
[data-animate-group].animated > *:nth-child(10) { transition-delay: 0.5s; }
[data-animate-group].animated > *:nth-child(11) { transition-delay: 0.55s; }
[data-animate-group].animated > *:nth-child(12) { transition-delay: 0.6s; }

/* ─── Navbar Brand Hover Effect ─── */
.navbar-brand {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.navbar-brand:hover {
  transform: scale(1.04);
}

/* ─── Premium Hero Section Enhancements ─── */
.hero-tag {
  animation: heroTagPulse 3s ease-in-out infinite;
}
@keyframes heroTagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244,195,0,0); }
  50%       { box-shadow: 0 0 0 8px rgba(244,195,0,0.08); }
}

/* ─── Underline Bar Expand Animation ─── */
.underline-bar {
  width: 0;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.section-header.animated .underline-bar,
.section-header.visible .underline-bar,
.section-header .underline-bar {
  width: 64px;
}

/* ─── Footer Animate Classes ─── */
.footer-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.footer-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mouse Follow Glow (applied via JS) ─── */
.mouse-glow {
  pointer-events: none;
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,195,0,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ─── Lightbox Animation ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.lightbox.open {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  pointer-events: all;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.9);
  opacity: 0;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease;
}
.lightbox.open img {
  transform: scale(1);
  opacity: 1;
}
.lightbox-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 10001; /* Ensure visible above image */
}
.lightbox-close:hover {
  background: rgba(244,195,0,0.2);
  border-color: rgba(244,195,0,0.6);
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 16px rgba(244,195,0,0.3);
}
.lightbox-close svg { 
  color: #fff;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}
.lightbox-close:hover svg {
  color: var(--gold, #F4C300);
}

/* ─── Mouse-Follow Glow (desktop only) ─── */
.mouse-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,195,0,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  will-change: left, top;
}

/* ─── Scroll Progress Bar ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), #ff8c00, var(--gold));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(244,195,0,0.5);
}

/* ─── Animated Section Dividers ─── */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  max-width: 200px;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-divider.visible {
  transform: scaleX(1);
}

/* ─── Text Shimmer Effect ─── */
.text-shimmer {
  background: linear-gradient(90deg, #fff 0%, var(--gold) 30%, #fff 60%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s ease-in-out infinite;
}
@keyframes textShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

/* ─── Floating Particles ─── */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(244,195,0,0.3);
  pointer-events: none;
  animation: particleFloat 8s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; }
  25%      { transform: translate(15px,-20px) scale(1.2); opacity: 0.6; }
  50%      { transform: translate(-10px,-35px) scale(0.8); opacity: 0.4; }
  75%      { transform: translate(20px,-15px) scale(1.1); opacity: 0.5; }
}

/* ─── Premium Background Blobs ─── */
.blob-animated {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob-animated.blob-gold {
  background: rgba(244,195,0,0.12);
  animation: blobMorph1 12s ease-in-out infinite;
}
.blob-animated.blob-teal {
  background: rgba(0,191,191,0.08);
  animation: blobMorph2 15s ease-in-out infinite;
}
.blob-animated.blob-red {
  background: rgba(200,16,46,0.06);
  animation: blobMorph1 18s ease-in-out infinite reverse;
}
@keyframes blobMorph1 {
  0%, 100% { transform: translate(0,0) scale(1); border-radius: 50%; }
  33%      { transform: translate(30px,-20px) scale(1.1); border-radius: 40% 60% 50% 50%; }
  66%      { transform: translate(-20px,15px) scale(0.9); border-radius: 55% 45% 60% 40%; }
}
@keyframes blobMorph2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-25px,20px) scale(1.15); }
}

/* ─── Card Tilt 3D Effect ─── */
.card-tilt {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

/* ─── Reduced Motion Compliance ─── */
@media (prefers-reduced-motion: reduce) {
  .blob, .blob-gold, .blob-teal, .blob-red,
  .blob-animated, .particle, .btn-glow-gold::before,
  .scroll-progress, .hero-tag,
  .text-shimmer, .whatsapp-fab, .mouse-glow {
    animation: none !important;
  }
  .whatsapp-fab { transform: none !important; }
  .mouse-glow { display: none !important; }
}
