/* Language Switcher Styles */

.language-switcher-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 0;
}

/* Emoji Toggle Button Styles */
.emoji-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 80px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 0;
}

.emoji-toggle-btn:hover {
    transform: translateY(-2px) scale(1.15);
    opacity: 0.8;
}

.emoji-toggle-btn:active {
    transform: translateY(0) scale(1);
    opacity: 0.6;
}

.language-switcher-btn:hover {
    transform: translateY(-2px) scale(1.15);
    opacity: 0.8;
}

.language-switcher-btn:active {
    transform: translateY(0) scale(1);
    opacity: 0.6;
}

/* Language Selection Modal Styles */
.language-selection-modal {
    text-align: center;
    max-height: 60vh;
    overflow-y: auto;
}

.language-option {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
    border: 2px solid var(--color-purple);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.language-option.selected {
    background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
    color: var(--color-white);
    border-color: var(--color-blue);
}

.language-option:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .emoji-toggle-btn {
        right: 70px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .language-switcher-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .emoji-toggle-btn {
        right: 65px;
        width: 40px;
        height: 40px;
        font-size: 22px;
        bottom: 15px;
    }
    
    .language-switcher-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
        bottom: 15px;
    }
    
    .random-level-indicator {
        bottom: 15px;
        left: 15px;
        width: 10px;
        height: 10px;
    }
}

