/* ==========================================================================
   OSCAR GARCÍA — PURE GSAP SCROLLTRIGGER + 21ST.DEV MICRO-INTERACTIONS
   100% Original Layout, Texts, Image Positions, and Fonts Preserved
   ========================================================================== */

/* 1. Subtle 2px Top Scroll Progress Line */
#oscar-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}

#oscar-scroll-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: 0% 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, #ff6705 0%, #ff8a00 65%, #ffb347 100%);
  box-shadow: 0 0 10px rgba(255, 138, 0, 0.65);
}

/* 2. 21st.dev Spotlight Glow on Existing Cards (Zero Layout/Position Shift) */
.oscar-spotlight-card {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.oscar-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 138, 0, 0.11),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.oscar-spotlight-card:hover::before {
  opacity: 1;
}

.oscar-spotlight-card:hover {
  border-color: rgba(255, 138, 0, 0.55) !important;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.65), 0 0 18px rgba(255, 138, 0, 0.08);
}

.oscar-spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* 3. 21st.dev Shimmer Sweep on Existing Primary Buttons (.btn-ember) */
.btn-ember {
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, background-color 0.3s ease !important;
}

.btn-ember::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: oscarBtnShimmer 5s infinite ease-in-out;
  pointer-events: none;
}

.btn-ember:hover {
  box-shadow: 0 0 24px rgba(255, 138, 0, 0.42);
}

@keyframes oscarBtnShimmer {
  0%, 70% {
    left: -130%;
  }
  100% {
    left: 160%;
  }
}

.btn-ghost {
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.btn-ghost:hover {
  border-color: rgba(255, 138, 0, 0.55) !important;
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.12);
}

/* 4. Active Scroll Highlight on Existing O·S·C·A·R Letters & Timeline Dots (Zero Shift) */
.oscar-letter-active {
  color: #ff8a00 !important;
  text-shadow: 0 0 22px rgba(255, 138, 0, 0.35);
}

.oscar-dot-active {
  box-shadow: 0 0 0 4px #26262a, 0 0 14px 2px rgba(255, 138, 0, 0.8) !important;
}
