/* ============================================================
   Turk Beats Radio — Global Stylesheet
   Dark-first design. Red #E30A17 | Near-black #0f0f0f | White #f0f0f0
   No build tools. Plain CSS only.
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties
---------------------------------------------------------- */
:root {
    --red:          #E30A17;
    --red-dark:     #b80812;
    --red-glow:     rgba(227,10,23,0.15);

    --bg:           #0f0f0f;
    --bg-2:         #141414;
    --bg-3:         #1a1a1a;
    --bg-4:         #222222;
    --border:       rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.18);

    --text:         #e8e8e8;
    --text-muted:   #888;
    --text-faint:   #555;
    --white:        #ffffff;

    --font-body:    'Inter', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --radius:       8px;
    --radius-lg:    14px;
    --radius-pill:  999px;
    --transition:   0.2s ease;

    --container:    1180px;
    --nav-height:   64px;
}

/* ----------------------------------------------------------
   2. Reset & Base
---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

img { display: block; max-width: 100%; height: auto; }
ul  { list-style: none; }
p   { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ff2d3a; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--white);
}

/* ----------------------------------------------------------
   3. Layout
---------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.section         { padding-block: 3.5rem; }
.section--alt    { background: var(--bg-2); }
.section--grey   { background: var(--bg-2); }
.section--dark   { background: var(--bg);  }

.section-header  { margin-bottom: 2.5rem; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 0;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }

/* ----------------------------------------------------------
   4. Buttons
---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); box-shadow: 0 4px 20px var(--red-glow); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-glow); }

.btn-ghost { background: var(--bg-4); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-3); border-color: var(--border-hover); color: var(--white); }

.btn-dark  { background: var(--bg-3); color: var(--white); border-color: var(--border); }
.btn-dark:hover { background: var(--bg-4); color: var(--white); border-color: var(--border-hover); }

.btn-white { background: var(--white); color: #111; border-color: var(--white); }
.btn-white:hover { background: #eee; color: #111; }

.btn-sm  { padding: 0.42rem 0.95rem; font-size: 0.78rem; }
.btn-lg  { padding: 0.8rem 2rem; font-size: 1rem; }

/* ----------------------------------------------------------
   5. Header & Navigation
---------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(15,15,15,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.site-logo:hover { color: var(--white); }
.logo-mark {
    color: var(--red);
    font-size: 1.2rem;
    line-height: 1;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
.logo-live {
    font-size: 0.55rem;
    background: var(--red);
    color: var(--white);
    padding: 0.12rem 0.42rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

/* Nav links */
.site-nav ul { display: flex; align-items: center; gap: 0.15rem; }
.site-nav a {
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}
.site-nav a:hover { color: var(--white); background: var(--bg-3); }
.site-nav .btn { color: var(--white); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   6. Hero
---------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: 5.5rem 4.5rem;
    text-align: center;
    background: var(--bg);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(227,10,23,0.22) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(227,10,23,0.12);
    border: 1px solid rgba(227,10,23,0.3);
    color: var(--red);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: var(--white);
    margin-bottom: 1.1rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.hero h1 span { color: var(--red); }
.hero-lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.2rem;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ----------------------------------------------------------
   7. Cards
---------------------------------------------------------- */
.card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-3); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.05); }

.card-img-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--text-faint);
}

.card-body { padding: 1.25rem; }
.card-type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 0.4rem;
}
.card-title  { font-size: 1rem; color: var(--white); margin-bottom: 0.2rem; }
.card-artist { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 0.6rem; font-family: var(--font-body); }
.card-excerpt {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
}

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }

/* ----------------------------------------------------------
   8. Quick-nav cards
---------------------------------------------------------- */
.quick-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all var(--transition);
}
.quick-card:hover {
    background: var(--bg-3);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(227,10,23,0.1);
}
.quick-card:hover .quick-card-icon { color: var(--red); }
.quick-card-icon { font-size: 1.7rem; color: var(--text-faint); transition: color var(--transition); }

/* ----------------------------------------------------------
   9. Song of the Week block
---------------------------------------------------------- */
.sotw-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.25rem;
    align-items: center;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}
.sotw-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
}
.sotw-artwork {
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-4);
    flex-shrink: 0;
}
.sotw-artwork img { width: 100%; height: 100%; object-fit: cover; }
.sotw-artwork-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--bg-4), var(--bg-3));
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}
.sotw-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.sotw-title  { font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--white); margin-bottom: 0.15rem; }
.sotw-artist { color: var(--text-muted); margin-bottom: 0.8rem; font-size: 1rem; }
.sotw-desc   { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.25rem; line-height: 1.6; }
.sotw-links  { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ----------------------------------------------------------
   10. Featured review (homepage)
---------------------------------------------------------- */
.featured-review {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 2.5rem;
}
.featured-review-img {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--bg-4);
}
.featured-review-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-review-tag {
    display: inline-block;
    background: rgba(227,10,23,0.15);
    border: 1px solid rgba(227,10,23,0.35);
    color: var(--red);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
}
.featured-review h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.25rem; color: var(--white); }
.featured-review .artist-name { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.featured-review .excerpt { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.7; }

/* ----------------------------------------------------------
   11. Listen options (ways-to-listen.php)
---------------------------------------------------------- */
.listen-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
}
.listen-card:hover {
    background: var(--bg-3);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.listen-icon { font-size: 2.4rem; margin-bottom: 0.9rem; }
.listen-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.45rem; }
.listen-card p  { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ----------------------------------------------------------
   12. Radio player page
---------------------------------------------------------- */
.player-stage {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 680px;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
}
.player-stage::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
}
.player-stage .player-icon { font-size: 4.5rem; margin-bottom: 1rem; }
.player-stage h2   { color: var(--white); font-size: 1.7rem; margin-bottom: 0.5rem; }
.player-stage p    { color: var(--text-muted); margin-bottom: 1.5rem; }
.player-embed      { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; }
.player-embed iframe { width: 100%; height: 120px; border: none; }

/* ----------------------------------------------------------
   13. Single review page
---------------------------------------------------------- */
.review-hero {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}
.review-cover { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); }
.review-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.review-cover-placeholder {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-faint);
}
.review-meta-type {
    display: inline-block;
    background: rgba(227,10,23,0.12);
    border: 1px solid rgba(227,10,23,0.3);
    color: var(--red);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.75rem;
}
.review-title-artist h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.2rem; color: var(--white); }
.review-title-artist .artist { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.review-date { font-size: 0.8rem; color: var(--text-faint); margin-bottom: 1.25rem; }
.streaming-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.review-body { font-size: 1rem; line-height: 1.85; max-width: 72ch; color: var(--text); }
.review-body p { margin-bottom: 1.2rem; }

/* ----------------------------------------------------------
   14. Search bar
---------------------------------------------------------- */
.search-bar { display: flex; gap: 0.5rem; margin-bottom: 2rem; max-width: 440px; }
.search-bar input {
    flex: 1;
    padding: 0.62rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: var(--font-body);
    background: var(--bg-2);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}
.search-bar input::placeholder { color: var(--text-faint); }
.search-bar input:focus { border-color: var(--red); }
.search-bar button { flex-shrink: 0; }

/* ----------------------------------------------------------
   15. Page hero (inner pages)
---------------------------------------------------------- */
.page-hero {
    background: var(--bg);
    padding-block: 3rem;
    margin-bottom: 0;
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--red) 0%, transparent 60%);
}
.page-hero h1    { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-hero p     { color: var(--text-muted); margin-top: 0.5rem; }

/* ----------------------------------------------------------
   16. About page
---------------------------------------------------------- */
.about-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; max-height: 400px; }
.about-image img { width: 100%; object-fit: cover; }

/* ----------------------------------------------------------
   17. Contact page
---------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.contact-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); }
.contact-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-item h3 { font-size: 0.9rem; color: var(--white); margin-bottom: 0.2rem; }
.contact-item a, .contact-item p { font-size: 0.88rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--red); }

/* ----------------------------------------------------------
   18. Admin styles
---------------------------------------------------------- */
.admin-body { background: var(--bg); }

.admin-header {
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-header::after { display: none; }
.admin-header .site-logo { font-size: 0.95rem; }
.admin-header nav a { color: var(--text-muted); font-size: 0.84rem; font-weight: 500; margin-left: 1rem; }
.admin-header nav a:hover { color: var(--white); }

.admin-wrap { max-width: 960px; margin: 2rem auto; padding-inline: 1.5rem; }
.admin-wrap h1 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--white); }

.admin-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

/* Form elements */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-family: var(--font-body);
    background: var(--bg-3);
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); background: var(--bg-3); }
.form-group textarea { resize: vertical; min-height: 160px; }
.form-group input[type="file"] { padding: 0.4rem; color: var(--text-muted); }
.form-group small { display: block; font-size: 0.77rem; color: var(--text-faint); margin-top: 0.3rem; }
.form-group select option { background: var(--bg-3); }

.form-check { display: flex; align-items: center; gap: 0.5rem; }
.form-check input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--red); }
.form-check label { font-size: 0.9rem; font-weight: 500; margin-bottom: 0; color: var(--text); text-transform: none; letter-spacing: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

/* Tables */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
    text-align: left;
    padding: 0.65rem 0.75rem;
    background: var(--bg-3);
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.admin-table td { padding: 0.8rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }

.badge { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.2rem 0.55rem; border-radius: 4px; }
.badge-album   { background: var(--bg-4); color: var(--text-muted); border: 1px solid var(--border); }
.badge-single  { background: rgba(227,10,23,0.12); color: var(--red); border: 1px solid rgba(227,10,23,0.25); }
.badge-featured { background: var(--red); color: var(--white); }

/* Flash messages */
.flash-message {
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
}
.flash-success { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.flash-error   { background: rgba(227,10,23,0.1); color: #ff6b6b; border: 1px solid rgba(227,10,23,0.25); }

/* Admin quick-links */
.admin-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.admin-quick-link {
    display: block;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition);
}
.admin-quick-link:hover {
    background: var(--bg-4);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}
.admin-quick-link .ql-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }

/* Login page */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.login-box {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.login-box .site-logo { justify-content: center; margin-bottom: 1.5rem; font-size: 1.1rem; }
.login-box h2 { text-align: center; font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--white); }

/* Artwork preview */
.artwork-preview { margin-top: 0.5rem; }
.artwork-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }

/* ----------------------------------------------------------
   19. Footer
---------------------------------------------------------- */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    margin-top: 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2.5rem;
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.83rem; color: var(--text-faint); }

.footer-nav ul { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a  { color: var(--text-muted); font-size: 0.86rem; }
.footer-nav a:hover { color: var(--white); }

.footer-social { display: flex; gap: 0.75rem; align-items: center; }
.footer-social a { color: var(--text-muted); transition: color var(--transition); }
.footer-social a:hover { color: var(--red); }

.footer-bottom { border-top: 1px solid var(--border); padding-block: 1rem; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-faint); margin: 0; }

/* ----------------------------------------------------------
   20. Utilities
---------------------------------------------------------- */
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem; }
.divider { border: none; border-top: 1px solid var(--border); margin-block: 2rem; }

/* ----------------------------------------------------------
   21. Song of the Week standalone page
---------------------------------------------------------- */
.sotw-page-header {
    text-align: center;
    padding-block: 4rem 3rem;
    position: relative;
}
.sotw-page-artwork {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 2rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.sotw-page-artwork img { width: 100%; height: 100%; object-fit: cover; }
.sotw-page-artwork-placeholder {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin: 0 auto 2rem;
    border: 1px solid var(--border);
}

/* ----------------------------------------------------------
   22. Responsive
---------------------------------------------------------- */
@media (max-width: 900px) {
    .featured-review { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
    .featured-review-img { max-width: 280px; }
    .review-hero { grid-template-columns: 1fr; }
    .review-cover { max-width: 240px; }
    .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .section { padding-block: 2.5rem; }
    .page-hero { padding-block: 2rem; }
    .hero { padding-block: 3.5rem 3rem; }

    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0.15rem; }
    .site-nav a  { display: block; padding: 0.65rem 1rem; }

    .sotw-block { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; }
    .sotw-artwork, .sotw-artwork-placeholder { margin: 0 auto; }
    .sotw-links { justify-content: center; }

    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-social { margin-top: 0.5rem; }
    .admin-wrap { padding-inline: 1rem; }
    .admin-card { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .quick-nav { grid-template-columns: 1fr 1fr; }
    .review-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding-block: 3rem 2.5rem; }
}
