/* ======================================================================
   Backayaad Radio - shared site styles
   Colour scheme is unchanged from the original site; only layout,
   typography and components have been refreshed.
   ====================================================================== */

:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFC800;
    --primary-green: #006400;
    --accent-green: #00FF00;
    --dark-green: #004200;
    --black: #000000;
    --white: #FFFFFF;

    --text-muted: rgba(255, 255, 255, 0.68);
    --surface: rgba(0, 0, 0, 0.55);
    --surface-strong: rgba(0, 0, 0, 0.78);
    --surface-soft: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 215, 0, 0.18);
    --line-strong: rgba(255, 215, 0, 0.45);

    --font-head: 'Montserrat', 'Arial', sans-serif;
    --font-body: 'Inter', 'Arial', sans-serif;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
    --container: 1280px;
    --ticker-h: 32px;
    --player-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: #001a00;
    background-image:
        radial-gradient(1200px 600px at 10% -10%, rgba(0, 100, 0, 0.55), transparent 60%),
        radial-gradient(900px 500px at 100% 30%, rgba(0, 66, 0, 0.6), transparent 60%),
        linear-gradient(160deg, #000000 0%, #002a00 45%, #004200 75%, #001a00 100%);
    background-attachment: fixed;
    padding-bottom: calc(var(--player-h) + 12px);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary-yellow); }

img { max-width: 100%; display: block; }

button { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--primary-yellow);
    color: var(--black);
    padding: 0.6rem 1rem;
    font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-green);
}
.btn-primary:hover { background: var(--secondary-yellow); color: var(--black); }

.btn-outline {
    background: transparent;
    color: var(--primary-yellow);
    border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--primary-yellow); background: rgba(255, 215, 0, 0.08); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ---------- News ticker ---------- */
.news-ticker-container {
    display: flex;
    align-items: center;
    height: var(--ticker-h);
    background: var(--black);
    border-bottom: 1px solid rgba(255, 215, 0, 0.35);
    overflow: hidden;
    font-size: 0.85rem;
}
.ticker-label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 100%;
    padding: 0 0.9rem;
    background: var(--primary-yellow);
    color: var(--dark-green);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.ticker-wrapper {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-content {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    animation: ticker-scroll 90s linear infinite;
    will-change: transform;
}
.ticker-wrapper:hover .ticker-content { animation-play-state: paused; }
.ticker-item {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 0 1.25rem;
    position: relative;
}
.ticker-item::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary-yellow);
    transform: translateY(-50%);
}
.ticker-item:hover { color: var(--primary-yellow); }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary-yellow);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--white);
    margin-right: auto;
    flex: 0 1 auto;
    min-width: 0;
}
.brand .logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.brand-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-yellow);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-tag {
    max-width: 340px;
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav a {
    position: relative;
    padding: 0.5rem 0.7rem;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--primary-yellow); background: rgba(255, 215, 0, 0.06); }
.nav a.active { color: var(--primary-yellow); }
.nav a.active::after {
    content: '';
    position: absolute;
    left: 0.7rem; right: 0.7rem; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-green);
}

.header-listen { flex: 0 0 auto; }

.nav-toggle {
    display: none;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--primary-yellow);
    font-size: 1.15rem;
    cursor: pointer;
}

/* ---------- Page heading (inner pages) ---------- */
.page-hero {
    padding: 3.5rem 0 2rem;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 0.4rem;
}
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: rgba(0, 0, 0, 0.45); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 0.4rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--primary-yellow);
    margin: 0;
}
.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 0.6rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-green));
}
.section-link {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.section-link:hover { color: var(--accent-green); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-muted);
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.empty-state i {
    display: block;
    font-size: 1.8rem;
    color: var(--primary-yellow);
    margin-bottom: 0.6rem;
}

/* ---------- Status dot / live badge ---------- */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.6);
    animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--line-strong);
    color: var(--primary-yellow);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 6.5rem;
    background-color: var(--dark-green);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../../uploads/hero-jamaica.webp') center / cover no-repeat;
    opacity: 0.55;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(180deg, transparent 60%, rgba(0, 26, 0, 0.9) 100%);
}
.hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    z-index: 2;
    width: 100%;
    height: 90px;
}
.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy .hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin: 0.9rem 0 0.4rem;
    color: var(--white);
}
.hero-copy .hero-host {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}
.hero-copy .hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 520px;
    margin-bottom: 1.8rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.1rem;
    background: var(--black);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.app-download-btn:hover { background: var(--primary-yellow); color: var(--black); border-color: var(--primary-yellow); }
.app-download-btn i { font-size: 1.6rem; }
.app-download-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.app-download-btn small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.5px; }
.app-download-btn strong { font-family: var(--font-head); font-size: 1rem; }

/* Player card */
.player-card {
    position: relative;
    padding: 1.75rem;
    background: rgba(0, 0, 0, 0.66);
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: var(--shadow), 0 0 60px -20px rgba(255, 215, 0, 0.35);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
}
.player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}
.player-station { font-size: 0.8rem; color: var(--text-muted); }

.now-playing {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 96px;
}
.track-art {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--black);
    border: 1px solid var(--line);
}
.track-meta { min-width: 0; }
.track-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-green);
    font-weight: 700;
}
.track-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.2rem 0 0.1rem;
    overflow-wrap: anywhere;
}
.track-artist { color: var(--primary-yellow); font-weight: 500; overflow-wrap: anywhere; }

.wave-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 56px;
    margin: 1.4rem 0;
}
.wave-bar {
    flex: 1 1 0;
    max-width: 6px;
    height: 12%;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary-yellow), var(--primary-green));
    opacity: 0.6;
    transition: height 0.3s ease;
}
body.is-playing .wave-bar {
    opacity: 1;
    animation: wave 1.1s ease-in-out infinite;
}
@keyframes wave {
    0%, 100% { height: 15%; }
    50% { height: 100%; }
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}
.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    background: var(--primary-yellow);
    color: var(--dark-green);
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
}
.play-btn:hover { transform: scale(1.06); background: var(--secondary-yellow); }
body.is-playing .play-btn { animation: play-glow 2s infinite; }
body.is-loading .play-btn i { animation: spin 1s linear infinite; }
@keyframes play-glow {
    0%   { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5); }
    70%  { box-shadow: 0 0 0 16px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.volume {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-yellow);
}
.volume input[type="range"] {
    width: 110px;
    accent-color: var(--primary-yellow);
}

.player-error {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #ffb3b3;
    min-height: 1.2em;
}

/* ---------- Schedule ---------- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.schedule-card {
    position: relative;
    padding: 1.4rem 1.4rem 1.4rem 1.6rem;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.schedule-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--primary-green);
}
.schedule-card.on-air {
    border-color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.12);
}
.schedule-card.on-air::before { background: var(--accent-green); }
.schedule-time {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.schedule-card h3 { color: var(--primary-yellow); font-size: 1.15rem; margin-bottom: 0.3rem; }
.schedule-dj { font-size: 0.9rem; color: var(--white); margin-bottom: 0.5rem; }
.schedule-dj i { color: var(--primary-yellow); margin-right: 0.35rem; }
.schedule-desc { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- DJs / artists ---------- */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
}
.artist-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.artist-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow);
}
.artist-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--black);
    transition: transform 0.5s ease;
}
.artist-card:hover .artist-image { transform: scale(1.05); }
.artist-info { padding: 1rem 1.1rem 1.2rem; }
.artist-info h3 { color: var(--primary-yellow); font-size: 1.05rem; margin-bottom: 0.25rem; }
.artist-info p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.artist-next {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-green);
}

/* ---------- Events + latest videos ---------- */
.events-videos-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.event-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}
.event-media { position: relative; background: var(--black); }
.event-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    margin: 0 auto;
}
.event-date {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 0.4rem 0.6rem;
    border-radius: 12px;
    background: var(--primary-yellow);
    color: var(--dark-green);
    font-family: var(--font-head);
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.event-date .d { font-size: 1.4rem; font-weight: 800; }
.event-date .m { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.event-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.3rem;
}
.event-details h3 { color: var(--primary-yellow); font-size: 1.1rem; }
.event-details p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.2rem 0 1.1rem;
}
.event-meta i { width: 16px; color: var(--primary-yellow); margin-right: 0.35rem; }
.event-details .btn { margin-top: auto; align-self: flex-start; }

.videos-col { padding: 1.5rem; position: sticky; top: 130px; }
.videos-col .section-title { font-size: 1.4rem; }
.videos-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1.5rem 0 1.25rem;
}
.video-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.55rem;
    border-radius: 12px;
    background: var(--surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.video-row:hover {
    transform: translateX(4px);
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 255, 0.1);
}
.video-thumb {
    position: relative;
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--black);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease;
}
.video-row:hover .video-play { background: rgba(0, 100, 0, 0.5); color: var(--primary-yellow); }
.video-meta { flex: 1; min-width: 0; }
.video-meta h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-date { font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Videos page ---------- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
}
.video-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover { transform: translateY(-5px); border-color: var(--primary-yellow); box-shadow: var(--shadow); }
.video-card-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: none;
    background: var(--black);
    cursor: pointer;
    overflow: hidden;
}
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-card:hover .video-card-thumb img { transform: scale(1.05); }
.video-card-thumb .video-play { font-size: 2.2rem; }
.video-card-thumb .video-play i {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.92);
    color: var(--dark-green);
    font-size: 1.3rem;
    padding-left: 4px;
}
.video-card-thumb .no-thumb {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-green), var(--black));
}
.video-card-thumb .no-thumb img { width: 70px; height: 70px; object-fit: contain; opacity: 0.6; }
.video-info { padding: 1.1rem 1.2rem 1.3rem; }
.video-info h3 { color: var(--primary-yellow); font-size: 1.05rem; margin-bottom: 0.35rem; }
.video-info p { font-size: 0.88rem; color: var(--text-muted); }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.modal.open { display: flex; }
.modal-dialog {
    width: 100%;
    max-width: 960px;
    background: var(--black);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem 0.8rem 1.2rem;
}
.modal-title { color: var(--primary-yellow); font-size: 1rem; margin: 0; }
.modal-close {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
}
.modal-close:hover { color: var(--primary-yellow); border-color: var(--primary-yellow); }
.video-player-container { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--black); }
.video-player-container iframe,
.video-player-container video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Links page ---------- */
.links-profile { text-align: center; padding: 3.5rem 0 2.5rem; }
.links-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.35);
    animation: float 4s ease-in-out infinite;
}
.links-profile h1 { color: var(--primary-yellow); font-size: 2rem; font-weight: 800; margin: 0.8rem 0 0.3rem; }
.links-profile p { color: var(--text-muted); }
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    padding-bottom: 4rem;
}
.link-card {
    --accent: var(--primary-yellow);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--white);
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.link-card::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 80%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.link-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 18px -6px var(--accent);
}
.link-card:hover::before { left: 130%; }
.link-icon {
    flex: 0 0 52px;
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.link-card:hover .link-icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--black); }
.link-text { flex: 1 1 auto; min-width: 0; }
.link-text .t { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.25; overflow-wrap: anywhere; }
.link-text .s { display: block; margin-top: 0.15rem; font-size: 0.82rem; line-height: 1.35; color: var(--text-muted); overflow-wrap: anywhere; }
.link-arrow { flex: 0 0 auto; color: rgba(255, 255, 255, 0.4); transition: transform 0.3s ease, color 0.3s ease; }
.link-card:hover .link-arrow { transform: translateX(5px); color: var(--accent); }

/* ---------- Contact page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 1.75rem;
    align-items: start;
}
.contact-info, .contact-form { padding: 2rem; }
.contact-info h2, .contact-form h2 { color: var(--primary-yellow); font-size: 1.35rem; margin-bottom: 1.5rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.info-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--line);
    color: var(--primary-yellow);
    font-size: 1.05rem;
}
.info-content h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.15rem; }
.info-content p, .info-content a { color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.info-content a:hover { color: var(--primary-yellow); }

.social-icons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.social-link {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: var(--dark-green);
    font-size: 1.05rem;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}
.social-link:hover { transform: translateY(-4px); background: var(--white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--primary-yellow); }
.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 215, 0, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.form-input:focus { outline: none; border-color: var(--primary-yellow); background: rgba(255, 255, 255, 0.1); }
.form-textarea { min-height: 150px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; padding: 0.9rem; font-size: 1rem; }

.alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; display: flex; gap: 0.6rem; align-items: center; }
.alert-error { background: rgba(255, 0, 0, 0.15); border: 1px solid rgba(255, 80, 80, 0.45); }
.alert-success { background: rgba(0, 255, 0, 0.12); border: 1px solid rgba(0, 255, 0, 0.4); }

.map-section { margin-top: 1.75rem; padding: 1.5rem; }
.map-section h2 { color: var(--primary-yellow); font-size: 1.35rem; margin-bottom: 1rem; }
.map-container { height: 380px; border-radius: var(--radius-sm); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.85);
    border-top: 2px solid var(--primary-yellow);
    padding-top: 3.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
}
.footer-brand img { width: 72px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-brand .social-icons { margin-top: 1.2rem; }
.footer-col h4 {
    color: var(--primary-yellow);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--primary-yellow); }
.footer-col a i { width: 18px; color: var(--primary-yellow); margin-right: 0.3rem; }
.copyright {
    margin-top: 3rem;
    padding: 1.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
}

/* ---------- Mini player ---------- */
.mini-player {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    height: var(--player-h);
    background: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-top: 2px solid var(--primary-yellow);
}
.mini-player-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}
.mini-track { display: flex; align-items: center; gap: 0.75rem; flex: 1 1 auto; min-width: 0; }
.mini-track img {
    flex: 0 0 46px;
    width: 46px; height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--black);
}
.mini-track-text { min-width: 0; }
.mini-track-title,
.mini-track-artist {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-track-title { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--primary-yellow); }
.mini-track-artist { font-size: 0.8rem; color: var(--text-muted); }
.mini-live { flex: 0 0 auto; }
.mini-play {
    flex: 0 0 auto;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-yellow);
    color: var(--dark-green);
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.mini-play:hover { transform: scale(1.06); background: var(--secondary-yellow); }
body.is-loading .mini-play i { animation: spin 1s linear infinite; }
.mini-player .volume { flex: 0 0 auto; }

/* ---------- Chat button ---------- */
.chat-fab {
    position: fixed;
    right: 20px;
    bottom: calc(var(--player-h) + 18px);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 50px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--primary-green);
    border: 1px solid var(--accent-green);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
}
.chat-fab:hover { transform: translateY(-3px); background: var(--dark-green); color: var(--primary-yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
    /* Not enough room beside the full menu for the tagline. */
    .brand-tag { display: none; }
}

@media (max-width: 1100px) {
    .nav a { padding: 0.5rem 0.5rem; font-size: 0.76rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.25rem 1rem;
        background: rgba(0, 0, 0, 0.97);
        border-bottom: 2px solid var(--primary-yellow);
        display: none;
    }
    .nav.open { display: flex; }
    .nav a { padding: 0.85rem 0.5rem; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-radius: 0; }
    .nav a.active::after { left: 0.5rem; right: auto; width: 24px; bottom: 6px; }
    .header-inner { position: relative; }

    .hero { padding: 3rem 0 5.5rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .events-videos-row { grid-template-columns: 1fr; }
    .videos-col { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    :root { --player-h: 66px; }
    .section { padding: 3.25rem 0; }
    .header-listen .label { display: none; }
    .header-listen { width: 44px; height: 44px; padding: 0; }
    .brand .logo { width: 38px; height: 38px; }
    .brand-name { font-size: 0.95rem; }
    .header-inner { gap: 0.75rem; }
    .player-card { padding: 1.3rem; }
    .track-art { flex-basis: 72px; width: 72px; height: 72px; }
    .now-playing { min-height: 72px; }
    .player-controls .volume { display: none; }
    .mini-player .volume { display: none; }
    .mini-live { display: none; }
    .chat-fab { width: 50px; padding: 0; justify-content: center; }
    .chat-fab .label { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-info, .contact-form { padding: 1.4rem; }
    .map-container { height: 280px; }
    .links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
    /* The mini player already has a play button; give the brand room. */
    .header-listen { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
