    .sample-card {
        background: white;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        padding: 1.5rem 1.5rem 0.5rem 1.5rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
        position: relative;
        /* Full width on mobile, 80% on landscape (>600px), max 1600px */
        max-width: 1600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* 80% width on screens larger than 600px (landscape) */
    @media (min-width: 600px) {
        .sample-card {
            width: 80%;
        }
    }
    
    .sample-card:hover {
        border-color: #000;
    }
    
    .play-button {
        width: 48px;
        height: 48px;
        cursor: pointer;
        transition: opacity 0.2s;
    }
    
    .play-button:hover {
        opacity: 0.7;
    }
    
    .waveform-container {
        background: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 4px;
        padding: 0.5rem;
        min-height: 120px;
        max-height: 120px;
        width: 100%;
        display: none;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }
    
    .heart-button {
        cursor: pointer;
        transition: all 0.2s;
        border: none;
        background: none;
        padding: 0;
    }
    
    .heart-button:hover {
        transform: scale(1.1);
    }
    
    /* Ensure vote buttons are always clickable */
    .vote-button {
        position: relative;
        z-index: 2 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .vote-button * {
        pointer-events: none !important;
    }
    
    .vote-buttons-container {
        position: relative;
        z-index: 2 !important;
        pointer-events: auto !important;
    }
    
    /* Hover effects for donate and DMCA buttons (removed inline handlers for CSP) */
    .donate-button:hover {
        filter: drop-shadow(0 0 3px rgba(34, 197, 94, 0.4));
    }
    
    .dmca-flag-button:hover {
        filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.4));
    }
    
    .category-tag {
        white-space: nowrap;
    }
    
    /* Hide scrollbar for tag containers */
    .flex-1.overflow-x-auto::-webkit-scrollbar {
        display: none;
    }
    
    #audio-recovery-button {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        font-size: 28px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        z-index: 9999;
        transition: all 0.3s ease;
        display: none;
    }
    
    #audio-recovery-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    }
    
    #audio-recovery-button.visible {
        display: block;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }
    
    /* Loading animation container */
    #loading-animation-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4rem 0;
    }
    
    #loading-animation-container img {
        width: 100px;
        height: auto;
    }
    
    /* Fall down and fade out animation */
    @keyframes loadingFallOut {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(100vh);
        }
    }
    
    #loading-animation-container.fall-out {
        animation: loadingFallOut 0.4s ease-in forwards;
    }
    
    /* Black fade overlay for browse page */
    #page-fade-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000000;
        z-index: 99999;
        pointer-events: none;
    }
    
    /* Fade out the black overlay */
    @keyframes fadeOutOverlay {
        0% {
            opacity: 1;
        }
        100% {
            opacity: 0;
        }
    }
    
    #page-fade-overlay.fade-out {
        animation: fadeOutOverlay 0.7s ease-out forwards;
    }
    
    /* Exit overlay fade animation */
    #exit-fade-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000000;
        z-index: 99999;
        pointer-events: none;
        opacity: 0;
        display: none;
    }
    
    #exit-fade-overlay.fade-in {
        display: block;
        animation: fadeInOverlay 0.7s ease-out forwards;
    }
    
    @keyframes fadeInOverlay {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    
    /* Fade to black animation for exit */
    @keyframes fadePageToBlack {
        0% {
            background-color: #ffffff;
            opacity: 1;
        }
        100% {
            background-color: #000000;
            opacity: 1;
        }
    }
    
    body.exit-fade-black {
        animation: fadePageToBlack 0.7s ease-out forwards;
    }
    
    /* Utility: Line clamp for truncating text */
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Slide in from bottom animation for download modal */
    @keyframes slideInFromBottom {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

