/* ==========================================================================
   1. GLOBAL STYLES (Applies to all viewports globally)
   ========================================================================== */
body {
    /* Global Acoustic Background with Smoky Overlay */
    background: linear-gradient(rgba(13, 12, 10, 0.6), rgba(13, 12, 10, 0.95)), url('images/acousticback.jpeg') no-repeat center center fixed;
    background-size: cover;
    background-color: #0d0c0a; /* Fallback color just in case */
    
    color: #d4c3a1;
    font-family: 'Georgia', serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; 
    padding: 5px 20px 20px;
    text-align: center;
    overflow-x: hidden;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 0.2rem;
    text-shadow: 0px 0px 15px rgba(255, 69, 0, 0.3);
    margin-top: -10px;
    margin-bottom: 0;
}

p.tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 10px !important; /* Horizon Sync: Pulls the next section container up tightly */
}

/* --- Social Icons --- */
.social-icons {
    margin: 3px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    color: #ffcc99;
    font-size: 2.0rem;
    margin: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: inline-block;
    padding: 10px;
}

.social-icons a:hover, .social-icons a:active {
    opacity: 1;
    color: #fff;
    transform: scale(1.1);
    text-shadow: 0px 0px 15px rgba(255, 69, 0, 0.7);
}

/* Specific highlight for the Shop Icon */
.social-icons a.shop-icon {
    color: #00ff66; /* Glowing neon green */
    text-shadow: 0px 0px 8px rgba(0, 255, 102, 0.4); /* Base glow */
    opacity: 1;
}

.social-icons a.shop-icon:hover {
    color: #ffffff;
    text-shadow: 0px 0px 15px #00ff66; /* Stronger glow on hover */
}

.main-logo {
    width: 290px; /* Increased by 15% */
    max-width: 80%; 
    height: auto;
    filter: drop-shadow(0px 0px 10px rgba(255, 204, 153, 0.2)); 
}

/* --- System Layout Control: Strips lower section padding lag --- */
section.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 0px !important;
}

/* --- Video Section (Centered Horizon Sync) --- */
.video-container {
    width: 100%;
    max-width: 1000px;
    margin-top: 25px !important; 
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container h2 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: #ffcc99;
    margin-top: 0;
    margin-bottom: 10px;
}

.video-container h3 {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #ff6600;
    opacity: 0.9;
    margin-top: -10px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(212, 195, 161, 0.2);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0 auto; /* Forces embedded playlist component to absolute center */
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-links {
    margin-top: 25px !important;
}

/* ==========================================================================
   3. LEGACY MUSIC GRID ARCHITECTURE (Untouched Continuity for index.html)
   ========================================================================== */
.music-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 40px;
    margin-top: 0px; 
    width: 100%;
    max-width: 1000px;
}

.music-column {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.music-column h3 {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #ffcc99;
}

.track-item, .upcoming-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 50px; 
}

.track-cover {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid rgba(212, 195, 161, 0.2);
    margin-bottom: 0 !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.platform-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(212, 195, 161, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.platform-btn:hover { color: #ffcc99; transform: translateY(-3px); }

.track-title {
    font-size: 1.1rem;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    color: #d4c3a1;
}

.status-tag {
    font-size: 0.75rem;
    color: #ffcc99;
    letter-spacing: 2px;
}

footer {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 30px;
    width: 100%;
    border-top: 1px solid rgba(212, 195, 161, 0.1);
}

.copyright-text {
    font-size: 0.7rem;
    color: #d4c3a1;
    opacity: 0.4;
    margin-top: 20px;
}

/* ==========================================================================
   4. INTERACTIVE FEATURED ALBUM SHOWCASE (Unified Vertical Configuration)
   ========================================================================== */
.featured-album-section {
    width: 100%;
    max-width: 650px; 
    margin: 20px auto 0 auto !important; /* Replaces layout gap with pristine 20px space */
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #ffcc99;
    text-transform: uppercase;
}

/* Column Container - Stacked across all mobile and desktop viewports */
.album-showcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 25px;
    margin-top: 10px;
}

/* Unified Artwork Sleeve Column */
.album-artwork-column {
    width: 100%;
    max-width: 330px; 
    text-align: center;
    box-sizing: border-box;
}

.album-main-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid rgba(212, 195, 161, 0.2);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6);
}

.album-main-title {
    font-size: 1.4rem;
    color: #fff;
    margin: 15px 0 5px 0 !important;
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
}

.album-release-date {
    font-size: 0.8rem;
    color: #ffcc99;
    letter-spacing: 2px;
    opacity: 0.8;
    margin: 0 0 10px 0 !important;
    text-transform: uppercase;
}

/* Unified Tracklist Column Wrapper */
.album-tracklist-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; 
    box-sizing: border-box;
}

/* Horizontal Track Row Vector */
.track-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid rgba(212, 195, 161, 0.06);
    box-sizing: border-box;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.track-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 195, 161, 0.15);
}

/* Metadata grouping block */
.track-meta-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.track-index {
    font-family: monospace;
    font-size: 0.95rem;
    color: #ffcc99;
    opacity: 0.6;
}

.track-name {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    color: #d4c3a1;
    font-weight: normal;
}

/* --- Tactile Button Nest Architecture (The First Bloom Standard) --- */
.track-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.track-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; 
    height: 36px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(212, 195, 161, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.track-icon-btn:hover {
    color: #ffcc99 !important;
    border-color: #ffcc99;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINT CONTROLS
   ========================================================================== */
@media screen and (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
        margin-top: -5px;
    }

    /* Keeps icons on one row and slightly smaller for mobile screens */
    .social-icons {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }

    .social-icons a {
        font-size: 1.2rem;
        margin: 5px 2px;
        padding: 5px;
    }

    p.tagline {
        font-size: 0.75rem;
    }
    
    .track-row {
        padding: 10px 12px;
    }
    .track-name {
        font-size: 0.95rem;
    }
    .track-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .track-actions {
        gap: 6px;
    }
}

@media screen and (min-width: 768px) {
    .main-logo {
        width: 350px;
    }

    h1 {
        font-size: 2.0rem;
    }

    .social-icons a {
        font-size: 1.5rem;
        margin: 5px 10px;
        padding: 5px;
    }

    .video-container h3 {
        display: none;
    }
    
    /* Album art and track containers remain stacked vertically per directive */
    .album-showcase-container {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   6. MULTI-TAB MUSIC COMPONENT
   ========================================================================== */
.music-tabs-container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    background: transparent;
}

/* Tab Navigation Header */
.tabs-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.tab-button {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #c2a878; 
    color: #f1f1f1;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-family: 'Georgia', serif; 
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tab-button:hover {
    background: #c2a878;
    color: #111;
}

.tab-button.active {
    background: #c2a878;
    color: #111;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(194, 168, 120, 0.4);
}

/* Tab Content Areas */
.tabs-content-area {
    border: 1px solid rgba(194, 168, 120, 0.3);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.6);
    padding: 20px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

/* Ensure the existing track-row styling applies seamlessly inside the tab-pane */
.tab-pane .track-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tab-pane .track-row:last-child {
    border-bottom: none;
}

/* ==========================================================================
   7. INTERACTIVE LINER NOTES SYSTEM OVERLAY (Squeeze Page Standardization)
   ========================================================================== */
.modal-overlay {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 12, 10, 0.95) !important; 
    z-index: 99999 !important; 
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.modal-content {
    background-color: #0d0c0a !important;
    border: 1px solid rgba(212, 195, 161, 0.2) !important;
    border-radius: 6px;
    width: 88%;
    max-width: 460px; /* Snug width matching native squeeze views perfectly */
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.8);
    margin: auto; 
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 2rem;
    color: #d4c3a1 !important;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    z-index: 100000;
}
.modal-close-btn:hover { 
    opacity: 1; 
}

.modal-body-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.modal-art-block {
    width: 100%;
    max-width: 200px; 
    box-sizing: border-box;
}

.modal-art-block img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid rgba(212, 195, 161, 0.15);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.modal-text-block {
    width: 100%;
    box-sizing: border-box;
}

#modalTrackTitle {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: #ffcc99 !important; 
    margin: 0 0 12px 0 !important;
    letter-spacing: 0.5px;
    text-align: center;
}

.modal-lore-text {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #d4c3a1 !important;
    opacity: 0.9;
    text-align: center !important; 
    max-height: 180px;
    overflow-y: auto; 
    padding-right: 4px;
    margin-bottom: 20px;
}

.modal-conversion-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.modal-platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    font-family: 'Georgia', serif;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 25px; 
    box-sizing: border-box;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-spotify {
    background-color: #1DB954 !important; /* Spotify Green */
}

.btn-apple {
    background-color: #FC3C44 !important; /* Apple Music Red */
}

.modal-platform-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ==========================================================================
   8. LINK TREE FUNNEL (links.html) & UNIFIED PLATFORM COLORS
   ========================================================================== */

/* Structure Elements */
.link-tree-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.link-tree-header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.link-tree-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%; /* Crops the square into a perfect circle */
    object-fit: cover;  /* Prevents image distortion */
    margin-bottom: 15px;
    border: 2px solid rgba(212, 195, 161, 0.4); /* Subtle gold ring */
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.6);
}

.link-tree-title {
    font-size: 1.8rem;
    color: #d4c3a1;
    letter-spacing: 2px;
    margin: 0;
}

.link-tree-handle {
    font-size: 0.9rem;
    color: #ffcc99;
    opacity: 0.7;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Link Tree Specific Button Styles */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 16px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.25s ease, filter 0.25s ease;
    position: relative;
    box-sizing: border-box;
}

.link-btn i {
    position: absolute;
    left: 24px;
    font-size: 1.3rem;
}

.btn-custom-icon {
    position: absolute;
    left: 20px;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.link-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Unified Platform Color Classes (Applies to both Modal & Link Tree buttons) */
.btn-spotify {
    background-color: #1DB954 !important; /* Spotify Green */
    color: #ffffff !important;
}

.btn-apple {
    background-color: #FC3C44 !important; /* Apple Music Red */
    color: #ffffff !important;
}

.btn-youtube {
    background-color: #050505 !important; 
    color: #ffffff !important; /* Pure white text for sharp readability */
    border: 1px solid rgba(255, 0, 0, 0.5) !important; 
    box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.4) !important; 
    text-shadow: none !important; /* Removed text glow to keep white crisp */
}

.btn-youtube i {
    color: #FF0000 !important; /* Keeps the YouTube icon brand red */
}

.btn-youtube:hover {
    box-shadow: 0px 0px 25px rgba(255, 0, 0, 0.8) !important; 
    border: 1px solid #FF0000 !important;
    transform: translateY(-2px);
}

/* --- Updated Storefront Button --- */
.btn-store {
    background-color: #24487a !important; /* Deep Denim Blue */
    color: #ffffff !important; 
}

.btn-website {
    background-color: #3b2314 !important; /* Deep Mahogany Brown */
    color: #ffffff !important; /* Pure white text for an active, clickable look */
    border: 1px solid rgba(212, 195, 161, 0.3) !important; 
}

/* --- Dynamic Tab Album Artwork --- */
.tab-album-art-container {
    width: 100%;
    max-width: 330px; 
    margin: 0 auto 25px auto; /* Centers the image and gives 25px breathing room below */
    text-align: center;
}

.tab-album-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid rgba(212, 195, 161, 0.2);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6);
}