/* ============================================================
   🌌 SUPRA ORÁCULO — ORACLE COMPLETION & UNLOCK CSS v1.0
   ============================================================ */

/* ===== ORACLE CHECK BUTTON ===== */
.oracle-check-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.3);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.oracle-check-btn:hover {
    border-color: rgba(240,180,41,0.5);
    color: rgba(240,180,41,0.7);
    background: rgba(240,180,41,0.05);
    transform: scale(1.1);
}
.oracle-check-btn.checked {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34,197,94,0.1);
    box-shadow: 0 0 12px rgba(34,197,94,0.2);
}
.oracle-check-btn.checked i {
    animation: checkPop 0.3s ease;
}
@keyframes checkPop {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== ORACLE COMPLETION COUNTER BAR ===== */
.oracle-completion-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 16px 0;
    background: rgba(240,180,41,0.04);
    border: 1px solid rgba(240,180,41,0.12);
    border-radius: 14px;
    font-size: 0.9rem;
    color: var(--cosmic-gold, #f0b429);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.oracle-counter-icon { font-size: 1.2rem; }

/* ===== LOCKED ORACLE OVERLAY ===== */
.oracle-locked {
    position: relative !important;
    overflow: hidden;
}
.lock-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,30,0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
    gap: 8px;
    padding: 20px;
}
.lock-overlay .lock-icon {
    font-size: 2.5rem;
    color: rgba(240,180,41,0.5);
    animation: lockPulse 2s ease infinite;
}
@keyframes lockPulse {
    0%,100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.lock-overlay .lock-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    text-align: center;
    max-width: 250px;
}
.lock-overlay .lock-progress {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cosmic-gold, #f0b429);
}

/* ===== UNLOCK EXPLOSION ANIMATION ===== */
.unlock-explosion-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,20,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: unlockFadeIn 0.5s ease;
}
@keyframes unlockFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.unlock-explosion-content {
    text-align: center;
    position: relative;
    padding: 40px;
}
.unlock-stars-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 0; height: 0;
    pointer-events: none;
}
.unlock-star {
    position: absolute;
    top: 0; left: 0;
    animation: starExplode 1.5s ease-out forwards;
    opacity: 0;
}
@keyframes starExplode {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    30% { opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
}
.unlock-icon-big {
    font-size: 5rem;
    margin-bottom: 16px;
    animation: unlockBounce 0.8s ease 0.3s both;
}
@keyframes unlockBounce {
    0% { transform: scale(0) rotate(-30deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
.unlock-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #f0b429;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(240,180,41,0.4);
    animation: unlockBounce 0.8s ease 0.5s both;
}
.unlock-msg {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
    animation: unlockBounce 0.8s ease 0.7s both;
}
.unlock-continue-btn {
    padding: 14px 36px;
    background: linear-gradient(135deg, #7c6aef, #9333ea);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    animation: unlockBounce 0.8s ease 0.9s both;
}
.unlock-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,106,239,0.4);
}

/* ===== DREAM PRIVACY NOTICE ===== */
.dream-privacy-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5,5,20,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: unlockFadeIn 0.4s ease;
}
.dream-privacy-box {
    background: linear-gradient(145deg, #12122a, #1a1a3a);
    border: 1px solid rgba(124,106,239,0.25);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 36px 28px;
    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
}
.dream-privacy-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}
.dream-privacy-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #f0b429;
    margin-bottom: 20px;
    line-height: 1.4;
}
.dream-privacy-text {
    text-align: left;
    font-size: 0.85rem;
    color: rgba(232,228,245,0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}
.dream-privacy-text p { margin-bottom: 12px; }
.dream-privacy-text ul {
    list-style: none;
    padding: 0;
}
.dream-privacy-text li {
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(124,106,239,0.08);
}
.dream-privacy-text li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #f0b429;
    font-size: 0.75rem;
}
.dream-privacy-text li strong {
    color: #ef4444;
}
.dream-privacy-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dream-privacy-accept {
    padding: 14px 24px;
    background: linear-gradient(135deg, #7c6aef, #9333ea);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}
.dream-privacy-accept:hover { transform: translateY(-2px); }
.dream-privacy-decline {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    cursor: pointer;
}
.dream-privacy-decline:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .unlock-title { font-size: 1.3rem; }
    .unlock-msg { font-size: 0.95rem; }
    .unlock-icon-big { font-size: 3.5rem; }
    .dream-privacy-box { padding: 24px 18px; }
    .dream-privacy-box h3 { font-size: 1rem; }
}
