/* Timeline Styles */
.timeline-step {
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease-out;
    transform: scale(0.95);
    position: relative;
    z-index: 10;
}

.timeline-step.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
}

.timeline-track {
    position: absolute;
    top: 2.5rem;
    left: 12.5%;
    width: 75%;
    height: 4px;
    background-color: #e5e7eb;
    z-index: 5;
    border-radius: 2px;
}

.timeline-fill {
    height: 100%;
    background: linear-gradient(90deg, #756DA6, #90A694);
    width: 0%;
    border-radius: 2px;
    position: relative;
    z-index: 6;
}

/* Cards con Imagen (Rediseño) */
.universe-card {
    background: white;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.universe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(117, 109, 166, 0.15);
    border-color: #756DA6;
}

.card-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.universe-card:hover .card-image-container img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0.6;
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}