.guide-room {
    position: relative;
    background: radial-gradient(ellipse at center, #1a1714 0%, #0a0a0a 100%);
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
}

.presence-mode-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.presence-mode-btn {
    background: rgba(40, 36, 28, 0.6);
    border: 1px solid rgba(184, 150, 12, 0.2);
    color: #e8dcc8;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presence-mode-btn:hover {
    border-color: rgba(184, 150, 12, 0.5);
    background: rgba(40, 36, 28, 0.9);
}

.presence-mode-btn.active {
    border-color: #b8960c;
    background: rgba(184, 150, 12, 0.15);
    box-shadow: 0 0 20px rgba(184, 150, 12, 0.1);
}

.presence-mode-btn .mode-icon {
    font-size: 1.3rem;
}

.presence-mode-btn .mode-label {
    display: flex;
    flex-direction: column;
}

.presence-mode-btn .mode-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.presence-mode-btn .mode-desc {
    font-size: 0.7rem;
    color: #999;
}

.presence-visual {
    width: 100%;
    max-width: 500px;
    height: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
}

.candle-scene {
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 80%, #1a1410 0%, #0a0808 60%, #050505 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.candle-body {
    width: 40px;
    height: 120px;
    background: linear-gradient(180deg, #f5e6c8 0%, #e8d5a8 40%, #d4c090 100%);
    border-radius: 4px 4px 2px 2px;
    position: relative;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(245, 230, 200, 0.1);
}

.candle-wick {
    width: 2px;
    height: 12px;
    background: #333;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}

.candle-flame {
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 40px;
    transition: transform 0.05s ease, filter 0.1s ease;
}

.flame-inner {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 25px;
    background: radial-gradient(ellipse at center bottom, #fff 0%, #ffe680 30%, #ffb300 70%, transparent 100%);
    border-radius: 50% 50% 30% 30%;
    animation: flameFlicker 0.15s ease-in-out infinite alternate;
}

.flame-outer {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 38px;
    background: radial-gradient(ellipse at center bottom, rgba(255, 165, 0, 0.8) 0%, rgba(255, 100, 0, 0.4) 50%, transparent 100%);
    border-radius: 50% 50% 30% 30%;
    animation: flameFlicker 0.2s ease-in-out infinite alternate-reverse;
}

@keyframes flameFlicker {
    0% { transform: translateX(-50%) scaleX(1) skewX(0deg); }
    33% { transform: translateX(-50%) scaleX(0.9) skewX(2deg); }
    66% { transform: translateX(-50%) scaleX(1.05) skewX(-1deg); }
    100% { transform: translateX(-50%) scaleX(0.95) skewX(1deg); }
}

.candle-glow {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 180, 50, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.1s, height 0.1s, opacity 0.1s;
}

.candle-smoke {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.smoke-particle {
    width: 6px;
    height: 6px;
    background: rgba(180, 180, 180, 0.15);
    border-radius: 50%;
    position: absolute;
    animation: smokeRise 3s ease-out infinite;
}

@keyframes smokeRise {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-40px) translateX(10px) scale(1.5); opacity: 0.15; }
    100% { transform: translateY(-80px) translateX(-5px) scale(2); opacity: 0; }
}

.nature-scene {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.nature-sky {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #0d1b2a 0%, #1b2838 30%, #2a3f52 60%, #4a6670 100%);
}

.nature-mountains {
    position: absolute;
    bottom: 40%;
    width: 100%;
    height: 35%;
    background: 
        linear-gradient(135deg, transparent 33%, #1a2530 33%, #1a2530 66%, transparent 66%) -100px 0/200px 100%,
        linear-gradient(225deg, transparent 33%, #152025 33%, #152025 66%, transparent 66%) 0 0/200px 100%;
    opacity: 0.8;
}

.nature-water {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, #1a3040 0%, #0d2030 50%, #0a1820 100%);
    --wave-intensity: 1;
    animation: waterRipple 4s ease-in-out infinite;
}

@keyframes waterRipple {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 10px 2px; }
}

.nature-shimmer {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.03) 20%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.03) 80%, 
        transparent 100%);
    animation: shimmerMove 6s ease-in-out infinite;
    opacity: 0.1;
    transition: opacity 0.2s;
    pointer-events: none;
}

@keyframes shimmerMove {
    0% { transform: translateX(-30%); }
    50% { transform: translateX(30%); }
    100% { transform: translateX(-30%); }
}

.nature-mist {
    position: absolute;
    bottom: 25%;
    width: 200%;
    height: 30%;
    background: linear-gradient(90deg, transparent, rgba(200, 210, 220, 0.05), transparent, rgba(200, 210, 220, 0.03), transparent);
    animation: mistDrift 20s linear infinite;
    pointer-events: none;
}

@keyframes mistDrift {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.presence-captions {
    width: 100%;
    max-width: 500px;
    min-height: 60px;
    padding: 16px 20px;
    text-align: center;
    color: #e8dcc8;
    font-size: 1rem;
    line-height: 1.6;
    background: rgba(20, 18, 14, 0.6);
    border-radius: 12px;
    margin-top: 16px;
    border: 1px solid rgba(184, 150, 12, 0.1);
    transition: opacity 0.3s;
}

.presence-captions.speaking {
    border-color: rgba(184, 150, 12, 0.3);
}

@media (max-width: 768px) {
    .presence-visual {
        height: 220px;
        max-width: 100%;
    }
    
    .presence-mode-selector {
        gap: 8px;
    }
    
    .presence-mode-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}
