* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sirmax-beat-store {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0A0A0F;
    color: #EDEDF2;
    position: relative;
    z-index: 2;
}

/* ========== MODERN HERO SECTION ========== */
.sirmax-hero-banner {
    background: radial-gradient(ellipse at 70% 30%, rgba(90, 50, 180, 0.25), rgba(10, 10, 15, 0.95)),
                linear-gradient(135deg, #0F0C1A 0%, #1A1535 50%, #0F0C1A 100%);
    border-radius: 32px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(154, 110, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.sirmax-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(154, 110, 255, 0.08) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.sirmax-hero-text {
    flex: 1;
    min-width: 240px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.sirmax-hero-text h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #FFFFFF 0%, #C4B5FD 40%, #9A6EFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.sirmax-hero-text p {
    color: #B7C0E6;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 500px;
}

/* Modern Genre Pills */
.sirmax-genre-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.sirmax-pill {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(154, 110, 255, 0.2);
    letter-spacing: 0.3px;
}

.sirmax-pill:hover {
    background: rgba(154, 110, 255, 0.2);
    border-color: rgba(154, 110, 255, 0.5);
    transform: translateY(-2px);
}

.sirmax-pill.active {
    background: linear-gradient(135deg, #9A6EFF, #7A4FCF);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(154, 110, 255, 0.4);
}

/* ========== MODERN SEARCH BAR ========== */
.sirmax-beat-listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.sirmax-beat-listing-header h3 {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    color: #EDEDF2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sirmax-header-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ========== PREMIUM SEARCH BAR - ICON OUTSIDE ========== */
.sirmax-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sirmax-search-icon {
    font-size: 1rem;
    color: #9A6EFF;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 1;
}

.sirmax-search-wrapper:hover .sirmax-search-icon {
    color: #C28AFF;
}

.sirmax-search-input {
    background: #0A0A12 !important;
    border: 1px solid rgba(154, 110, 255, 0.4);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    color: #EDEDF2 !important;
    font-size: 0.85rem;
    width: 100%;
    transition: all 0.3s ease;
    order: 2;
    -webkit-autofill: none;
    -webkit-box-shadow: 0 0 0px 1000px #0A0A12 inset !important;
    box-shadow: 0 0 0px 1000px #0A0A12 inset !important;
}

.sirmax-search-input:-webkit-autofill,
.sirmax-search-input:-webkit-autofill:hover,
.sirmax-search-input:-webkit-autofill:focus,
.sirmax-search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #0A0A12 inset !important;
    -webkit-text-fill-color: #EDEDF2 !important;
    caret-color: #EDEDF2 !important;
}

.sirmax-search-input:focus {
    outline: none;
    border-color: #9A6EFF;
    background: #0A0A12 !important;
    -webkit-box-shadow: 0 0 0px 1000px #0A0A12 inset, 0 0 0 3px rgba(154, 110, 255, 0.2) !important;
    box-shadow: 0 0 0px 1000px #0A0A12 inset, 0 0 0 3px rgba(154, 110, 255, 0.2) !important;
}

.sirmax-search-input::placeholder {
    color: #6B6885;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Premium Sort Select */
.sirmax-sort-select {
    background: rgba(21, 18, 43, 0.9);
    border: 1px solid rgba(154, 110, 255, 0.3);
    padding: 0.65rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.sirmax-sort-select:hover {
    border-color: #9A6EFF;
    background: rgba(21, 18, 43, 1);
}

.sirmax-sort-select:focus {
    outline: none;
    border-color: #9A6EFF;
    box-shadow: 0 0 0 3px rgba(154, 110, 255, 0.15);
}

/* ========== TRACK TABLE ========== */
#sirmax-track-table.sirmax-listing-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sirmax-track-table {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sirmax-track-row {
    background: #0E0C1A;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.7rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(140, 100, 220, 0.2);
    cursor: pointer;
}

.sirmax-track-row:hover {
    background: #18132F;
    border-color: #9C6EFF;
    transform: translateX(5px);
}

.sirmax-track-info-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 2;
    min-width: 180px;
}

.sirmax-thumbnail {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #2A224F, #100C28);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sirmax-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sirmax-placeholder-icon {
    font-size: 1.4rem;
    color: #B97EFF;
}

.sirmax-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-radius: 12px;
    cursor: pointer;
}

.sirmax-track-row:hover .sirmax-play-overlay {
    opacity: 1;
}

.sirmax-play-btn-icon {
    background: linear-gradient(135deg, #9A6EFF, #7A4FCF);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px rgba(154, 110, 255, 0.5);
}

.sirmax-play-btn-icon:hover {
    transform: scale(1.15);
}

.sirmax-custom-play {
    width: 14px;
    height: 14px;
    display: block;
    margin-left: 2px;
}

.sirmax-footer-play-glyph .sirmax-footer-pause-glyph {
    margin-left: 0;
}

.sirmax-track-details {
    flex: 3;
    min-width: 140px;
}

.sirmax-track-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.sirmax-track-meta {
    display: flex;
    gap: 0.6rem;
    font-size: 0.65rem;
    color: #A59AD6;
    margin-top: 0.2rem;
    flex-wrap: wrap;
}

.sirmax-track-bpm {
    background: #1E193A;
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
}

.sirmax-track-price {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    font-feature-settings: "tnum" 1;
    margin-right: 0.8rem;
    color: #DDD5F0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.sirmax-track-price.free {
    color: #86E0AE;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.sirmax-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sirmax-buy-now-btn,
.sirmax-download-free-btn {
    background: linear-gradient(135deg, #794FDF, #6236c7);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sirmax-download-free-btn {
    background: linear-gradient(135deg, #2A9D8F, #21867a);
}

.sirmax-download-free-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.sirmax-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 79, 223, 0.4);
}

.sirmax-custom-footer-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0E0C1A;
    border-top: 1px solid rgba(140, 100, 220, 0.3);
    padding: 0.8rem 1.5rem;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.sirmax-custom-footer-player.sirmax-footer-active {
    transform: translateY(0);
}

.sirmax-footer-track-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.sirmax-footer-track-info-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 240px;
}

.sirmax-footer-thumbnail {
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, #2A224F, #100C28);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sirmax-footer-track-details {
    flex: 1;
}

.sirmax-footer-track-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #F5F3FC;
    line-height: 1.3;
}

.sirmax-footer-track-meta {
    display: flex;
    gap: 0.8rem;
    font-size: 0.7rem;
    color: #A59AD6;
    flex-wrap: wrap;
}

.sirmax-footer-track-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sirmax-footer-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 2;
    min-width: 300px;
}

.sirmax-footer-play-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.sirmax-footer-play-btn:hover .sirmax-play-btn-icon {
    transform: scale(1.15);
}

.sirmax-footer-progress-container {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sirmax-footer-time {
    font-size: 0.7rem;
    font-family: monospace;
    color: #A59AD6;
    min-width: 45px;
}

.sirmax-footer-progress-bar-bg {
    flex: 1;
    height: 4px;
    background: #2A2448;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.sirmax-footer-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9A6EFF, #C28AFF);
    border-radius: 4px;
    width: 0%;
}

.sirmax-footer-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #A59AD6;
    font-size: 0.8rem;
}

.sirmax-footer-volume-slider {
    width: 70px;
    height: 4px;
    background: #2A2448;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.sirmax-footer-volume-fill {
    height: 100%;
    background: linear-gradient(90deg, #9A6EFF, #C28AFF);
    border-radius: 4px;
    width: 70%;
}

.sirmax-footer-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.sirmax-footer-track-price {
    font-weight: 800;
    font-size: 1.1rem;
    font-family: monospace;
    color: #E8D9FF;
}

.sirmax-footer-track-price.free {
    color: #8EECC0;
}

.sirmax-footer-action-btn {
    border: none;
    padding: 0.55rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.sirmax-footer-download-free-btn {
    background: linear-gradient(135deg, #2A9D8F, #21867a);
}

.sirmax-footer-download-free-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.sirmax-footer-buy-now-btn {
    background: linear-gradient(135deg, #794FDF, #6236c7);
}

.sirmax-footer-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 79, 223, 0.4);
}

.sirmax-footer-close-btn {
    background: none;
    border: none;
    color: #8A86B0;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.3rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sirmax-footer-close-btn:hover {
    color: #C28AFF;
    background: rgba(155, 110, 255, 0.1);
}

.sirmax-toast-msg {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #1A143F;
    backdrop-filter: blur(12px);
    padding: 0.6rem 1rem;
    border-radius: 40px;
    font-size: 0.75rem;
    border-left: 3px solid #BB86FF;
    z-index: 150;
    transform: translateX(400px);
    transition: 0.2s;
    color: white;
}

.sirmax-toast-show {
    transform: translateX(0);
}

.sirmax-no-results {
    text-align: center;
    padding: 2rem;
    background: #0E0C1A;
    border-radius: 28px;
    color: #A59AD6;
}

.sirmax-no-results i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.sirmax-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 1.8rem;
}

.sirmax-load-more-btn {
    background: #1E1938;
    border: 1px solid #4A3A7A;
    padding: 0.7rem 1.5rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    color: #C9B6FF;
    font-size: 0.8rem;
}

.sirmax-load-more-btn:hover {
    background: #7A4FCF;
    color: white;
}

.sirmax-load-more-btn:disabled,
.sirmax-load-more-btn.is-loading {
    opacity: 0.75;
    cursor: wait;
    pointer-events: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .sirmax-footer-track-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .sirmax-footer-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .sirmax-footer-progress-container {
        width: 100%;
        order: 1;
    }
    
    .sirmax-footer-volume {
        order: 2;
    }
    
    .sirmax-footer-action-buttons {
        justify-content: space-between;
        width: 100%;
    }
    
    .sirmax-custom-footer-player {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .sirmax-hero-banner {
        padding: 1.5rem;
    }
    
    .sirmax-hero-text h2 {
        font-size: 1.5rem;
    }
    
    .sirmax-hero-text {
        text-align: center;
    }
    
    .sirmax-hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .sirmax-genre-pills {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .sirmax-beat-store {
        padding: 1rem;
    }
    
    .sirmax-hero-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .sirmax-hero-text {
        text-align: center;
    }
    
    .sirmax-hero-text p {
        margin: 0.5rem auto 0;
    }
    
    .sirmax-genre-pills {
        justify-content: center;
    }
    
    .sirmax-header-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .sirmax-search-wrapper {
        width: 100%;
    }
    
    .sirmax-sort-select {
        width: 100%;
    }
    
    .sirmax-track-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sirmax-action-buttons {
        justify-content: flex-start;
        margin-top: 0.8rem;
    }
    
    .sirmax-footer-track-info-left {
        min-width: 100%;
    }
    
    .sirmax-footer-track-meta {
        font-size: 0.6rem;
    }
    
}

@media (max-width: 480px) {
    .sirmax-hero-text h2 {
        font-size: 1.25rem;
    }
    
    .sirmax-hero-text p {
        font-size: 0.8rem;
    }
    
    .sirmax-pill {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }
}
