/* ============================================
   GSAP Animations Collection — Page Styles
   ============================================ */

/* --- Hero --- */
.ga-hero {
  background: var(--gs-darker);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.ga-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -25%;
  width: 150%; height: 150%;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,255,102,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0,204,136,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Category Navigation --- */
/* --- Category Card Grid --- */
.ga-cat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.ga-cat-card:hover, .ga-cat-card.active {
  border-color: rgba(0,255,102,0.35);
  background: rgba(0,255,102,0.05);
  transform: translateY(-3px);
}
.ga-cat-card.active {
  border-color: var(--gs-primary);
  box-shadow: 0 0 15px rgba(0,255,102,0.1);
}
.ga-cat-card-icon {
  font-size: 1.5rem; color: var(--gs-primary); line-height: 1;
}
.ga-cat-card-label {
  font-size: 0.85rem; color: #fff;
}
.ga-cat-card-desc {
  font-size: 0.7rem; color: rgba(255,255,255,0.4);
  line-height: 1.35; margin-bottom: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ga-cat-card-count {
  font-size: 0.65rem; color: var(--gs-primary); opacity: 0.6;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}

/* --- Effect Indicator --- */
.ga-effect-indicator {
  position: sticky;
  top: var(--nav-height, 60px);
  z-index: 40;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 0.4rem 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.ga-effect-indicator.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Demo Card --- */
.ga-demo-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}
.ga-demo-card:hover {
  border-color: rgba(0,255,102,0.15);
}

/* Preview area */
.ga-preview {
  background: var(--gs-darker);
  min-height: 240px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

/* Effect number badge */
.ga-effect-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.15);
  pointer-events: none;
}

/* Replay button */
.replay-btn {
  position: absolute; bottom: 12px; right: 12px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,255,102,0.15); border: 2px solid rgba(0,255,102,0.3);
  color: var(--gs-primary); font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.25s ease;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 0;
}
.replay-btn:hover {
  background: var(--gs-primary); color: var(--gs-dark);
  border-color: var(--gs-primary);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,255,102,0.3);
}
.replay-btn:active { transform: scale(0.95); }
.replay-btn i { margin-left: 2px; }

/* Footer area */
.ga-demo-footer {
  background: rgba(0,0,0,0.2);
}

/* Plugin badges */
.ga-plugin-badge {
  background: rgba(0,255,102,0.08) !important;
  color: var(--gs-primary) !important;
  font-weight: 500;
  font-size: 0.7rem;
  border: 1px solid rgba(0,255,102,0.12);
}

/* Code blocks */
.ga-demo-card pre { background: transparent; margin: 0; }
.ga-demo-card pre code {
  background: transparent;
  font-size: 0.78rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

/* --- COMMON PREVIEW ELEMENTS --- */

/* Text element (used by many effects) */
.ga-text { user-select: none; line-height: 1.2; }
.ga-gradient-text {
  background: linear-gradient(90deg, var(--gs-primary), var(--gs-secondary), var(--gs-primary));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ga-cursor {
  display: inline-block;
  animation: ga-blink 0.6s step-end infinite;
  color: var(--gs-primary);
}
@keyframes ga-blink { 50% { opacity: 0; } }

/* Glitch text */
.ga-glitch { position: relative; }
.ga-glitch::before, .ga-glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; opacity: 0;
}
.ga-glitch::before { color: var(--gs-primary); z-index: -1; }
.ga-glitch::after { color: var(--gs-secondary); z-index: -2; }
.ga-glitch.glitching::before { opacity: 0.8; animation: ga-g1 0.3s linear 3; }
.ga-glitch.glitching::after { opacity: 0.8; animation: ga-g2 0.3s linear 3; }
@keyframes ga-g1 {
  0%{clip-path:inset(20% 0 60% 0);transform:translate(-3px,2px)}
  25%{clip-path:inset(60% 0 10% 0);transform:translate(3px,-1px)}
  50%{clip-path:inset(30% 0 40% 0);transform:translate(-2px,1px)}
  75%{clip-path:inset(70% 0 5% 0);transform:translate(2px,-2px)}
  100%{clip-path:inset(10% 0 70% 0);transform:translate(0,0)}
}
@keyframes ga-g2 {
  0%{clip-path:inset(50% 0 20% 0);transform:translate(3px,-2px)}
  25%{clip-path:inset(10% 0 60% 0);transform:translate(-3px,1px)}
  50%{clip-path:inset(40% 0 30% 0);transform:translate(2px,-1px)}
  75%{clip-path:inset(5% 0 70% 0);transform:translate(-2px,2px)}
  100%{clip-path:inset(70% 0 10% 0);transform:translate(0,0)}
}

/* --- SCROLL EFFECTS --- */
.ga-box { width: 60px; height: 60px; background: var(--gs-primary); opacity: 0.7; }
.ga-parallax-scene { position: relative; width: 200px; height: 150px; }
.ga-parallax-layer {
  position: absolute; font-size: 2rem;
  color: var(--gs-primary);
}
.ga-pl-back { top: 10%; left: 20%; opacity: 0.2; font-size: 4rem; }
.ga-pl-mid { top: 40%; left: 50%; opacity: 0.5; font-size: 3rem; }
.ga-pl-front { top: 65%; left: 30%; opacity: 0.9; font-size: 2rem; }

.ga-hscroll-track { display: flex; gap: 1rem; width: max-content; }
.ga-hscroll-item {
  width: 120px; height: 80px;
  background: rgba(0,255,102,0.1);
  border: 1px solid rgba(0,255,102,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-primary); font-weight: 600; font-size: 0.85rem;
}

.ga-scrub-ring {
  width: 80px; height: 80px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--gs-primary);
  border-radius: 50%;
}

.ga-grid-3x3 {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  width: 180px; margin: 0 auto;
}
.ga-grid-cell {
  aspect-ratio: 1; border-radius: 6px;
  background: rgba(0,255,102,0.15);
  border: 1px solid rgba(0,255,102,0.2);
}

.ga-skew-bar {
  height: 24px;
  background: linear-gradient(90deg, var(--gs-primary), var(--gs-secondary));
  opacity: 0.6;
}

.ga-zoom-layers { position: relative; width: 160px; height: 160px; }
.ga-zoom-layer {
  position: absolute; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: rgba(255,255,255,0.3);
}
.ga-zl-1 { inset: 0; background: rgba(0,255,102,0.05); border: 1px solid rgba(0,255,102,0.1); font-size: 3rem; }
.ga-zl-2 { inset: 20px; background: rgba(0,255,102,0.1); border: 1px solid rgba(0,255,102,0.15); font-size: 2rem; }
.ga-zl-3 { inset: 40px; background: rgba(0,255,102,0.15); border: 1px solid rgba(0,255,102,0.2); font-size: 1.5rem; }

/* Tilt card */
.ga-tilt-card {
  width: 200px; height: 140px; position: relative;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: crosshair;
}
.ga-tilt-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ga-tl-bg { background: linear-gradient(135deg, rgba(0,255,102,0.1), rgba(0,204,136,0.05)); }

/* --- CARDS & COMPONENTS --- */
.ga-hover-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* 3D Card Flip */
.ga-flip-container { width: 180px; height: 120px; cursor: pointer; }
.ga-flip-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.6s;
}
.ga-flip-front, .ga-flip-back {
  position: absolute; inset: 0; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
}
.ga-flip-front { background: rgba(255,255,255,0.05); }
.ga-flip-back { background: rgba(0,255,102,0.08); transform: rotateY(180deg); }

/* Expand card */
.ga-expand-grid { display: flex; gap: 8px; flex-wrap: wrap; padding: 0.5rem; }
.ga-expand-card {
  flex: 1; min-width: 80px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.3s;
}
.ga-expand-card.expanded {
  flex: 1 0 100%;
  background: rgba(0,255,102,0.08);
  border-color: rgba(0,255,102,0.2);
}

/* Stacked cards */
.ga-card-stack { position: relative; width: 120px; height: 140px; cursor: pointer; }
.ga-stack-card {
  position: absolute; width: 100px; height: 120px;
  background: var(--gs-primary); border-radius: 8px;
  opacity: 0.8;
}

/* Slide cards */
.ga-slide-card {
  height: 32px;
  background: rgba(0,255,102,0.12);
  border: 1px solid rgba(0,255,102,0.18);
}

/* BG shift card */
.ga-bg-shift-card {
  background: linear-gradient(135deg, rgba(0,255,102,0.15) 0%, rgba(0,204,136,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  background-size: 200% 200%;
  cursor: pointer;
}

/* Filter grid */
.ga-filter-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ga-filter-item {
  width: 40px; height: 40px; border-radius: 6px;
  background: rgba(0,255,102,0.15);
  border: 1px solid rgba(0,255,102,0.2);
}
.ga-filter-item[data-cat="b"] {
  background: rgba(0,204,136,0.15);
  border-color: rgba(0,204,136,0.25);
}
.ga-filter-btn.active {
  background: var(--gs-primary) !important;
  border-color: var(--gs-primary) !important;
  color: var(--gs-dark) !important;
}

/* Shared element */
.ga-shared-grid { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ga-shared-thumb {
  width: 50px; height: 50px; border-radius: 8px;
  background: rgba(0,255,102,0.2);
  border: 1px solid rgba(0,255,102,0.3);
  cursor: pointer; transition: all 0.3s;
}
.ga-shared-thumb.active { background: var(--gs-primary); }

/* Accordion */
.ga-accordion { width: 100%; }
.ga-acc-item { border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.ga-acc-header {
  padding: 0.75rem 0; color: white; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; font-size: 0.9rem;
}
.ga-acc-body {
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
  padding-bottom: 0.75rem; display: none;
}
.ga-acc-item.active .ga-acc-body { display: block; }
.ga-acc-item.active .ga-acc-header i { transform: rotate(180deg); }

/* --- IMAGE & GALLERY --- */
.ga-clip-img {
  width: 200px; height: 140px;
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-secondary));
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.ga-parallax-img-wrap {
  width: 200px; height: 140px; overflow: hidden;
}
.ga-parallax-img {
  width: 100%; height: 130%;
  background: linear-gradient(135deg, rgba(0,255,102,0.3), rgba(0,204,136,0.15));
}

/* Before/After */
.ga-ba-container {
  position: relative; width: 240px; height: 140px; overflow: hidden;
  cursor: ew-resize;
}
.ga-ba-before, .ga-ba-after {
  position: absolute; inset: 0;
}
.ga-ba-before { background: linear-gradient(135deg, #333, #555); z-index: 1; }
.ga-ba-after { background: linear-gradient(135deg, var(--gs-primary), var(--gs-secondary)); }
.ga-ba-handle {
  position: absolute; top: 0; left: 50%; width: 2px; height: 100%;
  z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translateX(-50%);
}
.ga-ba-line { flex: 1; width: 2px; background: white; }
.ga-ba-grip {
  width: 30px; height: 30px; border-radius: 50%;
  background: white; color: var(--gs-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}

/* Grayscale */
.ga-grayscale-img {
  width: 200px; height: 140px;
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-secondary));
  filter: grayscale(100%);
}

/* Masonry */
.ga-masonry { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 220px; margin: 0 auto; }
.ga-masonry-item {
  width: 65px; height: 50px; border-radius: 6px;
  background: rgba(0,255,102,0.15);
  border: 1px solid rgba(0,255,102,0.2);
}
.ga-mi-tall { height: 80px; }

/* Tilt image */
.ga-tilt-img {
  width: 180px; height: 130px; cursor: crosshair;
}
.ga-tilt-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,255,102,0.2), rgba(0,204,136,0.1));
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.1s;
}

/* --- HOVER & INTERACTIONS --- */
.ga-magnetic-btn { transition: none; }
.ga-underline-link { position: relative; display: inline-block; }
.ga-underline-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px; background: var(--gs-primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s;
}
.ga-underline-link:hover::after { transform: scaleX(1); transform-origin: left; }

.ga-border-draw {
  position: relative; cursor: pointer;
  border: 1px solid transparent;
}
.ga-border-svg {
  position: absolute; inset: -1px;
  width: calc(100% + 2px); height: calc(100% + 2px);
  pointer-events: none;
}
.ga-border-svg rect {
  width: calc(100% - 2px); height: calc(100% - 2px);
  fill: none; stroke: var(--gs-primary); stroke-width: 2;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  transition: stroke-dashoffset 0.6s;
}
.ga-border-draw:hover .ga-border-svg rect { stroke-dashoffset: 0; }

.ga-ripple-btn { cursor: pointer; }
.ga-ripple-btn .ga-ripple {
  position: absolute; border-radius: 50%;
  background: rgba(0,255,102,0.3);
  pointer-events: none;
  transform: scale(0);
}

/* Icon morph */
.ga-icon-morph { cursor: pointer; }
.ga-icon-morph line {
  stroke: var(--gs-primary); stroke-width: 3;
  stroke-linecap: round;
  transition: all 0.3s;
}

/* Shimmer */
.ga-shimmer-btn::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: none;
}

/* Elastic */
.ga-elastic-el {
  background: var(--gs-primary);
  cursor: grab; user-select: none;
}
.ga-elastic-el:active { cursor: grabbing; }

/* Scratch off */
.ga-scratch-container {
  position: relative; width: 200px; height: 100px;
  background: rgba(0,0,0,0.3); overflow: hidden;
}
.ga-scratch-overlay {
  position: absolute; inset: 0; z-index: 2;
  cursor: crosshair;
}
.ga-scratch-reveal {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
}

/* Card deck */
.ga-deck { position: relative; width: 160px; height: 100px; }
.ga-deck-card {
  position: absolute; width: 140px; height: 80px;
  border-radius: 8px; background: var(--c);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gs-dark); cursor: grab;
  left: 10px; top: 10px;
}

/* 3D Cube */
.ga-cube-scene { width: 120px; height: 120px; margin: 0 auto; cursor: grab; }
.ga-cube {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-20deg) rotateY(-30deg);
}
.ga-cube-face {
  position: absolute; width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: white;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,255,102,0.1);
  backface-visibility: visible;
}
.ga-cf-front  { transform: translateZ(60px); }
.ga-cf-back   { transform: rotateY(180deg) translateZ(60px); }
.ga-cf-left   { transform: rotateY(-90deg) translateZ(60px); }
.ga-cf-right  { transform: rotateY(90deg) translateZ(60px); }
.ga-cf-top    { transform: rotateX(90deg) translateZ(60px); }
.ga-cf-bottom { transform: rotateX(-90deg) translateZ(60px); }

/* Wheel */
.ga-wheel { cursor: grab; }

/* --- SVG & MORPHING --- */
.ga-morph-svg, .ga-blob-svg, .ga-face-svg, .ga-animal-svg { cursor: pointer; }

.ga-floating-scene { position: relative; width: 220px; height: 160px; }
.ga-float-shape {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(0,255,102,0.3);
}
.ga-fs-circle { width: 30px; height: 30px; top: 15%; left: 20%; }
.ga-fs-diamond { width: 20px; height: 20px; top: 50%; left: 60%; transform: rotate(45deg); border-radius: 2px; }
.ga-fs-triangle { width: 0; height: 0; top: 70%; left: 25%;
  border: none; border-left: 12px solid transparent;
  border-right: 12px solid transparent; border-bottom: 20px solid rgba(0,255,102,0.3);
}
.ga-fs-ring { width: 40px; height: 40px; top: 20%; left: 70%; background: transparent; }

.ga-liquid-btn-wrap {
  position: relative; display: inline-block; cursor: pointer;
}
.ga-liquid-btn-svg { width: 200px; height: 60px; }
.ga-liquid-btn-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}

.ga-gooey-nav {
  display: flex; gap: 1.5rem; position: relative;
  padding: 0.5rem; align-items: center;
}
.ga-gooey-link {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  transition: color 0.25s; position: relative; z-index: 1;
}
.ga-gooey-link.active, .ga-gooey-link:hover { color: var(--gs-dark); }
.ga-gooey-blob {
  position: absolute; height: 32px; border-radius: 16px;
  background: var(--gs-primary);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 0;
}

/* --- LINE DRAWING --- */
.ga-blueprint, .ga-constellation, .ga-signature,
.ga-circuit, .ga-infographic { display: block; margin: 0 auto; }

/* --- MOTION PATHS --- */
.ga-orbit-svg, .ga-conveyor-svg, .ga-journey-svg,
.ga-coaster-svg { display: block; margin: 0 auto; }

/* DNA */
.ga-dna-container {
  position: relative; width: 80px; height: 180px;
  margin: 0 auto;
}
.ga-dna-strand {
  position: absolute; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gs-primary);
}

/* --- PHYSICS & PARTICLES --- */
.ga-confetti-area { position: relative; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.ga-confetti-piece {
  position: absolute; width: 10px; height: 10px;
  pointer-events: none;
}

.ga-gravity-area { position: relative; min-height: 200px; width: 100%; }
.ga-gravity-card {
  width: 60px; height: 40px; border-radius: 6px;
  position: absolute; top: -50px;
}

.ga-repel-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 8px; width: 100%; max-width: 260px; margin: 0 auto;
}
.ga-repel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gs-primary); opacity: 0.4;
  transition: none;
}

.ga-snap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px; width: 160px; margin: 0 auto; position: relative;
}
.ga-snap-zone {
  height: 60px; border-radius: 8px;
  border: 2px dashed rgba(255,255,255,0.1);
}
.ga-snap-ball {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gs-primary); color: var(--gs-dark);
  font-weight: 700; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  cursor: grab; z-index: 2;
}

.ga-popcorn-area { position: relative; height: 120px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.ga-popcorn-kernel {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gs-primary);
}

.ga-jelly-btn { transition: none; cursor: pointer; }

.ga-notification {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex; align-items: center;
}

.ga-wobble-card {
  width: 60px; height: 80px;
  background: rgba(0,255,102,0.12);
  border: 1px solid rgba(0,255,102,0.2);
}

.ga-spring-menu { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ga-spring-item {
  padding: 0.4rem 1.5rem;
  background: rgba(0,255,102,0.1);
  border: 1px solid rgba(0,255,102,0.2);
  color: var(--gs-primary); font-weight: 600; font-size: 0.85rem;
}

.ga-cradle { display: flex; gap: 2px; align-items: flex-start; height: 120px; }
.ga-cradle-ball {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gs-primary);
  transform-origin: center -40px;
  position: relative;
}
.ga-cradle-ball::before {
  content: ''; position: absolute;
  top: -40px; left: 50%; width: 1px; height: 40px;
  background: rgba(255,255,255,0.2); transform: translateX(-50%);
}

/* --- CAROUSELS --- */
.ga-inf-track-wrap { overflow: hidden; width: 100%; }
.ga-inf-track { display: flex; gap: 12px; width: max-content; }
.ga-inf-item {
  width: 60px; height: 60px; border-radius: 8px;
  background: rgba(0,255,102,0.12); border: 1px solid rgba(0,255,102,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-primary); font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}

.ga-coverflow {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; perspective: 600px; height: 100px;
}
.ga-cov-item {
  width: 60px; height: 80px; border-radius: 8px;
  background: rgba(0,255,102,0.1); border: 1px solid rgba(0,255,102,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-primary); font-weight: 700;
  flex-shrink: 0; transition: transform 0.4s, opacity 0.4s;
}
.ga-cov-item.active { background: var(--gs-primary); color: var(--gs-dark); transform: scale(1.2); z-index: 2; }

.ga-drag-carousel-wrap { overflow: hidden; width: 100%; cursor: grab; }
.ga-drag-carousel { display: flex; gap: 10px; width: max-content; }
.ga-drag-slide {
  width: 100px; height: 70px; border-radius: 8px;
  background: rgba(0,255,102,0.1); border: 1px solid rgba(0,255,102,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-primary); font-weight: 600; font-size: 0.8rem;
  flex-shrink: 0;
}

.ga-vstack { position: relative; width: 120px; height: 90px; cursor: pointer; }
.ga-vstack-card {
  position: absolute; width: 100px; height: 70px;
  border-radius: 8px; background: var(--gs-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gs-dark);
}

.ga-par-slider { position: relative; height: 120px; overflow: hidden; border-radius: 12px; }
.ga-par-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
}
.ga-par-slide.active { opacity: 1; }
.ga-par-bg {
  position: absolute; inset: -20px;
  background: linear-gradient(135deg, rgba(0,255,102,0.15), rgba(0,204,136,0.05));
}
.ga-par-fg { position: relative; z-index: 1; }

/* --- LOADERS --- */
.ga-blinds {
  position: absolute; inset: 0; display: flex; z-index: 2;
}
.ga-blind {
  flex: 1; background: var(--gs-dark);
  border-right: 1px solid rgba(255,255,255,0.03);
}
.ga-blinds-content {
  position: relative; z-index: 1;
}

.ga-preload-bar {
  width: 180px; height: 4px; background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden; margin: 0 auto;
}
.ga-preload-fill {
  width: 0%; height: 100%;
  background: var(--gs-primary); border-radius: 2px;
}

.ga-wipe-container {
  position: relative; width: 200px; height: 120px;
  overflow: hidden; border-radius: 12px;
}
.ga-wipe-old, .ga-wipe-new {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ga-wipe-new { z-index: 1; }
.ga-wipe-old { z-index: 2; background: rgba(255,255,255,0.03); }
.ga-wipe-circle {
  position: absolute; z-index: 3;
  width: 0; height: 0; border-radius: 50%;
  background: var(--gs-darker);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.ga-skeleton-demo { margin: 0 auto; }
.ga-skel-line {
  height: 14px; border-radius: 4px; margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  background-image: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 100%);
  background-size: 200% 100%;
  animation: ga-shimmer 1.5s infinite;
}
.ga-skel-title { height: 20px; width: 60%; }
.ga-skel-short { width: 70%; }
@keyframes ga-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- COUNTERS --- */
.ga-counter { font-family: 'JetBrains Mono', monospace; }

.ga-odometer {
  display: flex; gap: 4px; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
}
.ga-odo-digit {
  width: 48px; height: 60px; overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; position: relative;
}
.ga-odo-strip {
  font-size: 2.5rem; font-weight: 700; line-height: 60px;
  text-align: center; color: var(--gs-primary);
}

.ga-progress-ring { position: relative; display: inline-block; }
.ga-ring-text {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 0.9rem;
}

.ga-bar-chart {
  display: flex; align-items: flex-end; gap: 12px;
  height: 120px; justify-content: center;
}
.ga-bar {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; width: 28px; height: 100%;
}
.ga-bar-fill {
  width: 100%; border-radius: 4px 4px 0 0;
  background: var(--gs-primary); height: 0%;
}
.ga-bar-label {
  color: rgba(255,255,255,0.4); font-size: 0.65rem;
  margin-top: 4px;
}

/* --- BACKGROUNDS --- */
.ga-gradient-bg {
  background: linear-gradient(135deg, #1a1a2e, #0a3d2a, #1a1a2e, #0a2d3a);
  background-size: 300% 300%;
  border-radius: 12px;
}

.ga-particle-field {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.ga-particle {
  position: absolute; width: 3px; height: 3px;
  border-radius: 50%; background: var(--gs-primary);
  opacity: 0.3;
}

.ga-spotlight-area {
  position: relative; width: 100%; height: 100%;
  min-height: 200px; cursor: crosshair;
  display: flex; align-items: center; justify-content: center;
}
.ga-spotlight-text {
  color: rgba(255,255,255,0.15); font-weight: 700;
  font-size: 1.2rem; pointer-events: none;
}
.ga-spotlight-light {
  position: absolute; width: 200px; height: 200px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,255,102,0.15), transparent 70%);
  transform: translate(-50%, -50%);
  display: none;
}

/* --- SHOWCASES --- */
.ga-particle-text-area {
  width: 100%; height: 200px; position: relative;
}
.ga-particle-canvas {
  width: 100%; height: 100%;
}

.ga-story-scene { position: relative; width: 100%; text-align: center; }
.ga-story-svg { display: block; margin: 0 auto; }
.ga-story-text {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); white-space: nowrap;
}

.ga-grav-form {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; width: 100%;
}
.ga-grav-input {
  width: 160px; padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
}

/* --- SEO INFO CARDS --- */
/* --- TABLE OF CONTENTS --- */
.ga-toc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.ga-toc-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
}
.ga-toc-list li:last-child { border-bottom: none; }
.ga-toc-list a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.9rem; transition: color 0.2s;
}
.ga-toc-list a:hover { color: var(--gs-primary); }
.ga-toc-count {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  font-variant-numeric: tabular-nums;
}

/* --- REASON CARDS --- */
.ga-reason-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.ga-reason-card:hover {
  border-color: rgba(0,255,102,0.25);
  transform: translateY(-3px);
}
.ga-reason-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,255,102,0.08); color: var(--gs-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

/* --- TECHNIQUE CARDS --- */
.ga-technique-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.ga-technique-card:hover {
  border-color: rgba(0,255,102,0.2);
  transform: translateY(-2px);
}
.ga-technique-num {
  display: block; font-size: 2rem; font-weight: 800;
  color: rgba(0,255,102,0.12); line-height: 1; margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

/* --- CALLOUT --- */
.ga-callout {
  background: rgba(0,255,102,0.04);
  border: 1px solid rgba(0,255,102,0.12);
}

/* --- TIP ITEMS --- */
.ga-tip-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ga-tip-item:last-child { border-bottom: none; padding-bottom: 0; }

/* --- USE CASE CARDS --- */
.ga-usecase-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.ga-usecase-card:hover {
  border-color: rgba(0,255,102,0.2);
  transform: translateY(-3px);
}

/* --- STEP CARDS --- */
.ga-step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}
.ga-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,255,102,0.1); color: var(--gs-primary);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem;
}

/* --- GENERATOR PROMO --- */
.ga-generator-promo {
  background: rgba(0,255,102,0.03);
  border: 1px solid rgba(0,255,102,0.1);
}
.ga-generator-glow {
  position: absolute; top: -40%; right: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,255,102,0.08), transparent 70%);
  border-radius: 50%; pointer-events: none; z-index: 1;
}

/* --- CONCLUSION --- */
.ga-conclusion {
  background: rgba(0,255,102,0.04);
  border: 1px solid rgba(0,255,102,0.12);
}

.ga-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.ga-info-card:hover {
  border-color: rgba(0,255,102,0.25);
  transform: translateY(-3px);
}
.ga-info-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,255,102,0.08); color: var(--gs-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

/* --- GUIDE CARDS --- */
.ga-guide-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.ga-guide-card:hover {
  border-color: var(--gs-primary);
  transform: translateY(-4px);
}

/* --- FAQ ACCORDION (reused from text-animations) --- */
.ga-accordion .accordion-item {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ga-accordion .accordion-button {
  background: transparent; color: #fff;
  font-weight: 600; padding: 1.25rem 0; box-shadow: none;
}
.ga-accordion .accordion-button::after { filter: brightness(0) invert(1); }
.ga-accordion .accordion-button:not(.collapsed) {
  color: var(--gs-primary); background: transparent; box-shadow: none;
}
.ga-accordion .accordion-body {
  color: rgba(255,255,255,0.6); padding: 0 0 1.25rem; line-height: 1.7;
}

/* --- Ken Burns Slideshow --- */
.ga-kenburns {
  position: relative; width: 100%; height: 180px; overflow: hidden;
}
.ga-kb-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; opacity: 0;
}
.ga-kb-1 { background: linear-gradient(135deg, rgba(0,255,102,0.3), rgba(0,204,136,0.15)); }
.ga-kb-2 { background: linear-gradient(225deg, rgba(0,204,136,0.25), rgba(0,255,102,0.1)); }
.ga-kb-3 { background: linear-gradient(45deg, rgba(0,255,102,0.2), rgba(0,204,136,0.25)); }

/* --- Curtain Reveal --- */
.ga-curtain-container {
  position: relative; width: 100%; height: 180px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ga-curtain {
  position: absolute; top: 0; width: 50%; height: 100%;
  background: var(--gs-primary); z-index: 2;
}
.ga-curtain-left { left: 0; }
.ga-curtain-right { right: 0; }
.ga-curtain-content { position: relative; z-index: 1; }

/* --- Aurora Borealis Waves --- */
.ga-aurora-container {
  position: relative; width: 100%; height: 180px; overflow: hidden;
  background: var(--gs-darker);
}
.ga-aurora-wave {
  position: absolute; bottom: 0; left: -10%; width: 120%; height: 60%;
  border-radius: 50% 50% 0 0; opacity: 0.2;
}
.ga-aurora-1 { background: linear-gradient(180deg, rgba(0,255,102,0.4), transparent); bottom: 10%; }
.ga-aurora-2 { background: linear-gradient(180deg, rgba(0,204,136,0.3), transparent); bottom: 20%; }
.ga-aurora-3 { background: linear-gradient(180deg, rgba(0,255,102,0.2), transparent); bottom: 5%; }

/* --- Timeline Scroll Experience --- */
.ga-timeline-exp {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; padding: 1rem 0; min-height: 200px;
}
.ga-tl-line {
  position: absolute; left: 50%; top: 0; width: 2px; height: 100%;
  background: var(--gs-primary); transform: translateX(-50%); opacity: 0.4;
}
.ga-tl-milestone {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
}
.ga-tl-milestone::after {
  content: attr(data-label); color: rgba(255,255,255,0.6);
  font-size: 0.85rem; font-weight: 600;
}
.ga-tl-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gs-primary); border: 3px solid var(--gs-darker);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .ga-effect-indicator { top: var(--nav-height, 56px); }
}
@media (max-width: 768px) {
  .ga-hero { padding: 8rem 0 4rem; }
  .ga-preview { min-height: 200px; }
  .ga-cat-card { padding: 0.65rem !important; }
  .ga-cat-card-icon { font-size: 1.25rem; }
  .ga-cat-card-desc { -webkit-line-clamp: 1; }
}
