/* ==========================================================
   Lonely Monday Public Site
   Shared by lonelymonday.com and all individual band domains.
   ========================================================== */

:root {
    --bg: #000000;
    --panel: #111111;
    --text: #f4f4f4;
    --muted: #d7d7d7;
    --subtle: #aaaaaa;
    --line: #7a7a7a;
    --accent: #f1c36a;
    --accent2: #d6d6d6;

    --blurb-bg: #e8edf2;
    --blurb-text: #111111;

    --section-bg: #142a46;
    --section-border: #315d89;
    --section-text: #b9ddff;

    --content-width: min(92vw, 85vh, 800px);
    --lyrics-image-width: min(58vw, 58vh, 500px);
}


/* ==========================================================
   Global Layout and Typography
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    width: var(--content-width);
    margin: 0 auto;
    padding: 24px 0 54px;
    text-align: center;
}


/* ==========================================================
   Band Header, Logo, Hero Image, and Blurb
   ========================================================== */

.band-header,
.home-header {
    width: 100%;
    margin: 0 auto 34px;
    text-align: center;
}

.band-logo {
    display: block;
    width: 66.667%;
    height: auto;
    max-width: 66.667%;
    object-fit: contain;
    margin: 0 auto 22px;
}

.band-hero {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 22px;
    border-radius: 8px;
}

.band-blurb {
    width: 100%;
    margin: 0 auto 14px;
    padding: 18px 22px;
    border: 2px solid var(--section-border);
    border-radius: 14px;
    background: var(--blurb-bg);
    color: var(--blurb-text);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: left;
}

.band-blurb a {
    color: #184b87;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 12px auto 0;
    font-size: 0.95rem;
}

.social-links span {
    color: var(--subtle);
}


/* ==========================================================
   Song Section Headings
   ========================================================== */

.song-section {
    margin-top: 42px;
}

.song-section h2 {
    width: 100%;
    margin: 0 auto 24px;
    padding: 13px 18px;
    border: 2px solid var(--section-border);
    border-radius: 14px;
    background: var(--section-bg);
    color: var(--section-text);
    font-size: clamp(1.12rem, 2.5vw, 1.65rem);
    line-height: 1.22;
    letter-spacing: 0.035em;
    text-align: center;
    text-transform: uppercase;
}


/* ==========================================================
   Song Cards and Cover Art
   ========================================================== */

.song-list,
.song-card {
    display: block;
    width: 100%;
}

.song-card {
    margin: 0 auto 34px;
    text-align: center;
    scroll-margin-top: 20px;
}

.cover-art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 4px;
    background: #111111;
    object-fit: cover;
}

.lyrics-only-marker {
    width: 100%;
    padding: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 0.92rem;
}

.mood-descriptor {
    margin-top: 13px;
    color: var(--accent2);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
}

.mood-descriptor.large {
    margin-top: 8px;
    font-size: 0.9rem;
}

.song-card h3 {
    margin: 7px 0 4px;
    font-size: clamp(1.28rem, 2.6vw, 1.7rem);
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
}

.release-date {
    margin: 4px 0 10px;
    color: var(--subtle);
    font-size: 0.92rem;
    text-align: center;
}

.song-divider {
    width: 100%;
    height: 3px;
    margin: 30px auto 0;
    border: 0;
    background: var(--line);
}

.song-card:last-child .song-divider {
    display: none;
}


/* ==========================================================
   Explicit Lyrics Badge
   ========================================================== */

.explicit-badge {
    position: relative;
    top: -1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    min-height: 17px;
    margin-left: 6px;
    padding: 1px 4px;
    border: 1px solid currentColor;
    border-radius: 2px;
    box-sizing: border-box;
    font-size: 0.56em;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}


/* ==========================================================
   Lyrics and Streaming Buttons
   ========================================================== */

.song-action-row,
.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.lyrics-link,
.stream-link,
.song-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.stream-link {
    min-height: 33px;
    padding: 7px 11px;
    font-size: 0.82rem;
}


/* ==========================================================
   Lyrics Page
   ========================================================== */

.lyrics-page {
    width: min(92vw, 800px);
}

.lyrics-card {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.lyrics-cover {
    display: block;
    width: var(--lyrics-image-width);
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 18px;
    border-radius: 4px;
    background: #111111;
    object-fit: cover;
}

.lyrics-header {
    margin-bottom: 18px;
    text-align: center;
}

.lyrics-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
}

.band-name-small {
    margin-top: 9px;
    color: var(--muted);
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    font-weight: 700;
}

.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    background: #000000;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lyrics-text {
    max-width: 680px;
    margin: 28px auto 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.08rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    text-align: left;
    white-space: normal;
}

.placeholder {
    color: var(--subtle);
    text-align: center;
}

.song-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 18px;
}

.bottom-nav {
    margin: 22px 0 0;
}


/* ==========================================================
   Band Index and Site-Information Pages
   ========================================================== */

.band-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    text-align: left;
}

.band-list-card {
    display: block;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: #111111;
}

.band-list-card strong {
    display: block;
    color: var(--text);
    font-size: 1.1rem;
}

.band-list-card span {
    color: var(--subtle);
}

.site-info-page h1 {
    margin-bottom: 24px;
}

.info-panel {
    margin: 0 auto 22px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: var(--panel);
    text-align: left;
    scroll-margin-top: 18px;
}

.info-panel h2 {
    margin-top: 0;
    color: var(--section-text);
}


/* ==========================================================
   Footer
   ========================================================== */

.site-footer {
    padding: 0 16px 28px;
    color: var(--subtle);
    font-size: 0.85rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
}


/* ==========================================================
   Small Screens
   ========================================================== */

@media (max-width: 560px) {
    :root {
        --content-width: min(95vw, 85vh, 800px);
        --lyrics-image-width: min(82vw, 58vh, 500px);
    }

    .page {
        padding-top: 16px;
    }

    .band-blurb {
        padding: 15px 16px;
    }

    .song-card {
        margin-bottom: 28px;
    }

    .song-section h2 {
        padding: 11px 12px;
    }
}
