/* =========================================================
   PLAYER 2 — EXTRAS PARA EL DÍA ESPECIAL
   ========================================================= */

/* ---------- Aviso flotante ---------- */

.p2-aviso {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 6000;
    max-width: 90vw;
    padding: 11px 20px;
    transform: translateX(-50%);
    color: #3b4255;
    background: #ece5d8;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    font-family: var(--f-ui, Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    animation: g-banner-suave 2.8s ease forwards;
}

/* ---------- Líneas de voz ---------- */

.p2-voz {
    max-width: 650px;
    margin: 0 auto 34px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--borde);
}

.p2-voz .etiqueta-mision {
    margin: 0;
    color: var(--dorado-claro);
    font-size: 0.7rem;
    letter-spacing: 2.5px;
}

.p2-voz-titulo {
    margin: 8px 0 16px;
    font-family: var(--f-titulo, Georgia, serif);
    font-size: 1.4rem;
    font-weight: 500;
}

.p2-voz-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p2-voz-linea {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 16px;
    color: var(--texto);
    background: linear-gradient(90deg, rgba(59, 66, 85, 0.75), rgba(25, 34, 52, 0.6));
    border: 1px solid rgba(232, 199, 125, 0.2);
    border-radius: 999px;
    font-family: var(--f-ui, Arial, sans-serif);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

.p2-voz-linea:hover,
.p2-voz-linea.p2-sonando {
    border-color: var(--dorado);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.p2-voz-icono {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: #3b4255;
    background: #ece5d8;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.p2-voz-nombre {
    flex: 1;
}

.p2-ondas {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    opacity: 0;
}

.p2-ondas i {
    width: 3px;
    height: 30%;
    background: var(--dorado);
    border-radius: 2px;
}

.p2-sonando .p2-ondas {
    opacity: 1;
}

.p2-sonando .p2-ondas i {
    animation: p2-onda 0.9s ease-in-out infinite;
}

.p2-sonando .p2-ondas i:nth-child(2) { animation-delay: 0.15s; }
.p2-sonando .p2-ondas i:nth-child(3) { animation-delay: 0.3s; }
.p2-sonando .p2-ondas i:nth-child(4) { animation-delay: 0.45s; }

@keyframes p2-onda {
    0%, 100% { height: 25%; }
    50% { height: 100%; }
}

/* ---------- Gachapón bloqueado ---------- */

#menu-misiones #ir-gachapon.gc-bloqueado {
    flex-direction: column;
    gap: 3px;
    color: #c9c3b6;
    background: linear-gradient(135deg, #3a4155, #2a3043);
    border-color: rgba(232, 199, 125, 0.3);
    text-shadow: none;
    animation: none;
    box-shadow: none;
}

#ir-gachapon small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ---------- Final del gachapón ---------- */

.gc-final-mano {
    margin: 18px 0 0;
    color: #ffcc32;
    font-family: var(--f-ui, Arial, sans-serif);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0;
    animation: g-deslizar 0.8s ease 2.5s forwards;
}

.gc-continuar {
    margin: 22px auto 0;
    padding: 11px 28px;
    color: #3b4255;
    background: #ece5d8;
    border: none;
    border-radius: 999px;
    font-family: var(--f-ui, Arial, sans-serif);
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    animation: g-aparecer-revelar 0.6s ease 3.5s forwards;
}

.gc-continuar:hover {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
