/*
Theme Name: Vinyl Raiders Custom
Author: MarkBradley & TTVytangelofhype
Description: Sleek synthwave turntable theme
Version: 2.1
Text Domain: vinyl-raiders
*/

:root {
    --vr-black: #070411;
    --vr-midnight: #110724;
    --vr-purple: #8b5cf6;
    --vr-violet: #b44cff;
    --vr-pink: #ff3cac;
    --vr-hot-pink: #ff1493;
    --vr-cyan: #56d8ff;
    --vr-yellow: #ff3cac;
    --vr-glass: rgba(18, 8, 35, 0.82);
    --vr-border: rgba(255, 60, 172, 0.28);
}

html,
body {
    background:
        linear-gradient(145deg, rgba(7, 4, 17, 0.82), rgba(18, 8, 45, 0.68)),
        linear-gradient(rgba(255, 60, 172, 0.10), rgba(139, 92, 246, 0.14)),
        url("assets/background.png") center center / cover fixed no-repeat !important;
    background-attachment: fixed !important;
    color: #fdf7ff !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.13;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 1px, transparent 1px, transparent 4px);
}

::selection {
    background: var(--vr-pink);
    color: #fff;
}

.topbar,
.library-sidebar,
.library-main,
.vr-top,
.vr-hero-main,
.vr-card,
.vr-feature,
.card,
.tracklist-content {
    background:
        linear-gradient(145deg, rgba(255,255,255,.055), transparent 30%),
        var(--vr-glass) !important;
    border-color: var(--vr-border) !important;
    box-shadow:
        0 24px 70px rgba(3, 0, 12, 0.48),
        inset 0 0 28px rgba(180, 76, 255, 0.035) !important;
}

.topbar {
    border-bottom: 1px solid rgba(255,60,172,.38) !important;
}

.brand h1 span,
.hero-title span,
.library-hero h1 span,
.vr-logo span,
.vr-hero h1 span,
.album-artist,
.alpha-letter,
.sidebar-block h2,
.vr-feature h2,
.vr-card h2,
.status-pill,
.subtext,
.song-badge {
    color: #ff67c7 !important;
}

.hero-title span,
#vr-splash h1 {
    text-shadow:
        0 0 8px rgba(255,60,172,.9),
        0 0 24px rgba(180,76,255,.55) !important;
}

.page-bg,
.splash-glow {
    background:
        radial-gradient(circle at 20% 25%, rgba(255,60,172,.28), transparent 24%),
        radial-gradient(circle at 76% 38%, rgba(139,92,246,.32), transparent 27%),
        radial-gradient(circle at 52% 82%, rgba(86,216,255,.12), transparent 30%),
        linear-gradient(180deg, rgba(7,4,17,.55), rgba(7,4,17,.95)) !important;
}

.mural-overlay {
    background:
        linear-gradient(90deg, rgba(7,4,17,.98), rgba(7,4,17,.58), rgba(7,4,17,.98)),
        radial-gradient(circle, transparent 20%, #070411 92%) !important;
}

/* Reveal the uploaded synthwave artwork across the entire theme. */
.mural-overlay,
.page-bg,
.mural-background {
    background: transparent !important;
    background-image: none !important;
}

.library-page,
.vr-page {
    background: transparent !important;
    background-image: none !important;
}

.library-sidebar,
.library-main,
.vr-top,
.vr-hero-main,
.vr-card,
.vr-feature,
.card {
    background:
        linear-gradient(145deg, rgba(255,255,255,.065), transparent 32%),
        rgba(12, 5, 28, 0.58) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.vr-mini-nav {
    background: rgba(7, 4, 17, 0.82) !important;
    backdrop-filter: blur(12px) !important;
}

.library-toolbar,
.sidebar-block,
.server-box,
.now-box,
.stat,
.update-item,
.schedule-item,
.vr-feature-box {
    background: rgba(18, 8, 35, 0.72) !important;
}

.library-hero,
.library-shell,
.vr-shell {
    text-shadow: 0 2px 12px rgba(5, 0, 12, 0.92);
}

.library-hero h1,
.vr-hero h1,
.hero-title {
    text-shadow:
        0 3px 16px rgba(5, 0, 12, 0.95),
        0 0 18px rgba(255,60,172,.38) !important;
}

.top-btn,
.quick-link,
.vr-actions a,
.control-btn.dark,
.sidebar-links a,
.vr-nav a {
    background:
        linear-gradient(135deg, rgba(255,60,172,.92), rgba(139,92,246,.92)) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 0 22px rgba(255,60,172,.22) !important;
}

.top-btn.alt,
.quick-link.orange,
.control-btn,
.track-toggle-btn,
.vr-badge,
.sidebar-links a.active,
.day-pill,
#enter-site {
    background: linear-gradient(135deg, #ff67c7, #b44cff) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow:
        0 0 18px rgba(255,60,172,.38),
        0 0 38px rgba(180,76,255,.18) !important;
}

.quick-link.ghost,
.control-btn.dark,
.vr-nav a {
    background: rgba(180,76,255,.09) !important;
}

.status-pill,
.song-badge,
.server-box,
.now-box,
.stat,
.update-item,
.schedule-item,
.vr-feature-box,
.sidebar-block,
.library-toolbar,
.tracklist-content li {
    border-color: rgba(255,60,172,.2) !important;
}

.dot {
    background: #ff67c7 !important;
    box-shadow: 0 0 16px #ff67c7, 0 0 30px rgba(180,76,255,.7) !important;
}

.progress,
.progress span,
#vr-splash .turntable-base,
.album-cover {
    border-color: rgba(255,60,172,.42) !important;
}

.progress span {
    background: linear-gradient(90deg, #ff3cac, #b44cff, #56d8ff) !important;
    box-shadow: 0 0 16px rgba(255,60,172,.6) !important;
}

#lib-search,
#listener-name,
input,
textarea,
select {
    accent-color: #ff3cac;
    border-color: rgba(255,60,172,.38) !important;
}

.alpha-section {
    border-bottom-color: #ff3cac !important;
}

.album-placeholder {
    background:
        radial-gradient(circle, rgba(255,60,172,.22), transparent 36%),
        #130820;
    color: #ff67c7 !important;
}

.tracklist-content {
    border: 2px solid #ff3cac !important;
}

.tracklist-content li {
    background: #fff !important;
    color: #000 !important;
}

.tracklist-content li::marker,
.tracklist-content li * {
    color: #000 !important;
}

.tracklist-content li:hover {
    border-color: #ff3cac !important;
    box-shadow: 0 0 0 2px rgba(255,60,172,.32) !important;
}

.tonearm {
    filter: drop-shadow(0 0 8px rgba(255,60,172,.8));
}

.tonearm::after,
.tonearm span,
.vinyl-disc,
.flying-vinyl {
    border-color: #ff3cac !important;
}

/* Archive sidebar sizing and containment */
.library-layout,
.library-sidebar,
.sidebar-block {
    min-width: 0 !important;
}

.library-sidebar {
    width: 260px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.sidebar-block {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#lib-search,
#listener-name {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Final archive field containment */
.library-sidebar,
.library-sidebar > .sidebar-block,
.sidebar-block {
    overflow: hidden !important;
}

.sidebar-block #lib-search,
.sidebar-block #listener-name,
.library-sidebar input[type="text"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    line-height: 44px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 1000px) {
    .layout,
    .bottom-grid,
    .library-layout,
    .vr-hero,
    .vr-section {
        gap: 16px;
    }

    .library-layout {
        grid-template-columns: 1fr !important;
    }

    .library-sidebar {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
    }
}

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

/* Shared static home and studio pages */
body.vr-home-body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background:
        linear-gradient(145deg, rgba(7, 4, 17, 0.88), rgba(18, 8, 45, 0.82)),
        url("assets/background.png") center center / cover fixed no-repeat !important;
}

body.vr-inner-body {
    font-family: 'Inter', sans-serif;
}

.vr-site-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px max(5vw, 22px);
    background: rgba(7, 4, 17, 0.86);
    border-bottom: 1px solid var(--vr-border);
}

.vr-site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 900;
    letter-spacing: .07em;
    text-decoration: none;
    white-space: nowrap;
}

.vr-site-brand img {
    width: 58px;
    height: auto;
}

.vr-site-brand strong {
    color: #ff67c7;
}

.vr-site-nav,
.vr-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.vr-site-nav a,
.vr-home-primary,
.vr-home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.vr-site-nav a,
.vr-home-secondary {
    background: rgba(180, 76, 255, .12);
}

.vr-home-primary {
    background: linear-gradient(135deg, #ff67c7, #8b5cf6);
    box-shadow: 0 0 20px rgba(255,60,172,.2);
}

.vr-home-main,
.vr-inner-main {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 54px 0 76px;
}

.vr-home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 42px 24px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,.055), transparent 30%), rgba(12,5,28,.76);
    border: 1px solid var(--vr-border);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(3,0,12,.42);
}

.vr-home-logo {
    width: min(230px, 55vw);
    height: auto;
    object-fit: contain;
}

.vr-home-eyebrow {
    margin: 18px 0 8px;
    color: #d6c7e3;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vr-home-hero h1,
.vr-inner-hero h1 {
    margin: 0;
    color: #fff;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
}

.vr-home-hero h1 {
    color: #ff67c7;
    text-shadow: 0 0 16px rgba(255,60,172,.4);
}

.vr-home-intro,
.vr-inner-hero > p:last-child {
    max-width: 720px;
    color: #d6c7e3;
    font-size: 1.05rem;
    line-height: 1.7;
}

.vr-home-actions {
    justify-content: center;
    margin-top: 12px;
}

.vr-home-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.vr-home-card,
.vr-inner-card,
.vr-inner-hero {
    background: linear-gradient(145deg, rgba(255,255,255,.055), transparent 30%), rgba(12,5,28,.76);
    border: 1px solid var(--vr-border);
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(3,0,12,.3);
}

.vr-home-card {
    min-height: 190px;
    padding: 22px;
    color: #fff;
    text-decoration: none;
}

.vr-home-card-icon {
    color: #ff67c7;
    font-size: 1.7rem;
}

.vr-home-card h2,
.vr-inner-card h2 {
    margin: 10px 0;
    color: #ff67c7;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 1.12rem;
}

.vr-home-card p,
.vr-inner-card p,
.vr-inner-card li {
    color: #d6c7e3;
    line-height: 1.7;
}

.vr-inner-hero {
    padding: 32px;
}

.vr-inner-hero .vr-home-eyebrow {
    margin-top: 0;
}

.vr-inner-hero h1 span {
    color: #ff67c7;
}

.vr-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: 18px;
    margin-top: 18px;
}

.vr-inner-card {
    padding: 24px;
}

.vr-studio-photo {
    display: block;
    width: 100%;
    max-height: 420px;
    border: 1px solid var(--vr-border);
    border-radius: 14px;
    object-fit: cover;
}

.vr-studio-placeholder {
    display: grid;
    min-height: 260px;
    place-content: center;
    padding: 20px;
    border: 1px dashed rgba(255,103,199,.45);
    border-radius: 14px;
    background: rgba(180,76,255,.08);
    text-align: center;
}

.vr-studio-placeholder span {
    color: #ff67c7;
    font-size: 3rem;
}

.vr-inner-cta {
    margin: 24px 0 0;
}

.vr-contact-main {
    max-width: 860px;
}

.vr-contact-card {
    margin-top: 18px;
}

.vr-contact-form {
    display: grid;
    gap: 10px;
}

.vr-contact-form label {
    margin-top: 8px;
    color: #ffb8e4;
    font-weight: 800;
}

.vr-contact-form input,
.vr-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255,60,172,.38);
    border-radius: 10px;
    background: rgba(7,4,17,.82);
    color: #fff;
    font: inherit;
}

.vr-contact-form textarea {
    resize: vertical;
}

.vr-contact-form button {
    width: fit-content;
    margin-top: 10px;
    cursor: pointer;
    font: inherit;
}

.vr-form-notice {
    padding: 14px 16px;
    border: 1px solid var(--vr-border);
    border-radius: 10px;
    color: #fff !important;
}

.vr-form-notice.success {
    background: rgba(34,197,94,.12);
}

.vr-form-notice.error {
    background: rgba(255,60,172,.12);
}

@media (max-width: 760px) {
    .vr-site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .vr-site-nav {
        width: 100%;
    }

    .vr-home-links,
    .vr-about-grid {
        grid-template-columns: 1fr;
    }

    .vr-home-main,
    .vr-inner-main {
        padding-top: 28px;
    }

    .vr-inner-hero,
    .vr-inner-card {
        padding: 22px;
    }
}