/* ============================================================
   cinema.css — Movies TBR theme
   Mood: noir cinema, marquee lights, art deco, red velvet
   ============================================================ */

:root {
    --bg: #0a0a0a;
    --bg-elev: #161616;
    --crimson: #dc143c;
    --gold: #ffbe0b;
    --gold-bright: #ffd13f;
    --ivory: #f0ede4;
    --rule: rgba(255, 190, 11, 0.18);
}

body {
    background: var(--bg);
    color: var(--ivory);
    font-family: 'Space Grotesk', sans-serif;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(220, 20, 60, 0.12), transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 190, 11, 0.08), transparent 70%);
    min-height: 100vh;
}

/* Film perforations down the side */
.theme-cinema {
    position: relative;
    border-left: 24px solid var(--bg-elev);
    border-right: 24px solid var(--bg-elev);
    background-image:
        repeating-linear-gradient(0deg,
            transparent 0,
            transparent 20px,
            rgba(255, 190, 11, 0.05) 20px,
            rgba(255, 190, 11, 0.05) 22px);
}
.theme-cinema::before, .theme-cinema::after {
    content: "";
    position: fixed;
    top: 0; bottom: 0;
    width: 24px;
    background-image: radial-gradient(circle at center, var(--bg) 0, var(--bg) 4px, transparent 5px);
    background-size: 24px 36px;
    background-position: center 18px;
    pointer-events: none;
    z-index: 1;
}
.theme-cinema::before { left: 0; }
.theme-cinema::after  { right: 0; }

.theme-header {
    text-align: center;
    padding: 4rem 2rem 3rem;
    position: relative;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 3rem;
}
.theme-header .pre-label {
    display: inline-block;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.4em;
    color: var(--crimson);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1.25rem;
    border: 1px solid var(--crimson);
    border-radius: 2px;
}
.theme-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    margin: 0;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-shadow:
        0 0 12px rgba(255, 190, 11, 0.3),
        0 2px 0 rgba(0,0,0,0.5);
    animation: marquee-glow 3s ease-in-out infinite alternate;
}
@keyframes marquee-glow {
    from { text-shadow: 0 0 12px rgba(255, 190, 11, 0.3), 0 2px 0 rgba(0,0,0,0.5); }
    to   { text-shadow: 0 0 24px rgba(255, 190, 11, 0.55), 0 2px 0 rgba(0,0,0,0.5); }
}
.theme-header .subtitle {
    color: var(--ivory);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1rem;
    opacity: 0.6;
}

/* Marquee bulbs */
.marquee {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin: 2rem 0;
}
.marquee span {
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(255, 190, 11, 0.7);
    animation: bulb 1.4s ease-in-out infinite;
}
.marquee span:nth-child(2) { animation-delay: 0.2s; }
.marquee span:nth-child(3) { animation-delay: 0.4s; }
.marquee span:nth-child(4) { animation-delay: 0.6s; }
.marquee span:nth-child(5) { animation-delay: 0.8s; }
@keyframes bulb {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255, 190, 11, 0.7); }
    50%      { opacity: 0.4; box-shadow: 0 0 4px rgba(255, 190, 11, 0.3); }
}

/* Item cards as movie tickets */
.item-card {
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    color: var(--ivory);
    position: relative;
}
.item-card::before {
    content: "ADMIT ONE";
    position: absolute;
    top: 1rem; right: 1rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--crimson);
    opacity: 0.5;
}
.item-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--gold);
    line-height: 1.1;
}
.item-creator { color: var(--ivory); opacity: 0.65; }
.item-notes { color: var(--ivory); opacity: 0.7; }
.item-meta { color: var(--crimson); font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.2em; }

.item-actions .btn-icon {
    border-color: var(--gold);
    color: var(--gold);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.15em;
}
.item-actions .btn-icon:hover { background: var(--gold); color: var(--bg); }

.empty-state { color: var(--ivory); opacity: 0.5; }
.empty-state::before { content: "★"; display: block; color: var(--gold); font-size: 2.5rem; margin-bottom: 1rem; }

.theme-action-bar { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.theme-action-bar a {
    background: var(--crimson);
    color: var(--ivory);
    padding: 0.7rem 1.75rem;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.2em;
    font-size: 1rem;
    border-radius: 2px;
    transition: background 0.2s;
}
.theme-action-bar a:hover { background: var(--gold); color: var(--bg); }
