/* Responsive styling */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .player-container {
        max-width: 90%;
        gap: 1rem;
    }
    .sound-item {
        width: 180px;
        min-height: 260px;
    }
    .sound-item img {
        height: 140px;
    }
    .item-name { 
        max-height: none; 
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    .player-container {
        padding: 0.5rem;
        gap: 0.8rem;
    }
    .sound-item {
        width: calc(50% - 1rem);
        min-height: 230px;
        padding: 0.8rem;
    }
    .sound-item img {
        height: 110px;
        border-radius: 8px;
    }
    .item-name { 
        font-size: 0.85rem;
        line-height: 1.25;
        max-height: none; 
        padding: 0.15em 0.3em;
        width: calc(100% - 0.6em);
    }
    .tutorial-animation {
        top: -55px;
        width: 120px;
        padding: 6px 10px;
    }
    .tutorial-animation p {
        font-size: 0.8rem;
    }
}