/*
Theme Name: SumpView
Theme URI: https://arcraven.com/heavenBeats
Author: ARCRAVEN
Author URI: https://arcraven.com
Description: A minimalist, clean theme designed for the Sump tuous Recordings label, featuring a persistent audio player and custom animations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sumpview
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize & Globals
2.0 Player Container (Main Bar)
3.0 Player Sections (Track Info, Controls, Extras)
4.0 Fullscreen Overlay & Layout
5.0 Fullscreen Content (Queue, Main Area)
6.0 Utility Styles
7.0 Header & Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize & Globals
--------------------------------------------------------------*/
:root {
    --primary-bg: #14182b;
    --accent-red: #c70000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --font-main: 'Inter', sans-serif; /* Assumes Inter is loaded via a service or @font-face */
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    /* Add padding to the bottom to prevent content from being hidden by the player */
    padding-bottom: 92px; /* Height of the player */
}

* {
    box-sizing: border-box;
}


/*--------------------------------------------------------------
2.0 Player Container (Main Bar)
--------------------------------------------------------------*/
.player-container {
    width: 100%;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 15px 30px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

/*--------------------------------------------------------------
3.0 Player Sections (Track Info, Controls, Extras)
--------------------------------------------------------------*/

/* Track Info (Left) */
.track-info { display: flex; align-items: center; min-width: 250px; justify-self: start; }
.track-info img { width: 60px; height: 60px; border-radius: 4px; margin-right: 15px; object-fit: cover; }
.track-info .details { display: flex; flex-direction: column; }
.track-info .title { font-weight: 500; font-size: 16px; margin-bottom: 4px; color: var(--text-primary); }
.track-info .artist { font-size: 14px; color: var(--text-secondary); }

/* Player Controls (Center) */
.player-controls { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; justify-self: center; }
.player-controls .buttons { display: flex; align-items: center; margin-bottom: 10px; }
.player-controls .control-btn { fill: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; }
.player-controls .control-btn:hover { fill: var(--text-primary); transform: scale(1.1); }
.player-controls .control-btn.active { fill: var(--accent-red); }
.player-controls .play-pause-btn { width: 40px; height: 40px; background-color: var(--text-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 20px; cursor: pointer; transition: background-color 0.2s ease; }
.player-controls .play-pause-btn:hover { background-color: #f0f0f0; }
.player-controls .play-pause-btn svg { fill: var(--primary-bg); width: 20px; height: 20px; }
.player-controls .progress-bar-wrapper { display: flex; align-items: center; width: 100%; }
.player-controls .time { font-size: 12px; color: var(--text-secondary); min-width: 40px; text-align: center; }
.player-controls .progress-bar { flex-grow: 1; height: 4px; background-color: rgba(255, 255, 255, 0.2); border-radius: 2px; margin: 0 10px; cursor: pointer; position: relative; }
.player-controls .progress-bar-inner { width: 0%; height: 100%; background-color: var(--accent-red); border-radius: 2px; position: relative; }

/* Player Extras (Right) */
.player-extras { display: flex; align-items: center; justify-content: flex-end; min-width: 250px; justify-self: end; }
.player-extras .control-btn { fill: var(--text-secondary); cursor: pointer; transition: all 0.2s ease; margin: 0 10px; }
.player-extras .control-btn:hover { fill: var(--text-primary); transform: scale(1.1); }
.player-extras .volume-control { display: flex; align-items: center; margin-left: 10px; }
.player-extras .volume-control svg { fill: var(--text-secondary); cursor: pointer; transition: fill 0.2s ease; }
.player-extras .volume-control svg:hover { fill: var(--text-primary); }
.player-extras .volume-slider { -webkit-appearance: none; appearance: none; width: 80px; height: 4px; background: rgba(255, 255, 255, 0.2); outline: none; border-radius: 2px; margin-left: 10px; }
.player-extras .volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; background: var(--text-primary); cursor: pointer; border-radius: 50%; }
.player-extras .volume-slider::-moz-range-thumb { width: 12px; height: 12px; background: var(--primary-bg); cursor: pointer; border-radius: 50%; }


/*--------------------------------------------------------------
4.0 Fullscreen Overlay & Layout
--------------------------------------------------------------*/
.player-fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    z-index: 9999;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.player-fullscreen-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/*--------------------------------------------------------------
5.0 Fullscreen Content (Queue, Main Area)
--------------------------------------------------------------*/

/* Fullscreen Sidebar Queue Section */
.fullscreen-queue { width: 30%; height: 100%; background-color: rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 20px; }
.fullscreen-queue .tabs { margin-bottom: 10px; flex-shrink: 0; padding-top: 40px; }
.fullscreen-queue .tabs .tab { background: none; border: none; color: var(--text-secondary); font-size: 16px; padding: 5px 10px; cursor: pointer; }
.fullscreen-queue .tabs .tab.active { color: var(--text-primary); border-bottom: 2px solid var(--accent-red); }
.fullscreen-queue .queue-list { list-style: none; margin: 0; padding: 0 10px 0 0; overflow-y: auto; flex-grow: 1; }
.fullscreen-queue .queue-item { display: flex; align-items: center; padding: 10px; border-radius: 4px; cursor: pointer; transition: background-color 0.2s ease; }
.fullscreen-queue .queue-item:hover { background-color: rgba(255, 255, 255, 0.1); }
.fullscreen-queue .queue-item.now-playing { background-color: rgba(255, 255, 255, 0.15); }
.fullscreen-queue .queue-item img { width: 40px; height: 40px; border-radius: 4px; margin-right: 15px; flex-shrink: 0; }
.fullscreen-queue .queue-item .details .title { font-weight: 500; font-size: 15px; color: var(--text-primary); }
.fullscreen-queue .queue-item .details .artist { font-size: 13px; color: var(--text-secondary); }
.fullscreen-queue .queue-item.now-playing .details .title { color: var(--accent-red); }

/* Custom Scrollbar for Queue */
.fullscreen-queue .queue-list::-webkit-scrollbar { width: 6px; }
.fullscreen-queue .queue-list::-webkit-scrollbar-track { background: transparent; }
.fullscreen-queue .queue-list::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.2); border-radius: 3px; }
.fullscreen-queue .queue-list::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.4); }

/* Sidebar Controls */
.sidebar-controls { flex-shrink: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; }
.sidebar-controls .control-btn-wrapper { width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.08); margin: 0 10px; transition: background .2s ease; cursor: pointer; }
.sidebar-controls .control-btn-wrapper:hover { background: rgba(255, 255, 255, 0.15); }
.sidebar-controls .control-btn { fill: var(--text-secondary); }
.sidebar-controls .control-btn-wrapper.active .control-btn { fill: var(--accent-red); }
.sidebar-controls .volume-control { display: flex; align-items: center; margin: 0 10px; }
.sidebar-controls .volume-slider { width: 100px; }

/* Fullscreen Main Content Area */
.fullscreen-main-content { width: 70%; height: 100%; display: flex; justify-content: center; align-items: center; position: relative; padding: 20px; overflow: hidden; }
.content-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.fullscreen-main-content .minimize-btn { position: absolute; top: 30px; right: 30px; cursor: pointer; fill: var(--text-secondary); transition: all 0.2s ease; z-index: 3;}
.fullscreen-main-content .minimize-btn:hover { fill: var(--text-primary); transform: scale(1.2); }
.fullscreen-main-content .cover-art { width: 300px; height: 300px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 30px; flex-shrink: 0; }
.fullscreen-main-content .track-details { text-align: center; margin-bottom: 20px; flex-shrink: 0; }
.fullscreen-main-content .track-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.fullscreen-main-content .track-artist { font-size: 18px; color: var(--text-secondary); }
        
/* Fullscreen Seek Bar & Main Controls */
.fullscreen-controls-wrapper { width: 100%; max-width: 600px; flex-shrink: 0; }
.fullscreen-controls-wrapper .progress-bar-wrapper { display: flex; align-items: center; width: 100%; position: relative; }
.fullscreen-controls-wrapper .time { font-size: 14px; color: var(--text-secondary); min-width: 45px; text-align: center; }
.fullscreen-controls-wrapper .progress-bar { flex-grow: 1; height: 6px; background-color: rgba(255, 255, 255, 0.2); border-radius: 3px; margin: 0 15px; cursor: pointer; position: relative; }
.fullscreen-controls-wrapper .progress-bar-inner { width: 0%; height: 100%; background-color: var(--accent-red); border-radius: 3px; }
.fullscreen-main-controls { display: flex; justify-content: center; align-items: center; margin-top: 20px; }
        
/* Fullscreen Main Controls Buttons */
.fullscreen-main-controls .fs-btn-wrapper { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.08); margin: 0 15px; transition: background .2s ease, transform .2s ease; cursor: pointer; }
.fullscreen-main-controls .fs-btn-wrapper:hover { background: rgba(255, 255, 255, 0.15); }
.fullscreen-main-controls .control-btn { fill: var(--text-primary); margin: 0; }

/* Particle Visualizer Canvas */
#particle-visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
/*--------------------------------------------------------------
6.0 Utility & Widget Styles
--------------------------------------------------------------*/

/* Elementor Release Widget Grid */
.sump-release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.sump-release-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure all items have same height */
}

.sump-release-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.release-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1; /* Perfect square for all thumbnails */
    width: 100%;
}

.release-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure consistent sizing */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sump-release-item:hover .release-thumbnail img {
    transform: scale(1.1);
}

.release-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 24, 43, 0.7); /* var(--primary-bg) with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sump-release-item:hover .release-overlay {
    opacity: 1;
}

.play-release-btn {
    background: none;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s ease;
}

.sump-release-item:hover .play-release-btn {
    transform: scale(1);
    opacity: 1;
}

.play-release-btn svg {
    fill: var(--text-primary);
    width: 24px;
    height: 24px;
    margin-left: 4px; /* Optical alignment */
}

.play-release-btn:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.release-title {
    margin: 15px 0 0 0;
    padding: 0 15px 15px;
    font-size: 16px;
    font-weight: 500;
    flex-grow: 1; /* Take remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px; /* Minimum height for title area */
}

.release-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    line-height: 1.3;
}

.release-title a:hover {
    color: var(--accent-red);
}

/* Elementor Artist Widget Grid */
.sump-artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    padding: 20px;
}

.sump-artist-item {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sump-artist-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.artist-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.artist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sump-artist-item:hover .artist-thumbnail img {
    transform: scale(1.05);
}

.artist-title {
    padding: 20px 15px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.artist-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.artist-title a:hover {
    color: var(--accent-red);
}

/* Elementor Track Widget */
.sump-track-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent-red);
}

.track-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.track-artist {
    margin-bottom: 8px;
    color: #666;
    font-style: italic;
}

.track-artist a {
    color: var(--accent-red);
    text-decoration: none;
}

.track-artist a:hover {
    text-decoration: underline;
}

.track-release {
    font-size: 14px;
    color: #888;
}

.track-release a {
    color: var(--accent-red);
    text-decoration: none;
}

.track-release a:hover {
    text-decoration: underline;
}

/* Latest Release Widget */
.sump-latest-release-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 300px;
}

.sump-latest-release-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.latest-release-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.latest-release-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sump-latest-release-widget:hover .latest-release-thumbnail img {
    transform: scale(1.05);
}

.latest-release-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 24, 43, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sump-latest-release-widget:hover .latest-release-overlay {
    opacity: 1;
}

.latest-release-overlay .play-release-btn {
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.latest-release-overlay .play-release-btn:hover {
    transform: scale(1.1);
}

.latest-release-overlay .play-release-btn svg {
    fill: var(--text-primary);
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.latest-release-content {
    padding: 20px;
    text-align: center;
}

.latest-release-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.latest-release-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-release-title a:hover {
    color: var(--accent-red);
}

.latest-release-artist {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.latest-release-artist a {
    color: var(--accent-red);
    text-decoration: none;
}

.latest-release-artist a:hover {
    text-decoration: underline;
}

/* Latest Track Widget */
.sump-latest-track-widget {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 300px;
}

.sump-latest-track-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.latest-track-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.latest-track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sump-latest-track-widget:hover .latest-track-thumbnail img {
    transform: scale(1.05);
}

.latest-track-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 24, 43, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sump-latest-track-widget:hover .latest-track-overlay {
    opacity: 1;
}

.latest-track-overlay .track-play-btn {
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.latest-track-overlay .track-play-btn:hover {
    transform: scale(1.1);
}

.latest-track-overlay .track-play-btn svg {
    fill: var(--text-primary);
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.latest-track-content {
    padding: 20px;
    text-align: center;
}

.latest-track-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.latest-track-artist {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

.latest-track-release {
    font-size: 12px;
    color: #999;
}

.latest-track-artist a,
.latest-track-release a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-track-artist a:hover,
.latest-track-release a:hover {
    text-decoration: underline;
}

/* Tracks Grid Widget */
.sump-tracks-grid-widget {
    width: 100%;
}

.tracks-grid-header {
    text-align: center;
    margin-bottom: 30px;
}

.play-all-tracks-btn {
    background: var(--accent-red);
    color: var(--text-primary);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-all-tracks-btn:hover {
    background: #a60000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(199, 0, 0, 0.3);
}

.widget-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.widget-track-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.widget-track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.widget-track-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.widget-track-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.widget-track-card:hover .widget-track-image img {
    transform: scale(1.05);
}

.widget-track-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 24, 43, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.widget-track-card:hover .widget-track-overlay {
    opacity: 1;
}

.widget-track-play-btn {
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.widget-track-play-btn:hover {
    transform: scale(1.1);
}

.widget-track-play-btn svg {
    fill: var(--text-primary);
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.widget-track-content {
    padding: 20px;
}

.widget-track-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.widget-track-artist {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.widget-track-release {
    font-size: 12px;
    color: #999;
}

.widget-track-artist a,
.widget-track-release a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget-track-artist a:hover,
.widget-track-release a:hover {
    color: var(--accent-red);
}

.widget-tracks-pagination {
    text-align: center;
    margin-top: 40px;
}

.widget-tracks-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.widget-tracks-pagination .page-numbers:hover,
.widget-tracks-pagination .page-numbers.current {
    background: var(--accent-red);
    color: var(--text-primary);
}

/* Pagination Styles */
.sump-pagination {
    text-align: center;
    margin-top: 40px;
}

.sump-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.sump-pagination .page-numbers:hover,
.sump-pagination .page-numbers.current {
    background: var(--accent-red);
    color: var(--text-primary);
}

.sump-pagination .page-numbers.dots {
    background: transparent;
    color: #666;
}

.sump-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #666;
}

/* Track Archive Grid */
.tracks-archive-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1f3a 100%);
    color: var(--text-primary);
}

.tracks-archive-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.play-all-btn {
    background: var(--accent-red);
    color: var(--text-primary);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-all-btn:hover {
    background: #a60000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(199, 0, 0, 0.3);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.track-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.track-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.track-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.track-card:hover .track-card-image img {
    transform: scale(1.05);
}

.track-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 24, 43, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.track-play-btn {
    background: var(--accent-red);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.track-play-btn:hover {
    transform: scale(1.1);
}

.track-play-btn svg {
    fill: var(--text-primary);
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.track-card-content {
    padding: 20px;
}

.track-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.track-card-artist {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.track-card-release {
    font-size: 12px;
    color: #999;
}

.track-card-artist a,
.track-card-release a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.track-card-artist a:hover,
.track-card-release a:hover {
    color: var(--accent-red);
}

/* Artists Archive Grid */
.artists-archive-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1a1f3a 100%);
    color: var(--text-primary);
}

.artists-archive-header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.artist-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.artist-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artist-card:hover .artist-card-image img {
    transform: scale(1.05);
}

.artist-card-content {
    padding: 25px 20px;
    text-align: center;
}

.artist-card-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.artist-card-releases {
    font-size: 14px;
    color: #666;
    margin: 0;
}
/*--------------------------------------------------------------
7.0 Header & Navigation
--------------------------------------------------------------*/
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

/* Optional: Add a background to the header when scrolling */
body.scrolled .site-header {
    background-color: var(--primary-bg);
}

.site-branding .site-title {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.menu-toggle, .menu-close-btn {
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger-inner::before {
    transform: translateY(-10px);
}

.hamburger-inner::after {
    transform: translateY(10px);
}


/* Fullscreen Menu Overlay */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    z-index: 990;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fullscreen-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

.menu-close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    z-index: 1000;
}

.menu-close-btn .hamburger-inner {
    transform: rotate(225deg);
}
.menu-close-btn .hamburger-inner::before {
    transform: rotate(90deg) translateX(-10px);
    opacity: 0;
}
.menu-close-btn .hamburger-inner::after {
    transform: rotate(90deg) translateX(10px);
}

.fullscreen-nav .fullscreen-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.fullscreen-nav .fullscreen-menu-items li {
    margin: 20px 0;
}

.fullscreen-nav .fullscreen-menu-items a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 3vw;
    font-weight: 700;
    padding: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.fullscreen-nav .fullscreen-menu-items a:hover {
    color: var(--accent-red);
}
/*--------------------------------------------------------------
8.0 Single Post Templates
--------------------------------------------------------------*/

/* --- Single Release Page --- */
.sump-single-release .release-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sump-single-release .release-sidebar {
    flex: 1 1 300px; /* Flex-grow, flex-shrink, flex-basis */
}

.sump-single-release .release-cover-art {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sump-single-release .release-cover-art img {
    width: 100%;
    height: auto;
    display: block;
}

.large-play-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    background-color: var(--accent-red);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
}

.large-play-btn:hover {
    background-color: #a60000; /* Darker red on hover */
}

.store-links .links-title {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-link-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.store-link-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sump-single-release .release-content {
    flex: 2 1 600px;
}

.release-content .entry-title {
    margin-top: 0;
    font-size: 48px;
}

.release-content .entry-artist {
    font-size: 24px;
    color: var(--text-secondary);
    margin-top: -15px;
    font-weight: 400;
}
.release-content .entry-artist a {
    color: var(--text-secondary);
    text-decoration: none;
}
.release-content .entry-artist a:hover {
    color: var(--text-primary);
}

.release-date {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 10px;
    font-style: italic;
}

.track-list {
    margin-top: 40px;
}

.track-list .tracklist-title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.track-list ol {
    list-style: disc;
    padding-left: 20px;
    padding: 0;
}

.track-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.track-list li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.track-list li::before {
    content: '\25B6'; 
    margin-right: 20px;
    color: var(--accent-red);
    font-size: 10px;
    line-height: 20px;
    min-width: 20px;
    text-align: right;
}

.track-title {
    font-weight: 500;
}

.track-artist-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-left: 10px;
}

.track-artist-info a {
    color: var(--accent-red);
    text-decoration: none;
}

.track-artist-info a:hover {
    text-decoration: underline;
}

/* --- Single Artist Page --- */
.sump-single-artist .artist-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: var(--text-primary);
}

.sump-single-artist .artist-featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sump-single-artist .artist-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for readability */
.sump-single-artist .artist-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 24, 43, 1) 0%, rgba(20, 24, 43, 0) 100%);
    z-index: 2;
}

.sump-single-artist .artist-title-wrapper {
    position: relative;
    z-index: 3;
}

.sump-single-artist .artist-title-wrapper .entry-title {
    font-size: 72px;
    margin: 0;
    line-height: 1;
}

.artist-content-area {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-content-area .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
/*--------------------------------------------------------------
9.0 Sidebar Layout
--------------------------------------------------------------*/

/* Main page container */
.site {
    display: flex;
}

/* Fixed Vertical Sidebar */
.site-sidebar {
    width: 80px; /* Width for icons only */
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
}

.site-logo .site-title {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.sidebar-navigation {
    flex-grow: 1;
}

.sidebar-menu-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar-menu-items li a {
    display: flex;
    align-items: center;
    padding: 15px 28px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-menu-items li a:hover,
.sidebar-menu-items li.current-menu-item a {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-menu-items li a svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.sidebar-menu-items li a .nav-text {
    margin-left: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Expand sidebar on hover to show text */
.site-sidebar:hover {
    width: 250px;
}

.site-sidebar:hover .nav-text {
    opacity: 1;
}

/* Main Content Area */
.main-content-area {
    flex-grow: 1;
    margin-left: 80px; /* Must match the sidebar width */
    width: calc(100% - 80px); /* Adjust width */
}

.main-content-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    background-color: #ffffff; /* Or a color that fits your content background */
    z-index: 800;
    border-bottom: 1px solid #eee;
}

/* We need to adjust the old top-header styles now they are repurposed */
.site-header {
    position: static;
    padding: 0;
}

.menu-toggle {
    display: block;
}

.menu-toggle .hamburger-inner,
.menu-toggle .hamburger-inner::before,
.menu-toggle .hamburger-inner::after {
    background-color: #333; /* Dark color for light background */
}

/* Adjust body padding to only account for the bottom player */
body {
    padding-bottom: 92px;
    padding-left: 0; /* Remove any previous padding */
}
/*--------------------------------------------------------------
9.0 Sidebar Layout (Conditional)
--------------------------------------------------------------*/

/* Apply the following styles ONLY when the sidebar is enabled */
body.sidebar-enabled .site {
    display: flex;
}

body.sidebar-enabled .site-sidebar {
    width: 80px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--primary-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    overflow: hidden;
}

body.sidebar-enabled .sidebar-header {
    padding: 20px 0;
    text-align: center;
    flex-shrink: 0;
}

body.sidebar-enabled .site-logo .site-title {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

body.sidebar-enabled .site-logo-image {
    max-height: 50px;
    width: auto;
}

body.sidebar-enabled .sidebar-navigation {
    flex-grow: 1;
}

body.sidebar-enabled .sidebar-menu-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

body.sidebar-enabled .sidebar-menu-items li a {
    display: flex;
    align-items: center;
    padding: 15px 28px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

body.sidebar-enabled .sidebar-menu-items li a:hover,
body.sidebar-enabled .sidebar-menu-items li.current-menu-item a {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

body.sidebar-enabled .sidebar-menu-items li a svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

body.sidebar-enabled .sidebar-menu-items li a .nav-text {
    margin-left: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.sidebar-enabled .site-sidebar:hover {
    width: 250px;
}

body.sidebar-enabled .site-sidebar:hover .nav-text {
    opacity: 1;
}

body.sidebar-enabled .main-content-area {
    margin-left: 80px;
    width: calc(100% - 80px);
}

body.sidebar-enabled .main-content-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 800;
    border-bottom: 1px solid #eee;
}

body.sidebar-enabled .menu-toggle .hamburger-inner,
body.sidebar-enabled .menu-toggle .hamburger-inner::before,
body.sidebar-enabled .menu-toggle .hamburger-inner::after {
    background-color: #333;
}

/* --- Styles for when sidebar is DISABLED --- */

body:not(.sidebar-enabled) .main-content-header {
    display: flex;
    justify-content: space-between; /* Space between logo and hamburger */
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

body:not(.sidebar-enabled).scrolled .main-content-header {
    background-color: var(--primary-bg);
}

body:not(.sidebar-enabled) .site-branding .site-title {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

body:not(.sidebar-enabled) .menu-toggle .hamburger-inner,
body:not(.sidebar-enabled) .menu-toggle .hamburger-inner::before,
body:not(.sidebar-enabled) .menu-toggle .hamburger-inner::after {
    background-color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sump-release-grid,
    .sump-artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .tracks-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        padding: 20px 15px;
    }
    
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 20px 15px;
    }
    
    .sump-single-release .release-container {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }
    
    .release-content .entry-title {
        font-size: 32px;
    }
    
    .sump-single-artist .artist-title-wrapper .entry-title {
        font-size: 48px;
    }
    
    .tracks-archive-header h1,
    .artists-archive-header h1 {
        font-size: 32px;
    }
    
    body.sidebar-enabled .main-content-area {
        margin-left: 0;
        width: 100%;
    }
    
    body.sidebar-enabled .site-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .sump-release-grid,
    .sump-artist-grid,
    .tracks-grid,
    .artists-grid {
        grid-template-columns: 1fr;
    }
    
    .play-all-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}
