:root {
    --bg-dark: #f5f5f7; /* Apple classic off-white */
    --bg-panel: rgba(255, 255, 255, 0.72);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #1d1d1f; /* Apple classic soft black */
    --text-secondary: #86868b;
    
    /* Apple Accents */
    --accent: #0066cc; /* Link blue */
    --accent-hover: #005bb5;
    --accent-cyan: #00703c; /* Success green */
    --focus-ring: rgba(0, 102, 204, 0.3);
    
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-ml: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius: 18px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
    letter-spacing: -0.015em;
}

.ml-text {
    font-family: var(--font-ml);
}

/* Background Effects */
.background-effects {
    display: none;
}

/* App Container */
.app-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

/* Loader */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Views */
.view-home, .view-detail {
    display: none;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s var(--transition), transform 0.5s var(--transition);
}

.view-home.active, .view-detail.active {
    display: block;
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.brand-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.brand-z-logo {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.brand-text {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Central Search Box */
.search-container {
    position: relative;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0.3rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-container:focus-within {
    box-shadow: 0 0 0 4px var(--focus-ring), var(--shadow-md);
    transform: translateY(-2px);
}

#search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

#search-input::placeholder {
    color: rgba(0,0,0,0.3);
}

.icon-btn {
    background: var(--accent);
    border: none;
    border-radius: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.mic-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    margin-right: 0.5rem;
    border-radius: 50%;
}

.mic-btn:hover {
    color: var(--accent);
    background: rgba(0, 113, 227, 0.1);
}

.mic-btn.listening {
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
    animation: pulseMic 1.5s infinite;
}

@keyframes pulseMic {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.icon-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.04);
}

.icon-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.icon-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Search Mode Dropdown */
.search-mode-select {
    appearance: none;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    border-radius: 20px 0 0 20px;
}

.search-mode-select:focus {
    background: rgba(0, 102, 204, 0.05);
}

.search-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

/* Advanced Search Toggle & Panel */
.advanced-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.advanced-toggle-btn:hover {
    color: var(--accent);
    background: rgba(0, 102, 204, 0.05);
}

.advanced-toggle-btn.active .adv-chevron {
    transform: rotate(180deg);
}

.advanced-search-panel {
    max-width: 650px;
    margin: 0 auto 3rem auto;
    padding: 1.5rem;
    text-align: left;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: -1.5rem;
    border-color: transparent;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.advanced-search-panel.active {
    max-height: 500px;
    opacity: 1;
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
    margin-top: 0;
    margin-bottom: 3rem;
}

.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.adv-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.adv-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.adv-field input, .adv-field select {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    transition: var(--transition);
}

.adv-field input:focus, .adv-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--focus-ring);
    background: #fff;
}

/* Table styling */
.table-container {
    overflow-x: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    padding: 1.2rem 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--border-color);
}

th.sortable {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}
th.sortable:hover {
    color: var(--accent);
}
.sort-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    opacity: 0.3;
    transition: transform 0.2s ease, opacity 0.2s ease;
    display: inline-block;
}
th.sortable.asc .sort-icon {
    opacity: 1;
    transform: rotate(180deg);
}
th.sortable.desc .sort-icon {
    opacity: 1;
    transform: rotate(0deg);
}

td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:not(.empty-state) {
    cursor: pointer;
}

tbody tr:not(.empty-state):hover td {
    background: rgba(0, 0, 0, 0.02);
}

/* Focus state for entire row on click/nav */
tbody tr:focus-within td {
    background-color: rgba(0, 102, 204, 0.05);
}

.empty-state td {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem 1rem;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    max-width: 400px;
    height: 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    margin: 1rem auto;
    overflow: hidden;
    position: relative;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.2s ease;
    position: relative;
}
.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Language Toggle */
.lang-toggle-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.lang-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.lang-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.lang-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.lang-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.lang-switch input:checked + .lang-slider {
    background-color: var(--accent);
}
.lang-switch input:checked + .lang-slider:before {
    transform: translateX(20px);
}
.lang-label {
    cursor: pointer;
    transition: color 0.2s;
}
.lang-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Accordion Buttons inside table */
.accordion-toggle-btn, .action-detail-btn {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.accordion-toggle-btn:hover, .action-detail-btn:hover {
    transform: scale(1.1);
}

.accordion-toggle-btn:focus, .action-detail-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
    border-radius: 50%;
}

/* Lyrics Preview Hover Table Row */
.lyrics-preview-row td {
    padding: 0 1.5rem;
    border-bottom: none;
    background: rgba(0, 0, 0, 0.01);
}
.lyrics-preview-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}
.lyrics-preview-row.expanded td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.lyrics-preview-row.expanded .lyrics-preview-content {
    max-height: 400px;
    opacity: 1;
    overflow-y: auto;
    padding: 1.5rem;
    border-left: 3px solid var(--accent);
    margin: 1rem 0;
    background: #ffffff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-sm);
}

/* Detail View Components */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--accent-hover);
    transform: translateX(-4px);
}

.back-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
    border-radius: 8px;
}

.detail-content {
    padding: 1rem 0;
}

.detail-header {
    margin-bottom: 3rem;
}

.detail-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    letter-spacing: -0.04em;
}

.detail-title .ml-text {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: normal;
}

.detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

/* Wikipedia Context Card */
.detail-context {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.detail-context a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.detail-context a:hover {
    text-decoration: underline;
}

/* Two-Column Premium Split Layout */
.lyrics-split-container {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.lyrics-split-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.lyrics-split-label {
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lyrics-split-label:first-child {
    border-right: 1px solid var(--border-color);
}

.lyrics-split-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

/* Unified Lyric Card styles */
.lyric-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.lyric-card:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

.lyric-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lyric-original {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-ml);
    line-height: 1.6;
    padding-top: 0.4rem;
}

.lyric-manglish {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-style: italic;
}

.lyric-card-drawer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lyric-direct, .lyric-simple {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

/* Highlights */
.lyric-direct.highlighted, .lyric-simple.highlighted {
    background: rgba(0, 102, 204, 0.05);
    color: var(--accent);
}

/* Fluid tech sliders for switch toggles */
.translation-toggle {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 3px;
}

.toggle-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.toggle-btn.active {
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}



/* Accordion and layout elements */
.result-row.expanded .chevron-icon {
    transform: rotate(90deg) !important;
}
.result-row.expanded td {
    background: rgba(0, 0, 0, 0.01);
}

/* Jump Link Button */
.jump-link-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 auto;
    text-align: center;
    width: 100%;
    justify-content: center;
}

.jump-link-btn:hover {
    background: rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

/* Soul of the Song Card */
.analysis-card {
    transition: var(--transition);
}

.analysis-card:hover {
    box-shadow: var(--shadow-lg);
}

.copy-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

.copy-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-size: 16px; /* Prevents iOS auto-zoom on inputs */
    }

    .app-container {
        padding: 1rem;
        padding-bottom: 4rem; /* Safe area for mobile swipe up */
    }

    .hero {
        padding-top: 1rem;
        margin-bottom: 2rem;
    }

    .brand-z-logo { font-size: 2.8rem; }
    .brand-text { font-size: 2.2rem; }
    
    .detail-content { padding: 0.5rem; }
    .detail-title {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 2rem;
    }
    .detail-title .ml-text {
        font-size: 1.5rem;
    }
    
    .search-container {
        border-radius: 18px;
    }

    #search-input {
        padding: 0.8rem 1.2rem;
        font-size: 16px; /* Prevents auto-zoom */
    }

    .icon-btn {
        width: 45px;
        height: 45px;
        margin: 2px;
    }
    
    /* Transform Table to Card Layout on Mobile Devices */
    .table-container {
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    table, thead, tbody, th, td, tr { display: block; }
    thead tr { display: none; }
    
    tr.result-row {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        margin-bottom: 1rem;
        padding: 1.2rem;
        position: relative;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
    }
    tr.result-row:hover {
        transform: scale(1.02);
    }
    tr.result-row td {
        border: none;
        padding: 0.35rem 0;
        position: relative;
        text-align: left;
        font-size: 1rem;
    }
    
    /* Elegant labels before text values on Mobile */
    tr.result-row td:nth-of-type(2) {
        font-size: 1.25rem;
        font-weight: 600;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 0.5rem;
    }
    tr.result-row td:nth-of-type(3)::before { content: "Writer: "; font-weight: 500; color: var(--text-secondary); }
    tr.result-row td:nth-of-type(4)::before { content: "Movie: "; font-weight: 500; color: var(--text-secondary); }
    tr.result-row td:nth-of-type(5)::before { content: "Year: "; font-weight: 500; color: var(--text-secondary); }
    
    /* Place controls nicely on Mobile Card top right */
    tr.result-row td:first-child {
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        padding: 0;
        z-index: 10;
    }
    tr.result-row td:last-child {
        position: absolute;
        bottom: 1.2rem;
        right: 1.2rem;
        padding: 0;
        z-index: 10;
    }

    /* Styled Accordion Preview inside Mobile Cards */
    tr.lyrics-preview-row td {
        padding: 0;
        border: none;
    }
    tr.lyrics-preview-row.expanded .lyrics-preview-content {
        margin: 0;
        border-left: 3px solid var(--accent);
        background: rgba(0,0,0,0.02);
        padding: 1.2rem;
        border-radius: var(--radius-sm);
    }

    /* Stacked Lyrics Grid details on Mobile */
    .lyrics-split-header {
        grid-template-columns: 1fr;
    }
    .lyrics-split-label:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .lyrics-split-grid {
        padding: 1rem;
    }
    
    /* Mobil Accordion Lyric Cards */
    .lyric-card {
        padding: 1.2rem;
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .lyric-card .lyric-card-drawer {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .lyric-card.active {
        background: #ffffff;
        box-shadow: var(--shadow-lg);
    }
    .lyric-card.active .lyric-card-drawer {
        max-height: 500px;
        opacity: 1;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

.app-footer { text-align: center; font-size: 0.85rem; color: var(--text-secondary); padding: 1rem 0; margin-top: auto; opacity: 0.7; }
.app-footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.app-footer a:hover { color: var(--accent); }
