:root {
    --bg: #f8fafc;
    --card: #ffffff;
    --muted: #64748b;
    --text: #1e293b;
    --brand: #3b82f6;
    --accent: #06b6d4;
    --secondary: #8b5cf6;
    --red-accent: #ef4444;
    --gold-accent: #f59e0b;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, var(--brand), var(--accent));
    --gradient-red: linear-gradient(135deg, var(--red-accent), #f97316);
    --gradient-gold: linear-gradient(135deg, var(--gold-accent), #d97706);
}


a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}


.btn.red {
    background: var(--gradient-red);
    border: none;
    color: white;
    font-weight: 600;
}

.btn.red:hover {
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    transform: translateY(-2px);
}
.btn.primary {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
}

.btn.primary:hover {
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}
/* Hero Section */
.hero {
    padding: 160px 0 60px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 8px;
    line-height: 1.2;
    color: var(--text);
    font-weight: 800;
    background: linear-gradient(to right, #3b82f6, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-en {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 24px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-target {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--brand);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--muted);
}

.stat-label-en {
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 2px;
}

/* Sections */
section.section {
    margin: 80px 0;
    padding: 0px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--text);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 5px;
    background: var(--gradient);
    border-radius: 5px;
}

.section h2 .en {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 600;
    margin-left: 10px;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 28px;
}

@media (min-width: 680px) {
    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid.cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Song Cards */
.song-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.song-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    background-color: #e2e8f0;
}

.song-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.song-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.song-title {
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 4px;
}

.song-title-en {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.song-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.song-genre {
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 5px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    align-self: flex-start;
}

.song-language {
    color: var(--gold-accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 5px 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    align-self: flex-start;
}

.song-meaning {
    margin: 0;
    color: var(--text);
    flex-grow: 1;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.song-meaning-en {
    margin: 0;
    color: var(--muted);
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    padding-left: 12px;
}

.song-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

/* Album Cover Section */
.album-cover-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.cover-container {
    position: relative;
}

.album-cover {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.album-cover:hover {
    transform: scale(1.02);
}

.cover-label {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: var(--gradient-red);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Narrative Arc */
.narrative-arc {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.arc-stage {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.arc-stage:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.arc-title {
    font-size: 1.2rem;
    color: var(--brand);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.arc-title-en {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.arc-title i {
    font-size: 1rem;
}

.arc-description {
    color: var(--text);
    margin-bottom: 8px;
}

.arc-description-en {
    color: var(--muted);
    font-style: italic;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.arc-songs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.song-tag {
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text);
}

/* Lyrics Modal */
.lyrics-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lyrics-content {
    background: var(--card);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.lyrics-header {
    padding: 20px 25px;
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.lyrics-title {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 700;
}

.close-lyrics {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-lyrics:hover {
    color: var(--red-accent);
    background: rgba(239, 68, 68, 0.1);
}

.lyrics-body {
    padding: 25px;
    overflow-y: auto;
    max-height: 65vh;
}

.lyrics-text {
    white-space: pre-line;
    line-height: 1.8;
    color: var(--text);
    font-size: 1.05rem;
}

.lyrics-text .chorus {
    color: var(--brand);
    font-weight: 600;
    margin: 15px 0;
    padding-left: 10px;
    border-left: 3px solid var(--brand);
}

.lyrics-text .verse {
    margin: 10px 0;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    z-index: 100;
    font-weight: bold;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease forwards;
}

/* Stagger animation for grid items */
.grid .card:nth-child(1) {
    animation-delay: 0.1s;
}

.grid .card:nth-child(2) {
    animation-delay: 0.2s;
}

.grid .card:nth-child(3) {
    animation-delay: 0.3s;
}

.grid .card:nth-child(4) {
    animation-delay: 0.4s;
}

.grid .card:nth-child(5) {
    animation-delay: 0.5s;
}

.grid .card:nth-child(6) {
    animation-delay: 0.6s;
}

.grid .card:nth-child(7) {
    animation-delay: 0.7s;
}

.grid .card:nth-child(8) {
    animation-delay: 0.8s;
}

.grid .card:nth-child(9) {
    animation-delay: 0.9s;
}

.grid .card:nth-child(10) {
    animation-delay: 1.0s;
}

.grid .card:nth-child(11) {
    animation-delay: 1.1s;
}

.grid .card:nth-child(12) {
    animation-delay: 1.2s;
}

.grid .card:nth-child(13) {
    animation-delay: 1.3s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--brand);
}

.mobileImage {
    display: none;
}


.videoModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modalContent {
    background: #000;
    width: 80%;
    max-width: 800px;
    position: relative;
    padding: 10px;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.btn {
    padding: 12px 16px;
    gap: 6px;
}

.playSongBtn {
    min-width: 52px
}

.audio-bar {
    margin-top: 8px;
    display: inline-block;
    width: 100%;
}
.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}
.audio-progress {
    width: 100%;
    cursor: pointer;
}
.audio-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    display: none;
    z-index: 9999;
}

.audio-popup-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audio-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: 0.8;
}

#audioPopup input[type="range"] {
    width: 100%;
}

.audio-controls {
    display: flex;
    justify-content: space-between;
}

.audio-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
#SongIDAll .btn-lyrics {
    display: none !important;
}
#SongID15 .song-actions {
    display: none !important;
}
#SongID15 .song-actions.top-actions {
    display: inline-block !important;
    margin-bottom: 15px;
}
#SongID15 .song-meta {
    display: none !important;
}
/* Media Queries */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .album-cover-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .song-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats {
        gap: 20px;
    }

    .grid.cols-4,
    .grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .brand-en {
        display: none;
    }

    .mobileImage {
        display: inline-block;
    }

    .desktopImage {
        display: none;
    }
}

@media (max-width: 480px) {
    .grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .song-meta {
        flex-direction: column;
        gap: 8px;
    }

    .song-image {
        height: 160px;
    }
}
