/* Experience Slider - 水平滑动卡片 */

.exp-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0 60px;
}

.exp-slider-track {
  display: flex;
  align-items: center;
  cursor: grab;
  padding: 20px 0;
  /* No will-change to avoid flicker */
}

.exp-slider-track:active {
  cursor: grabbing;
}

.exp-card {
  flex-shrink: 0;
  height: 22rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.exp-card.is-active {
  box-shadow: 0 8px 32px rgba(232, 81, 236, 0.12);
}

.exp-card-desc {
  margin: 12px 0;
  flex: 1;
}

.exp-card-desc p {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 200;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Card content */
.exp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-card-period {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.exp-card-tag {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: rgba(232, 81, 236, 0.08);
  border: 1px solid rgba(232, 81, 236, 0.15);
  border-radius: 4px;
}

.exp-card-company {
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.01em;
}

.exp-card-role {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 0;
  font-style: italic;
}

.exp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-card-tagitem {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 11px;
  color: var(--dim);
  padding: 5px 14px;
  background: rgba(19, 19, 19, 0.04);
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Controls */
.exp-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.exp-dots {
  display: flex;
  gap: 10px;
}

.exp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hair);
  cursor: pointer;
  transition: all 0.3s ease;
}

.exp-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

.exp-counter {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.05em;
}

/* Hint */
.exp-slider-hint {
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  color: var(--dim);
  opacity: 0.5;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .exp-card {
    height: auto;
    min-height: 18rem;
    padding: 1.8rem;
    border-radius: 20px;
  }
  .exp-card-company { font-size: 22px; }
}
