/* --- KAHVE FALI MODÜLÜ --- */
.fortune-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center; z-index: 3000;
}

.fortune-content {
    background: linear-gradient(135deg, #1a0b02, #000000);
    border: 1px solid #5e3315; border-radius: var(--radius-lg);
    padding: 40px; text-align: center; max-width: 420px; width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,1), inset 0 0 40px rgba(139, 69, 19, 0.2);
    position: relative;
    overflow: hidden;
}

.coffee-stage-clean {
    position: relative;
    width: 160px; height: 160px; 
    margin: 0 auto 30px auto;
}

.saucer-clean {
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    width: 130px; height: 12px;
    background: linear-gradient(to right, #b0b0b0, #ffffff, #b0b0b0);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
    z-index: 10;
}

.cup-container-clean {
    position: absolute;
    bottom: 32px;
    left: 50%;
    margin-left: -40px;
    width: 80px; height: 70px;
    z-index: 20;
    transform-origin: center center;
    animation: cupFlipClean 4.5s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.cup-clean {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 2px 2px 35px 35px;
    position: relative;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.4), inset -5px -5px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #4a2c11; 
}

.cup-handle-clean {
    position: absolute;
    top: 15px; right: -24px;
    width: 35px; height: 40px;
    border: 7px solid #fff; border-left: none;
    border-radius: 0 20px 20px 0;
    z-index: -1;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}

@keyframes cupFlipClean {
    0%   { transform: translateY(0) rotate(0deg); }
    15%  { transform: translateY(-60px) rotate(0deg); }
    30%  { transform: translateY(-60px) rotate(180deg); }
    45%  { transform: translateY(0) rotate(180deg); }
    100% { transform: translateY(0) rotate(180deg); }
}

.smoke-clean {
    position: absolute; top: -40px;
    width: 10px; height: 30px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px; filter: blur(4px);
    animation: smokeRiseClean 2s infinite ease-in;
}
.s1 { left: 15px; animation-duration: 2s; }
.s2 { left: 35px; animation-duration: 2.5s; animation-delay: 0.3s; width: 14px; }
.s3 { left: 55px; animation-duration: 2.2s; animation-delay: 0.6s; }

.cup-container-clean .smoke-clean {
    animation: hideSmokeClean 4.5s forwards;
}
@keyframes hideSmokeClean {
    0%, 12% { opacity: 1; }
    18%, 100% { opacity: 0; }
}
@keyframes smokeRiseClean {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    30% { opacity: 0.8; }
    100% { transform: translateY(-40px) scale(2); opacity: 0; }
}

.coffee-drop-clean {
    position: absolute; top: -5px; left: 50%;
    width: 8px; height: 12px; background: #3e2723;
    border-radius: 50%; margin-left: -4px; opacity: 0;
    animation: dropFallClean 4.5s forwards;
}
@keyframes dropFallClean {
    0%, 26% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-20px) scaleY(1.5); }
    40%, 100% { opacity: 0; transform: translateY(-80px) scaleY(1); }
}

.aura-clean {
    position: absolute;
    bottom: 26px; left: 50%;
    width: 130px; height: 40px;
    border: 4px solid #ffa502; border-radius: 50%;
    transform: translateX(-50%) scale(0.5); opacity: 0;
    z-index: 5;
    animation: auraPulseClean 4.5s forwards;
}
.delay-1 { animation-delay: 0.2s; border-color: #d2691e; }

@keyframes auraPulseClean {
    0%, 43% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    45% { opacity: 1; transform: translateX(-50%) scale(1); }
    70% { opacity: 0; transform: translateX(-50%) scale(2); border-width: 0; }
    100% { opacity: 0; }
}

.fortune-loading-text {
    color: #ffa502; font-style: italic; font-weight: 600; 
    font-family: 'Georgia', serif; font-size: 13px; margin-top: 10px;
    animation: textPulse 1.5s infinite alternate; letter-spacing: 1px;
}
@keyframes textPulse { 0% { opacity: 0.5; } 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 165, 2, 0.5); } }

.mystic-stars { font-size: 24px; margin-bottom: 10px; animation: starTwinkle 2s infinite alternate; }
@keyframes starTwinkle { 0% { opacity: 0.4; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 10px #ffa502); } }

.fortune-result-title { 
    color: #ffa502; font-family: 'Georgia', serif; font-size: 20px; 
    margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px;
}
.fortune-result-text { 
    font-size: 15px; color: #fdf0d5; line-height: 1.8; 
    font-style: italic; font-family: 'Georgia', serif; 
    padding: 20px; background: rgba(0,0,0,0.4); 
    border-radius: var(--radius-md); border-left: 4px solid #d2691e;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

/* Işık teması */
body.light-theme .fortune-content { background: linear-gradient(135deg, #fffaf0, #e6d5c3); border-color: #d2691e; box-shadow: 0 20px 50px rgba(139, 69, 19, 0.3); }
body.light-theme .fortune-result-text { color: #4a2c11; background: rgba(255,255,255,0.6); box-shadow: none; }
body.light-theme .fortune-result-title { color: #8b4513; }