/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #4F46E5;
    --secondary-color: #EC4899;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F3F4F6;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* =========================================
   Hero Section
   ========================================= */
/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    min-height: 0vh;
    /* Reduced from 50vh */
    height: auto;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    /* Reduced from 2rem */
    /* Add padding to prevent content touching edges */
    /* Reduced margin */
    color: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.4);
    transform: scale(1.1);
    /* Prevent blur edges */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.artist-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.artist-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.artist-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.artist-name a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.artist-name a:hover {
    color: var(--secondary-color);
}

.upload-date {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    font-weight: bold;
}

.info-paragraph {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Links in Hero Section Paragraphs */
.hero-content a,
.info-paragraph a {
    color: #6DD5FA;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-content a:hover,
.info-paragraph a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.scroll-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.scroll-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

/* =========================================
   Main Content Layout
   ========================================= */
.lyrics-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0.5rem 2rem;
    /* Reduced padding-bottom */
}

.hero-section {
    /* ... existing styles ... */
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50% Table, 50% Image */
    gap: 1rem;
    /* Reduced gap */
    margin-bottom: 2rem;
    /* Reduced margin */
    align-items: stretch;
    /* Equal height */
}

/* Image Side (Visually Left) */
.content-left {
    order: 1;
    /* Moved to Left */
    height: 100%;
}

.content-left .featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    position: relative;
    background: #f9fafb;
}

.content-left .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.content-left .featured-image:hover img {
    transform: scale(1.03);
}

/* Table Side (Visually Right) */
.content-right {
    order: 2;
    /* Moved to Right */
    background: var(--white);
    padding: 1rem;
    /* Further reduced padding */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
}

.info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    /* Larger */
    font-weight: 800;
    /* Extra Bold */
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
    /* Center title */
}

.title-border {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: 1rem;
    margin-left: auto;
    /* Center border */
    margin-right: auto;
}

/* Custom Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: auto;
    margin-bottom: auto;
}

table tr {
    border-bottom: 1px solid #E5E7EB;
    transition: background-color 0.2s;
}

/* Header Row Design */
table tr:first-child {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

table tr:first-child td {
    color: var(--white);
    /* Override default colors */
    border: none;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

table tr:first-child td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

table tr:first-child td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

table tr:last-child {
    border-bottom: none;
}

table td {
    padding: 0.5rem 0.25rem;
    /* Further reduced padding */
    font-size: 0.95rem;
    text-align: center;
    /* Center content */
}

table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
    /* Adjusted width for better centering balance */
}

/* Ensure first column in header row is also white */
table tr:first-child td:first-child {
    color: var(--white);
}

table td:last-child {
    color: var(--text-light);
}

/* Ensure last column in header row is also white */
table tr:first-child td:last-child {
    color: var(--white);
}

/* =========================================
   Lyrics & Recommendations Layout
   ========================================= */
.lyrics-recommendations-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 2rem;
    /* Reduced gap */
}

/* Lyrics Column */
.lyrics-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    text-align: center;
    /* Centered content */
}

.content-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    /* Larger */
    font-weight: 800;
    /* Extra Bold */
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.lyricist-info {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #F8FAFC;
    border-radius: 2rem;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.lyricist-info span {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.25rem;
}

pre {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 2;
    color: #374151;
    white-space: pre-wrap;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    /* Maintain center alignment */
}

pre strong {
    color: var(--primary-color);
    font-weight: 700;
}

.end-marker {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Links in Lyrics Content */
.lyrics-content a,
pre a,
p a {
    color: #0EA5E9;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.lyrics-content a:hover,
pre a:hover,
p a:hover {
    color: #0284C7;
    text-decoration: underline;
}

/* Report Section */
.report-lyrics {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.report-lyrics h3 {
    color: #991B1B;
    margin-bottom: 0.5rem;
}

.report-lyrics p {
    color: #7F1D1D;
    margin-bottom: 1.5rem;
}

.report-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #EF4444;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.report-button:hover {
    background: #DC2626;
}

/* YouTube Section */
.youtube-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    /* Increased font size */
    margin-bottom: 1rem;
    text-align: center;
    /* Centered */
}

.youtube-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background: #000;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   Sidebar Recommendations
   ========================================= */
/* =========================================
   Sidebar Recommendations (Wizard Panel)
   ========================================= */
.sidebar-recommendations {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    padding: 20px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.sidebar-recommendations h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.title-border-Recommendations {
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
    /* Reduced margin */
}

/* Individual Recommendation Card */
.sidebar-recommendation-item {
    display: flex;
    gap: 0.75rem;
    /* Reduced gap */
    padding: 0.75rem;
    /* Reduced padding */
    background: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.5rem;
    /* Reduced margin */
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Hover Effect for Cards */
.sidebar-recommendation-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Subtle gradient overlay on hover */
.sidebar-recommendation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-recommendation-item:hover::before {
    opacity: 1;
}

.sidebar-rec-image {
    width: 60px;
    /* Smaller image */
    height: 60px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-rec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-recommendation-item:hover .sidebar-rec-image img {
    transform: scale(1.1);
}

.sidebar-rec-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.sidebar-rec-title {
    font-size: 0.95rem;
    /* Smaller Font */
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.sidebar-recommendation-item:hover .sidebar-rec-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Show More Button */
.show-more-btn {
    width: 100%;
    padding: 0.75rem;
    /* Reduced padding */
    margin-top: 1rem;
    /* Reduced margin */
    background: var(--white);
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
    border-radius: var(--radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.show-more-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.show-more-btn::after {
    content: '↓';
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.show-more-btn:hover::after {
    transform: translateY(3px);
}

/* =========================================
   "You Might Also Like" Grid
   ========================================= */
.you-might-like {
    max-width: 1280px;
    margin: 2rem auto 0;
    /* Reduced margin */
    padding: 0 1.5rem;
}

.you-might-like h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    /* Extra Bold */
    margin-bottom: 2rem;
    /* Space for underline */
    text-align: center;
    position: relative;
}

.you-might-like h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.lyrics-grid-random {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    /* Reduced gap */
}

.lyric-card-random {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lyric-card-random:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.image-container {
    position: relative;
    padding-top: 60%;
    /* Aspect ratio */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lyric-card-random:hover .image-container img {
    transform: scale(1.1);
}

.category-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lyric-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.lyric-meta div {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lyric-meta i {
    color: var(--primary-color);
}

/* =========================================
   FAQ Section
   ========================================= */
.lyrics-faq {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.lyrics-faq h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.lyrics-faq h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.youtube-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    /* Extra Bold */
    margin-bottom: 0.5rem;
    text-align: center;
    /* Centered */
}

/* ... existing youtube-video styles ... */




.qna-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qna-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.qna-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.qna-question i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.qna-answer {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-left: 0.25rem;
}

.qna-answer i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.qna-answer-continuation {
    margin-left: 2.25rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* =========================================
   Album Songs Section
   ========================================= */
/* =========================================
   Album Songs Section - Updated
   ========================================= */
.album-songs-section {
    background: #F8FAFC;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* Separator spacer */
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.album-songs-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 15px;
    /* Space for gradient line */
    text-align: center;
    font-weight: 800;
    /* Extra Bold */
    position: relative;
    border-bottom: none;
}

/* Gradient Underline */
.album-songs-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.album-song-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Prevent overflow */
    gap: 1rem;
}

.album-song-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.album-song-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.album-song-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(79, 70, 229, 0.1);
    /* Light Primary Background */
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.album-song-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .content-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-left {
        order: unset;
        /* Reset order on mobile */
        height: auto;
    }

    .content-right {
        order: unset;
        height: auto;
    }

    .content-left .featured-image {
        position: static;
        max-width: 500px;
        margin: 0 auto;
        height: auto;
    }

    .lyrics-recommendations-container {
        grid-template-columns: 1fr;
    }

    .sidebar-recommendations {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 1rem 1rem 2rem;
        /* Reduced from 2.5rem */
        /* Account for fixed header */
        min-height: auto;
    }

    .main-title {
        font-size: 2rem;
        /* Reduced from 2.5rem for better mobile fit */
        word-wrap: break-word;
        /* Ensure title breaks if too long */
    }

    .lyrics-content {
        padding: 1.5rem !important;
        /* Override inline styles if any */
        width: 100% !important;
        /* Ensure full width */
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .content-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        /* Ensure title breaks */
    }

    pre {
        font-size: 1rem;
        white-space: pre-wrap;
        /* Ensure pre tags wrap text */
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Album Songs Mobile Fixes */
    .album-songs-section {
        padding: 1.5rem !important;
        /* Override inline 30px padding */
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .album-song-item {
        /* Center text on mobile */
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .album-song-item i {
        display: none;
        /* Hide icon on mobile */
    }

    .album-song-item span {
        white-space: normal !important;
        /* Override inline nowrap */
        word-break: break-word;
    }

    .album-song-list {
        grid-template-columns: 1fr;
        /* Single column on mobile */
    }

    /* Report Section Fix */
    .report-lyrics {
        padding: 1.5rem !important;
    }

    /* Youtube Section Fix */
    .youtube-video {
        width: 100% !important;
        height: auto !important;
        padding-bottom: 56.25%;
        /* Maintain aspect ratio */
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Lyrics Translation Toggle
   ========================================= */
.lyrics-toggle-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lyrics-toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

/* Show Translation - Active (Purple Gradient) */
.lyrics-toggle-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* Hide Translation - Inactive (White with Border) */
.lyrics-toggle-btn:not(.active) {
    background: var(--white);
    color: var(--text-dark);
    border-color: #E2E8F0;
}

.lyrics-toggle-btn:hover {
    transform: translateY(-2px);
}

.lyrics-content-block {
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Translation Lines Styling */
/* Translation Lines Styling */
.lyric-line {
    margin-bottom: 0.2rem;
    min-height: 1rem;
    /* Maintain line height */
}

.translation-line {
    color: var(--primary-color);
    font-weight: 600;
    transition: opacity 0.3s ease, height 0.3s ease;
}

/* Hidden State */
.translation-line.hidden {
    display: none;
}

/* Song Structure Styling - Curly Brackets {} */
.song-structure {
    color: #DC2626;
    font-weight: 700;
}

/* =========================================
   Footer Styles
   ========================================= */
footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: var(--white);
    padding: 6rem 1rem 3rem;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

/* Music Notes Animation */
.music-notes {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatNote 5s infinite ease-in-out;
}

.note-1 {
    top: 20%;
    left: 10%;
    font-size: 3rem;
    animation-delay: 0s;
}

.note-2 {
    top: 60%;
    right: 15%;
    font-size: 2.5rem;
    animation-delay: 2s;
}

.note-3 {
    top: 30%;
    right: 25%;
    font-size: 1.5rem;
    animation-delay: 4s;
}

@keyframes floatNote {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.3;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-column h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-column p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #cbd5e1;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.quick-links {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.quick-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.quick-links a.submit-btn {
    background: var(--white);
    color: var(--primary-color) !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.quick-links a.submit-btn:hover {
    background: #e2e8f0;
    padding-left: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.message {
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: none;
}

.message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.app-download {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    margin-top: 1.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        margin-top: 3rem;
    }

    .footer-links {
        gap: 1rem;
        font-size: 0.85rem;
    }
}

/* =========================================
   Mobile Footer Fix (<400px)
   ========================================= */
@media (max-width: 400px) {
    footer {
        padding: 3rem 1rem 2rem !important;
    }

    .footer-container {
        gap: 2rem !important;
        grid-template-columns: 1fr !important;
    }

    /* Stack Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }

    /* Adjust Links Spacing */
    .footer-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .footer-column p {
        word-break: break-word;
        /* Ensure text doesn't overflow */
    }
}