.tutorial-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    animation: slideInLeft 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

.tutorial-character {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    pointer-events: auto;
}

.tutorial-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    animation: floatChar 3s ease-in-out infinite;
}

.tutorial-bubble {
    background: var(--bg-card, #ffffff);
    border: 2px solid var(--accent, #d4af37);
    border-radius: 20px;
    border-bottom-left-radius: 0;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 300px;
    pointer-events: auto;
    color: var(--text-main, #0f172a);
}

.dark-mode .tutorial-bubble {
    background: #1e293b;
    color: #f8fafc;
}

.tutorial-bubble h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--primary, #0f172a);
}

.dark-mode .tutorial-bubble h3 {
    color: var(--accent, #d4af37);
}

.tutorial-bubble p {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tutorial-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.tutorial-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes floatChar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .tutorial-overlay {
        bottom: 80px;
        left: 10px;
        right: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .tutorial-bubble {
        max-width: 100%;
        border-bottom-left-radius: 20px;
        border-top-left-radius: 0;
    }
    .tutorial-character {
        width: 80px;
        height: 80px;
        margin-left: 20px;
        margin-bottom: -10px;
        z-index: 1;
    }
}
