/* Landing Page Specific Styles */
:root {
    --landing-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-glow: rgba(0, 255, 204, 0.3);
    --hero-height: 70vh;
    --header-offset: 92px;
}

/* Premium Hero Section for Tracks */
.hero-section {
    position: relative;
    min-height: var(--hero-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top left, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f172a 100%);
    margin-top: var(--header-offset);
    overflow: hidden;
    z-index: 1;
}

/* Animated Background Elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 40%);
    animation: heroFloat 20s ease-in-out infinite;
    z-index: 0;
}

/* Particle Effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(0, 212, 255, 0.4), transparent);
    background-size: 200px 200px, 150px 150px, 100px 100px, 250px 250px;
    background-position: 0% 0%, 30% 30%, 60% 60%, 90% 90%;
    animation: particles 25s linear infinite;
    z-index: 1;
}

/* Hero Content Container */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 1.5rem;
    animation: heroFadeInUp 1.2s ease-out;
}

/* Premium Typography */
.hero-section h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 30%, #8b5cf6 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0, 212, 255, 0.3);
    letter-spacing: -1px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

/* Subtitle */
.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* Premium Button */
.hero-button {
    display: inline-block;
    position: relative;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #6c5ce7 0%, #3b82f6 50%, #00d4ff 100%);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(108, 92, 231, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Button Shine Effect */
.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(108, 92, 231, 0.5),
        0 0 80px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Background Media Support */
.hero-background-image,
.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Edit Button - Bottom Middle */
.hero-edit-bottom {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    animation: fadeInUp 1.4s ease-out;
}

.hero-edit-bottom .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-edit-bottom .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

/* Premium Animations */
@keyframes heroFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(1deg) scale(1.05); }
    66% { transform: rotate(-1deg) scale(1.02); }
}

@keyframes particles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

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

@keyframes titleGlow {
    0% { filter: brightness(1) drop-shadow(0 0 40px rgba(0, 212, 255, 0.3)); }
    100% { filter: brightness(1.2) drop-shadow(0 0 60px rgba(0, 212, 255, 0.5)); }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root { --header-offset: 78px; --hero-height: 60vh; }
    .hero-content { padding: 1rem; }
    .hero-section h1 { margin-bottom: 0.8rem; }
    .hero-content p { margin-bottom: 1.5rem; font-size: 1rem; }
    .btn-hero { padding: 0.9rem 2rem; font-size: 0.95rem; }
    
    /* Fix hero background image for mobile */
    .hero-background-image {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .hero-background-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .hero-edit-bottom {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    :root { --header-offset: 70px; --hero-height: 55vh; }
    .hero-content { padding: 0.8rem; }
    .btn-hero { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    
    /* Enhanced mobile background image fix */
    .hero-background-image {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        width: 100vw !important;
        height: 100% !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-background-video {
        width: 100vw !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-edit-bottom {
        bottom: 0.8rem;
    }
}

/* DJ Link Styles */
.dj-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.dj-link:hover {
    color: #00a8cc;
    border-bottom-color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.landing-wrapper {
    background-color: transparent;
    color: white;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.landing-wrapper h1, 
.landing-wrapper h2, 
.landing-wrapper h3, 
.landing-wrapper h4 {
    font-family: 'Orbitron', sans-serif;
}

.hero-v3 {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 204, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

/* GFX elements positioned absolutely for full width */
.hero-v3 .floating-particles,
.hero-v3 .bg-gfx-elements,
.hero-v3 .bg-gfx-grid,
.hero-v3 .gfx-stars,
.hero-v3 .gfx-scanner,
.hero-v3 .gfx-vignette,
.hero-v3 .gfx-tech-circle,
.hero-v3 .gfx-cursor-glow,
.hero-v3 .gfx-blob {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lightning-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
    background: transparent;
}

.lightning-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightning-bolt {
    position: absolute;
    pointer-events: none;
}

.lightning-path {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Bolt 1 - Blue White */
.bolt-1 .lightning-path.main {
    stroke-width: 4;
    stroke: #e3f2fd;
    filter: drop-shadow(0 0 10px #e3f2fd) drop-shadow(0 0 20px #2196f3) drop-shadow(0 0 40px #2196f3);
}

.bolt-1 .lightning-path.branch {
    stroke-width: 2;
    stroke: #2196f3;
    filter: drop-shadow(0 0 5px #2196f3);
}

/* Bolt 2 - Purple Pink */
.bolt-2 .lightning-path.main {
    stroke-width: 4;
    stroke: #fce4ec;
    filter: drop-shadow(0 0 10px #fce4ec) drop-shadow(0 0 20px #e91e63) drop-shadow(0 0 40px #e91e63);
}

.bolt-2 .lightning-path.branch {
    stroke-width: 2;
    stroke: #e91e63;
    filter: drop-shadow(0 0 5px #e91e63);
}

/* Bolt 3 - Green Yellow */
.bolt-3 .lightning-path.main {
    stroke-width: 4;
    stroke: #f0f4c3;
    filter: drop-shadow(0 0 10px #f0f4c3) drop-shadow(0 0 20px #cddc39) drop-shadow(0 0 40px #cddc39);
}

.bolt-3 .lightning-path.branch {
    stroke-width: 2;
    stroke: #cddc39;
    filter: drop-shadow(0 0 5px #cddc39);
}

/* Bolt 4 - Orange Red */
.bolt-4 .lightning-path.main {
    stroke-width: 4;
    stroke: #ffe0b2;
    filter: drop-shadow(0 0 10px #ffe0b2) drop-shadow(0 0 20px #ff5722) drop-shadow(0 0 40px #ff5722);
}

.bolt-4 .lightning-path.branch {
    stroke-width: 2;
    stroke: #ff5722;
    filter: drop-shadow(0 0 5px #ff5722);
}

/* Bolt 5 - Original Cyan */
.bolt-5 .lightning-path.main {
    stroke-width: 4;
    stroke: #fff;
    filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 40px #00ffff);
}

.bolt-5 .lightning-path.branch {
    stroke-width: 2;
    stroke: #00ffff;
    filter: drop-shadow(0 0 5px #00ffff);
}

/* Test lightning animation */
@keyframes testFlash {
    0%, 90%, 100% { opacity: 0.3; }
    95% { opacity: 1; }
}

/* Lightning strike animations - More frequent */
@keyframes realStrike1 {
    0%, 70%, 74%, 100% { opacity: 0; }
    71% { opacity: 1; }
    71.5% { opacity: 0.3; }
    72% { opacity: 1; }
    73% { opacity: 0; }
}

@keyframes realStrike2 {
    0%, 50%, 54%, 100% { opacity: 0; }
    51% { opacity: 1; }
    51.2% { opacity: 0.4; }
    51.4% { opacity: 1; }
    51.6% { opacity: 0.3; }
    52% { opacity: 1; }
    53% { opacity: 0; }
}

@keyframes realStrike3 {
    0%, 60%, 64%, 100% { opacity: 0; }
    61% { opacity: 1; }
    61.3% { opacity: 0.2; }
    62% { opacity: 1; }
    63% { opacity: 0; }
}

@keyframes realStrike4 {
    0%, 40%, 44%, 100% { opacity: 0; }
    41% { opacity: 1; }
    41.2% { opacity: 0.5; }
    41.5% { opacity: 1; }
    41.8% { opacity: 0.3; }
    42% { opacity: 1; }
    43% { opacity: 0; }
}

@keyframes realStrike5 {
    0%, 80%, 84%, 100% { opacity: 0; }
    81% { opacity: 1; }
    81.4% { opacity: 0.3; }
    82% { opacity: 1; }
    83% { opacity: 0; }
}

/* Apply animations to each bolt - More frequent cycles */
.bolt-1 {
    animation: realStrike1 3s infinite;
}

.bolt-2 {
    animation: realStrike2 2.5s infinite;
}

.bolt-3 {
    animation: realStrike3 3.5s infinite;
}

.bolt-4 {
    animation: realStrike4 2s infinite;
}

.bolt-5 {
    animation: realStrike5 4s infinite;
}

.hero-v3::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-v3 h1 {
    font-size: clamp(3rem, 12vw, 6.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 0.9;
    letter-spacing: -2px;
    position: relative;
    color: #fff;
}

.hero-v3 h1 span {
    display: block;
    font-size: 0.4em;
    letter-spacing: 15px;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--primary-glow);
}

/* Glitch/Loose Connection Animation */
.glitch-text {
    position: relative;
    animation: glitchSkew 4s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    animation: glitchTop 1.5s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    color: #0ff;
    left: 2px;
}

.glitch-text::after {
    animation: glitchBottom 2.1s infinite linear alternate-reverse;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    color: #f0f;
    left: -2px;
}

@keyframes glitchTop {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-3px, 1px); opacity: 0.5; }
}

@keyframes glitchBottom {
    0%, 100% { transform: translate(0); }
    15% { transform: translate(3px, 2px); }
    25% { transform: translate(-3px, -2px); }
    35% { transform: translate(3px, -2px); }
    45% { transform: translate(-3px, 2px); }
    55% { transform: translate(4px, -1px); opacity: 0.3; }
}

@keyframes glitchSkew {
    0%, 100% { transform: skew(0deg); }
    20% { transform: skew(-1deg); }
    25% { transform: skew(3deg); }
    30% { transform: skew(-2deg); }
    35% { transform: skew(1deg); }
}

.hero-v3 p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    opacity: 0.9;
    margin: 2rem auto;
    max-width: 600px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.btn-hero {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-hero:hover::after {
    left: 100%;
}

.btn-primary-hero {
    background: var(--primary-color);
    color: #000 !important;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-primary-hero:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.5);
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
    background: var(--primary-color);
    color: #000 !important;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
}

@media (max-width: 768px) {
    .hero-v3 {
        height: auto;
        padding: 120px 0 80px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }
    .btn-hero {
        width: 100%;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.section-header h2 span {
    color: var(--primary-color);
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Grid Layouts */
.catalog-grid, .latest-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Ensure cards don't stretch too much if there's only one */
.track-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Cyan Card Theme Overrides */
.catalog-grid .track-card,
.latest-list .track-card,
.catalog-grid .track-card.glass-card,
.latest-list .track-card.glass-card {
    background: linear-gradient(145deg, rgba(2, 14, 20, 0.9) 0%, rgba(7, 22, 30, 0.84) 100%) !important;
    border: 1px solid rgba(0, 234, 255, 0.28) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 234, 255, 0.12) inset;
}

.catalog-grid .track-card:hover,
.latest-list .track-card:hover,
.catalog-grid .track-card.glass-card:hover,
.latest-list .track-card.glass-card:hover {
    border-color: rgba(0, 234, 255, 0.72) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 26px rgba(0, 234, 255, 0.34) !important;
}

.catalog-grid .track-card::before,
.latest-list .track-card::before {
    background: linear-gradient(90deg, rgba(0, 234, 255, 0.35), rgba(0, 234, 255, 0.95), rgba(103, 244, 255, 0.5)) !important;
}

.catalog-grid .track-card .card-info,
.latest-list .track-card .card-info,
.catalog-grid .track-card .track-list-row,
.latest-list .track-card .track-list-row {
    background: linear-gradient(180deg, rgba(0, 8, 13, 0.35), rgba(0, 14, 20, 0.15));
}

.catalog-grid .track-card .track-title,
.latest-list .track-card .track-title,
.catalog-grid .track-card .track-list-title,
.latest-list .track-card .track-list-title {
    color: #e9fdff !important;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.16);
}

.catalog-grid .track-card .track-price,
.latest-list .track-card .track-price,
.catalog-grid .track-card .track-list-price,
.latest-list .track-card .track-list-price {
    color: #7ef7ff !important;
    text-shadow: 0 0 14px rgba(0, 234, 255, 0.25);
}

.catalog-grid .track-card .btn.btn-add-cart,
.latest-list .track-card .btn.btn-add-cart,
.catalog-grid .track-card .track-icon-btn.btn-add-cart,
.latest-list .track-card .track-icon-btn.btn-add-cart {
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.26), rgba(0, 150, 170, 0.22)) !important;
    border: 1px solid rgba(0, 234, 255, 0.46) !important;
    color: #d8fcff !important;
    box-shadow: 0 0 14px rgba(0, 234, 255, 0.22);
}

.catalog-grid .track-card .btn.btn-add-cart:hover,
.latest-list .track-card .btn.btn-add-cart:hover,
.catalog-grid .track-card .track-icon-btn.btn-add-cart:hover,
.latest-list .track-card .track-icon-btn.btn-add-cart:hover {
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.48), rgba(0, 189, 214, 0.34)) !important;
    border-color: rgba(127, 246, 255, 0.95) !important;
    box-shadow: 0 0 22px rgba(0, 234, 255, 0.42);
}

 .catalog-grid.catalog-list {
     display: grid;
     grid-template-columns: repeat(2, minmax(0, 1fr));
     gap: 1rem;
 }

 .catalog-grid.catalog-list .track-card {
     max-width: 100%;
 }

 .track-list-item {
     padding: 0.9rem;
 }

 .track-list-row {
     display: grid;
     grid-template-columns: 83px 1fr auto;
     gap: 0.0rem;
     align-items: center;
     padding: 0.5rem;
 }

 .track-list-art {
     display: block;
     width: 83px;
     height: 83px;
     border-radius: 12px;
     overflow: hidden;
     border: 1px solid rgba(255, 255, 255, 0.12);
     background: rgba(0, 0, 0, 0.25);
 }

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

 .track-list-meta {
     min-width: 0;
 }

 .track-list-title {
     font-weight: 800;
     font-size: 1.05rem;
     line-height: 1.2;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .track-list-artist {
     opacity: 0.75;
     font-size: 0.95rem;
     margin-top: 0.2rem;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .track-list-price {
     font-weight: 900;
     color: var(--primary-color);
     white-space: nowrap;
 }

 .track-list-actions {
     display: inline-flex;
     align-items: center;
     justify-content: flex-end;
     gap: 0.6rem;
 }

 .track-icon-btn {
     width: 44px;
     height: 44px;
     border-radius: 999px;
     border: 1px solid rgba(255, 255, 255, 0.14);
     background: rgba(255, 255, 255, 0.06);
     color: white;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .track-icon-btn:hover {
     background: rgba(255, 255, 255, 0.10);
     border-color: rgba(255, 255, 255, 0.24);
 }

 .track-icon-btn.btn-add-cart {
     background: rgba(16, 185, 129, 0.18);
     border-color: rgba(16, 185, 129, 0.35);
 }

 .track-icon-btn.btn-add-cart:hover {
     background: rgba(16, 185, 129, 0.28);
     border-color: rgba(16, 185, 129, 0.5);
 }

 .track-list-tags {
     margin-top: 0.4rem;
     display: flex;
     flex-wrap: wrap;
     gap: 0.4rem;
 }

 .track-list-tags .genre-tag {
     font-size: 0.45rem;
     padding: 0.15rem 0.5rem;
     margin-right: 0.5rem;
 }

 /* Layout toggle */
 .layout-switcher {
     display: inline-flex;
     align-items: center;
     gap: 0.4rem;
     padding: 0.25rem;
     border-radius: 999px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
 }

 .layout-btn {
     width: 42px;
     height: 42px;
     border-radius: 999px;
     border: 1px solid rgba(255, 255, 255, 0.12);
     background: rgba(0, 0, 0, 0.2);
     color: white;
     cursor: pointer;
     display: inline-flex;
     align-items: center;
     justify-content: center;
 }

 .layout-btn:hover {
     background: rgba(255, 255, 255, 0.08);
 }

 .layout-btn.active {
     background: var(--primary-color);
     border-color: var(--primary-color);
     color: black;
 }

 @media (max-width: 1024px) {
     .catalog-grid.catalog-list {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 768px) {
     .track-list-price {
         display: none;
     }

     .track-list-art {
         width: 64px;
         height: 64px;
     }

     .track-list-tags .preview-tag {
         display: none;
     }
}

.featured-card {
    transition: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.2);
}

.card-art {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

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

.art-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: none;
}

.featured-card:hover .art-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    transition: none;
}


.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-body .artist {
    opacity: 0.6;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-add {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.btn-add:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-color);
}

.image-stack {
    position: relative;
    padding: 40px;
}

.stack-item {
    position: absolute;
    border-radius: 20px;
}

.item-1 {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.item-2 {
    width: 80%;
    height: 80%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.item-main {
    position: relative;
    z-index: 2;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

/* Animations */
.animate-up {
    opacity: 1;
    animation: none;
}

.no-animate {
    opacity: 1;
    animation: none;
}

@keyframes fadeInUp {
    0% {
        opacity: 1;
        transform: translateY(30px);
    }
    25% {
        opacity: 1;
        transform: translateY(-5px);
    }
    50% {
        opacity: 1;
        transform: translateY(-8px) rotate(1deg);
    }
    75% {
        opacity: 1;
        transform: translateY(-3px) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes logoPulse {
    0% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.5; 
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    25% { 
        transform: scale(1.05) rotate(90deg); 
        opacity: 0.3; 
        box-shadow: 0 0 20px 5px rgba(59, 130, 246, 0.4);
    }
    50% { 
        transform: scale(1.1) rotate(180deg); 
        opacity: 0.2; 
        box-shadow: 0 0 30px 10px rgba(59, 130, 246, 0.2);
    }
    75% { 
        transform: scale(1.05) rotate(270deg); 
        opacity: 0.3; 
        box-shadow: 0 0 20px 5px rgba(59, 130, 246, 0.4);
    }
    100% { 
        transform: scale(1) rotate(360deg); 
        opacity: 0.5; 
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
}

.hero-v3 h1 {
    position: relative;
    display: inline-block;
}

.hero-v3 h1::before {
    display: none;
}

/* Responsive grid columns */
@media (max-width: 768px) {
    .catalog-grid, .latest-list {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .latest-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Center the catalog grid on mobile */
    .catalog-grid {
        justify-content: center !important;
        padding: 0 1rem;
    }
    
    /* Center track cards */
    .track-card {
        margin: 0 auto !important;
    }
    
    /* Center latest list */
    .latest-list {
        padding: 0 1rem;
        justify-content: center !important;
    }
    
    /* Center latest releases track cards specifically */
    .section-latest .track-card {
        margin: 0 auto !important;
    }
    
    /* Center featured section */
    .section-featured {
        text-align: center;
    }
    
    .section-featured .catalog-grid {
        justify-content: center !important;
    }
}

/* Tablet - 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
    .catalog-grid, .latest-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small Desktop - 3 columns */
@media (min-width: 1025px) and (max-width: 1400px) {
    .catalog-grid, .latest-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

/* Large Desktop - 4 columns */
@media (min-width: 1401px) {
    .catalog-grid, .latest-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    .row-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Glitch effect for default images (tracks.php) - copied from index.php */
@keyframes glitchGradient {
    0%, 100% { filter: none; }
    10% { filter: hue-rotate(90deg) saturate(1.5); }
    20% { filter: none; }
    30% { filter: hue-rotate(180deg) saturate(1.3); }
    40% { filter: none; }
    50% { filter: hue-rotate(270deg) saturate(1.6); }
    60% { filter: none; }
    70% { filter: hue-rotate(45deg) saturate(1.4); }
    80% { filter: none; }
    90% { filter: hue-rotate(135deg) saturate(1.5); }
}

.glitch-effect {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch-effect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    animation: glitchGradient 3s infinite;
}

