/* ==========================================================================
   FI LOUNGE CLUB - SCROLL TRANSFORMATION: THE NIGHT JOURNEY (GOLDEN CLOCK)
   ========================================================================== */

.timeline-section {
  position: relative;
  min-height: 120vh;
  padding: 160px 32px;
  background-color: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 18;
}

/* Background Atmosphere */
.timeline-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(158, 122, 34, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.timeline-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.timeline-header {
  margin-bottom: 70px;
}

.timeline-title {
  font-family: var(--font-serif-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FFF;
  margin-top: 16px;
  margin-bottom: 16px;
}

.timeline-subtitle {
  font-size: var(--text-base);
  color: rgba(220, 215, 205, 0.8);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
}

/* Main Golden Clock & Time Journey Grid */
.clock-journey-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

/* Luxury Horological Clock Dial */
.clock-display-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 18px;
  background: radial-gradient(circle, rgba(28, 25, 20, 0.9) 0%, rgba(12, 10, 8, 0.98) 100%);
  box-shadow: 
    0 0 0 2px var(--gold-dark),
    0 0 0 6px rgba(212, 175, 55, 0.25),
    0 24px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(212, 175, 55, 0.25);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rotating Gear/Rings */
.clock-outer-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  animation: rotateSlow 60s linear infinite;
}

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

.clock-inner-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #181512 0%, #0c0a08 80%);
  border: 1px solid var(--border-gold-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Roman Numerals & Hour Markers */
.clock-marker {
  position: absolute;
  font-family: var(--font-serif-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  transform: translate(-50%, -50%);
}

.marker-12 { top: 12%; left: 50%; }
.marker-3  { top: 50%; left: 88%; }
.marker-6  { top: 88%; left: 50%; }
.marker-9  { top: 50%; left: 12%; }

/* Golden Clock Hands */
.clock-center-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid var(--bg-deep);
  box-shadow: 0 0 12px var(--gold-light);
  z-index: 10;
}

.clock-hand-hour {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 4px;
  height: 90px;
  background: var(--gold-gradient);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(180deg); /* 6:00 PM default */
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 8;
}

.clock-hand-minute {
  position: absolute;
  bottom: 50%;
  left: 50%;
  width: 2px;
  height: 125px;
  background: #FFF6DA;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 14px rgba(255, 246, 218, 0.8);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9;
}

.clock-live-display {
  position: absolute;
  bottom: 22%;
  font-family: var(--font-serif-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  background: rgba(10, 9, 8, 0.7);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-gold-subtle);
}

/* Time Stage Cards Column */
.time-stages-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.time-stage-card {
  position: relative;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 6px;
  padding: 32px 36px;
  text-align: left;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}

.time-stage-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.time-stage-card.active {
  background: rgba(26, 22, 16, 0.85);
  border-color: var(--gold-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
  transform: translateX(10px);
}

.time-stage-card.active::before {
  opacity: 1;
}

.stage-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.stage-title {
  font-family: var(--font-serif-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFF;
  margin-bottom: 8px;
}

.stage-desc {
  font-size: 0.92rem;
  color: rgba(220, 215, 205, 0.75);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 992px) {
  .clock-journey-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .clock-display-wrap {
    width: 320px;
    height: 320px;
  }
}
