/* ==========================================================================
   FORCE FEST 2K26 · Technogenesis
   Timeline - Floating Vertical Roadmap
   ========================================================================== */

.ff-tl {
  position: relative;
  padding: clamp(48px, 8vw, 110px) clamp(16px, 4vw, 60px)
    clamp(60px, 9vw, 130px);
  background: var(--ff-bg, #05070c);
  color: var(--ff-text, #e6f6ff);
  overflow: hidden;
  isolation: isolate;
} /* Ambient background */
.ff-tl::before,
.ff-tl::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}
.ff-tl::before {
  top: 8%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 65%);
}
.ff-tl::after {
  bottom: 4%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(155, 48, 255, 0.16),
    transparent 65%
  );
} /* Subtle circuit grid */
.ff-tl__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 40%,
    transparent 85%
  );
}
.ff-tl__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
} /* Header */
.ff-tl__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.ff-tl__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7fe9ff;
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.08) inset;
}
.ff-tl__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
}
.ff-tl__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
  background: linear-gradient(90deg, #ffffff 0%, #7fe9ff 55%, #b07fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ff-tl__subtitle {
  color: rgba(230, 246, 255, 0.6);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  letter-spacing: 0.04em;
} /* Day marker */
.ff-tl__day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: clamp(30px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
  text-align: center;
}
.ff-tl__day-badge {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #7fe9ff;
  background: rgba(3, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.15);
}
.ff-tl__day-date {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 246, 255, 0.55);
}
.ff-tl__day--purple .ff-tl__day-badge {
  border-color: rgba(155, 48, 255, 0.45);
  color: #d0aaff;
  box-shadow: 0 0 22px rgba(155, 48, 255, 0.18);
} /* Track (the vertical line) */
.ff-tl__track {
  position: relative;
  padding: 20px 0 30px;
}
.ff-tl__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 229, 255, 0.55) 12%,
    rgba(155, 48, 255, 0.55) 88%,
    transparent 100%
  );
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
} /* Tick marks along the line */
.ff-tl__track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 9px;
  transform: translateX(-50%);
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 50%
  );
  background-size: 1px 22px;
  background-repeat: repeat-y;
  opacity: 0.35;
  pointer-events: none;
} /* Row */
.ff-tl__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  margin: clamp(28px, 4vw, 48px) 0;
}
.ff-tl__row + .ff-tl__row {
  margin-top: clamp(20px, 3vw, 36px);
} /* Node */
.ff-tl__node {
  grid-column: 2;
  justify-self: center;
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #05070c;
  border: 1px solid rgba(0, 229, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.08),
    0 0 14px rgba(0, 229, 255, 0.45);
  z-index: 2;
}
.ff-tl__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff;
}
.ff-tl__day--purple ~ .ff-tl__track .ff-tl__node,
.ff-tl--purple .ff-tl__node {
  border-color: rgba(155, 48, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(155, 48, 255, 0.08),
    0 0 14px rgba(155, 48, 255, 0.45);
}
.ff-tl--purple .ff-tl__node::after {
  background: #b07fff;
  box-shadow: 0 0 10px #b07fff;
} /* Connector from line to card */
.ff-tl__row::before {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(24px, 4vw, 42px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 229, 255, 0.7),
    rgba(0, 229, 255, 0)
  );
  transform: translateY(-50%);
  z-index: 1;
}
.ff-tl__row--left::before {
  right: calc(50% + 24px);
  background: linear-gradient(
    270deg,
    rgba(0, 229, 255, 0.7),
    rgba(0, 229, 255, 0)
  );
}
.ff-tl__row--right::before {
  left: calc(50% + 24px);
}
.ff-tl--purple .ff-tl__row--left::before {
  background: linear-gradient(
    270deg,
    rgba(155, 48, 255, 0.7),
    rgba(155, 48, 255, 0)
  );
}
.ff-tl--purple .ff-tl__row--right::before {
  background: linear-gradient(
    90deg,
    rgba(155, 48, 255, 0.7),
    rgba(155, 48, 255, 0)
  );
} /* Card */
.ff-tl__card {
  position: relative;
  max-width: 440px;
  padding: 18px 22px 20px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 26, 0.78),
    rgba(6, 10, 18, 0.72)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.ff-tl__card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 229, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ff-tl--purple .ff-tl__card:hover {
  border-color: rgba(155, 48, 255, 0.4);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(155, 48, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
} /* Circuit corner accents */
.ff-tl__card::before,
.ff-tl__card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  opacity: 0.8;
}
.ff-tl__card::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.ff-tl__card::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}
.ff-tl--purple .ff-tl__card::before,
.ff-tl--purple .ff-tl__card::after {
  border-color: rgba(155, 48, 255, 0.55);
}
.ff-tl__row--left .ff-tl__card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
  margin-right: 24px;
}
.ff-tl__row--right .ff-tl__card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
  margin-left: 24px;
} /* Card content */
.ff-tl__time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family:
    "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo,
    monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #7fe9ff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ff-tl--purple .ff-tl__time {
  color: #d0aaff;
}
.ff-tl__time::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.ff-tl__row--left .ff-tl__time {
  flex-direction: row-reverse;
}
.ff-tl__name {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.ff-tl__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(230, 246, 255, 0.72);
  margin: 0 0 10px;
}
.ff-tl__desc strong {
  color: #ffffff;
  font-weight: 600;
}
.ff-tl__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(230, 246, 255, 0.55);
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.ff-tl__loc svg {
  width: 11px;
  height: 11px;
  opacity: 0.8;
}
.ff-tl__row--left .ff-tl__loc {
} /* Reveal animation */
.ff-tl__row {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.ff-tl__row.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ff-tl__row.is-visible .ff-tl__node {
  animation: ff-tl-pulse 2.6s ease-in-out infinite;
}
@keyframes ff-tl-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(0, 229, 255, 0.08),
      0 0 14px rgba(0, 229, 255, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(0, 229, 255, 0.04),
      0 0 22px rgba(0, 229, 255, 0.7);
  }
}
.ff-tl--purple .ff-tl__row.is-visible .ff-tl__node {
  animation-name: ff-tl-pulse-purple;
}
@keyframes ff-tl-pulse-purple {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(155, 48, 255, 0.08),
      0 0 14px rgba(155, 48, 255, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 6px rgba(155, 48, 255, 0.04),
      0 0 22px rgba(155, 48, 255, 0.7);
  }
} /* Tablet & Mobile → single-column */
@media (max-width: 820px) {
  .ff-tl__track::before {
    left: 22px;
  }
  .ff-tl__track::after {
    left: 22px;
  }

  .ff-tl__day {
    padding-left: 0;
    transform: none;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .ff-tl__row {
    grid-template-columns: 44px 1fr;
    align-items: flex-start;
  }
  .ff-tl__node {
    grid-column: 1;
    justify-self: center;
    margin-top: 6px;
  }

  .ff-tl__row::before {
    top: 14px;
    left: 30px;
    right: auto;
    width: 18px;
    background: linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.7),
      rgba(0, 229, 255, 0)
    ) !important;
    transform: none;
  }
  .ff-tl--purple .ff-tl__row::before {
    background: linear-gradient(
      90deg,
      rgba(155, 48, 255, 0.7),
      rgba(155, 48, 255, 0)
    ) !important;
  }

  .ff-tl__row--left .ff-tl__card,
  .ff-tl__row--right .ff-tl__card {
    grid-column: 2;
    justify-self: stretch;
    margin: 0 0 0 12px;
    text-align: left;
    max-width: 100%;
  }
  .ff-tl__row--left .ff-tl__time {
    flex-direction: row;
  }
}
@media (max-width: 480px) {
  .ff-tl__card {
    padding: 14px 16px 16px;
  }
  .ff-tl__name {
    font-size: 1rem;
  }
  .ff-tl__desc {
    font-size: 0.88rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ff-tl__row {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ff-tl__row.is-visible .ff-tl__node {
    animation: none;
  }
} /* Event names in the schedule use the same interactive cyan language as event cards. */
.ff-tl__event-link {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}
.ff-tl__event-link:hover,
.ff-tl__event-link:focus-visible {
  color: var(--ff-cyan, #00e5ff);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.32);
  text-decoration: none;
}
