/* ============================================================
   disco.css — Music TBR theme
   Mood: 70s disco, neon, holographic, vinyl, glitter
   ============================================================ */

:root {
    --pink: #ff006e;
    --blue: #3a86ff;
    --purple: #8338ec;
    --yellow: #ffbe0b;
    --orange: #fb5607;
    --ink: #1a0033;
    --paper: #fff;
    --shadow: rgba(131, 56, 236, 0.4);
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: 'Quicksand', sans-serif;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 0, 110, 0.4), transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(58, 134, 255, 0.4), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(131, 56, 236, 0.5), transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(255, 190, 11, 0.3), transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
}

/* Disco glitter overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,190,11,0.5), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 70% 50%, rgba(255,0,110,0.4), transparent);
    background-size: 200px 200px, 150px 150px, 250px 250px, 180px 180px, 220px 220px;
    pointer-events: none;
    animation: sparkle 8s linear infinite;
    z-index: 0;
}
@keyframes sparkle {
    0%   { transform: translate(0, 0); opacity: 0.7; }
    50%  { opacity: 1; }
    100% { transform: translate(20px, 20px); opacity: 0.7; }
}

.theme-disco { position: relative; z-index: 1; }

.theme-header {
    text-align: center;
    padding: 4.5rem 2rem 3.5rem;
    position: relative;
    margin-bottom: 3rem;
}
.theme-header .pre-label {
    display: inline-block;
    font-family: 'Audiowide', sans-serif;
    letter-spacing: 0.3em;
    color: var(--yellow);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 30px;
    text-shadow: 0 0 12px var(--yellow);
}
.theme-header h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    margin: 0;
    background: linear-gradient(90deg, var(--yellow), var(--pink), var(--blue), var(--yellow));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 4s ease-in-out infinite;
    letter-spacing: 0.04em;
    text-shadow: 0 0 40px rgba(255, 0, 110, 0.5);
}
@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.theme-header .subtitle {
    margin-top: 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper);
    opacity: 0.85;
    font-size: 1rem;
}

/* Disco ball */
.disco-ball {
    width: 80px; height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #fff 0%, #c0c0c0 25%, #808080 60%, #4a4a4a 100%);
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 80px rgba(255, 0, 110, 0.4),
        inset -10px -10px 20px rgba(0,0,0,0.4);
    position: relative;
    animation: spin 6s linear infinite;
}
.disco-ball::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 6px, rgba(0,0,0,0.3) 6px, rgba(0,0,0,0.3) 7px),
        repeating-linear-gradient(90deg, transparent 0, transparent 6px, rgba(0,0,0,0.3) 6px, rgba(0,0,0,0.3) 7px);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Item cards: holographic vinyl records */
.item-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(58, 134, 255, 0.15), rgba(131, 56, 236, 0.15));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px var(--shadow);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.item-card::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: rotate(35deg);
    pointer-events: none;
}
.item-title {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.3rem;
    color: var(--yellow);
    letter-spacing: 0.02em;
    text-shadow: 0 0 15px rgba(255, 190, 11, 0.5);
}
.item-creator { color: var(--pink); font-weight: 600; opacity: 0.95; }
.item-notes { color: var(--paper); opacity: 0.85; }
.item-meta { color: var(--blue); font-family: 'Audiowide', sans-serif; letter-spacing: 0.15em; }

.item-actions .btn-icon {
    border-color: var(--yellow);
    color: var(--yellow);
    background: rgba(0,0,0,0.3);
}
.item-actions .btn-icon:hover {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 0 0 20px var(--yellow);
}

.empty-state { color: var(--paper); opacity: 0.7; font-family: 'Audiowide', sans-serif; }
.empty-state::before { content: "♪"; display: block; font-size: 3rem; color: var(--pink); margin-bottom: 1rem; }

.theme-action-bar { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.theme-action-bar a {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    color: var(--paper);
    padding: 0.85rem 2rem;
    text-decoration: none;
    font-family: 'Audiowide', sans-serif;
    letter-spacing: 0.15em;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.5);
    transition: transform 0.2s;
}
.theme-action-bar a:hover { transform: scale(1.05); box-shadow: 0 6px 30px rgba(255, 0, 110, 0.7); }
