:root {
    /* CSS Variables for easy color changes */
    --color-primary: black;
    --color-secondary: #ff8af5;
    --color-highlight: chartreuse;
    --color-text: #ff8af5;
    --font-stack: 'Arial', sans-serif;
    --max-width: 1200px;
}
@font-face {
    font-family: 'NutType';
    src: url('nuttype.woff2') format('woff2'),
         url('nuttype.woff') format('woff'),
         /* This is the key line based on your setup: */
         url('nuttype.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

/* Reset margins and paddings for all common block elements */
body, h1, h2, h3, p, ul, ol, li, section, header, main, footer, div, a, img {
    margin: 0;
    padding: 0;
}

body {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: black;
    color: #ff8af5;
    font-family: 'Arial', sans-serif;
    /* Retaining the background image and making it cover the screen */
    background-image: url('ax.jpg');
    background-size: cover; 
    background-attachment: fixed; 
    line-height: 1.6;
    padding: 20px;
}

#winamp-container {
    /* 1. Remove it from the normal document flow */
    position: fixed; 
    right: 20px;
    bottom: 200px;
    z-index: 1000; 
}
/* Header Styling - Centered Title with a dark background for readability */
.site-header h1{
    width:100%;
    font-family: 'NutType', sans-serif;
    text-align: center;
    color: #ff8af5;
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 30px;
    font-size:3.4rem;
}
.site-header h2 {
    font-family: 'NutType', sans-serif;
    color: #ff8af5;
    background-color: rgba(0, 0, 0, 0.7); 
    padding: 10px 20px;
    display: inline-block;
    font-size:3rem;
}

/* Main Layout: Removed old grid/flex properties */
.content-wrapper {
    max-width: 90%;
    margin: 0 auto;
    gap: 40px;
}

/* **FIX 1: The main 2/3 and 1/3 grid container** */
.site-content-grid {
    display: grid;
    /* 2fr for the left (Image/Lyrics), 1fr for the right (Releases) */
    grid-template-columns: 2fr 1fr;
    gap: 30px; 
    margin-bottom: 40px; 
    /* NEW: This makes the grid row height determined by the tallest content (Releases) */
    align-items: stretch; 
}

.left-panel-2-3 {
    /* Container for the tabs and switchable content (2/3 width) */
    grid-column: 1 / 2;
    /* NEW: Forces the panel to fill the height provided by the stretching grid row */
    min-height: 1395px; 
    max-height: 2227px;
}

/* **Releases Section Styling (1/3 width, full height, NO SCROLL)** */
.releases-section {
    grid-column: 2 / 3; /* Ensures it sits in the second column */
    /* This section remains the height determinant */
    padding: 20px; 
    background-color: rgba(0, 0, 0, 0.85); 
    border: 2px solid #ff8af5; 
    border-radius: 8px;
    min-width: 250px; 
    min-height: 1395px;
    max-height: 1400px;
}

/* Design Element: Content blocks with border and semi-transparent background */
.welcome-section, .release-category {
    padding: 0; 
    background-color: transparent; 
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}

/* Typography and Color */
.section-title {
    font-family: 'NutType', sans-serif;
    color: #ff8af5;
    border-bottom: 2px solid chartreuse;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size:2em;
}

.category-title {
    font-family: 'NutType', sans-serif;
    color: #ff8af5;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 2em;
}

/* Link Styling with Hover Effect */
a {
    color: chartreuse; 
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #ff8af5; 
    text-decoration: underline;
}

.link-highlight {
    font-weight: bold;
    text-decoration: underline;
}

/* List Styling */
.release-list {
    list-style-type: circle;
    padding-left: 20px;
}

.release-list li {
    margin-bottom: 5px;
}

/* Image/Link Styling: Set to 100% of the 2/3 width */
.image-links {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 10px 0;
    width: 100%; 
    flex-wrap: wrap; 
}
.image-links a {
    width: 48%; 
    display: block; 
    height: 400px; 
    overflow: hidden; 
    margin-bottom: 5px; 
    border: 3px solid chartreuse; 
    box-sizing: border-box;
}
.profile-img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px chartreuse;
}

/* --- TABS STRUCTURE STYLES --- */
.tabs-container {
    margin-bottom: 20px;
    height:1394px;
}
.tab-buttons {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid #ff8af5;
    margin-bottom: 0;
}
.tab-button {
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: chartreuse;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: none;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-button:hover {
    background-color: rgba(50, 0, 50, 0.9);
}
.tab-button.active {
    background-color: #ff8af5;
    color: black;
    border-color: chartreuse;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    pointer-events: none;
}

/* --- CONTENT PANEL STYLES --- */
.content-panel {
    display: none;
    padding: 0;
}
.content-panel.active {
    display: block;
    background-color: rgba(0, 0, 0, 0.85); 
    border: 2px solid #ff8af5;
    border-radius: 8px;
    padding: 20px; 
    /* Ensures the inner content can stretch the full column height */
    height:1394px; 
    box-sizing: border-box;
}

/* **FIX 2: LYRICS TAB PANEL (The outer container) - REMOVE SCROLL/HEIGHT** */
#lyrics.content-panel {
    max-height: 1400px; 
    overflow-y: auto; 
    padding-right: 20px; 
}


/* **YOUTUBE SECTION STYLES (Containerized)** */
.youtube-section {
    /* Sits outside the grid, takes full width, now has a container style */
    padding: 20px; 
    background-color: rgba(0, 0, 0, 0.85); /* Added background */
    border: 2px solid #ff8af5; /* Added border */
    border-radius: 8px;
    margin-top: 20px; 
}

/* Flexbox for the video layout */
.video-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: center; 
    padding-top: 10px;
}

.video-item {
    display: block;
    overflow: hidden; 
    border: 2px solid chartreuse;
    line-height: 0; 
    width: 23%; 
    min-width: 150px; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.video-title {
    font-family: 'NutType';
    display: block;
    color: #ff8af5;
    padding: 5px 5px 10px 5px; 
    line-height: 1.2; 
    font-size: 1em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); 
    text-align:center;
}

/* --- LYRIC DISPLAY CONTAINER STYLES (Beneath each song) --- */
.lyric-display-container {
    max-height: 800px; /* This keeps the inner lyric box scrollable */
    overflow-y: auto; 
    border: 1px solid #ff8af5; 
    padding: 15px;
    margin-top: 10px; 
    margin-bottom: 10px; 
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.9);
}

.lyric-display-container pre {
    white-space: pre-wrap; 
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    color: var(--color-text, #ff8af5);
    background-color: transparent; 
    padding: 0;
    margin: 0;
}
/* --- NEW: Album Art Hover Box Styles --- */
#album-art-hover {
    position: fixed; 
    z-index: 2000; 
    width: 200px; 
    height: 200px; 
    overflow: hidden; 
    border: 3px solid chartreuse; 
    box-shadow: 0 0 10px #ff8af5, 0 0 20px chartreuse; 
    pointer-events: none; /* Crucial */
    transition: none;
    display: none; /* Must be hidden by default */
}

#album-art-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* Responsive Design: Stacking on smaller screens */
@media (max-width: 768px) {
    @font-face {
        font-family: 'Gill Sans Custom'; 
        src: url('path/to/GillSans.otf') format('opentype');
        font-weight: normal; 
        font-style: normal;
        font-display: swap;
    }
    .video-title. {
        font-family: 'Gill Sans', sans-serif;
    }
    .site-header {
        font-family: 'Gill Sans', sans-serif;
    }
    .site-header h1, .site-header h2 {
        font-family: 'Gill Sans', sans-serif;
    }
    .section-title {
        font-family: 'Gill Sans', sans-serif;
    }
    
    .category-title {
        font-family: 'Gill Sans', sans-serif;
    }
    /* Ensure the releases section is visible and flows below the tabs on mobile (full height) */
    .content-panel.active {
        max-height:1394px;
    }
    .releases-section {
        grid-column: 1 / -1; 
        max-height: 1400px;
        overflow-y: visible;
        padding: 20px; 
        margin-top: 20px; 
    }
    
    .left-panel-2-3 {
        grid-column: 1 / -1;
    }

    .image-links a {
        width: 48%; 
        height: 300px; 
    }

    .video-item {
        width: 100%; 
        min-width: unset;
    }

}