/* ==========================================================================
   33 1/3 Global Theme & Layout Variables
   ========================================================================== */
:root {
    --accent: #bd1c21;
    --bg: #121212;
    --card: #1e1e1e;
}

/* Base Body Setup */
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--bg);
    color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Structural Layout Container */
.container {
    position: relative;
    width: 100%;
    flex: 1; /* Automatically stretches to fill vertical space nicely */
    min-height: auto; /* Removed problematic hardcoded pixel heights */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px; /* Added side padding for mobile screen protection */
    box-sizing: border-box;
}

/* Symmetrical Row Spacing for Index Cards */
.container.stacked {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

/* Full Bleed Structural Backgrounds */
.main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ==========================================================================
   Frosted Glass Floating Card UI component (Streamlined Match)
   ========================================================================== */
.contact-card,
.album-card,
.combined-overlay,
.player-callout-card {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.85);             
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;                              
    width: 100%; /* Allows flexbox container to scale down smoothly */
    max-width: 480px;                           
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
    box-sizing: border-box;
    text-align: center;
}

/* Subheadings & Titles */
.contact-card h3, .album-card h3, .player-callout-card h3 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
}

.contact-card p.subtitle, .player-callout-card p.subtitle {
    margin: 0 0 25px 0;
    font-size: 0.9rem;
    color: #aaa;
    font-style: italic;
    line-height: 1.4;
}

/* ==========================================================================
   Media Player Elements & Artwork Graphics Layout
   ========================================================================== */
.artwork-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

#album-art {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Live Broadcast Block Container Row Layout */
.live-track-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: left;
    gap: 15px;
}

#live-art {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.live-badge-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulse 1.8s infinite ease-in-out; /* Added smooth breathing pulse */
}

@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #22c55e; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px #22c55e; }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #22c55e; }
}

.live-badge-text {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #aaa;
    font-weight: bold;
}

/* Typography Overrides */
#live-title {
    margin: 0 0 2px 0;
    font-size: 1.05rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

#live-artist {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   Form Fields Components
   ========================================================================== */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    outline: none;
}

form textarea {
    font-family: inherit;
    resize: vertical;
}

form input:focus,
form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(189, 28, 33, 0.3); /* Clean halo effect on focus */
}

/* ==========================================================================
   Buttons and Interactivity Component
   ========================================================================== */
.contact-submit-btn,
.listen-now-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1.5px;
    padding: 14px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(189, 28, 33, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.listen-now-btn {
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 14px 45px;
    box-shadow: 0 5px 20px rgba(189, 28, 33, 0.5);
}

.contact-submit-btn:hover,
.listen-now-btn:hover,
.contact-submit-btn:focus,
.listen-now-btn:focus {
    background: #fff !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
    outline: none;
}

/* ==========================================================================
   Scrollbars Component
   ========================================================================== */
.custom-scroll {
    max-height: 140px;
    overflow-y: auto;
    padding-right: 8px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(0,0,0,0.2);
}

.about-scroll {
    max-height: 320px;
}

.custom-scroll::-webkit-scrollbar { width: 5px; }
.custom-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ==========================================================================
   Header & Navigation Layout
   ========================================================================== */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%; 
    background: #000; 
    border-bottom: 2px solid var(--accent); 
}

.logo { 
    font-weight: bold; 
    font-size: 1.5rem; 
    text-decoration: none; 
    color: white; 
    display: flex; 
    align-items: center; 
}

.logo img { 
    height: 60px; 
    margin-right: 10px; 
    width: auto;
}

nav a { 
    color: #bbb; 
    text-decoration: none; 
    margin-left: 20px; 
    transition: 0.3s; 
    font-size: 0.9rem; 
}

nav a:hover, nav a:focus { 
    color: var(--accent); 
    outline: none;
}

/* ==========================================================================
   Footer Layout
   ========================================================================== */
footer { 
    padding: 20px; 
    text-align: center; 
    font-size: 0.8rem; 
    color: #666; 
    margin-top: auto; /* Guarantees footer pins to the bottom of shorter pages */
}

/* Responsive Structural Breakdown Tweaks for Mobile Monitors */
@media (max-width: 600px) {
    header { 
        flex-direction: column; 
        gap: 15px;
        text-align: center;
    }
    nav { 
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 5px; 
    }
    nav a {
        margin: 0 10px; /* Even spacing for navigation elements on tiny mobile screens */
    }
    
    
/* ==========================================================================
   Recently Played Track History Sub-Component
   ========================================================================== */
.history-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    text-align: left;
    max-height: 200px; /* Increased from 180px to accommodate more items nicely */
    overflow-y: auto;
}


.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.history-item:first-child {
    padding-top: 0;
}

.history-art {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.history-details {
    min-width: 0;
    flex: 1;
}

.history-track {
    margin: 0;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-artist {
    margin: 0;
    font-size: 0.75rem;
    color: #aaa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
    
    
    
}
