/* ==========================================================================
   THE TICKET — 6-DAY TIMELINE, LIQUID PROGRESS BAR & STATION INTERACTIONS
   ========================================================================== */

.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.7s var(--ease-fluid) 0.1s both;
}

/* Liquid Progress Header Card */
.progress-card {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.progress-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-300);
}

.progress-fraction {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.liquid-bar-track {
  position: relative;
  height: 11px;
  width: 100%;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.65);
}

.liquid-bar-fill {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    var(--neon-cyan) 0%,
    var(--neon-violet) 48%,
    var(--neon-magenta) 78%,
    var(--neon-pearl) 100%
  );
  background-size: 200% 100%;
  box-shadow: 0 0 18px rgba(111, 255, 233, 0.45);
  transition: width 0.85s var(--ease-fluid);
  animation: liquidBarShimmer 5s ease-in-out infinite;
}

.liquid-bar-fill::after {
  content: "";
  position: absolute;
  inset: 1px 2px auto 2px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
}

@keyframes liquidBarShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.progress-sub {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Vertical Timeline Track */
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(111, 255, 233, 0.55) 0%,
    rgba(183, 148, 246, 0.4) 50%,
    rgba(244, 114, 182, 0.25) 100%
  );
}

/* Individual Station Wrapper */
.station-item {
  position: relative;
}

.station-node {
  position: absolute;
  left: -24px;
  top: 24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-obsidian);
  border: 2px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.35s ease;
}

.station-item.is-active .station-node {
  border-color: var(--neon-cyan);
  background: rgba(111, 255, 233, 0.22);
  box-shadow: 0 0 16px rgba(111, 255, 233, 0.7);
}

.station-item.is-active .station-node::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
}

.station-item.is-completed .station-node {
  border-color: var(--neon-mint);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-mint));
  box-shadow: 0 0 14px rgba(110, 231, 183, 0.55);
}

.station-item.is-completed .station-node::after {
  content: "✓";
  font-size: 0.62rem;
  font-weight: 800;
  color: #04040a;
  line-height: 1;
}

/* Station Card */
.station-card {
  padding: 18px 17px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-fluid);
}

.station-item.is-locked .station-card {
  opacity: 0.66;
}

.station-item.is-locked .station-card::before {
  opacity: 0.26;
}

.station-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.station-day-tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.station-day-number {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-violet);
}

.station-item.is-active .station-day-number {
  color: var(--neon-cyan);
}

.station-item.is-completed .station-day-number {
  color: var(--neon-mint);
}

.station-date-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--chrome-100);
  line-height: 1.2;
}

.station-pill {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.station-pill.locked {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
}

.station-pill.active {
  background: rgba(111, 255, 233, 0.14);
  border: 1px solid rgba(111, 255, 233, 0.45);
  color: var(--neon-cyan);
}

.station-pill.completed {
  background: rgba(110, 231, 183, 0.16);
  border: 1px solid rgba(110, 231, 183, 0.5);
  color: var(--neon-mint);
}

/* Station Copy & Locked Box */
.station-message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

.locked-box {
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.locked-box-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--chrome-300);
  letter-spacing: 0.06em;
}

.locked-box-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Clue & Secret Code Box (Days 3 & 5) */
.clue-box {
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(183, 148, 246, 0.12), rgba(111, 255, 233, 0.07));
  border: 1px solid rgba(183, 148, 246, 0.34);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.clue-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-pearl);
}

.clue-text {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--chrome-100);
}

.code-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-input-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.code-input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 8, 18, 0.65);
  color: var(--chrome-100);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

.code-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(111, 255, 233, 0.14);
}

/* Unlocked / Sealed Memory Content Box */
.unlocked-reveal {
  padding: 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(111, 255, 233, 0.08), rgba(183, 148, 246, 0.08));
  border: 1px solid rgba(111, 255, 233, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeUp 0.45s var(--ease-fluid) both;
}

.unlocked-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-mint);
}

.unlocked-copy {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.6;
  color: var(--chrome-100);
}

.completed-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

/* Photo Upload Dropzone & Embedded Photo Frame (Days 4 & 6) */
.upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  border: 1.5px dashed rgba(111, 255, 233, 0.42);
  background: rgba(111, 255, 233, 0.04);
  cursor: pointer;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.upload-box:hover,
.upload-box:active {
  background: rgba(111, 255, 233, 0.09);
  border-color: var(--neon-cyan);
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.upload-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chrome-100);
}

.upload-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.memory-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 4, 10, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.memory-photo-frame img,
.memory-photo-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  background: #04040a;
}

.memory-photo-caption {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--chrome-300);
  background: rgba(10, 12, 24, 0.85);
}

/* Day 6 Final VIP Capsule & Keepsake Export */
.vip-final-box {
  padding: 15px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    140deg,
    rgba(111, 255, 233, 0.14) 0%,
    rgba(183, 148, 246, 0.16) 52%,
    rgba(244, 114, 182, 0.14) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-final-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.export-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* Mini inline error inside card */
.inline-error {
  font-size: 0.78rem;
  color: #ffc2e2;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(244, 114, 182, 0.14);
  border: 1px solid rgba(244, 114, 182, 0.36);
}
