/* ==========================================================================
   YOUTH 360° LAUNCHPAD — JITTER-INSPIRED ANIMATION & MOTION SYSTEM
   ========================================================================== */

:root {
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-snappy: cubic-bezier(0.2, 0.9, 0.3, 1.1);
  --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --glow-coral: rgba(255, 77, 26, 0.35);
  --glow-yellow: rgba(255, 170, 0, 0.35);
  --glow-purple: rgba(124, 58, 237, 0.35);
  --glow-mint: rgba(16, 185, 129, 0.35);
}

/* -------------------------------------------------------------
   0. TOP SCROLL PROGRESS BAR & CANVAS FX
   ------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--yellow), #ff3624, var(--coral));
  z-index: 10000;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(255, 77, 26, 0.6);
  pointer-events: none;
}

.fx-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* -------------------------------------------------------------
   1. BUTTERY SPRING LERP CURSOR & GLOW
   ------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--spring-bounce), height 0.25s var(--spring-bounce), background-color 0.2s ease, transform 0.1s ease-out;
  border: 1.5px solid var(--text-dark);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 26, 0.2) 0%, rgba(255, 170, 0, 0.12) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot.hover-btn {
  width: 28px;
  height: 28px;
  background-color: var(--yellow);
  opacity: 0.85;
}

.cursor-dot.hover-card {
  width: 18px;
  height: 18px;
  background-color: var(--mint);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-glow {
    display: none !important;
  }
}

/* -------------------------------------------------------------
   2. REVEAL & STAGGER KINETIC ENTRANCES (JITTER STYLE)
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--spring-smooth), transform 0.85s var(--spring-smooth);
  will-change: opacity, transform;
}

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

/* Staggered children transitions */
.stagger-parent .stagger-child {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.7s var(--spring-smooth), transform 0.7s var(--spring-bounce);
  will-change: opacity, transform;
}

.stagger-parent.visible .stagger-child {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-child:nth-child(1) { transition-delay: 0.05s; }
.stagger-child:nth-child(2) { transition-delay: 0.12s; }
.stagger-child:nth-child(3) { transition-delay: 0.19s; }
.stagger-child:nth-child(4) { transition-delay: 0.26s; }
.stagger-child:nth-child(5) { transition-delay: 0.33s; }
.stagger-child:nth-child(6) { transition-delay: 0.40s; }
.stagger-child:nth-child(7) { transition-delay: 0.47s; }
.stagger-child:nth-child(8) { transition-delay: 0.54s; }

/* Kinetic Pop Keyframe */
@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
  }
  70% {
    transform: scale(1.06) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* -------------------------------------------------------------
   3. ANNOUNCEMENT & NAV ANIMATIONS
   ------------------------------------------------------------- */
.announcement {
  position: relative;
  overflow: hidden;
}

.ann-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); color: #fff3c4; }
}

.ann-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ann-link b {
  display: inline-block;
  transition: transform 0.25s var(--spring-bounce);
}

.ann-link:hover b {
  transform: translate(3px, -3px);
}

.nav {
  position: sticky;
  top: 0;
  background: rgba(246, 243, 237, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.nav.scrolled {
  height: 75px;
  border-bottom-color: rgba(30, 40, 38, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.brand {
  position: relative;
  transition: transform 0.25s var(--spring-bounce);
}

.brand:hover {
  transform: scale(1.03);
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(255, 77, 26, 0.35));
  transition: transform 0.4s var(--spring-bounce), filter 0.4s ease;
}

.brand:hover .brand-logo-img {
  transform: rotate(12deg) scale(1.12);
  filter: drop-shadow(0 4px 16px rgba(255, 77, 26, 0.55));
}

.brand-icon i {
  transition: transform 0.4s var(--spring-bounce);
}

.brand:hover .brand-icon i {
  transform: rotate(15deg) scale(1.12);
}

.navlinks a {
  position: relative;
  padding: 6px 0;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--spring-smooth);
}

.navlinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* -------------------------------------------------------------
   4. HERO SECTION ANIMATION SUITE
   ------------------------------------------------------------- */
.eyebrow-pill {
  animation: float-soft 3.5s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--spring-bounce);
}

.eyebrow-pill:hover {
  transform: scale(1.05) rotate(-1deg);
  background-color: #ffffff;
}

.hero-title {
  position: relative;
}

.hero-title .text-coral {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #ff3624 0%, var(--coral) 50%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-gradient-shift 6s ease infinite alternate;
}

@keyframes title-gradient-shift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(20deg); }
}

.hero-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.handwriting {
  display: inline-block;
  animation: hand-wobble 4s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes hand-wobble {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(1deg) scale(1.04); }
}

/* SVG Arrow Path Draw Animation */
.curved-arrow {
  width: 70px;
  height: 30px;
  color: var(--purple);
  overflow: visible;
}

.curved-arrow path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: draw-arrow 1.6s var(--spring-smooth) forwards;
  animation-delay: 0.4s;
}

@keyframes draw-arrow {
  to {
    stroke-dashoffset: 0;
  }
}

/* 3D Action Cards with Light Glare Sheen */
.action-card {
  perspective: 800px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s var(--spring-smooth);
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.action-card:hover::before {
  left: 140%;
}

.card-arrow {
  transition: transform 0.3s var(--spring-bounce), background-color 0.2s ease;
}

.action-card:hover .card-arrow {
  transform: translate(3px, -3px) rotate(45deg);
  background-color: var(--coral);
}

/* Hero Art Container & Levitation Physics */
.hero-art {
  animation: art-levitate 6s ease-in-out infinite;
  will-change: transform;
}

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

.portrait-card {
  animation: portrait-float 5s ease-in-out infinite;
}

@keyframes portrait-float {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}

.portrait-card:hover {
  transform: rotate(0deg) scale(1.03) !important;
}

/* Orbits with dashed path rotation */
.orbit-one {
  animation: spin-clockwise 28s linear infinite;
}

.orbit-two {
  animation: spin-counter 20s linear infinite;
}

@keyframes spin-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spin-counter {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Floating Sparks with Jitter pop & physics */
.spark-one {
  animation: spark-float-1 3.2s ease-in-out infinite;
}
.spark-two {
  animation: spark-float-2 4s ease-in-out infinite;
}
.spark-three {
  animation: spark-float-3 3.6s ease-in-out infinite;
}

@keyframes spark-float-1 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-12px) rotate(20deg) scale(1.2); }
}
@keyframes spark-float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(10px) rotate(-25deg) scale(1.25); }
}
@keyframes spark-float-3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.3) rotate(15deg); }
}

.art-sticker {
  transition: transform 0.3s var(--spring-bounce);
}

.art-sticker:hover {
  transform: rotate(15deg) scale(1.15) !important;
}

/* -------------------------------------------------------------
   5. QUICK BADGES BAR & LIVE STATUS
   ------------------------------------------------------------- */
.badges-bar {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s var(--spring-smooth);
}

.badges-bar:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px var(--text-dark);
}

.badge-item {
  transition: transform 0.25s var(--spring-bounce);
}

.badge-item:hover {
  transform: scale(1.04);
}

.badge-icon {
  animation: bounce-gentle 3s ease-in-out infinite;
}

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

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
  margin-right: 6px;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* -------------------------------------------------------------
   6. GUIDING MATRIX SECTION WITH INTERACTIVE FILTERING
   ------------------------------------------------------------- */
.matrix-section {
  position: relative;
  padding: 40px 0 80px;
}

.brush-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.brush-highlight::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -4px;
  right: -4px;
  height: 38%;
  background-color: var(--yellow);
  z-index: -1;
  transform: rotate(-1.5deg);
  border-radius: 4px;
  opacity: 0.85;
  transition: transform 0.3s var(--spring-bounce);
}

.brush-highlight:hover::before {
  transform: scaleY(1.5) rotate(1deg);
}

/* Matrix Interactive Tabs */
.matrix-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px auto 25px;
  max-width: 800px;
}

.matrix-tab-btn {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--text-dark);
  transition: all 0.2s var(--spring-bounce);
}

.matrix-tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px var(--text-dark);
  background-color: var(--yellow-soft);
}

.matrix-tab-btn.active {
  background-color: var(--text-dark);
  color: #ffffff;
  box-shadow: 4px 4px 0px var(--coral);
  transform: translateY(-2px);
}

/* Matrix Graph Container & Axis Labels */
.matrix-graph-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto 30px;
}

.axis-y-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.axis-x-label {
  display: block;
  text-align: right;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* Matrix Flow Arrows & Badges */
.matrix-flow-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #ffffff;
  border: 1.5px solid var(--text-dark);
  border-radius: 20px;
  padding: 4px 10px;
  box-shadow: 2px 2px 0px var(--text-dark);
  margin-bottom: 12px;
  margin-right: 8px;
}

.matrix-flow-arrow svg {
  width: 40px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

.matrix-flow-arrow.arrow-vertical svg {
  width: 14px;
  height: 20px;
}

.matrix-flow-arrow.arrow-diagonal svg {
  width: 18px;
  height: 18px;
}

/* Matrix Animated Flow Arrows */
.matrix-flow-arrow svg path {
  stroke-dasharray: 8, 4;
  animation: flow-dash 1.4s linear infinite;
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -24;
  }
}

/* Quadrants Interactive Spotlight */
.quadrant {
  transition: transform 0.35s var(--spring-bounce), box-shadow 0.35s var(--spring-bounce), opacity 0.3s ease, filter 0.3s ease !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quadrant.faded {
  opacity: 0.35 !important;
  filter: grayscale(60%) !important;
  transform: scale(0.97) !important;
}

.quadrant.spotlight {
  transform: translateY(-8px) scale(1.03) !important;
  box-shadow: 12px 12px 0px var(--text-dark) !important;
  z-index: 10;
}

.thrive-badge {
  animation: thrive-bounce 2.5s ease-in-out infinite;
}

@keyframes thrive-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px) scale(1.02); }
}

/* Formula Banner Micro-Animations */
.formula-banner {
  transition: transform 0.3s var(--spring-bounce);
}

.formula-banner:hover {
  transform: translateY(-4px);
}

.formula-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.formula-content span {
  transition: transform 0.25s var(--spring-bounce);
}

.formula-content:hover .f-growth {
  transform: scale(1.12) rotate(-3deg);
}

.formula-content:hover .f-wellness {
  transform: scale(1.12) rotate(3deg);
}

.formula-content:hover .f-result {
  transform: scale(1.15);
  box-shadow: 6px 6px 0px var(--text-dark);
}

/* -------------------------------------------------------------
   7. BOOTCAMP HIGHLIGHTS (3D PERSPECTIVE TILES)
   ------------------------------------------------------------- */
.highlights-grid {
  perspective: 1000px;
}

.highlight-tile {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s var(--spring-smooth);
  position: relative;
}

.highlight-tile .tile-icon {
  display: inline-block;
  font-size: 38px;
  margin-bottom: 16px;
  transition: transform 0.35s var(--spring-bounce);
}

.highlight-tile:hover .tile-icon {
  transform: scale(1.3) rotate(8deg);
}

/* -------------------------------------------------------------
   8. 4 CORE PILLARS WITH DYNAMIC MICRO-ICONS
   ------------------------------------------------------------- */
.track-card {
  perspective: 800px;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.35s var(--spring-bounce), box-shadow 0.35s var(--spring-bounce);
}

.track-card:hover {
  transform: translateY(-12px) rotate(-1.5deg) scale(1.02) !important;
}

.track-card:nth-child(even):hover {
  transform: translateY(-12px) rotate(1.5deg) scale(1.02) !important;
}

/* Microphone Soundwave animation */
.icon-mic-wrap {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.soundwave-bar {
  display: inline-block;
  width: 3px;
  height: 12px;
  background-color: var(--coral);
  border-radius: 2px;
  animation: soundwave-play 1.2s ease-in-out infinite;
}

.soundwave-bar:nth-child(2) { height: 20px; animation-delay: 0.2s; }
.soundwave-bar:nth-child(3) { height: 16px; animation-delay: 0.4s; }
.soundwave-bar:nth-child(4) { height: 24px; animation-delay: 0.1s; }

@keyframes soundwave-play {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.2); }
}

/* -------------------------------------------------------------
   9. INFINITE MARQUEE TICKER (TILTED & SPEEDUP)
   ------------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 16px 0;
  border-top: 3px solid var(--text-dark);
  border-bottom: 3px solid var(--text-dark);
  transform: rotate(-1deg) scale(1.02);
  margin: 40px 0 60px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
  transition: animation-duration 0.3s ease;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding-right: 28px;
}

.marquee-content span:hover {
  color: var(--yellow);
  cursor: default;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------
   10. TIMELINE WITH DYNAMIC SCROLL LINE & HIGHLIGHTS
   ------------------------------------------------------------- */
.timeline-list {
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 108px;
  width: 3px;
  background-color: rgba(30, 40, 38, 0.15);
  z-index: 0;
}

.timeline-line-glow {
  position: absolute;
  top: 10px;
  left: 108px;
  width: 3px;
  height: 0%;
  background: linear-gradient(to bottom, var(--coral), var(--yellow), var(--mint));
  z-index: 1;
  box-shadow: 0 0 8px var(--coral);
  transition: height 0.2s ease-out;
  pointer-events: none;
}

.timeline-item {
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s var(--spring-smooth), background-color 0.2s ease;
  cursor: pointer;
}

.timeline-item:hover {
  transform: translateX(8px);
  box-shadow: 8px 8px 0px var(--text-dark);
  background-color: #ffffff;
}

.timeline-num {
  transition: transform 0.3s var(--spring-bounce), background-color 0.2s ease;
}

.timeline-item:hover .timeline-num {
  transform: scale(1.2) rotate(8deg);
  color: var(--coral);
}

/* Parent Connect Item Steam animation */
.timeline-highlight-parent {
  position: relative;
  border-left: 5px solid var(--yellow) !important;
}

.timeline-highlight-parent:hover {
  background-color: #fff9e6 !important;
}

/* -------------------------------------------------------------
   11. MENTORS SECTION (MAGNETIC TILT & HOVER)
   ------------------------------------------------------------- */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mentor-card {
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s var(--spring-bounce), box-shadow 0.35s var(--spring-bounce);
  background: #ffffff;
  border: 2.5px solid var(--text-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  display: flex;
  flex-direction: column;
}

.mentor-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-paper);
}

.mentor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.4s ease;
}

.mentor-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-pop-hover);
}

.mentor-card:hover .mentor-img-wrap img {
  transform: scale(1.06);
}

.mentor-role-badge {
  animation: badge-wobble 3.5s ease-in-out infinite;
}

@keyframes badge-wobble {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg) scale(1.05); }
}

.mentor-socials a {
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--spring-bounce);
}

.mentor-socials a:hover {
  transform: translateY(-3px);
  background-color: var(--yellow);
  box-shadow: 4px 4px 0px var(--text-dark);
}

/* Guest Mystery Mentor Shimmer */
.mentor-card-placeholder {
  position: relative;
  overflow: hidden;
}

.mentor-card-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(248, 190, 50, 0.2), transparent 60%);
  animation: rotate-radial 8s linear infinite;
  pointer-events: none;
}

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

.placeholder-avatar {
  animation: avatar-bounce 2.2s ease-in-out infinite;
}

@keyframes avatar-bounce {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.15) translateY(-6px); color: var(--yellow); }
}

/* -------------------------------------------------------------
   12. GALLERY SECTION & LIGHTBOX MODAL
   ------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  cursor: pointer;
  position: relative;
  height: 210px;
  border-radius: var(--radius-md);
  border: 2.5px solid var(--text-dark);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--text-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-item::after {
  content: '🔍 Click to view';
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(30, 40, 38, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.25s var(--spring-smooth);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.gallery-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 40, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--spring-smooth);
}

.gallery-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-container {
  background-color: #ffffff;
  border: 4px solid var(--text-dark);
  border-radius: var(--radius-lg);
  box-shadow: 16px 16px 0px var(--text-dark);
  max-width: min(900px, calc(100% - 40px));
  max-height: 88vh;
  position: relative;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--spring-bounce);
  display: flex;
  flex-direction: column;
}

.gallery-modal-backdrop.active .gallery-modal-container {
  transform: scale(1) translateY(0);
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--yellow);
  border: 2px solid var(--text-dark);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 2px 2px 0px var(--text-dark);
  z-index: 10;
  transition: transform 0.2s var(--spring-bounce), background-color 0.2s ease;
}

.gallery-modal-close:hover {
  background-color: var(--coral);
  color: #ffffff;
  transform: scale(1.1) rotate(90deg);
}

.gallery-modal-container img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background-color: #000000;
}

.gallery-modal-caption {
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  background-color: #ffffff;
  border-top: 2px solid var(--text-dark);
}

/* -------------------------------------------------------------
   13. FAQ ACCORDION SPRING TRANSITIONS
   ------------------------------------------------------------- */
.faq-accordion details {
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s var(--spring-bounce);
  position: relative;
}

.faq-accordion details[open] {
  background-color: #ffffff;
  border-color: var(--coral);
  box-shadow: 6px 6px 0px var(--coral);
}

.faq-accordion summary {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-accordion summary b {
  display: inline-block;
  transition: transform 0.35s var(--spring-bounce);
}

.faq-accordion details[open] summary b {
  transform: rotate(45deg) scale(1.2);
  color: var(--coral);
}

.faq-content {
  animation: accordion-slide 0.35s var(--spring-smooth) forwards;
}

@keyframes accordion-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------
   14. REGISTRATION FORM & LIVE SOCIAL PROOF
   ------------------------------------------------------------- */
.live-counter-chip {
  display: inline-flex;
  align-items: center;
  background: var(--yellow-soft);
  border: 2px solid var(--text-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 2px 2px 0px var(--text-dark);
  animation: chip-glow 3s infinite alternate;
}

@keyframes chip-glow {
  0% { box-shadow: 2px 2px 0px var(--text-dark); }
  100% { box-shadow: 2px 2px 8px rgba(248, 190, 50, 0.6); }
}

.register-form {
  transition: transform 0.3s var(--spring-smooth), box-shadow 0.3s var(--spring-smooth);
}

.register-form input, .register-form select {
  transition: all 0.2s ease;
}

.register-form input:focus, .register-form select:focus {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px var(--coral);
}

.submit-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--spring-bounce), box-shadow 0.25s var(--spring-bounce), background-color 0.2s ease;
}

.submit-btn:hover {
  transform: translate(-3px, -3px) scale(1.02);
  box-shadow: 8px 8px 0px var(--text-dark);
}

.submit-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

.submit-btn b {
  display: inline-block;
  transition: transform 0.25s var(--spring-bounce);
}

.submit-btn:hover b {
  transform: translate(3px, -3px);
}

/* Floating Live Social Proof Toast */
.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #ffffff;
  border: 2.5px solid var(--text-dark);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 6px 6px 0px var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9990;
  max-width: 360px;
  transform: translateY(120px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--spring-bounce), opacity 0.4s ease;
}

.social-proof-toast.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.toast-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--coral);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  border: 1.5px solid var(--text-dark);
  flex-shrink: 0;
}

.toast-content p.toast-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.toast-content p.toast-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.toast-close:hover {
  color: var(--coral);
}

/* -------------------------------------------------------------
   15. FLOATING BACK-TO-TOP BUTTON
   ------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--yellow);
  color: var(--text-dark);
  border: 2.5px solid var(--text-dark);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--text-dark);
  display: grid;
  place-items: center;
  z-index: 9990;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  pointer-events: none;
  transition: all 0.3s var(--spring-bounce);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 6px 6px 0px var(--text-dark);
  background-color: var(--coral);
  color: #ffffff;
}

/* -------------------------------------------------------------
   16. RESPONSIVE OPTIMIZATIONS
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .mentors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mentors-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .social-proof-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
