/* Core Layout Structural Configs */
.stage-section {
    margin: 30px auto;
    padding: 15px;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 12px;
    max-width: 800px;
}
.hidden { display: none !important; }

.queen-card {
    display: inline-block;
    width: 110px;
    text-align: center;
    margin: 10px;
    background: #1e1e24;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.queen-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}
.badge {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    background: #4a5568;
    border-radius: 3px;
}

/* ==========================================
   EFFECT 1: DOMINO REVEAL (Safe & Top Queens)
   ========================================== */
.domino-row {
    opacity: 0;
    transform: translateY(25px);
    animation: dominoReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.row-1 { animation-delay: 0.3s; }
.row-2 { animation-delay: 1.0s; }
.row-3 { animation-delay: 1.7s; }
.row-4 { animation-delay: 0.2s; } /* Tops show fast on click */

@keyframes dominoReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.winner-card {
    border-color: #ffd700;
    box-shadow: 0 0 20px #ffd700;
    transform: scale(1.05);
}
.winner-card .badge { background: #ffd700; color: #000; font-weight: bold; }

/* ==========================================
   EFFECT 2: S&F 3-WAY PLACEMENT SHUFFLE (5s)
   ========================================== */
.lipsync-stage {
    position: relative;
    height: 180px;
    max-width: 500px;
    margin: 20px auto;
}
.ls-queen-1, .ls-queen-2, .ls-queen-3 { position: absolute; top: 0; }

/* Left, Center, and Right CSS positions moving dynamically across 6 stages */
.ls-queen-1 { left: 10%; animation: shuffleTrackLeft 5s ease-in-out infinite; }
.ls-queen-2 { left: 42%; animation: shuffleTrackCenter 5s ease-in-out infinite; }
.ls-queen-3 { left: 74%; animation: shuffleTrackRight 5s ease-in-out infinite; }

@keyframes shuffleTrackLeft {
    0%, 100% { left: 10%; z-index: 2; }
    16% { left: 42%; z-index: 1; }
    32% { left: 74%; z-index: 3; }
    48% { left: 42%; z-index: 1; }
    64% { left: 10%; z-index: 2; }
    80% { left: 74%; z-index: 3; }
}
@keyframes shuffleTrackCenter {
    0%, 100% { left: 42%; z-index: 1; }
    16% { left: 74%; z-index: 3; }
    32% { left: 10%; z-index: 2; }
    48% { left: 74%; z-index: 3; }
    64% { left: 42%; z-index: 1; }
    80% { left: 10%; z-index: 2; }
}
@keyframes shuffleTrackRight {
    0%, 100% { left: 74%; z-index: 3; }
    16% { left: 10%; z-index: 2; }
    32% { left: 42%; z-index: 1; }
    48% { left: 10%; z-index: 2; }
    64% { left: 74%; z-index: 3; }
    80% { left: 42%; z-index: 1; }
}

/* ==========================================
   EFFECT 3: SURVIVOR & LOSER REVEAL LOOK
   ========================================== */
.outcome-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.survivor-card {
    transform: scale(1.15) translateY(-5px);
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
    animation: introduceFirst 0.8s ease forwards;
}
.eliminated-card {
    border-color: #4a5568;
    background: #1a202c;
    animation: fadeToGrey 1s ease 0.5s forwards;
}

@keyframes introduceFirst {
    0% { transform: scale(0.8) translateY(30px); opacity: 0; }
    100% { transform: scale(1.15) translateY(-5px); opacity: 1; }
}
@keyframes fadeToGrey {
    to {
        filter: grayscale(100%);
        opacity: 0.4;
    }
}

.status-badge {
    display: block;
    font-size: 11px;
    font-weight: bold;
    padding: 3px;
    margin-bottom: 6px;
    border-radius: 4px;
}
.shantay { background: #00ffcc; color: #000; }
.sashay { background: #e53e3e; color: #fff; }
