/* Stratiums Youth Tech Initiative - Jacmel Styling */

:root {
  --brand-orange: #e2541c;
  --brand-dark: #111827;
  --brand-neutral: #f4f1ed;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse badge */
@keyframes yti-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.03); }
}
.animate-yti-pulse {
  animation: yti-pulse 3s infinite ease-in-out;
}

/* Slide 1 Ken Burns Animation: Slow zoom into students & lab */
@keyframes kenburns-1 {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, -1%); }
  100% { transform: scale(1.03) translate(1%, 0.5%); }
}
.animate-kenburns-1 {
  animation: kenburns-1 18s ease-in-out infinite alternate;
  will-change: transform;
}

/* Slide 2 Ken Burns Animation: Biomorphic rhythmic pan across bionics & voice rover */
@keyframes kenburns-2 {
  0% { transform: scale(1.02) translate(1%, -1%); }
  50% { transform: scale(1.09) translate(-1.2%, 1%); }
  100% { transform: scale(1) translate(0, 0); }
}
.animate-kenburns-2 {
  animation: kenburns-2 20s ease-in-out infinite alternate;
  will-change: transform;
}

/* Slide 3 Ken Burns Animation: High-tech cybernetic zoom on Nexbit AI & championship podium */
@keyframes kenburns-3 {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(1.5%, -1%); }
  100% { transform: scale(1.04) translate(-1%, 0.8%); }
}
.animate-kenburns-3 {
  animation: kenburns-3 18s ease-in-out infinite alternate;
  will-change: transform;
}

/* Fallback general Ken Burns */
.animate-kenburns {
  animation: kenburns-1 20s ease-in-out infinite alternate;
  will-change: transform;
}

/* Slide auto-loop progress bar animation (5s linear) */
@keyframes slide-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}
.animate-slide-progress {
  animation: slide-progress 5s linear infinite;
}

/* Animated realistic glass sheen sweep */
@keyframes glass-sheen-sweep {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  15% {
    opacity: 0.45;
  }
  35% {
    transform: translateX(180%) skewX(-25deg);
    opacity: 0.45;
  }
  42%, 100% {
    transform: translateX(180%) skewX(-25deg);
    opacity: 0;
  }
}

.animate-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 35%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.02) 65%,
    transparent 100%
  );
  animation: glass-sheen-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

/* Full frame glass surface overlay */
.hero-glass-cover {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 35% 25%,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(0, 0, 0, 0.35) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Glassmorphic card container */
.glass-panel {
  background: rgba(10, 15, 29, 0.62);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px 0 rgba(0, 0, 0, 0.25);
}

/* Glass chips & pills */
.glass-pill {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 8px 24px -4px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.22);
}

/* Flashing beacon light signal */
@keyframes flash-beacon {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(253, 224, 71, 1)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.9));
    transform: scale(1.1);
  }
  50% {
    opacity: 0.35;
    filter: drop-shadow(0 0 2px rgba(253, 224, 71, 0.3));
    transform: scale(0.9);
  }
}
.animate-flash-beacon {
  animation: flash-beacon 1.2s ease-in-out infinite;
}

/* Banner flashing light beam sweep */
@keyframes banner-light-sweep {
  0% {
    transform: translateX(-160%) skewX(-20deg);
    opacity: 0;
  }
  15% {
    opacity: 0.6;
  }
  35% {
    transform: translateX(180%) skewX(-20deg);
    opacity: 0.6;
  }
  40%, 100% {
    transform: translateX(180%) skewX(-20deg);
    opacity: 0;
  }
}
.banner-light-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 65%,
    transparent 100%
  );
  animation: banner-light-sweep 4s ease-in-out infinite;
  pointer-events: none;
}



/* ==========================================================================
   Wall of Gratitude & Sponsor Marquee Animations
   ========================================================================== */

@keyframes marquee-scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-scroll-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: marquee-scroll-left 45s linear infinite;
  will-change: transform;
}

.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: marquee-scroll-right 45s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.marquee-container:hover .animate-marquee-left,
.marquee-container:hover .animate-marquee-right {
  animation-play-state: paused;
}

/* Fade mask for edges on smooth viewport */
.marquee-fade-mask {
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

/* Card shimmer on hover */
.gratitude-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gratitude-card:hover {
  transform: translateY(-4px) scale(1.015);
}

/* Golden radiant pulse for title / founder tier */
@keyframes gratitude-gold-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(253, 224, 71, 0.45);
    border-color: rgba(253, 224, 71, 0.8);
  }
}
.glow-gratitude-gold {
  animation: gratitude-gold-pulse 3.5s ease-in-out infinite;
}

/* Subtle particle float */
@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-12px) scale(1.08); opacity: 0.6; }
}
.animate-particle-float {
  animation: particle-float 6s ease-in-out infinite;
}
