/* ============================================================
   🌌 SUPRA ORÁCULO — Guide Screen + Unlock Celebration CSS
   ============================================================ */

/* ── Guide Screen ── */
.guide-screen-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: radial-gradient(ellipse at center, rgba(10,10,34,0.97), rgba(5,5,20,0.99));
    display: flex; align-items: center; justify-content: center;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.guide-screen-overlay.hidden { display: none; }
.guide-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.guide-screen-container { position: relative; z-index: 1; width: 100%; max-width: 560px; padding: 20px; }
.guide-content {
    background: rgba(15,15,40,0.85); border: 1px solid rgba(240,180,41,0.2);
    border-radius: 20px; padding: 32px 24px; text-align: center;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 60px rgba(240,180,41,0.08), 0 20px 60px rgba(0,0,0,0.4);
}
.guide-icon-ring {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
    background: rgba(240,180,41,0.08); border: 2px solid rgba(240,180,41,0.25);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 30px rgba(240,180,41,0.15);
}
.guide-title {
    font-family: 'Cinzel', serif; font-size: 1.4rem; color: #f0b429;
    letter-spacing: 1.5px; margin-bottom: 4px;
}
.guide-subtitle {
    font-size: 0.85rem; color: rgba(232,228,245,0.6); margin-bottom: 12px;
}
.guide-divider {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-bottom: 20px; color: rgba(240,180,41,0.4); font-size: 0.7rem;
}
.guide-text-block {
    font-size: 0.92rem; color: var(--light, #e8e4f5); line-height: 1.8;
    margin-bottom: 20px; text-align: left; padding: 0 8px;
}
.guide-text-block strong { color: #f0b429; }
.guide-card {
    display: flex; gap: 14px; padding: 16px; border-radius: 14px;
    margin-bottom: 14px; text-align: left; align-items: flex-start;
}
.guide-card-locked {
    background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15);
}
.guide-card-unlock {
    background: rgba(52,211,153,0.06); border: 1px solid rgba(52,211,153,0.15);
}
.guide-card-tip {
    background: rgba(240,180,41,0.06); border: 1px solid rgba(240,180,41,0.15);
}
.guide-card-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.guide-card-text h4 { color: #f87171; font-size: 0.95rem; margin-bottom: 6px; }
.guide-card-text p { font-size: 0.85rem; color: rgba(232,228,245,0.8); line-height: 1.6; }
.guide-card-text strong { color: #f0b429; }
.guide-card-unlock .guide-card-text p { color: rgba(52,211,153,0.9); }
.guide-card-tip .guide-card-text p { color: rgba(240,180,41,0.9); }

.guide-locked-list {
    display: flex; flex-direction: column; gap: 8px;
    margin: 14px 0 18px; padding: 0 8px;
}
.guide-locked-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 10px;
    background: rgba(124,106,239,0.06); border: 1px solid rgba(124,106,239,0.12);
    font-size: 0.88rem; color: var(--light, #e8e4f5);
}
.guide-locked-icon { font-size: 1.2rem; }

.guide-continue-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 50px; border: none;
    background: linear-gradient(135deg, #f0b429, #d4a017);
    color: #0a0a22; font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1rem; cursor: pointer; margin-top: 8px;
    transition: all 0.3s; box-shadow: 0 4px 20px rgba(240,180,41,0.3);
}
.guide-continue-btn:hover {
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,180,41,0.4);
}

/* ── Unlock Celebration ── */
.unlock-celebration {
    position: fixed; inset: 0; z-index: 99999;
    background: radial-gradient(ellipse at center, rgba(10,10,34,0.95), rgba(0,0,0,0.98));
    display: flex; align-items: center; justify-content: center;
    animation: unlockFadeIn 0.5s ease;
}
.unlock-celebration.hidden { display: none; }
.unlock-celebration canvas {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.unlock-content {
    position: relative; z-index: 1; text-align: center; padding: 20px;
}
.unlock-portal-ring {
    width: 160px; height: 160px; border-radius: 50%;
    margin: 0 auto 24px; position: relative;
    border: 3px solid rgba(240,180,41,0.4);
    box-shadow: 0 0 50px rgba(240,180,41,0.3), 0 0 100px rgba(99,102,241,0.2), inset 0 0 30px rgba(240,180,41,0.1);
    animation: unlockPulse 2s ease-in-out infinite;
}
.unlock-portal-inner {
    position: absolute; inset: 10px; border-radius: 50%;
    background: radial-gradient(circle, rgba(240,180,41,0.2), rgba(99,102,241,0.1), transparent);
    animation: unlockSpin 4s linear infinite;
}
.unlock-title {
    font-family: 'Cinzel', serif; font-size: 1.8rem; color: #f0b429;
    text-shadow: 0 0 30px rgba(240,180,41,0.5); margin-bottom: 12px;
    animation: unlockGlow 1.5s ease-in-out infinite alternate;
}
.unlock-oracle-name {
    font-family: 'Cinzel', serif; font-size: 1.3rem; color: #00d4ff;
    margin-bottom: 16px; letter-spacing: 2px;
}
.unlock-message {
    font-size: 0.92rem; color: rgba(232,228,245,0.7); margin-bottom: 24px;
    max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.unlock-continue-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px; border-radius: 50px; border: 2px solid rgba(240,180,41,0.4);
    background: linear-gradient(135deg, rgba(240,180,41,0.15), rgba(99,102,241,0.1));
    color: #f0b429; font-family: 'Cinzel', serif; font-weight: 700;
    font-size: 1rem; cursor: pointer; transition: all 0.3s;
}
.unlock-continue-btn:hover {
    background: linear-gradient(135deg, rgba(240,180,41,0.25), rgba(99,102,241,0.15));
    box-shadow: 0 0 30px rgba(240,180,41,0.2); transform: translateY(-2px);
}

/* ── Nav reminder toast ── */
.nav-reminder-toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
    background: rgba(240,180,41,0.12); border: 1px solid rgba(240,180,41,0.25);
    color: #f0b429; padding: 8px 20px; border-radius: 30px;
    font-size: 0.75rem; z-index: 9000; pointer-events: none;
    animation: reminderFadeInOut 4s ease forwards;
    white-space: nowrap; backdrop-filter: blur(10px);
}

@keyframes unlockFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes unlockPulse {
    0%, 100% { box-shadow: 0 0 50px rgba(240,180,41,0.3), 0 0 100px rgba(99,102,241,0.2); }
    50% { box-shadow: 0 0 80px rgba(240,180,41,0.5), 0 0 140px rgba(99,102,241,0.3); }
}
@keyframes unlockSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes unlockGlow {
    from { text-shadow: 0 0 20px rgba(240,180,41,0.4); }
    to { text-shadow: 0 0 40px rgba(240,180,41,0.7), 0 0 60px rgba(0,212,255,0.3); }
}
@keyframes reminderFadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    15% { opacity: 1; transform: translateX(-50%) translateY(0); }
    75% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 480px) {
    .guide-content { padding: 24px 16px; }
    .guide-title { font-size: 1.15rem; }
    .unlock-title { font-size: 1.4rem; }
    .unlock-portal-ring { width: 120px; height: 120px; }
}
