/* ===========================================
   MAIN STYLESHEET - DOZ DRIPZ
   =========================================== */

/* CSS Variables - Theme & Layout */
:root {
    --color-bg: #0a0a0a;
    --color-bg-elevated: #111111;
    --color-accent: #800000;
    --color-accent-hover: #a00000;
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
    --color-text-dim: #888888;
    --color-border: rgba(255, 255, 255, 0.1);
    --container-max: 1200px;
    --section-padding: 5rem;
    --section-padding-mobile: 3rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --header-height: 80px;
    --bp-mobile: 767px;
    --bp-tablet: 1024px;
}

/* Hide utility header when main header exists (index.php) */
body:has(main .header) > header:first-of-type {
    display: none;
}

/* ===========================================
   RESET & BASE STYLES
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
            font-family: 'Inter', sans-serif;
            background-color: #0a0a0a;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
            font-size: 16px; /* Mobile-first base font size */
            width: 100%;
            min-height: 100vh;
            padding-top: 80px; /* Push content below fixed navbar */
            margin: 0;
        }

        /* ===========================================
           RESPONSIVE IMAGES
           =========================================== */
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .logo-img,
        .owner-img,
        .category-beat-cover {
            max-width: 100%;
            height: auto;
            object-fit: cover;
        }
        
        /* Ensure all images are responsive */
        .track-artwork,
        .large-artwork,
        .owner-image {
            max-width: 100%;
            height: auto;
            object-fit: cover;
        }

        /* ===========================================
           LAYOUT & CONTAINER STYLES
           =========================================== */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
            width: 100%;
            box-sizing: border-box;
        }
        
        /* Ensure proper viewport handling - prevent horizontal scroll */
        html {
            overflow-x: hidden;
        }
        
        body {
            overflow-x: hidden;
            width: 100%;
            min-width: 0;
        }

/* Main Content Layout */
.main-content {
    transition: margin-right 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.main-content.with-panel {
    margin-right: 400px;
}

/* Responsive layout for smaller screens */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-content,
    .about-owner {
        max-width: 100%;
    }
    .owner-card {
        max-width: 100%;
        padding: 1.75rem;
    }
    .owner-image {
        width: 200px;
        height: 200px;
    }
    .main-content.with-panel {
        margin-right: 0 !important;
        flex-direction: column;
    }
}

/* Mobile-first responsive fix */
@media (max-width: 768px) {
    .main-content.with-panel {
        margin-right: 0 !important;
        flex-direction: column;
        width: 100%;
        overflow-x: hidden;
    }
    
    .side-player {
        width: 100vw !important;
        height: 100vh !important;
        top: 0 !important;
        left: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: translateX(100vw);
        position: fixed;
        z-index: 3000;
        border-radius: 0;
    }
    
    .side-player.active {
        transform: translateX(0);
    }
}

/* Prevent page scroll when side player is open */
body.side-player-open {
    overflow: hidden;
}

        /* ===========================================
           HEADER & NAVIGATION STYLES
           =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    gap: 1rem;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #800000;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

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

.logo i {
    color: #800000;
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(128, 0, 0, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

        .filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(128, 0, 0, 0.2);
    border: 1px solid rgba(128, 0, 0, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-height: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.filter-toggle:hover {
    background: rgba(128, 0, 0, 0.3);
    transform: translateY(-1px);
}

.filter-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.cart, .user-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    min-height: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.cart {
    position: relative;
}

.cart:hover, .user-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.cart-total {
    font-weight: 600;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #800000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Cart Panel Styles */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.active {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.close-cart {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cart-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-artwork {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.cart-item-artist {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.cart-item-license {
    background: rgba(128, 0, 0, 0.2);
    color: #800000;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.125rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
}

.cart-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-empty h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #800000, #a00000);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.4);
}

.checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Filters Panel */
        .filters-panel {
    position: fixed;
    top: 80px; /* Position below the header */
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.filters-panel.active {
    max-height: 320px;
    padding: 1.5rem;
    overflow-y: auto;
}
/* Ensure content is pushed when filters are open */
body.filters-active .main-content {
    margin-top: 120px;
}
@media (max-width: 767px) {
    body.filters-active .main-content {
        margin-top: 100px;
    }
}

/* Adjust main content when filters are active */
body.filters-active .hero {
    padding-top: 120px; /* Account for header + filters panel */
}

body.filters-active .tracks-section {
    padding-top: 2rem;
}

        .filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: end;
    box-sizing: border-box;
    width: 100%;
}

/* Filters responsive - tablet */
@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
}

/* Filters responsive - mobile */
@media (max-width: 767px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    .filter-group {
        width: 100%;
    }
    .clear-filters {
        width: 100%;
    }
}

/* Filters responsive - 320px */
@media (max-width: 360px) {
    .filters-panel .container {
        padding: 0 0.75rem;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 600;
    letter-spacing: 1px;
}

.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.2);
}

.search-wrapper input::placeholder {
    color: #666;
}

#genreFilter {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

#genreFilter:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(128, 0, 0, 0.2);
}

#genreFilter option {
    background: #1a1a1a;
    color: #ffffff;
}

.range-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#bpmRange {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

#bpmRange::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #800000;
    border-radius: 50%;
    cursor: pointer;
}

#bpmRange::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #800000;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#bpmValue {
    font-size: 0.8rem;
    color: #cccccc;
    min-width: 60px;
}

.clear-filters {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid #800000;
    color: #800000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.clear-filters:hover {
    background: #800000;
    color: #ffffff;
}

        /* ===========================================
           HERO SECTION STYLES
           =========================================== */
        .hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    padding: 1.25rem 1rem;
    box-sizing: border-box;
    margin-top: 0; /* No offset, body padding handles header */
    padding-top: 0; /* Keep compact so tracks appear sooner */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(128, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" fill-opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23ffffff" fill-opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(128, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #800000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #cccccc;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.4;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    padding: 1.5rem 2rem;
    background: #800000;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: #a00000;
    transform: translateY(-1px);
}

        /* ===========================================
           TRACKS SECTION STYLES
           =========================================== */
.tracks-section {
    padding: var(--section-padding-mobile) 0;
    margin-top: 0;
    position: relative;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .tracks-section {
        padding: var(--section-padding) 0;
    }
}

.tracks-list {
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    padding: 0 1rem;
    line-height: 1.2;
}

/* ============================================
   FEATURED BEATS - RESPONSIVE GRID LAYOUT
   ============================================ */

/* Grid container - ensures header and rows share same column structure */
.featured-beats-grid {
    --beats-col-title: minmax(180px, 2.5fr);
    --beats-col-genre: minmax(70px, 0.9fr);
    --beats-col-time: minmax(60px, 0.65fr);
    --beats-col-bpm: minmax(50px, 0.55fr);
    --beats-col-key: minmax(75px, 0.8fr);
    --beats-col-tags: minmax(100px, 1.2fr);
    --beats-col-actions: minmax(260px, 1.5fr);
    --beats-gap: 16px;
    display: grid;
    grid-template-columns: var(--beats-col-title) var(--beats-col-genre) var(--beats-col-time) var(--beats-col-bpm) var(--beats-col-key) var(--beats-col-tags) var(--beats-col-actions);
    column-gap: var(--beats-gap);
    row-gap: 0.75rem;
    width: 100%;
    margin-top: 2rem;
    align-items: center;
}

.tracks-list.featured-beats {
    display: contents;
}

.tracks-header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: var(--beats-col-title) var(--beats-col-genre) var(--beats-col-time) var(--beats-col-bpm) var(--beats-col-key) var(--beats-col-tags) var(--beats-col-actions);
    column-gap: var(--beats-gap);
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
}

.track-item,
.track-item.beatsGridRow {
    grid-column: 1 / -1;
}

.header-cell {
    font-weight: 600;
    color: #cccccc;
    font-size: 0.9rem;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.header-cell-actions {
    text-align: right;
    justify-self: end;
}

.track-item,
.track-item.beatsGridRow {
    display: grid;
    grid-template-columns: var(--beats-col-title) var(--beats-col-genre) var(--beats-col-time) var(--beats-col-bpm) var(--beats-col-key) var(--beats-col-tags) var(--beats-col-actions);
    column-gap: var(--beats-gap);
    align-items: center;
    padding: 1rem;
    background: #111111;
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-bottom: 0.75rem;
    position: relative;
}

.track-item:hover {
    background: #1a1a1a !important;
    transform: translateY(-2px) !important;
}

.track-item.playing {
    background: rgba(128, 0, 0, 0.1) !important;
    border-left: 3px solid #800000 !important;
}

/* ============================================
   TITLE CELL - Proper Structure
   ============================================ */
.titleCell {
    min-width: 0 !important;
    overflow: hidden !important;
}

.titleWrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.cover,
.track-artwork {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    border-radius: 10px !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.track-artwork:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3) !important;
}

.track-artwork::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s ease !important;
}

.track-artwork:hover::before {
    background: rgba(0, 0, 0, 0.6) !important;
}

.track-artwork .play-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 0.9rem !important;
    z-index: 2 !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.track-artwork:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.titleText {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.songName {
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
}

.songName:hover {
    cursor: help !important;
}

/* ============================================
   OTHER CELLS
   ============================================ */
.genreCell,
.track-genre {
    font-size: 0.8rem !important;
    color: #888888 !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.timeCell,
.bpmCell,
.keyCell,
.track-time,
.track-bpm,
.track-key {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.4rem !important;
    color: #cccccc !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
}

.track-time i,
.track-bpm i,
.track-key i {
    color: #800000 !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

/* ============================================
   TAGS CELL - No Overflow
   ============================================ */
.tagsCell,
.track-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: center !important;
    max-width: 100% !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
}

.tag {
    background: #8b0000 !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    border-radius: 20px !important;
    padding: 0.3rem 0.7rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.tag:hover {
    background: #a40000 !important;
}

/* ============================================
   ACTIONS CELL - Right Aligned, No Overlap
   ============================================ */
.actionsCell,
.track-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-self: end;
    min-width: 0;
}

.track-actions .action-btn {
    flex-shrink: 0;
}

.track-actions .price-btn {
    flex-shrink: 0;
    margin-left: 0.25rem;
}

.actionBtn,
.action-btn {
    background: none !important;
    border: none !important;
    color: #666 !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
}

.actionBtn:hover,
.action-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.1) !important;
}

.like-btn.liked {
    color: #800000 !important;
}

.priceBtn,
.price-btn {
    background: #800000 !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 0.85rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 90px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.priceBtn:hover,
.price-btn:hover {
    background: #a00000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3) !important;
}
.action-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.like-btn.liked {
    color: #800000;
}

.price-btn {
    background: #800000;
    color: white;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    min-width: 70px;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.price-btn:hover {
    background: #a00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

/* License Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.license-modal {
    background: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .license-modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.modal-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.modal-brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.modal-brand-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888888;
}

.modal-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #888;
    font-size: 0.9rem;
}

.licensing-link {
    color: #4f46e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.licensing-link:hover {
    color: #6366f1;
}

.modal-track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-track-artwork {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.play-overlay-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-track-artwork:hover .play-overlay-modal {
    opacity: 1;
}

.modal-play-btn {
    background: rgba(128, 0, 0, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-play-btn:hover {
    background: #800000;
    transform: scale(1.1);
}

.modal-track-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.modal-track-details p {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-track-details .fas.fa-star {
    color: #fbbf24;
    font-size: 0.8rem;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.modal-content {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    max-height: calc(85vh - 120px);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(128, 0, 0, 0.6);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 0, 0, 0.8);
}

.license-options {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.license-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.license-option-btn {
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.license-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.license-option-btn.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-color: #4f46e5;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.license-option-btn.active[data-license="stems"] {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.license-option-btn.exclusive {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(234, 88, 12, 0.4);
    color: #f97316;
    box-shadow: none;
}

.license-option-btn.exclusive:hover {
    background: rgba(234, 88, 12, 0.12);
    box-shadow: none;
}

.license-option-btn.exclusive.active {
    background: linear-gradient(135deg, #ea580c, #f97316);
    border-color: #ea580c;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(234, 88, 12, 0.35);
}

.license-option-btn .fas.fa-crown {
    margin-left: 0.5rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.license-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.license-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.license-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.license-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-label .fas.fa-info-circle {
    color: #6b7280;
    font-size: 0.8rem;
    cursor: help;
}

.info-value {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    max-width: 200px;
    word-wrap: break-word;
    line-height: 1.4;
}

.show-all-btn {
    background: none;
    border: none;
    color: #4f46e5;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: underline;
    font-size: 0.9rem;
}

.show-all-btn:hover {
    color: #6366f1;
}

.modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.negotiate-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #cccccc;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.negotiate-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.purchase-modal-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: none;
}

.purchase-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

@media (max-width: 1024px) {
    .modal-overlay {
        padding: 1.5rem;
    }

    .license-modal {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        padding: 1.75rem;
    }

    .modal-content {
        padding: 1.75rem;
        max-height: calc(90vh - 160px);
    }

    .license-options {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .modal-actions {
        justify-content: space-between;
        gap: 0.75rem;
    }
}

@media (max-width: 640px) {
    .license-modal {
        border-radius: 18px;
        max-height: 92vh;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem 1.5rem 0;
    }

    .modal-left {
        width: 100%;
    }

    .modal-branding {
        margin-bottom: 0.5rem;
    }

    .modal-brand-logo {
        width: 40px;
        height: 40px;
    }

    .modal-brand-name {
        font-size: 0.9rem;
    }

    .modal-brand-tagline {
        font-size: 0.7rem;
    }

    .modal-track-info {
        width: 100%;
        justify-content: flex-start;
    }

    .modal-track-artwork {
        width: 64px;
        height: 64px;
    }

    .modal-track-details h3 {
        font-size: 1.1rem;
    }

    .modal-track-details p {
        font-size: 0.85rem;
    }

    .modal-close-btn {
        align-self: flex-end;
        width: 40px;
        height: 40px;
    }

    .modal-content {
        padding: 1.25rem;
        max-height: calc(92vh - 220px);
    }

    .license-options {
        gap: 2rem;
    }

    .license-option-btn {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .license-details {
        padding: 1.25rem;
    }

    .license-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .info-value {
        text-align: left;
        max-width: 100%;
    }

    .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .negotiate-btn,
    .purchase-modal-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .modal-overlay {
        padding: 1rem;
    }

    .modal-header {
        padding: 1.25rem 1.25rem 0;
        gap: 1rem;
    }

    .modal-content {
        padding: 1rem 1.25rem 1.25rem;
        max-height: calc(92vh - 210px);
    }

    .license-option-btn {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .modal-branding {
        gap: 0.6rem;
    }

    .modal-brand-logo {
        width: 36px;
        height: 36px;
    }

    .modal-track-artwork {
        width: 58px;
        height: 58px;
    }
}

.purchase-modal-btn[data-license="stems"] {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: none;
}

.purchase-modal-btn[data-license="stems"]:hover {
    box-shadow: none;
}

.purchase-modal-btn[data-license="exclusive"] {
    background: linear-gradient(135deg, #ea580c, #f97316);
    box-shadow: none;
}

.purchase-modal-btn[data-license="exclusive"]:hover {
    box-shadow: none;
}

        /* ===========================================
           SIDE PLAYER STYLES
           =========================================== */
        .side-player {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow-y: hidden;
    overflow-x: hidden;
}

.side-player.active {
    transform: translateX(0);
}

.side-player-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
}

.close-panel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cccccc;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-panel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.side-player-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
}

.player-section {
    margin-bottom: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.large-artwork {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.large-artwork::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(128, 0, 0, 0.1), rgba(160, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.large-artwork:hover::before {
    opacity: 1;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.large-artwork:hover .play-overlay {
    opacity: 1;
}

.large-play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #800000, #a00000);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.4);
}

.large-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(128, 0, 0, 0.5);
}

.track-main-info {
    text-align: center;
    margin-bottom: 2rem;
}

.track-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.track-artist {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 400;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.side-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}

.side-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
}

.side-action-btn i {
    font-size: 1.2rem;
}

.download-count, .like-count {
    font-size: 0.8rem;
    font-weight: 600;
}

.side-action-btn.like-btn.liked {
    color: #800000;
    border-color: #800000;
}

.pricing-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.license-options h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.license-options p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.view-terms-btn {
    background: transparent;
    border: 1px solid #800000;
    color: #800000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.view-terms-btn:hover {
    background: #800000;
    color: #ffffff;
}

.purchase-btn {
    width: 100%;
    background: linear-gradient(135deg, #6f2dbd, #800000);
    border: none;
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 45, 189, 0.3);
}

.track-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-label {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

/* Beat Details Section */
.beat-details-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    overflow: hidden;
}

.beat-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.beat-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 0;
}

.beat-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.beat-detail-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.2), rgba(160, 0, 0, 0.2));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #800000;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.beat-detail-content {
    flex: 1;
    min-width: 0;
}

.beat-detail-label {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.beat-detail-value {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.beat-tags-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.beat-tags-label {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.beat-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.beat-tag {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.2), rgba(160, 0, 0, 0.3));
    border: 1px solid rgba(128, 0, 0, 0.3);
    color: #ff6b6b;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
    cursor: default;
}

.beat-tag:hover {
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.3), rgba(160, 0, 0, 0.4));
    border-color: rgba(128, 0, 0, 0.5);
    transform: translateY(-1px);
}

/* Audio Controls */
.audio-controls {
    margin-bottom: 2rem;
}

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #800000, #a00000);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #cccccc;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.play-pause-main {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #800000, #a00000);
    color: white;
}

.play-pause-main:hover {
    background: linear-gradient(135deg, #a00000, #c00000);
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-control i {
    font-size: 0.9rem;
    color: #cccccc;
}

.volume-control input {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-control input::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #800000;
    border-radius: 50%;
    cursor: pointer;
}

/* Related Tracks */
.related-section {
    margin-top: auto;
    flex-shrink: 0;
}

.related-section h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #800000;
}

.related-tracks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-track:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.related-artwork {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.related-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(128, 0, 0, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.related-track:hover .related-play-btn {
    opacity: 1;
}

.related-info {
    flex: 1;
}

.related-info h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.related-info p {
    color: #888;
    font-size: 0.8rem;
    text-transform: capitalize;
}

        /* ===========================================
           CATEGORIES SECTION STYLES
           =========================================== */
        .categories-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(128, 0, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(128, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.category-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(128, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    cursor: pointer;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-sizing: border-box;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.1) 0%, rgba(128, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(128, 0, 0, 0.6);
    box-shadow: 0 20px 40px rgba(128, 0, 0, 0.2), 
                0 0 0 1px rgba(128, 0, 0, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(128, 0, 0, 0.4);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-beats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-beat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-beat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.category-beat-cover {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.category-beat-info h5 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.category-beat-info p {
    color: #999999;
    font-size: 0.8rem;
    margin: 0;
}

.category-beat-stats {
    margin-left: auto;
    text-align: right;
}

.category-beat-price {
    color: #800000;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.category-beat-plays {
    color: #666666;
    font-size: 0.75rem;
}

.category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-count {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all-btn {
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
    background: linear-gradient(135deg, #900000 0%, #700000 100%);
}

/* Trending specific styles */
.category-card.trending .category-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.category-card.trending:hover {
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}

/* New Finds specific styles */
.category-card.new-finds .category-icon {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
}

.category-card.new-finds:hover {
    border-color: rgba(0, 212, 170, 0.6);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2);
}

/* Animation for category cards */
@keyframes categorySlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: categorySlideIn 0.6s ease-out;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Responsive design */
@media (max-width: 768px) {
    .categories-section {
        padding: 2rem 0;
    }
    
    .categories-grid {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: visible;
        padding: 0 1rem;
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .category-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 1.25rem;
        box-sizing: border-box;
    }
    
    .category-header {
        gap: 0.75rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
}

        /* ===========================================
           LICENSING SECTION STYLES
           =========================================== */
        .licensing-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
}

.licensing-container {
    width: 100%;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    align-items: stretch;
}

/* Desktop layout optimization for licensing */
@media (min-width: 1024px) {
    .licensing-container {
        padding: 0 3rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(300px, 1fr));
        gap: 2rem;
    }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: none;
    position: relative;
    backdrop-filter: blur(10px);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.pricing-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.pricing-card.featured {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
}

.pricing-card.featured:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.popular-badge { display: none; }

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.make-offer {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features i {
    color: #800000;
    font-size: 0.8rem;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    color: #ffffff;
}

.pricing-card .features {
    margin: 1rem 0 1.5rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #cccccc;
    text-align: left;
}

.pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.4;
}

.pricing-card .features i {
    color: #22c55e;
}

.pricing-card .license-btn {
    margin-top: auto;
    align-self: center;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #800000, #a00000);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.pricing-card .license-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.35);
}

.pricing-card .license-btn.primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.license-btn {
    background: transparent;
    border: 2px solid #800000;
    color: #800000;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.license-btn:hover,
.license-btn.primary {
    background: #800000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
}

/* ===========================================
   ABOUT SECTION STYLES
   =========================================== */
.about-section {
    padding: var(--section-padding-mobile) 0;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.05) 100%);
    width: 100%;
}

.about-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* CSS Grid - 2-column layout on desktop */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    margin-top: 2rem;
}

/* Desktop: enhanced spacing */
@media (min-width: 1024px) {
    .about-section {
        padding: var(--section-padding) 0;
    }
    .about-container {
        padding: 0 2rem;
    }
    .about-wrapper {
        gap: 4rem;
        margin-top: 2.5rem;
    }
}

/* Tablet: adjusted spacing */
@media (min-width: 768px) and (max-width: 1023px) {
    .about-wrapper {
        gap: 3rem;
    }
    .owner-card {
        max-width: 380px;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #800000, #a00000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: #cccccc;
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.about-text p:last-of-type {
    margin-bottom: 2rem;
}

.key-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.key-point {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.key-point:hover {
    transform: translateY(-5px);
    border-color: rgba(128, 0, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.key-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #800000, #a00000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.key-icon i {
    color: white;
    font-size: 1.1rem;
}

.key-text h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.key-text p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.about-owner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.owner-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.owner-card:hover {
    transform: translateY(-8px);
    border-color: rgba(128, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.owner-image {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #800000;
    transition: all 0.3s ease;
}

.owner-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.4);
}

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

.owner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.owner-image:hover .owner-overlay {
    opacity: 1;
}

.owner-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: #800000;
    transform: scale(1.1);
}

.owner-info {
    text-align: center;
    width: 100%;
}

.owner-info h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.owner-title {
    color: #800000;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.owner-bio {
    color: #cccccc;
    line-height: 1.65;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.owner-bio:last-child {
    margin-bottom: 0;
}

.owner-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    color: #800000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-label {
    color: #cccccc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================================
   CONTACT SECTION - REDESIGNED
   =========================================== */
.contact-section {
    padding: var(--section-padding-mobile) 0;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
    width: 100%;
}

.contact-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Single column - form only */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 2rem auto 0;
}

@media (min-width: 768px) {
    .contact-grid {
        max-width: 640px;
    }
}

/* Email inside form card */
.contact-form-email {
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    color: #cccccc;
}

.contact-form-email i {
    color: #800000;
    margin-right: 0.5rem;
}

.contact-form-email a {
    color: #800000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-form-email a:hover {
    color: #a00000;
}

/* Contact Form Card */
.contact-form-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #cccccc;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #800000;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.contact-btn {
    background: linear-gradient(135deg, #800000, #a00000);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.4);
}

/* Desktop */
@media (min-width: 1024px) {
    .contact-section {
        padding: var(--section-padding) 0;
    }
    .contact-container {
        padding: 0 2rem;
    }
    .contact-grid {
        gap: 3rem;
        margin-top: 2.5rem;
    }
    .contact-form-card {
        padding: 2rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .contact-grid {
        gap: 2rem;
    }
    .contact-form-card {
        padding: 1.75rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .contact-section {
        padding: 3rem 0;
    }
    .contact-container {
        padding: 0 1rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .contact-form-card {
        padding: 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-actions {
        justify-content: stretch;
    }
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    .contact-form .form-field input,
    .contact-form .form-field textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .contact-form-card {
        padding: 1.25rem;
    }
    .contact-form {
        gap: 1rem;
    }
}

/* ===========================================
   FOOTER - REDESIGNED
   =========================================== */
.footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 4.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4.5rem;
}

/* 4-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-logo img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-brand-desc {
    color: #888;
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #800000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(128, 0, 0, 0.3);
}

.footer-column h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-column a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: #ffffff;
    padding-left: 0.25rem;
}

.footer-newsletter p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: #800000;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #a00000;
}

/* Bottom bar - flexbox */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #aaaaaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tablet - 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer {
        padding: 3rem 0 0;
    }
    .footer-inner {
        padding: 0 1.5rem 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    .footer-brand-desc {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .footer {
        padding: 2.5rem 0 0;
    }
    .footer-inner {
        padding: 0 1rem 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-brand-logo {
        justify-content: center;
    }
    .footer-brand-desc {
        max-width: 100%;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-column {
        align-items: center;
    }
    .footer-column h4 {
        text-align: center;
    }
    .footer-column a {
        text-align: center;
    }
    .footer-newsletter p {
        text-align: center;
    }
    .newsletter-form {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 1.25rem;
    }
    .footer-badges {
        justify-content: center;
    }
}

/* Extra small */
@media (max-width: 375px) {
    .footer-inner {
        padding: 0 0.75rem 2rem;
    }
    .footer-grid {
        gap: 1.5rem;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Mobile nav menu active state */
.nav.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    gap: 0.5rem;
    z-index: 999;
    animation: slideDownMenu 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav.active .nav-link {
    width: 100%;
    text-align: left;
    padding: 1rem;
    border-radius: 8px;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #800000, #a00000);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    z-index: 3000;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
    animation: slideInRight 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 300px;
}

        /* ===========================================
           COMPREHENSIVE RESPONSIVE DESIGN
           =========================================== */
        
        /* Mobile-first approach with improved breakpoints */
        
        /* Extra small devices (320px - 360px) */
        @media (max-width: 360px) {
            .container {
                padding: 0 0.75rem;
            }
            .section-title {
                font-size: 1.35rem;
            }
            .logo h1 {
                font-size: 1.35rem;
            }
            .nav-wrapper {
                padding: 0 0.5rem;
                gap: 0.5rem;
            }
            .header-actions {
                gap: 0.5rem;
            }
            .logo-image {
                width: 48px;
                height: 48px;
            }
        }
        
        /* Extra small devices (phones, up to 480px) */
        @media (max-width: 480px) {
            .container {
                padding: 0 0.75rem;
            }
            
            body {
                font-size: 14px;
                padding-top: 60px;
            }
            
            .header {
                height: 60px;
                padding: 0.5rem 0;
                min-height: 60px;
            }
            
            .nav-wrapper {
                padding: 0 0.5rem;
                gap: 0.5rem;
                flex-wrap: wrap;
            }
            
            .logo {
                flex-shrink: 0;
            }
            
            .logo h1 {
                font-size: 0.9rem;
                letter-spacing: 1px;
            }
            
            .logo-image {
                width: 24px;
                height: 24px;
            }
            
            .nav {
                display: none;
            }
            
            .header-actions {
                gap: 0.4rem;
                flex-wrap: nowrap;
                justify-content: flex-end;
            }
            
            .filter-toggle {
                padding: 0.4rem;
                font-size: 0.8rem;
                min-width: 40px;
                min-height: 40px;
            }
            
            .filter-toggle span {
                display: none;
            }
            
            .cart, .user-icon {
                padding: 0.4rem;
                font-size: 0.8rem;
                min-width: 40px;
                min-height: 40px;
            }
            
            .cart span, .user-icon span {
                display: none;
            }
            
            .hero {
                padding: 0.5rem;
                min-height: 90vh;
                margin-top: -60px;
                padding-top: 60px;
            }
            
            .hero-title {
                font-size: clamp(1.5rem, 8vw, 2.5rem);
                letter-spacing: 1px;
                margin-bottom: 0.5rem;
            }
            
            .hero-subtitle {
                font-size: clamp(0.9rem, 4vw, 1.1rem);
                margin-bottom: 1.5rem;
            }
            
            .search-container {
                max-width: 100%;
                flex-direction: column;
                gap: 0.75rem;
                margin: 0 auto;
            }
            
            .search-input {
                padding: 0.875rem 1rem;
                font-size: 16px;
            }
            
            .search-btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .tracks-section {
                padding: 1.5rem 0;
                margin-top: -20px;
            }
            
            .section-title {
                font-size: clamp(1.25rem, 5vw, 1.75rem);
                margin-bottom: 1rem;
                padding: 0 0.5rem;
            }
            
            .track-item {
                padding: 0.75rem;
                gap: 0.75rem;
                min-height: 70px;
                margin: 0 0.5rem 0.75rem;
            }
            
            .track-artwork {
                width: 45px;
                height: 45px;
            }
            
            .track-details h3 {
                font-size: 0.85rem;
            }
            
            .track-details .track-genre {
                font-size: 0.65rem;
            }
            
            .action-btn {
                padding: 0.3rem;
                font-size: 0.75rem;
            }
            
            .price-btn {
                padding: 0.5rem 0.75rem;
                font-size: 0.75rem;
                min-width: 60px;
                max-width: 90px;
            }
            
            .categories-section {
                padding: 1.5rem 0;
            }
            
            .category-card {
                min-width: 200px;
                max-width: 220px;
                padding: 1rem;
            }
            
            .category-title {
                font-size: 1rem;
            }
            
            .category-icon {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
            
            /* Mobile forms */
            .form-row {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 0.875rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.9rem;
                min-height: 44px;
            }
            
            /* Mobile modals */
            .license-modal {
                width: 95%;
                max-height: 90vh;
                margin: 0.5rem;
                border-radius: 12px;
            }
            
            .modal-header {
                padding: 1rem;
            }
            
            .modal-content {
                padding: 1rem;
            }
            
            .license-option-btn {
                padding: 0.875rem 1rem;
                font-size: 0.9rem;
            }
            
            /* Mobile footer */
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
                text-align: center;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 0.75rem;
                text-align: center;
            }
            
            /* Mobile side panel */
            .side-player {
                width: 100%;
                height: 100vh;
                top: 0;
                left: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 1rem;
            }
            
            .large-artwork {
                width: calc(100vw - 2rem);
                max-width: 250px;
                height: calc(100vw - 2rem);
                max-height: 250px;
            }
            
            /* Mobile beat details */
            .beat-details-section {
                padding: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .beat-details-grid {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .beat-detail-item {
                padding: 0.5rem;
                gap: 0.5rem;
            }
            
            .beat-detail-icon {
                width: 30px;
                height: 30px;
                font-size: 0.8rem;
            }
            
            .beat-detail-label {
                font-size: 0.7rem;
            }
            
            .beat-detail-value {
                font-size: 0.9rem;
            }
            
            .beat-tags-section {
                padding-top: 1rem;
            }
            
            .beat-tags-label {
                font-size: 0.8rem;
                margin-bottom: 0.5rem;
            }
            
            .beat-tag {
                font-size: 0.7rem;
                padding: 0.25rem 0.5rem;
            }
            
            /* Mobile cart panel */
            .cart-panel {
                width: 100vw;
                right: -100vw;
            }
            
            .cart-panel.active {
                right: 0;
            }
            
            /* Mobile filters panel */
            .filters-panel {
                width: 100vw;
                height: calc(100vh - 60px);
                top: 60px; /* Position below mobile header */
                left: 0;
                border-radius: 0;
                transform: translateX(-100vw);
                z-index: 1001;
                overflow-y: auto;
            }
            
            .filters-panel.active {
                transform: translateX(0);
            }
            
            .filters-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 1.5rem 1rem;
                height: 100%;
            }
            
            .filter-group {
                width: 100%;
            }
            
            .search-wrapper input {
                font-size: 16px; /* Prevent zoom on iOS */
            }
        }

        /* Small devices (phones, 481px to 767px) */
        @media (min-width: 481px) and (max-width: 767px) {
            .container {
                padding: 0 0.75rem;
            }
            
            body {
                font-size: 15px;
                padding-top: 65px;
            }
            
            .header {
                height: 65px;
                padding: 0.6rem 0;
                min-height: 65px;
            }
            
            .nav-wrapper {
                padding: 0 0.75rem;
                gap: 0.75rem;
            }
            
            .logo h1 {
                font-size: 1.1rem;
            }
            
            .logo-image {
                width: 28px;
                height: 28px;
            }
            
            .nav {
                display: none;
            }
            
            .header-actions {
                gap: 0.6rem;
                flex-wrap: nowrap;
            }
            
            .filter-toggle {
                padding: 0.5rem;
                font-size: 0.85rem;
                min-width: 44px;
                min-height: 44px;
            }
            
            .filter-toggle span {
                display: none;
            }
            
            .cart, .user-icon {
                padding: 0.5rem;
                font-size: 0.85rem;
                min-width: 44px;
                min-height: 44px;
            }
            
            .cart span, .user-icon span {
                display: none;
            }
            
            .hero {
                padding: 0.75rem;
                margin-top: -65px;
                padding-top: 65px;
            }
            
            .hero-title {
                font-size: clamp(2rem, 6vw, 3rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1rem, 3vw, 1.3rem);
            }
            
            .search-container {
                max-width: 500px;
            }
            
            .tracks-section {
                padding: 2rem 0;
                margin-top: -30px;
            }
            
            .section-title {
                font-size: clamp(1.5rem, 4vw, 2rem);
            }
            
            .track-item {
                padding: 1rem;
                min-height: 75px;
                margin: 0 0.75rem 0.75rem;
            }
            
            .track-artwork {
                width: 50px;
                height: 50px;
            }
            
            .track-details h3 {
                font-size: 0.9rem;
            }
            
            .track-details .track-genre {
                font-size: 0.7rem;
            }
            
            .action-btn {
                padding: 0.4rem;
                font-size: 0.8rem;
            }
            
            .price-btn {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
                min-width: 70px;
                max-width: 100px;
            }
            
            .categories-section {
                padding: 2rem 0;
            }
            
            .category-card {
                min-width: 240px;
                max-width: 260px;
                padding: 1.25rem;
            }
            
            .category-title {
                font-size: 1.1rem;
            }
            
            .category-icon {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1rem 1.5rem;
                font-size: 0.95rem;
                min-height: 44px;
            }
            
            /* Modals */
            .license-modal {
                width: 90%;
                max-height: 85vh;
                margin: 1rem;
            }
            
            .modal-header {
                padding: 1.25rem;
            }
            
            .modal-content {
                padding: 1.25rem;
            }
            
            .license-option-btn {
                padding: 1rem 1.2rem;
                font-size: 0.95rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel */
            .side-player {
                width: 100%;
                height: 100vh;
                top: 0;
                left: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 1.25rem;
            }
            
            .large-artwork {
                width: calc(100vw - 2.5rem);
                max-width: 280px;
                height: calc(100vw - 2.5rem);
                max-height: 280px;
            }
            
            /* Tablet beat details */
            .beat-details-section {
                padding: 1.25rem;
                margin-bottom: 1.75rem;
            }
            
            .beat-details-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1rem;
            }
            
            .beat-detail-item {
                padding: 0.75rem;
                gap: 0.75rem;
            }
            
            .beat-detail-icon {
                width: 34px;
                height: 34px;
                font-size: 0.9rem;
            }
            
            .beat-detail-label {
                font-size: 0.75rem;
            }
            
            .beat-detail-value {
                font-size: 1rem;
            }
            
            .beat-tags-section {
                padding-top: 1.25rem;
            }
            
            .beat-tags-label {
                font-size: 0.85rem;
                margin-bottom: 0.75rem;
            }
            
            .beat-tag {
                font-size: 0.75rem;
                padding: 0.375rem 0.75rem;
            }
        }

        /* Medium devices (tablets, 768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .container {
                padding: 0 1.5rem;
            }
            
            body {
                font-size: 16px;
                padding-top: 70px;
            }
            
            .header {
                height: 70px;
                padding: 0.75rem 0;
                min-height: 70px;
            }
            
            .nav-wrapper {
                padding: 0 1rem;
                gap: 1rem;
            }
            
            .logo h1 {
                font-size: 1.2rem;
            }
            
            .logo-image {
                width: 32px;
                height: 32px;
            }
            
            .nav {
                display: flex;
            }
            
            .header-actions {
                gap: 0.8rem;
            }
            
            .filter-toggle {
                padding: 0.6rem 0.8rem;
                font-size: 0.9rem;
            }
            
            .filter-toggle span {
                display: inline;
            }
            
            .cart, .user-icon {
                padding: 0.6rem 0.8rem;
                font-size: 0.9rem;
            }
            
            .cart span, .user-icon span {
                display: inline;
            }
            
            .filters-panel {
                top: 70px;
            }
            
            .filters-grid {
                grid-template-columns: 2fr 1fr 1fr 1fr;
                gap: 1.5rem;
            }
            
            .hero {
                padding: 1rem;
                margin-top: -70px;
                padding-top: 70px;
            }
            
            .hero-title {
                font-size: clamp(2.5rem, 5vw, 4rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1.2rem, 2.5vw, 1.5rem);
            }
            
            .search-container {
                max-width: 600px;
            }
            
            .tracks-section {
                padding: 3rem 0;
                margin-top: -40px;
            }
            
            .section-title {
                font-size: clamp(1.75rem, 4vw, 2.5rem);
            }
            
            .track-item {
                padding: 1.25rem;
                min-height: 85px;
                margin: 0 1rem 1rem;
            }
            
            .track-artwork {
                width: 55px;
                height: 55px;
            }
            
            .track-details h3 {
                font-size: 1rem;
            }
            
            .track-details .track-genre {
                font-size: 0.8rem;
            }
            
            .action-btn {
                padding: 0.5rem;
                font-size: 0.85rem;
            }
            
            .price-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
                min-width: 80px;
                max-width: 120px;
            }
            
            .categories-section {
                padding: 3rem 0;
            }
            
            .category-card {
                min-width: 280px;
                max-width: 320px;
                padding: 1.5rem;
            }
            
            .category-title {
                font-size: 1.2rem;
            }
            
            .category-icon {
                width: 50px;
                height: 50px;
                font-size: 1.4rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1.25rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1.25rem 2rem;
                font-size: 1rem;
                min-height: 48px;
            }
            
            /* Modals */
            .license-modal {
                width: 85%;
                max-height: 80vh;
                margin: 2rem;
            }
            
            .modal-header {
                padding: 1.5rem;
            }
            
            .modal-content {
                padding: 1.5rem;
            }
            
            .license-option-btn {
                padding: 1.25rem 1.5rem;
                font-size: 1rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel */
            .side-player {
                width: 100%;
                height: 100vh;
                top: 0;
                left: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 1.5rem;
            }
            
            .large-artwork {
                width: calc(100vw - 3rem);
                max-width: 320px;
                height: calc(100vw - 3rem);
                max-height: 320px;
            }
        }

        /* Large devices (desktops, 1024px and up) */
        @media (min-width: 1024px) {
            .container {
                padding: 0 2rem;
            }
            
            body {
                font-size: 16px;
                padding-top: 70px;
            }
            
            .header {
                height: 70px;
                padding: 0.75rem 0;
                min-height: 70px;
            }
            
            .nav-wrapper {
                padding: 0 1.5rem;
                gap: 1.5rem;
            }
            
            .logo h1 {
                font-size: 1.3rem;
            }
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
            
            .nav {
                display: flex;
            }
            
            .header-actions {
                gap: 1rem;
            }
            
            .filter-toggle {
                padding: 0.7rem 1rem;
                font-size: 0.95rem;
            }
            
            .filter-toggle span {
                display: inline;
            }
            
            .cart, .user-icon {
                padding: 0.7rem 1rem;
                font-size: 0.95rem;
            }
            
            .cart span, .user-icon span {
                display: inline;
            }
            
            .filters-panel {
                top: 70px;
            }
            
            .filters-grid {
                grid-template-columns: 2fr 1fr 1fr 1fr;
                gap: 2rem;
                padding: 2rem;
            }
            
            .hero {
                padding: 1.5rem;
                margin-top: -70px;
                padding-top: 70px;
            }
            
            .hero-title {
                font-size: clamp(3rem, 4vw, 5rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1.3rem, 2vw, 1.6rem);
            }
            
            .search-container {
                max-width: 700px;
            }
            
            .tracks-section {
                padding: 4rem 0;
                margin-top: -50px;
            }
            
            .section-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }
            
            .track-item {
                padding: 1.5rem;
                min-height: 90px;
                margin: 0 1.5rem 1rem;
            }
            
            .track-artwork {
                width: 60px;
                height: 60px;
            }
            
            .track-details h3 {
                font-size: 1.1rem;
            }
            
            .track-details .track-genre {
                font-size: 0.85rem;
            }
            
            .action-btn {
                padding: 0.6rem;
                font-size: 0.9rem;
            }
            
            .price-btn {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
                min-width: 90px;
                max-width: 140px;
            }
            
            .categories-section {
                padding: 4rem 0;
            }
            
            .category-card {
                min-width: 300px;
                max-width: 350px;
                padding: 2rem;
            }
            
            .category-title {
                font-size: 1.3rem;
            }
            
            .category-icon {
                width: 55px;
                height: 55px;
                font-size: 1.5rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1.5rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1.5rem 2.5rem;
                font-size: 1.1rem;
                min-height: 52px;
            }
            
            /* Modals */
            .license-modal {
                width: 80%;
                max-height: 75vh;
                margin: 3rem;
            }
            
            .modal-header {
                padding: 2rem;
            }
            
            .modal-content {
                padding: 2rem;
            }
            
            .license-option-btn {
                padding: 1.5rem 2rem;
                font-size: 1.1rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 2.5rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel */
            .side-player {
                width: 400px;
                height: 100vh;
                top: 0;
                right: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 2rem;
            }
            
            .large-artwork {
                width: 350px;
                height: 350px;
            }
        }

        /* Extra large devices (large desktops, 1200px and up) */
        @media (min-width: 1200px) {
            .container {
                padding: 0 2.5rem;
            }
            
            body {
                font-size: 17px;
            }
        }

        /* Ultra wide screens (1400px and up) */
        @media (min-width: 1400px) {
            .container {
                padding: 0 3rem;
            }
            
            body {
                font-size: 18px;
            }
        }

        /* ===========================================
           ADDITIONAL RESPONSIVE IMPROVEMENTS
           =========================================== */
        
        /* Hide track headers on mobile for better layout */
        @media (max-width: 767px) {
            .tracks-header {
                display: none;
            }
            
            .track-item {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
                gap: 0.75rem;
                padding: 0.9rem 0.85rem;
                background: rgba(255, 255, 255, 0.04);
                border-radius: 12px;
                border: 1px solid rgba(255, 255, 255, 0.1);
                margin-bottom: 0.75rem;
            }
            
            .track-info {
                grid-column: 1;
                align-items: center;
            }
            
            .track-artwork {
                width: 46px;
                height: 46px;
            }
            
            .track-details h3 {
                font-size: 0.9rem;
                white-space: normal;
                line-clamp: 2;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                margin-bottom: 0.2rem;
            }
            
            .track-genre {
                grid-column: 1;
                font-size: 0.72rem;
                color: #999999;
                padding: 0.3rem 0.6rem;
                background: rgba(255, 255, 255, 0.08);
                border-radius: 10px;
                width: fit-content;
            }
            
            .track-time,
            .track-bpm,
            .track-key {
                background: rgba(255, 255, 255, 0.08);
                padding: 0.3rem 0.6rem;
                border-radius: 10px;
                font-size: 0.75rem;
                grid-column: 1;
                width: fit-content;
            }
            
            .track-tags {
                gap: 0.35rem;
                flex-wrap: wrap;
                max-width: 100%;
                justify-content: flex-start;
                grid-column: 1;
            }
            
            .tag {
                font-size: 0.65rem;
            }
            
            .track-actions {
                grid-column: 1;
                width: 100%;
                align-self: stretch;
                gap: 0.35rem;
                flex-wrap: wrap;
                justify-content: flex-start;
            }

            .action-btn {
                padding: 0.4rem;
                font-size: 0.78rem;
            }

            .price-btn {
                padding: 0.58rem 0.9rem;
                font-size: 0.82rem;
                min-width: 0;
            }

            .tracks-list {
                padding: 0 1rem;
            }
            
            .track-item:hover {
                background: rgba(255, 255, 255, 0.08);
                transform: none;
            }
        }
        
        /* Improve mobile navigation */
        @media (max-width: 767px) {
            .nav {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
                background: none;
                border: none;
                color: #ffffff;
                font-size: 1.5rem;
                cursor: pointer;
                padding: 0.5rem;
                border-radius: 0.5rem;
                transition: all 0.3s ease;
                z-index: 1001;
                position: relative;
                outline: none;
            }
            
            .mobile-menu-btn:hover,
            .mobile-menu-btn:focus {
                background: rgba(255, 255, 255, 0.1);
            }
            
            /* Additional mobile header fixes */
            .header-actions {
                gap: 0.5rem;
                flex-wrap: wrap;
                justify-content: flex-end;
            }
            
            .filter-toggle {
                padding: 0.4rem 0.6rem;
                font-size: 0.8rem;
            }
            
            .filter-toggle span {
                display: none;
            }
            
            .cart, .user-icon {
                padding: 0.4rem 0.6rem;
                font-size: 0.8rem;
            }
            
            .cart span, .user-icon span {
                display: none;
            }
            
            .nav.active {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(10, 10, 10, 0.98);
                backdrop-filter: blur(20px);
                padding: 1rem;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
                animation: slideDown 0.4s ease;
                z-index: 999;
            }
            
            .nav.active .nav-link {
                background: rgba(255, 255, 255, 0.05);
                transition: all 0.3s ease;
                width: 100%;
                box-sizing: border-box;
                padding: 0.75rem 1rem;
                margin: 0.25rem 0;
                border-radius: 8px;
            }
            
            .nav.active .nav-link:hover {
                background: rgba(255, 255, 255, 0.1);
            }
        }
        
        /* Improve mobile hero section */
        @media (max-width: 767px) {
            .hero {
                padding: 1rem 0.75rem;
                min-height: 60vh;
                padding-top: 1rem;
            }
            
            .hero-content {
                padding: 0 0.5rem;
            }
            
            .hero-title {
                font-size: clamp(2rem, 6vw, 4rem);
                margin-bottom: 1rem;
            }
            
            .hero-subtitle {
                font-size: clamp(1rem, 3vw, 1.5rem);
                margin-bottom: 2rem;
            }
            
            .search-container {
                flex-direction: column;
                border-radius: 12px;
                gap: 0.75rem;
                width: 100%;
                max-width: 400px;
                margin: 0 auto;
            }
            
            .search-input {
                font-size: 16px; /* Prevent zoom on iOS */
                padding: 0.875rem 1rem;
            }
            
            .search-btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.9rem;
            }
        }
        
        /* Improve mobile categories section */
        @media (max-width: 767px) {
            .categories-section {
                padding: 2rem 0;
            }
            
            .categories-grid {
                display: flex;
                flex-direction: column;
                flex-wrap: nowrap;
                overflow-x: visible;
                padding: 0 1rem;
                justify-content: flex-start;
                gap: 1rem;
            }
            
            .category-card {
                width: 100%;
                max-width: 100%;
                min-width: 0;
                padding: 1.25rem;
            }
            
            .category-title {
                font-size: 1rem;
            }
            
            .category-icon {
                font-size: 1.5rem;
            }
        }
        
        /* Improve mobile footer */
        @media (max-width: 767px) {
            .footer {
                padding: 2rem 0 1rem;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                text-align: center;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
        }
        
        /* Improve mobile forms */
        @media (max-width: 767px) {
            .form-row {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .form-group input,
            .form-group textarea {
                font-size: 16px; /* Prevent zoom on iOS */
                padding: 0.875rem 1rem;
            }
            
            .btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.9rem;
                min-height: 44px;
            }
        }
        
        /* Improve mobile modals */
        @media (max-width: 767px) {
            .license-modal {
                width: 95%;
                max-height: 90vh;
                margin: 1rem;
                border-radius: 12px;
            }
            
            .modal-header {
                padding: 1rem;
            }
            
            .modal-content {
                padding: 1rem;
            }
            
            .license-option-btn {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }
        }
        
        /* Mobile side panels - completely responsive */
        @media (max-width: 767px) {
            .side-player {
                width: 100vw !important;
                height: 100vh !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                border-radius: 0;
                position: fixed;
                z-index: 3000;
                transform: translateX(100vw);
                overflow-y: auto;
            }
            
            .side-player.active {
                transform: translateX(0);
            }
            
            .side-player-content {
                padding: 1rem;
                height: 100%;
                display: flex;
                flex-direction: column;
            }
            
            .player-section {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            
            .large-artwork {
                width: min(200px, 60vw);
                height: min(200px, 60vw);
                margin: 0 auto 1.5rem;
            }
            
            .track-title {
                font-size: 1.5rem;
            }
            
            .track-artist {
                font-size: 1rem;
            }
            
            .action-buttons {
                gap: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .side-action-btn {
                min-width: 60px;
                padding: 0.75rem;
            }
            
            .audio-controls {
                margin-bottom: 1rem;
            }
            
            .related-section {
                margin-top: auto;
                flex-shrink: 0;
            }
            
            /* Ensure main content doesn't have margin on mobile */
            .main-content.with-panel {
                margin-right: 0 !important;
                flex-direction: column;
                width: 100%;
                overflow-x: hidden;
            }
            
            /* Prevent horizontal scroll on body */
            body {
                overflow-x: hidden;
            }
        }

        /* Small devices (phones, 481px to 767px) */
        @media (min-width: 481px) and (max-width: 767px) {
            body {
                padding-top: 65px;
                font-size: 15px;
            }
            
            .header {
                padding: 0.6rem 0;
            }
            
            .nav-wrapper {
                padding: 0 0.75rem;
            }
            
            .logo h1 {
                font-size: 1.1rem;
            }
            
            .logo-image {
                width: 28px;
                height: 28px;
            }
            
            .hero {
                padding: 0.75rem;
                margin-top: -65px;
                padding-top: 65px;
            }
            
            .hero-title {
                font-size: clamp(2rem, 6vw, 3rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1rem, 3vw, 1.3rem);
            }
            
            .search-container {
                max-width: 500px;
            }
            
            .tracks-section {
                padding: 2rem 0;
                margin-top: -30px;
            }
            
            .section-title {
                font-size: clamp(1.5rem, 4vw, 2rem);
            }
            
            .track-item {
                padding: 1rem;
                min-height: 75px;
                margin: 0 0.75rem 0.75rem;
            }
            
            .track-artwork {
                width: 50px;
                height: 50px;
            }
            
            .track-details h3 {
                font-size: 0.9rem;
            }
            
            .track-details .track-genre {
                font-size: 0.7rem;
            }
            
            .action-btn {
                padding: 0.4rem;
                font-size: 0.8rem;
            }
            
            .price-btn {
                padding: 0.6rem 1rem;
                font-size: 0.8rem;
                min-width: 70px;
                max-width: 100px;
            }
            
            .categories-section {
                padding: 2rem 0;
            }
            
            .category-card {
                min-width: 240px;
                max-width: 260px;
                padding: 1.25rem;
            }
            
            .category-title {
                font-size: 1.1rem;
            }
            
            .category-icon {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1rem 1.5rem;
                font-size: 0.95rem;
                min-height: 44px;
            }
            
            /* Modals */
            .license-modal {
                width: 90%;
                max-height: 85vh;
                margin: 1rem;
            }
            
            .modal-header {
                padding: 1.25rem;
            }
            
            .modal-content {
                padding: 1.25rem;
            }
            
            .license-option-btn {
                padding: 1rem 1.2rem;
                font-size: 0.95rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel - inherit from mobile styles */
            .side-player-content {
                padding: 1.25rem;
            }
            
            .large-artwork {
                width: min(250px, 65vw);
                height: min(250px, 65vw);
            }
        }

        /* Tablet devices (768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            body {
                padding-top: 70px;
                font-size: 16px;
            }
            
            .header {
                padding: 0.75rem 0;
            }
            
            .nav-wrapper {
                padding: 0 1rem;
            }
            
            .logo h1 {
                font-size: 1.2rem;
            }
            
            .logo-image {
                width: 32px;
                height: 32px;
            }
            
            .hero {
                padding: 1rem;
                margin-top: -70px;
                padding-top: 70px;
            }
            
            .hero-title {
                font-size: clamp(2.5rem, 6vw, 4rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1.1rem, 3vw, 1.4rem);
            }
            
            .search-container {
                max-width: 550px;
            }
            
            .tracks-section {
                padding: 3rem 0;
                margin-top: -40px;
            }
            
            .section-title {
                font-size: clamp(1.75rem, 4vw, 2.5rem);
            }
            
            .track-item {
                padding: 1.25rem;
                min-height: 85px;
                margin: 0 1rem 1rem;
            }
            
            .track-artwork {
                width: 55px;
                height: 55px;
            }
            
            .track-details h3 {
                font-size: 1rem;
            }
            
            .track-details .track-genre {
                font-size: 0.75rem;
            }
            
            .action-btn {
                padding: 0.5rem;
                font-size: 0.85rem;
            }
            
            .price-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
                min-width: 80px;
                max-width: 110px;
            }
            
            .categories-section {
                padding: 3rem 0;
            }
            
            .categories-grid {
                gap: 1.25rem;
            }
            
            .category-card {
                min-width: 260px;
                max-width: 300px;
                padding: 1.5rem;
            }
            
            .category-title {
                font-size: 1.2rem;
            }
            
            .category-icon {
                width: 50px;
                height: 50px;
                font-size: 1.4rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1.125rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1.125rem 1.75rem;
                font-size: 1rem;
                min-height: 44px;
            }
            
            /* Modals */
            .license-modal {
                width: 85%;
                max-height: 80vh;
                margin: 1.5rem;
            }
            
            .modal-header {
                padding: 1.5rem;
            }
            
            .modal-content {
                padding: 1.5rem;
            }
            
            .license-option-btn {
                padding: 1.125rem 1.5rem;
                font-size: 1rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel - tablet responsive */
            .side-player {
                width: 350px;
                height: 100vh;
                top: 0;
                right: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 1.5rem;
            }
            
            .large-artwork {
                width: min(280px, 80vw);
                height: min(280px, 80vw);
            }
        }

        /* Desktop devices (1024px and up) */
        @media (min-width: 1024px) {
            body {
                padding-top: 70px;
                font-size: 16px;
            }
            
            .header {
                padding: 0.75rem 0;
            }
            
            .nav-wrapper {
                padding: 0 1.5rem;
            }
            
            .logo h1 {
                font-size: 1.3rem;
            }
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
            
            .hero {
                padding: 2rem 1rem;
                margin-top: -70px;
                padding-top: 70px;
            }
            
            .hero-title {
                font-size: clamp(3rem, 6vw, 5rem);
            }
            
            .hero-subtitle {
                font-size: clamp(1.2rem, 3vw, 1.5rem);
            }
            
            .search-container {
                max-width: 600px;
            }
            
            .tracks-section {
                padding: 4rem 0;
                margin-top: -50px;
            }
            
            .section-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }
            
            .track-item {
                padding: 1.5rem;
                min-height: 90px;
                margin: 0 1.5rem 1rem;
            }
            
            .track-artwork {
                width: 60px;
                height: 60px;
            }
            
            .track-details h3 {
                font-size: 1.1rem;
            }
            
            .track-details .track-genre {
                font-size: 0.8rem;
            }
            
            .action-btn {
                padding: 0.5rem;
                font-size: 0.9rem;
            }
            
            .price-btn {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
                min-width: 80px;
                max-width: 120px;
            }
            
            .categories-section {
                padding: 4rem 0;
            }
            
            .categories-grid {
                gap: 1.5rem;
            }
            
            .category-card {
                min-width: 280px;
                max-width: 350px;
                padding: 2rem;
            }
            
            .category-title {
                font-size: 1.3rem;
            }
            
            .category-icon {
                width: 60px;
                height: 60px;
                font-size: 1.6rem;
            }
            
            /* Forms */
            .form-row {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1.25rem;
                font-size: 16px;
            }
            
            .btn {
                padding: 1.25rem 2rem;
                font-size: 1rem;
                min-height: 44px;
            }
            
            /* Modals */
            .license-modal {
                width: 80%;
                max-height: 75vh;
                margin: 2rem;
            }
            
            .modal-header {
                padding: 2rem;
            }
            
            .modal-content {
                padding: 2rem;
            }
            
            .license-option-btn {
                padding: 1.25rem 1.75rem;
                font-size: 1rem;
            }
            
            /* Footer */
            .footer-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 2.5rem;
            }
            
            .footer-bottom {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
            }
            
            /* Side panel - desktop responsive */
            .side-player {
                width: 400px;
                height: 100vh;
                top: 0;
                right: 0;
                border-radius: 0;
            }
            
            .side-player-content {
                padding: 2rem;
            }
            
            .large-artwork {
                width: min(320px, 85vw);
                height: min(320px, 85vw);
            }
        }

        /* ===========================================
           TABLET AND DESKTOP RESPONSIVE FIXES
           =========================================== */
        
        /* Large tablets and small desktops (1024px to 1199px) */
        @media (min-width: 1024px) and (max-width: 1199px) {
            .main-content.with-panel {
                margin-right: 350px;
            }
            
            .side-player {
                width: 350px;
            }
            
            .large-artwork {
                width: min(280px, 80vw);
                height: min(280px, 80vw);
            }
            
            .license-modal {
                max-width: 800px;
                width: 95%;
            }
            
            .license-options {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .licensing-container {
                padding: 0 1.5rem;
            }

            .pricing-grid {
                justify-content: center;
                gap: 1.5rem;
            }

            .pricing-card {
                flex: 0 1 calc(50% - 0.75rem);
                min-width: 280px;
                max-width: 320px;
            }
        }

        /* Medium tablets (768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .main-content.with-panel {
                margin-right: 0;
                flex-direction: column;
            }
            
            .side-player {
                width: 100vw;
                transform: translateX(100vw);
                position: fixed;
                top: 0;
                left: 0;
                z-index: 3000;
            }
            
            .side-player.active {
                transform: translateX(0);
            }
            
            .filters-grid {
                grid-template-columns: 1fr 1fr;
                gap: 1rem;
            }
            
            .about-container {
                padding: 0 1.5rem;
            }

            .contact-container {
                padding: 0 1.5rem;
            }

            .about-wrapper {
                flex-direction: column;
                gap: 3rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .about-content {
                flex: none;
                width: 100%;
            }

            .about-owner {
                flex: none;
                width: 100%;
            }
            
            .key-points {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .owner-card {
                max-width: 100%;
            }
            
            .owner-image {
                width: 400px;
                height: 400px;
            }
            
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .large-artwork {
                width: 280px;
                height: 280px;
            }
            
            .license-modal {
                width: 95%;
                max-height: 95vh;
            }
            
            .modal-header {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
            
            .modal-track-info {
                order: -1;
            }
            
            .modal-close-btn {
                position: absolute;
                top: 1rem;
                right: 1rem;
            }
            
            .licensing-container {
                padding: 0 1.5rem;
            }

            .pricing-grid {
                justify-content: center;
                gap: 1.75rem;
            }

            .pricing-card {
                flex: 0 1 calc(50% - 0.875rem);
                min-width: 300px;
                max-width: 340px;
            }
        }

        /* ===========================================
           FINAL MOBILE OPTIMIZATIONS
           =========================================== */
        
        /* Additional mobile-specific improvements */
        @media (max-width: 767px) {
            /* Ensure proper touch targets */
            .action-btn,
            .price-btn,
            .btn,
            .nav-link,
            .mobile-menu-btn {
                min-height: 44px;
                min-width: 44px;
            }
            
            /* Improve text readability */
            .track-details h3,
            .category-title,
            .section-title {
                line-height: 1.3;
            }
            
            /* Better spacing for mobile */
            .tracks-section,
            .categories-section,
            .about-section,
            .licensing-container,
            .contact-container {
                padding: 0 1rem;
            }

            .licensing-section {
                padding: 2rem 0;
            }
            
            /* Optimize images for mobile */
            .track-artwork,
            .category-beat-cover,
            .logo-img {
                image-rendering: -webkit-optimize-contrast;
                image-rendering: crisp-edges;
            }
            
            /* Improve button interactions */
            .action-btn:active,
            .price-btn:active,
            .btn:active {
                transform: scale(0.95);
                transition: transform 0.1s ease;
            }
            
            /* Better focus states for accessibility */
            .action-btn:focus,
            .price-btn:focus,
            .btn:focus,
            .nav-link:focus {
                outline: 2px solid #800000;
                outline-offset: 2px;
            }
            
            /* Ensure no horizontal scroll */
            * {
                max-width: 100%;
                box-sizing: border-box;
            }
            
            /* Improve scrolling performance */
            .categories-grid,
            .tracks-list {
                -webkit-overflow-scrolling: touch;
                scroll-behavior: smooth;
            }

            /* Make licensing/pricing cards stack vertically on small screens */
            .licensing-container {
                padding: 0 1rem;
            }

            .pricing-grid {
                flex-direction: column;
                align-items: center;
                gap: 1.5rem;
            }

            .pricing-card {
                width: 100%;
                max-width: 400px;
                min-width: auto;
                box-sizing: border-box;
            }

            /* Stack About and Contact sections vertically */
            .about-container,
            .contact-container {
                padding: 0 1rem;
            }

            .about-wrapper {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .about-content,
            .about-owner,
            .owner-card {
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
                flex: none;
            }

            .owner-image {
                width: 180px;
                height: 180px;
                margin: 0 auto 1.25rem;
            }

            .owner-img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            /* Make key points stack vertically on mobile */
            .key-points {
                display: grid;
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .key-point {
                flex-direction: row;
                align-items: flex-start;
            }

            /* Stack owner stats vertically on very small screens for readability */
            .owner-stats {
                display: flex;
                flex-direction: column;
                gap: 0.5rem;
                margin-top: 0.75rem;
            }

            .owner-stats .stat {
                display: flex;
                gap: 0.5rem;
                align-items: center;
            }

            /* Slight spacing between about text and owner card */
            .about-text p {
                margin-bottom: 1rem;
            }

            /* Footer: stack columns and bottom area vertically on mobile */
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .footer-brand {
                width: 100%;
                max-width: 100%;
            }

            .footer-column {
                padding: 0.5rem 0;
            }

            .social-links {
                display: flex;
                gap: 0.5rem;
                justify-content: flex-start;
                flex-wrap: wrap;
                margin-top: 0.75rem;
            }

            .footer-bottom {
                display: flex;
                flex-direction: column;
                gap: 0.5rem;
                align-items: center;
                padding: 1rem 0 2rem;
            }

            .footer-badges {
                display: flex;
                gap: 0.5rem;
                flex-wrap: wrap;
                justify-content: center;
            }

            /* Additional small tweaks for About and Contact spacing on mobile */
            .about-container,
            .contact-container {
                padding: 0 1.5rem;
            }

            .about-wrapper {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .about-content,
            .about-owner {
                width: 100%;
                flex: none;
            }

            .about-owner {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .owner-card {
                margin: 0 auto;
                max-width: 100%;
                padding: 1.5rem;
            }

            .owner-image {
                width: 160px;
                height: 160px;
            }

            .about-section {
                padding: 3rem 0;
            }
        }
        
        /* ===========================================
           RESPONSIVE UTILITIES
           =========================================== */
        
        /* Hide elements on mobile */
        @media (max-width: 767px) {
            .desktop-only {
                display: none !important;
            }
        }
        
        /* Hide elements on desktop */
        @media (min-width: 768px) {
            .mobile-only {
                display: none !important;
            }
        }
        
        /* Responsive text utilities */
        .text-responsive {
            font-size: clamp(0.875rem, 2.5vw, 1rem);
        }
        
        .title-responsive {
            font-size: clamp(1.5rem, 5vw, 3rem);
        }
        
        /* Responsive spacing utilities */
        .padding-responsive {
            padding: clamp(1rem, 4vw, 3rem);
        }
        
        .margin-responsive {
            margin: clamp(1rem, 4vw, 3rem);
        }

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(128, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(128, 0, 0, 0.6);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================================
   ANIMATION CLASSES
   =========================================== */
/* Animation Classes */
.animate-slideInUp {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fadeInScale {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Loading animation */
.track-artwork.loading {
    animation: pulse 1.5s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #800000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a00000;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* ===========================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   =========================================== */

/* Extra small devices (phones, up to 480px) - CRITICAL FIXES */
@media (max-width: 480px) {
    /* Header fixes */
    .header {
        height: auto;
        min-height: 70px;
        padding: 0.5rem 0;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 3;
    }
    
    /* Hide desktop nav */
    .nav {
        display: none;
    }
    
    /* Header actions responsive */
    .header-actions {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }
    
    .filter-toggle span {
        display: none;
    }
    
    .cart-total {
        display: none;
    }
    
    .user-icon span {
        display: none;
    }
    
    /* Filters panel mobile */
    .filters-panel.active {
        max-height: none;
        padding: 1rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 1rem 0.5rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-input {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .search-btn {
        padding: 0.875rem 1rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Tracks section mobile - Card layout */
    .tracks-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .featured-beats-grid {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    
    .tracks-section .container {
        overflow-x: hidden;
    }
    
    .tracks-header {
        display: none !important;
    }
    
    .track-item,
    .track-item.beatsGridRow {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        gap: 1rem !important;
        padding: 1.25rem !important;
        background: #111111 !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    /* Title section - full width on mobile */
    .titleCell {
        width: 100% !important;
        order: 1;
    }
    
    .titleWrap {
        gap: 1rem !important;
    }
    
    .cover,
    .track-artwork {
        width: 60px !important;
        height: 60px !important;
        flex: 0 0 60px !important;
    }
    
    .songName {
        font-size: 1rem !important;
        -webkit-line-clamp: 3 !important;
    }
    
    /* Meta info row - wrap on mobile */
    .track-item .genreCell,
    .track-item .timeCell,
    .track-item .bpmCell,
    .track-item .keyCell {
        display: flex !important;
        align-items: center !important;
        order: 2;
        width: auto !important;
    }
    
    /* Meta info - 2-column grid for compact layout */
    .track-item.beatsGridRow {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 0.75rem 1rem !important;
    }
    
    .track-item .titleCell {
        grid-column: 1 / -1;
        order: unset;
    }
    
    .track-item .genreCell { grid-column: 1; grid-row: 2; }
    .track-item .timeCell { grid-column: 2; grid-row: 2; }
    .track-item .bpmCell { grid-column: 1; grid-row: 3; }
    .track-item .keyCell { grid-column: 2; grid-row: 3; }
    
    .track-item .genreCell,
    .track-item .timeCell,
    .track-item .bpmCell,
    .track-item .keyCell {
        font-size: 0.8rem !important;
        color: #aaaaaa !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .track-item .tagsCell {
        grid-column: 1 / -1;
        grid-row: 4;
        order: unset;
    }
    
    .track-item .actionsCell {
        grid-column: 1 / -1;
        grid-row: 5;
        order: unset;
    }
    
    /* Tags row */
    .tagsCell,
    .track-tags {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    
    /* Actions row - wrap on small screens, proper spacing */
    .actionsCell,
    .track-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        padding-top: 0.25rem !important;
    }
    
    .actionBtn,
    .action-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex-shrink: 0 !important;
    }
    
    .priceBtn,
    .price-btn {
        flex: 1 !important;
        min-width: 100px !important;
        justify-content: center !important;
    }
    
    /* Cart panel mobile */
    .cart-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-panel.active {
        right: 0;
    }
    
    .cart-header {
        padding: 1.5rem 1rem;
    }
    
    .cart-content {
        padding: 1rem;
    }
    
    .cart-footer {
        padding: 1.5rem 1rem;
    }
    
    /* Modal mobile */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .license-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 24px 24px 0 0;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .modal-track-info {
        width: 100%;
    }
    
    .modal-close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .license-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .license-info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .purchase-modal-btn,
    .negotiate-btn {
        width: 100%;
    }
    
    /* Categories section mobile */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        min-height: 200px;
    }
    
    /* About section mobile */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content,
    .about-owner {
        width: 100%;
        max-width: 100%;
    }
    
    .owner-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    /* Contact section mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Licensing section mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    /* Side player mobile */
    .side-player {
        width: 100vw !important;
        height: 100vh !important;
        top: 0 !important;
        left: auto !important;
        right: -100vw !important;
        transform: none !important;
        border-radius: 0 !important;
    }
    
    .side-player.active {
        right: 0 !important;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Small devices (phones, 481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    /* Header fixes */
    .header {
        height: auto;
        min-height: 75px;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide desktop nav */
    .nav {
        display: none;
    }
    
    /* Filters panel */
    .filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    /* Tracks - Mobile Card Layout (481-767px) */
    .featured-beats-grid {
        grid-template-columns: 1fr;
        row-gap: 1rem;
    }
    
    .tracks-header {
        display: none !important;
    }
    
    .track-item,
    .track-item.beatsGridRow {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto auto auto !important;
        gap: 0.75rem 1rem !important;
        padding: 1.25rem !important;
        background: #111111 !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    .track-item .titleCell {
        grid-column: 1 / -1;
    }
    
    .track-item .genreCell { grid-column: 1; grid-row: 2; }
    .track-item .timeCell { grid-column: 2; grid-row: 2; }
    .track-item .bpmCell { grid-column: 1; grid-row: 3; }
    .track-item .keyCell { grid-column: 2; grid-row: 3; }
    
    .track-item .tagsCell {
        grid-column: 1 / -1;
        grid-row: 4;
    }
    
    .track-item .actionsCell {
        grid-column: 1 / -1;
        grid-row: 5;
    }
    
    .titleWrap {
        gap: 1rem !important;
    }
    
    .cover,
    .track-artwork {
        width: 60px !important;
        height: 60px !important;
        flex: 0 0 60px !important;
    }
    
    .songName {
        font-size: 1.05rem !important;
        -webkit-line-clamp: 3 !important;
    }
    
    .track-item .genreCell,
    .track-item .timeCell,
    .track-item .bpmCell,
    .track-item .keyCell {
        font-size: 0.82rem !important;
        color: #aaaaaa !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .actionsCell,
    .track-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }
    
    .actionBtn,
    .action-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex-shrink: 0 !important;
    }
    
    .priceBtn,
    .price-btn {
        flex: 1 !important;
        min-width: 100px !important;
    }
    
    /* Cart panel */
    .cart-panel {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-panel.active {
        right: 0;
    }
    
    /* Modal */
    .license-modal {
        width: 95%;
    }
    
    .license-options {
        grid-template-columns: 1fr;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet devices (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Header */
    .nav {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Filters */
    .filters-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1rem;
    }
    
    /* Tracks - use grid variables for alignment */
    .featured-beats-grid {
        --beats-col-title: minmax(160px, 2.2fr);
        --beats-col-genre: minmax(60px, 0.8fr);
        --beats-col-time: minmax(55px, 0.6fr);
        --beats-col-bpm: minmax(45px, 0.5fr);
        --beats-col-key: minmax(65px, 0.7fr);
        --beats-col-tags: minmax(90px, 1.1fr);
        --beats-col-actions: minmax(240px, 1.4fr);
        --beats-gap: 12px;
    }
    
    .action-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 0.3rem !important;
    }
    
    .price-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.78rem;
        min-width: 85px !important;
    }
    
    /* Cart panel */
    .cart-panel {
        width: 350px;
        right: -350px;
    }
    
    /* Modal */
    .license-options {
        grid-template-columns: 1fr 1.2fr;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Side player */
    .side-player {
        width: 350px;
    }
    
    .main-content.with-panel {
        margin-right: 350px;
    }
}

/* Landscape phone orientation fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .modal-overlay {
        align-items: flex-start;
        padding: 1rem;
    }
    
    .license-modal {
        max-height: 95vh;
    }
}

/* Extra small screens (320px - 375px) */
@media (max-width: 375px) {
    .featured-beats-grid {
        margin-top: 1.5rem;
    }
    
    .track-item.beatsGridRow {
        padding: 1rem !important;
        gap: 0.6rem 0.75rem !important;
    }
    
    .track-artwork,
    .cover {
        width: 50px !important;
        height: 50px !important;
        flex: 0 0 50px !important;
    }
    
    .action-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
    
    .price-btn {
        min-width: 80px !important;
        font-size: 0.8rem !important;
        padding: 0.5rem 0.75rem !important;
    }
}

/* Prevent body scroll when modals/panels are open */
body.modal-open,
body.cart-open,
body.side-player-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Extra small screens (320px) - prevent overflow */
@media (max-width: 360px) {
    .container,
    .contact-container,
    .about-container,
    .footer-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .section-title {
        font-size: 1.35rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .action-btn,
    .nav-link,
    .filter-toggle,
    .cart,
    .user-icon,
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .track-item:hover {
        transform: none;
    }
    
    .action-btn:hover {
        transform: none;
    }
    
    /* Better tap feedback */
    .action-btn:active,
    .nav-link:active,
    .filter-toggle:active {
        transform: scale(0.95);
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper borders */
    .track-item,
    .category-card,
    .pricing-card {
        border-width: 0.5px;
    }
}

/* Print styles */
@media print {
    .header,
    .filters-panel,
    .cart-panel,
    .side-player,
    .modal-overlay,
    .footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .track-item {
        page-break-inside: avoid;
    }
}
