/* ==============================
   SONG PAGE STYLES
   Shared CSS for all song pages
   ============================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.header-brand:hover { opacity: 0.8; }

.header-brand img { width: 32px; height: 32px; }

.header-brand span { font-weight: 700; font-size: 1.1rem; }

.header-nav { display: flex; gap: 12px; align-items: center; }

.header-link {
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-weight: 500;
}

.header-link:hover { background: rgba(255, 255, 255, 0.15); }

/* HERO */
.song-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.song-embed-wrap { flex-shrink: 0; width: 320px; }

.song-embed-wrap iframe { border-radius: 16px; width: 100%; border: none; }

.song-info { flex: 1; padding-top: 0.5rem; }

.song-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e91e8c;
    margin-bottom: 0.5rem;
}

.song-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    background-image: linear-gradient(135deg, #f472b6, #e91e8c, #c026d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.song-artist { font-size: 1.1rem; color: #94a3b8; margin-bottom: 1.5rem; }

.song-artist a { color: #f472b6; text-decoration: none; transition: color 0.3s ease; }

.song-artist a:hover { color: #e91e8c; }

.song-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 1.75rem;
}

/* Share & Tags */
.share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.share-btn svg { width: 13px; height: 13px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(233, 30, 140, 0.1);
    border: 1px solid rgba(233, 30, 140, 0.2);
    color: #f472b6;
}

/* CONTENT */
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    margin: 3rem 0;
}

/* TABS */
.tabs-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    font-family: inherit;
}

.tab-btn:hover { color: #94a3b8; background: rgba(255, 255, 255, 0.02); }

.tab-btn.active { color: #f472b6; border-bottom-color: #e91e8c; }

.tab-btn .tab-icon { font-size: 1.1rem; }

.tab-panel { display: none; animation: fadeIn 0.35s ease; }

.tab-panel.active { display: block; }

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

/* Lyrics */
.lyrics-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
}

.lyrics-block p { color: #cbd5e1; line-height: 1.9; font-size: 0.95rem; margin-bottom: 1.5rem; }

.lyrics-block p:last-child { margin-bottom: 0; }

.lyrics-block .verse-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e91e8c;
    margin-bottom: 0.5rem;
}

/* Video Challenge */
.video-cta {
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(233, 30, 140, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
}

.video-cta h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }

.video-cta p {
    color: #94a3b8;
    font-size: 0.9rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.video-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #e91e8c, #c026d3);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.3);
}

.video-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.4);
}

.video-platforms { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

.video-platforms span {
    font-size: 0.72rem;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

/* Behind the Music */
.btm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.btm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
}

.btm-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }

.btm-card p { color: #94a3b8; line-height: 1.8; font-size: 0.92rem; }

.btm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.btm-detail-row:last-child { border-bottom: none; }

.btm-detail-label { font-size: 0.82rem; color: #64748b; }

.btm-detail-value { font-size: 0.82rem; color: #cbd5e1; font-weight: 500; }

/* FAQ */
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: background 0.3s ease;
}

.faq-question:hover { background: rgba(255, 255, 255, 0.02); }

.faq-question .arrow { transition: transform 0.3s ease; font-size: 0.8rem; color: #64748b; }

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: #94a3b8; font-size: 0.9rem; line-height: 1.7; }

/* Internal Links */
.more-songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.song-link-card {
    display: block;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.song-link-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(233, 30, 140, 0.2);
    transform: translateY(-2px);
}

.song-link-card .song-link-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }

.song-link-card .song-link-artist { font-size: 0.72rem; color: #64748b; }

/* FOOTER */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 1rem; }

.footer-brand img:first-child { width: 24px; height: 24px; }

.footer-brand img:last-child { height: 18px; }

.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }

.footer-links a { font-size: 0.8rem; color: #475569; text-decoration: none; transition: color 0.3s ease; }

.footer-links a:hover { color: #94a3b8; }

.footer-copy { font-size: 0.7rem; color: #334155; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .song-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.25rem;
        gap: 1.5rem;
    }

    .song-embed-wrap { width: 100%; max-width: 350px; }

    .song-info { padding-top: 0; }

    .song-desc { margin-left: auto; margin-right: auto; }

    .share-row { justify-content: center; }

    .tag-row { justify-content: center; }

    .lyrics-section { max-width: 100%; }

    .btm-grid { grid-template-columns: 1fr; }

    .tab-btn { padding: 14px 16px; font-size: 0.82rem; }
}

/* Copy toast */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(233, 30, 140, 0.9);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
