/* Basic reset and font setup */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Libre Franklin', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
}

/* Header Styling */
.header-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 18rem;
    box-sizing: border-box;
}
.header-content h1 { font-size: 4.5rem; margin-bottom: 1rem; }
.about-section { font-size: 1.4rem; max-width: 700px; margin-bottom: 2rem; }
.header-images { display: flex; gap: 1rem; }
.header-images img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
}

/* Menu Styles */
.menu-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.menu-button:hover { background-color: rgba(255, 255, 255, 0.2); }
.hamburger-line { width: 24px; height: 2px; background-color: #f0f0f0; transition: all 0.3s ease; }
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #181818;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%); 
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.menu-overlay ul { list-style: none; padding: 0; text-align: center; }
.menu-overlay li { margin: 2rem 0; }
.menu-overlay a { color: #f0f0f0; text-decoration: none; font-size: 2rem; font-weight: bold; transition: color 0.3s ease; }
.menu-overlay a:hover { color: #9a9a9a; }
body.menu-open .menu-overlay { transform: translateX(0); }
body.menu-open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
body.menu-open .hamburger-line:nth-child(2) { opacity: 0; }
body.menu-open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Timeline & Pop-up Styles */
.timeline-container {
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    padding: 50px 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: #555;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-point {
    position: absolute;
    top: 35px;
    width: 15px;
    height: 15px;
    background-color: #f0f0f0;
    border-radius: 50%;
    z-index: 10;
}
.timeline-item:nth-child(odd) { left: 0; padding-left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item:nth-child(odd) .timeline-point { right: -8px; }
.timeline-item:nth-child(even) .timeline-point { left: -7px; }

.timeline-content {
    padding: 0 25px;
    display: flex;
    align-items: center;
}
.timeline-item:nth-child(odd) .timeline-content { justify-content: flex-end; }

.timeline-content::before {
    content: '';
    position: absolute;
    top: 41px;
    width: 50px;
    height: 2px;
    background-color: #555;
}
.timeline-item:nth-child(odd) .timeline-content::before { right: 8px; }
.timeline-item:nth-child(even) .timeline-content::before { left: 8px; }
.timeline-date { font-weight: bold; font-size: 1.2rem; margin-bottom: 10px; color: #ccc; }

.track-display {
    display: flex;
    flex-direction: column;
}
.timeline-item:nth-child(odd) .track-display { align-items: flex-end; }
.timeline-item:nth-child(even) .track-display { align-items: flex-start; }

.track-info { margin-top: 10px; max-width: 150px; }
.track-title {
    font-weight: bold;
    font-size: 1rem;
    color: #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-artist {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.album-art-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.album-art-circle:hover { transform: scale(1.1); }
.album-art-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.play-icon, .pause-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 0 10px black;
    pointer-events: none;
}
.play-icon { font-size: 3rem; }
.pause-icon { font-size: 2.5rem; }
.album-art-circle:hover .play-icon { opacity: 0.8; }
.album-art-circle.is-playing .pause-icon { opacity: 0.8; }
.album-art-circle.is-playing:hover .play-icon { opacity: 0; }

.info-button {
    background: #333;
    color: #f0f0f0;
    border: 1px solid #555;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 26px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}
.info-button:hover { background-color: #555; }

.lyrics-button {
    background: #333;
    color: #f0f0f0;
    border: 1px solid #555;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 26px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}
.lyrics-button:hover { background-color: #555; }
.album-art-circle.spinning { animation: spin 10s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.modal-overlay, .info-modal, .bottom-player {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.modal-overlay.visible, .info-modal.visible, .bottom-player.visible {
    opacity: 1;
    pointer-events: auto;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}
.info-modal,
.lyrics-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2c2c2c;
    padding: 2rem;
    border-radius: 10px;
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    text-align: center;
}
.info-modal img, .lyrics-modal img { width: 200px; height: 200px; object-fit: cover; border-radius: 5px; margin-bottom: 1rem; }
.close-modal-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; }

.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #181818;
    z-index: 999;
    display: flex;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    padding: 10px 20px; /* Adjusted padding */
    box-sizing: border-box; 
    gap: 15px; /* Adds space between items */
}
#player-album-art { width: 60px; height: 60px; background-size: cover; border-radius: 4px; margin-right: 0; flex-shrink: 0; }
.player-info { flex-shrink: 0; }
#player-song-title { font-weight: bold; }
#player-artist-name { font-size: 0.9rem; color: #aaa; }

#player-audio {
    flex-grow: 1; /* This makes the play bar expand */
    width: 100%;
}
.player-links { display: flex; gap: 0.5rem; margin-left: 0; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.social-link span { display: none; }
.social-link:hover { transform: scale(1.1); }
.social-link svg { width: 20px; height: 20px; margin-right: 0; }
.social-link.spotify { background-color: #1DB954; color: white; }
.social-link.spotify:hover { background-color: #1ed760; }
.social-link.soundcloud { background-color: #FF5500; color: white; }
.social-link.soundcloud:hover { background-color: #ff6a1a; }

/* --- NEW STYLES for custom volume control --- */
/* Hide the default volume slider */
#player-audio::-webkit-media-controls-volume-slider,
#player-audio::-webkit-media-controls-mute-button {
    display: none !important;
}
.custom-volume-container {
    position: relative;
    display: flex;
    align-items: center;
}
.volume-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: white;
}
.volume-button svg { width: 24px; height: 24px; }
.volume-slider-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #282828;
    border-radius: 10px;
    padding: 15px 10px;
    margin-bottom: 10px;
    display: none; /* Hidden by default */
}
.custom-volume-container:hover .volume-slider-popup {
    display: block; /* Show on hover */
}
.volume-slider {
    -webkit-appearance: slider-vertical; /* Makes the slider vertical */
    width: 8px;
    height: 100px;
}
/* ================================== */
/* MOBILE OPTIMIZATION STYLES         */
/* ================================== */

/* This targets all screens 768px wide or smaller (tablets and phones) */
/* ================================== */
/* MOBILE OPTIMIZATION STYLES         */
/* ================================== */

/* This targets all screens 768px wide or smaller (tablets and phones) */
/* ================================== */
/* MOBILE OPTIMIZATION STYLES         */
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION STYLES         */
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION (Single Column)*/
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION (Single Column)*/
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION (Single Column)*/
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION (Single Column)*/
/* ================================== */

/* ================================== */
/* MOBILE OPTIMIZATION (Single Column)*/
/* ================================== */

@media (max-width: 768px) {

    /* --- Safeguard --- */
    html, body {
        overflow-x: hidden;
    }

    /* --- Header --- */
    .header-section { padding: 5rem 1rem 2rem; }
    .header-content h1 { font-size: 2.5rem; }
    .header-images img { width: 100px; height: 100px; }

    /* --- Timeline: Force a single, clean column --- */
    .timeline-container {
        width: 100%;
        padding: 20px 0;
        box-sizing: border-box;
    }

    /* Move the main line to the far left */
    .timeline-container::before {
        left: 30px; 
    }
    
    /* This is the key fix. It applies the SAME rules to ALL timeline items on mobile,
    overriding the desktop's left/right positioning completely.
    */
    .timeline-item {
        width: 100%;
        left: 0 !important; /* Force to the left edge */
        padding-left: 70px; /* Space for the line and point */
        padding-right: 20px;
        text-align: auto /* Force all text to align left */
    }

    /* Force all points onto the new line position */
    .timeline-item .timeline-point {
        left: 23px;
        right: auto;
    }

    /* Force all content containers and their contents to align left */
    .timeline-item .timeline-content,
    .left-item .timeline-content,
    .right-item .timeline-content {
        padding: 0 15px 0 0;
        justify-content: flex-start;
    }

    /* Force all branch lines to start from the correct place */
    .timeline-item .timeline-content::before {
        left: -35px; /* Adjust to connect to the point */
        right: auto;
        width: 35px;
    }

    /* Force all text blocks to align left */
    .timeline-item .track-display {
        align-items: flex-start;
    }
    
    /* Reset the info button order for a consistent layout */
    .timeline-item .info-button {
        order: 0;
        margin-right: 0;
        margin-left: 15px;
    }
    
    /* --- Bottom Player --- */
    .bottom-player {
        padding: 10px 15px;
        gap: 10px;
    }

    /* On very small phones, hide non-essential player info */
    @media (max-width: 480px) {
        #player-song-title,
        #player-artist-name {
            display: none !important;
        }
        .player-links {
            display: flex;
        }
    }

    .volume-slider-popup {
        display: none !important; /* Disable volume popup on mobile */
    }
}
/* ================================== */
/* BACK TO TOP BUTTON STYLES          */
/* ================================== */

#back-to-top-btn {
    position: fixed; /* Keep it in the same spot on the screen */
    bottom: 100px;
    right: 30px;
    z-index: 999; /* Make sure it's on top of other content */
    
    /* Initially hidden */
    opacity: 0;
    pointer-events: none;
    
    /* Appearance */
    background-color: #f0f0f0;
    color: #121212;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);

    /* Smooth fade-in/out animation */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#back-to-top-btn:hover {
    background-color: #cccccc;
    transform: scale(1.1);
}

/* This class will be added by JavaScript to make the button visible */
#back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}
/* NEW CSS RULES */

/* This container will hold the buttons together */
.button-group {
    display: flex;  /* Align buttons horizontally */
    gap: 8px;       /* Add a small space between the buttons */
    margin-left: 15px; /* Add space between the track info and the button group */
}

/* This moves the entire button group for the items on the right side */
.timeline-item:nth-child(odd) .button-group {
    order: -1; /* This moves the group before the album art */
    margin-left: 0;
    margin-right: 15px;
}
/* Add these new rules to style.css */

/* This makes the lyrics modal a positioned, hidden pop-up */
.lyrics-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2c2c2c;
    padding: 2rem;
    border-radius: 10px;
    z-index: 1001;
    width: 90%;
    max-width: 600px; /* A bit wider for lyrics */
    text-align: center;

    /* These two lines keep it hidden initially */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Add the .visible class to show it, just like the info-modal */
.lyrics-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

/* This makes the lyrics content scrollable if they are very long */
#modal-lyrics-content {
    margin-top: 1rem;
    max-height: 50vh; /* Limit height to 50% of the viewport */
    overflow-y: auto; /* Add a scrollbar if content overflows */
    text-align: left;
    white-space: pre-wrap; /* Respects line breaks in the text */
    line-height: 1.6;
    background-color: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
}
/* ... (Existing CSS rules) ... */

/* ================================== */
/* NEW WELCOME POPUP STYLES           */
/* ================================== */

.welcome-popup {
    /* Uses the same positioning as the other modals */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2c2c2c; /* Dark background */
    padding: 2rem;
    border-radius: 10px;
    z-index: 1001; /* Above the overlay */
    width: 90%;
    max-width: 450px; /* A good size for a welcome message */
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);

    /* Initially hidden */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.welcome-popup.visible {
    opacity: 1;
    pointer-events: auto;
}

#welcome-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Circular image */
    margin-bottom: 1rem;
    border: 3px solid #f0f0f0;
}

#welcome-text-content h3 {
    color: #f0f0f0;
    margin-top: 0;
    font-size: 1.5rem;
}

#welcome-text-content p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

/* Ensure the close button style is reused */
.welcome-popup .close-modal-btn {
    /* Already defined above, but ensure it's positioned correctly */
    position: absolute;
    top: 10px;
    right: 15px;
}
/* ================================== */
/* NEW ABOUT PAGE STYLES              */
/* ================================== */

.about-page-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 50px; /* Adjust padding for fixed menu */
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid #333;
    padding-bottom: 1rem;
}
.page-header h1 {
    font-size: 3rem;
    color: #f0f0f0;
}
.page-header .subtitle {
    font-size: 1.2rem;
    color: #aaa;
}

.about-section-content {
    margin-bottom: 3rem;
    line-height: 1.6;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
}

.about-section-content h2 {
    color: #f0f0f0;
    font-size: 2rem;
    border-left: 5px solid #ff9900; /* Accent color */
    padding-left: 10px;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* --- FAQ Styles --- */
.faq-section {
    margin-top: 50px;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #ff9900; /* Highlight the FAQ section */
    margin-bottom: 2rem;
}

.faq-item {
    border: 1px solid #333;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #242424;
    overflow: hidden; /* Important for the answer animation */
}

.faq-question {
    padding: 15px;
    margin: 0;
    cursor: pointer;
    background-color: #2c2c2c;
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #3a3a3a;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 15px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #242424;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* A large enough number to accommodate content */
    padding: 15px;
}

.faq-answer p {
    margin: 0;
    padding: 0;
    color: #ccc;
    line-height: 1.5;
}

/* Mobile Adjustments for About Page */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2.2rem; }
    .faq-section h2 { font-size: 2rem; }
    .faq-question { padding: 12px; font-size: 1rem; }
    .faq-answer { padding: 0 12px; }
    .faq-item.active .faq-answer { padding: 12px; }
}
/* ... (Remaining CSS rules) ... */
/* ================================== */
/* NEW ALBUM PAGE: THE MOCKING STARS  */
/* ================================== */
/* Accent Colors:
 * BRIGHT RED: #E74C3C
 * YELLOWED PAPER: #F7E7CE
 */

.album-page-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.album-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #333;
}

.album-art-large {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.album-header h1 {
    font-size: 3.5rem;
    color: #E74C3C; /* Changed from orange to BRIGHT RED */
    margin-bottom: 0.5rem;
}

.album-meta span {
    display: inline-block;
    background-color: #1e1e1e;
    padding: 5px 10px;
    border-radius: 4px;
    margin: 5px;
    color: #F7E7CE; /* Changed from #ccc to YELLOWED PAPER for subtle contrast */
    font-size: 0.9rem;
}

/* Quick Navigation */
.quick-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 3rem;
    padding: 15px;
    background-color: #242424;
    border-radius: 8px;
}

.quick-nav a {
    text-decoration: none;
    color: #F7E7CE; /* YELLOWED PAPER for default link text */
    font-weight: bold;
    padding: 8px 15px;
    border: 1px solid #E74C3C; /* Changed from orange border to BRIGHT RED */
    border-radius: 20px;
    transition: background-color 0.2s, color 0.2s;
}

.quick-nav a:hover {
    background-color: #E74C3C; /* Changed from orange to BRIGHT RED background */
    color: #121212; /* Dark text on red background */
}

/* Main Section Styles */
.album-section {
    margin-bottom: 4rem;
    padding: 30px;
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.album-section h2 {
    font-size: 2.2rem;
    color: #E74C3C; /* Changed from orange to BRIGHT RED */
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
    margin-bottom: 1.5rem;
}

.mini-header {
    font-size: 1.4rem;
    color: #F7E7CE; /* Changed from #f0f0f0 to YELLOWED PAPER */
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.theory-content p {
    line-height: 1.6;
    color: #ccc;
}

.reddit-quote {
    border-left: 5px solid #E74C3C; /* Changed from orange accent line to BRIGHT RED */
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #aaa;
}

.reddit-quote footer {
    margin-top: 10px;
    font-size: 0.9rem;
    font-style: normal;
    color: #E74C3C; /* Changed from orange to BRIGHT RED */
}

/* --- Lyrics Accordion Styles --- */
.lyrics-intro {
    color: #F7E7CE; /* Changed from #ccc to YELLOWED PAPER */
    font-style: italic;
    margin-bottom: 25px;
}

.song-lyric-item {
    margin-bottom: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2c2c2c;
    overflow: hidden;
}

.song-title-toggle {
    padding: 15px;
    margin: 0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F7E7CE; /* Changed from #f0f0f0 to YELLOWED PAPER */
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.song-title-toggle:hover {
    background-color: #444;
}

.song-lyrics pre {
    color: #F7E7CE; /* Changed from #ccc to YELLOWED PAPER */
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Adjustments (no color changes needed here) */
@media (max-width: 768px) {
    .album-header h1 { font-size: 2.5rem; }
    .album-art-large { width: 180px; height: 180px; }
    .album-section h2 { font-size: 1.8rem; }
    .quick-nav { flex-direction: column; }
    .quick-nav a { width: 100%; text-align: center; }
}
/* --- Lyrics Accordion Styles (Crucial for function!) --- */

/* 1. This rule sets the default, closed state. */
.song-lyrics {
    max-height: 0; /* Keeps the content collapsed */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* 2. This rule defines the open state. */
.song-lyric-item.open .song-lyrics {
    max-height: 900vh; /* Expands the container height (needs to be large) */
    padding: 15px;
    border-top: 1px solid #444;
}

/* 3. This is the visual arrow flip (optional, but good for UX). */
.song-title-toggle::after {
    content: '▼';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.song-lyric-item.open .song-title-toggle::after {
    transform: rotate(180deg);
}
/* Styling for song titles within the theory block */
.theory-song-title {
    font-size: 1.2rem;
    color: #F7E7CE; /* Yellowed paper color */
    margin-top: 20px;
    margin-bottom: 5px;
}