/* ==========================================================================
   Polar Meteoroloji — Antrasit & Gold Motion & Live Graphics
   ========================================================================== */

/* Live ticker */
.live-ticker {
  background: linear-gradient(90deg, #0A0D10, #12161A, #0A0D10);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  height: 32px;
}
.live-ticker__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
  padding-left: 100%;
}
.live-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.85);
  white-space: nowrap;
}
.live-ticker__item strong {
  color: var(--color-gold-light);
  font-weight: 600;
}
.live-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
  animation: pulse 2s ease infinite;
}
@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Hero particles canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

/* Hero scan line */
.hero__scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(212, 175, 55, 0.02) 2px,
    rgba(212, 175, 55, 0.02) 4px
  );
  animation: scanline-move 8s linear infinite;
}
@keyframes scanline-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 120px; }
}

/* Live HUD panel */
.hero-hud {
  position: relative;
  z-index: 2;
}
.hero-hud__shell {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.7), rgba(184, 134, 11, 0.3), rgba(243, 229, 171, 0.6));
  background-size: 200% 200%;
  animation: border-glow 6s ease infinite;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), 0 24px 60px rgba(0, 0, 0, 0.7);
}
@keyframes border-glow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-hud__inner {
  background: rgba(18, 22, 26, 0.88);
  backdrop-filter: blur(16px);
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
}
.hero-hud__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}
.hero-hud__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-gold);
}
.hero-hud__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse 1.5s ease infinite;
}
.hero-hud__body {
  display: grid;
  grid-template-columns: 1fr 130px;
  min-height: 300px;
}
.hero-hud__viz {
  position: relative;
  padding: 1rem;
  border-right: 1px solid rgba(212, 175, 55, 0.15);
}
.hero-hud__video-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.hero-hud__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-hud__chart {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 180px;
}
.hero-hud__chart svg {
  width: 100%;
  height: 100%;
}
.hero-hud__chart-line {
  fill: none;
  stroke: var(--color-gold-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 3s ease forwards infinite;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}
.hero-hud__chart-area {
  fill: url(#chartGradient);
  opacity: 0;
  animation: fade-area 3s ease 0.5s forwards infinite;
}
@keyframes draw-line {
  0% { stroke-dashoffset: 400; }
  40%, 100% { stroke-dashoffset: 0; }
}
@keyframes fade-area {
  0%, 30% { opacity: 0; }
  50%, 100% { opacity: 0.45; }
}
.hero-hud__grid-overlay {
  position: absolute;
  inset: 1rem;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
.hero-hud__radar {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 72px;
  height: 72px;
  z-index: 2;
  opacity: 0.85;
}
.hero-hud__radar-ring {
  fill: none;
  stroke: rgba(212, 175, 55, 0.3);
  stroke-width: 1;
}
.hero-hud__radar-sweep {
  fill: rgba(212, 175, 55, 0.25);
  transform-origin: 36px 36px;
  animation: radar-spin 3s linear infinite;
}
.hero-hud__metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
}
.hero-hud__metric {
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.hero-hud__metric.is-updated {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.12);
}
.hero-hud__metric-label {
  display: block;
  font-size: 0.625rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-hud__metric-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold-light);
  font-variant-numeric: tabular-nums;
}
.hero-hud__metric-value--warn { color: var(--color-warning); }
.hero-hud__metric-value--green { color: var(--color-green); }
.hero-hud__footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  flex-wrap: wrap;
}
.hero-hud__tag {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Stagger reveal */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Solution cards — glow hover */
.solution-card {
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 30%, rgba(212, 175, 55, 0.35) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
  animation: card-shine 4s ease infinite;
}
.solution-card:hover::before { opacity: 1; }
@keyframes card-shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.solution-card > * { position: relative; z-index: 1; }
.solution-card__icon {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.solution-card:hover .solution-card__icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

/* Trust marquee */
.sector-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.sector-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.sector-marquee__track:hover { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.sector-marquee .logo-placeholder {
  min-width: 140px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sector-marquee .logo-placeholder:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-gold);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.2);
}

/* Pipeline flow */
.pipeline__arrow {
  position: relative;
  overflow: visible;
}
.pipeline__flow-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-gold);
  animation: flow-dot 2s ease-in-out infinite;
}
.pipeline__arrow:nth-child(4) .pipeline__flow-dot { animation-delay: 0.2s; }
.pipeline__arrow:nth-child(6) .pipeline__flow-dot { animation-delay: 0.5s; }
.pipeline__arrow:nth-child(8) .pipeline__flow-dot { animation-delay: 0.8s; }
.pipeline__arrow:nth-child(10) .pipeline__flow-dot { animation-delay: 1.1s; }
@keyframes flow-dot {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.pipeline__step {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pipeline.is-animated .pipeline__step {
  animation: step-pulse 4s ease infinite;
}
.pipeline.is-animated .pipeline__step:nth-child(1) { animation-delay: 0s; }
.pipeline.is-animated .pipeline__step:nth-child(3) { animation-delay: 0.5s; }
.pipeline.is-animated .pipeline__step:nth-child(5) { animation-delay: 1s; }
.pipeline.is-animated .pipeline__step:nth-child(7) { animation-delay: 1.5s; }
.pipeline.is-animated .pipeline__step:nth-child(9) { animation-delay: 2s; }
.pipeline.is-animated .pipeline__step:nth-child(11) { animation-delay: 2.5s; }
@keyframes step-pulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25); }
}
.pipeline__step--highlight {
  animation: highlight-glow 3s ease infinite !important;
}
@keyframes highlight-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 24px rgba(212, 175, 55, 0.35); }
}

/* Tech layers animated bars */
.tech-layer {
  position: relative;
  overflow: hidden;
}
.tech-layer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transition: width 1.2s ease;
}
.tech-layers.is-visible .tech-layer::after { width: 100%; }
.tech-layers.is-visible .tech-layer:nth-child(1)::after { transition-delay: 0.1s; }
.tech-layers.is-visible .tech-layer:nth-child(2)::after { transition-delay: 0.3s; }
.tech-layers.is-visible .tech-layer:nth-child(3)::after { transition-delay: 0.5s; }
.tech-layers.is-visible .tech-layer:nth-child(4)::after { transition-delay: 0.7s; }
.tech-layers.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
}
.tech-layers.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* PolarCast enhanced mockup */
.mockup-window {
  animation: mockup-float 5s ease-in-out infinite;
}
@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mockup-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(212, 175, 55, 0.08) 100%);
  pointer-events: none;
  animation: scan-sweep 4s ease-in-out infinite;
}
@keyframes scan-sweep {
  0%, 100% { opacity: 0.3; transform: translateY(-100%); }
  50% { opacity: 1; transform: translateY(100%); }
}
.mockup-map__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  box-shadow: 0 0 12px var(--color-gold);
  animation: map-scan 3s linear infinite;
  z-index: 2;
}
@keyframes map-scan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  margin-top: 0.5rem;
}
.mockup-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: bar-grow 2s ease-in-out infinite alternate;
}
.mockup-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.mockup-bars span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.mockup-bars span:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.mockup-bars span:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.mockup-bars span:nth-child(5) { height: 65%; animation-delay: 0.6s; }
@keyframes bar-grow {
  0% { transform: scaleY(0.6); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Climate animated */
.risk-cell {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.risk-matrix.is-live .risk-cell {
  animation: risk-pulse 3s ease infinite;
}
.risk-matrix.is-live .risk-cell:nth-child(4) { animation-delay: 0.2s; }
.risk-matrix.is-live .risk-cell:nth-child(5) { animation-delay: 0.6s; }
.risk-matrix.is-live .risk-cell:nth-child(6) { animation-delay: 1s; }
@keyframes risk-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2); }
}
.climate-map__pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: map-pulse 2.5s ease infinite;
}
@keyframes map-pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.5); opacity: 0.12; }
}

/* Stats counter glow */
.stat-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.stat-card.is-counted {
  animation: stat-pop 0.6s ease;
}
@keyframes stat-pop {
  0% { transform: scale(0.95); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.stat-card__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

/* Timeline progress */
.timeline {
  --timeline-progress: 0%;
}
.timeline::before {
  background: linear-gradient(
    to bottom,
    var(--color-gold) 0%,
    var(--color-gold) var(--timeline-progress),
    rgba(212, 175, 55, 0.2) var(--timeline-progress),
    rgba(212, 175, 55, 0.2) 100%
  ) !important;
}
.timeline__item.is-active .timeline__num {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
  transform: scale(1.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Section title accent */
.section-header h2 {
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.65rem auto 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-header.is-visible h2::after,
.reveal.is-visible .section-header h2::after {
  transform: scaleX(1);
}

/* Sector cards — gold glow on bg */
.sector-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.2), transparent 50%);
  animation: sector-glow 6s ease infinite alternate;
}
@keyframes sector-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Btn shimmer */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: btn-shimmer 4s ease infinite;
}
@keyframes btn-shimmer {
  0%, 80%, 100% { left: -100%; }
  40% { left: 150%; }
}

/* Data stream section bg */
.tech-flow {
  position: relative;
  overflow: hidden;
}
.tech-flow .container {
  position: relative;
  z-index: 1;
}
.tech-flow__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(212, 175, 55, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(184, 134, 11, 0.12), transparent);
}

.mockup-window { position: relative; }

@media (max-width: 768px) {
  .hero-hud { display: none; }
  .live-ticker { height: 28px; }
  .live-ticker__item { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .live-ticker__track,
  .sector-marquee__track,
  .hero-hud__chart-line,
  .hero-hud__chart-area,
  .pipeline__flow-dot,
  .mockup-window,
  .mockup-map__scan,
  .mockup-bars span,
  .btn--primary::after,
  .hero__scanline,
  .hero-hud__shell {
    animation: none !important;
  }
  .hero-hud__chart-line { stroke-dashoffset: 0; }
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Scroll-Linked Video Animation */
.scroll-video {
  position: relative;
  width: 100%;
  height: 100vh; /* Locked state height */
  overflow: hidden;
  background-color: var(--color-bg, #0A0D10);
  z-index: 10;
}

.scroll-video.is-unlocked {
  height: 1600vh; /* Adjust this for scroll length */
  overflow: visible;
}

.scroll-video__container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2.5fr 7.5fr;
  align-items: center;
  gap: 2rem;
  padding: 0 1.5rem;
}

.scroll-video__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.scroll-video__right {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
}

/* Exaggerated Gold Dashboard Effects */
@keyframes goldPulse {
  0% {
    box-shadow: 
      0 0 0 2px rgba(212, 175, 55, 0.4),
      inset 0 0 20px rgba(212, 175, 55, 0.2),
      0 0 40px rgba(212, 175, 55, 0.5);
  }
  50% {
    box-shadow: 
      0 0 0 3px rgba(212, 175, 55, 0.9),
      inset 0 0 50px rgba(212, 175, 55, 0.6),
      0 0 120px rgba(212, 175, 55, 0.9);
  }
  100% {
    box-shadow: 
      0 0 0 2px rgba(212, 175, 55, 0.4),
      inset 0 0 20px rgba(212, 175, 55, 0.2),
      0 0 40px rgba(212, 175, 55, 0.5);
  }
}

.scroll-video__right .hero-hud__shell {
  position: relative;
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  animation: goldPulse 3.5s infinite ease-in-out;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.scroll-video__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.scroll-video__canvas.is-loaded {
  opacity: 1;
}

.scroll-video__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  pointer-events: none;
}

.scroll-video__content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Scroll-Linked Video Navigation */
.scroll-video__nav {
  position: absolute;
  top: 50%;
  right: 3.5rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 20;
  pointer-events: auto;
}

.scroll-video__chapters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0; /* Remove gap to control spacing strictly by height */
}

.scroll-video__chapters li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: rgba(212, 175, 55, 0.4);
  font-size: 0.55rem; /* Even smaller to guarantee fit */
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: right;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 1rem 0 0.5rem;
  border-radius: 8px;
  height: 12px; /* Very compact height */
}

.scroll-video__chapters li:not(.spacer-dot)::after {
  content: "";
  position: absolute;
  right: 6px; /* Anchor point for centers */
  top: 50%;
  transform: translate(50%, -50%); /* Center perfectly on anchor */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  transition: all 0.5s ease;
}

/* Spacer Dots */
.scroll-video__chapters li.spacer-dot {
  width: 100%;
  padding: 0;
  margin: 0;
  height: 5px; /* Extremely tight spacer */
  display: block;
  pointer-events: none;
}

.scroll-video__chapters li.spacer-dot::after {
  content: "";
  position: absolute;
  right: 6px; /* EXACTLY the same anchor point as main dots */
  top: 50%;
  transform: translate(50%, -50%); /* Center perfectly on anchor */
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  transition: all 0.5s ease;
}

.scroll-video__chapters li.spacer-dot.is-active::after {
  width: 3px; /* Force it to stay 3px! */
  height: 3px;
  background: #FFD700;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.scroll-video__chapters li:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.05);
}

.scroll-video__chapters li:hover::after {
  background: #D4AF37;
}

.scroll-video__chapters li.is-active {
  color: #FFD700;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.scroll-video__chapters li:not(.spacer-dot).is-active::after {
  width: 6px;
  height: 6px;
  background: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

@media (max-width: 768px) {
  .scroll-video.is-unlocked {
    height: 400vh !important;
  }
  .scroll-video__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.5rem;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1rem;
  }
  .scroll-video__left {
    text-align: center;
    align-items: center;
  }
  .scroll-video__right {
    width: 100%;
    height: 100%;
    min-height: 40vh;
    align-items: center; /* Center canvas vertically */
  }
  .scroll-video__right .hero-hud__shell {
    aspect-ratio: 1 / 1 !important; /* Make canvas square on mobile */
    max-height: 50vh;
  }
  .scroll-video__title {
    font-size: 1.5rem;
  }
  .scroll-video__desc {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
  }
  .scroll-video__features {
    text-align: left;
    margin: 0 auto 1rem auto !important;
    width: 100%;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem !important;
  }
  .scroll-video__features li {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .scroll-video__nav {
    /* Mobile nav restore - scaling down to avoid overlap */
    display: flex !important;
    transform: scale(0.65);
    transform-origin: center right;
    right: 0;
    top: 50%;
  }
}

/* ==========================================================================
   SCROLL VIDEO START OVERLAY & HINTS
   ========================================================================== */

.scroll-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(15, 19, 25, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.scroll-video__overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-video__start-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  animation: pulse-gold-soft 2.5s infinite;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}
.scroll-video__start-btn:hover {
  background: var(--color-gold);
  color: #fff;
  transform: scale(1.1);
}
.scroll-video__start-btn svg {
  margin-left: 5px; /* Optik dengeleme ucgen icin */
}

@keyframes pulse-gold-soft {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(212, 175, 55, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.3); }
}

.scroll-video__hints {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease 0.3s;
  pointer-events: none;
}

.scroll-video__hints--up {
  top: 5%;
}
.scroll-video__hints--down {
  bottom: 5%;
}

.scroll-video__hints.is-active {
  opacity: 1;
  visibility: visible;
}

.scroll-hint-arrow {
  width: 24px;
  height: 24px;
  border-right: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
}

.scroll-hint-arrow--down {
  transform: rotate(45deg);
  animation: arrow-bounce-down 2s infinite;
}

.scroll-hint-arrow--up {
  transform: rotate(-135deg);
  animation: arrow-bounce-up 2s infinite;
}

.scroll-hint-text {
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: text-pulse 2s infinite;
}

@keyframes arrow-bounce-down {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
  40% { transform: translateY(-10px) rotate(45deg); }
  60% { transform: translateY(-5px) rotate(45deg); }
}

@keyframes arrow-bounce-up {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-135deg); }
  40% { transform: translateY(10px) rotate(-135deg); }
  60% { transform: translateY(5px) rotate(-135deg); }
}

@keyframes text-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
