:root {
    --midnight: #000000;
    --gold: #D4AF37;
}

.stage-transition {
    transition: background-image 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    /* Añadimos un degradado constante para que el texto blanco resalte siempre */
    background-blend-mode: overlay;
}

.pcard {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: var(--midnight);
}

.pcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.pcard:hover img {
    transform: scale(1.1);
    opacity: 0.3;
}

.pcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--midnight) 10%, transparent 90%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;
}

.stage-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    transition: all 0.4s ease;
}

.stage-dot.active {
    background: var(--gold);
    width: 2.5rem;
}

#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}