/* ===========================
   Google Font
=========================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ===========================
   Reset
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --ink: #102a43;
    --muted: #486581;
    --paper: #f5f8fc;
    --panel: #ffffff;
    --line: #dbe7f0;
    --sky: #eaf7ff;
    --coral: #0ea5c6;
    --coral-dark: #087f9b;
    --sun: #f7c948;
    --shadow: rgba(16, 42, 67, 0.12);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    background-image: radial-gradient(rgba(16, 42, 67, 0.06) 0.8px, transparent 0.8px);
    background-size: 12px 12px;
}

/* ===========================
   Navbar
=========================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.04);
}

.logo,
.nav-links a,
.nav-cta,
.hero h1,
.form-card h2,
.results h2,
.movie-info h3,
footer h3,
.find-btn,
.hero-btn {
    font-family: 'Space Grotesk', sans-serif;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.04em;
}

.logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    padding: 6px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 4px 4px 0 var(--ink);
}

.nav-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--coral-dark);
}

/* ===========================
   Hero
=========================== */

.hero {
    min-height: 78vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 8% 7%;
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg, rgba(7, 27, 46, 0.9) 0%, rgba(7, 27, 46, 0.68) 48%, rgba(7, 27, 46, 0.2) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: 'TONIGHT\A STARTS HERE';
    white-space: pre;
    position: absolute;
    right: 5%;
    bottom: 10%;
    color: rgba(220, 249, 255, 0.72);
    font: 600 clamp(1.1rem, 2vw, 2.6rem)/0.9 'Space Grotesk', sans-serif;
    letter-spacing: -0.06em;
    text-align: right;
    transform: rotate(-90deg);
    transform-origin: right bottom;
}

.hero-content {
    max-width: 660px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    margin-bottom: 26px;
    color: #f8fdff;
}

.hero p {
    max-width: 520px;
    font-size: 1rem;
    color: rgba(232, 249, 255, 0.86);
    margin-bottom: 34px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 4px 4px 0 var(--ink);
}

.hero-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--coral-dark);
}

/* ===========================
   Form
=========================== */

.preferences {
    padding: 88px 7%;
    background: var(--sky);
}

.form-card {
    max-width: 920px;
    margin: auto;
    background: var(--panel);
    padding: 42px;
    border: 1px solid var(--ink);
    border-radius: 0;
    box-shadow: 10px 10px 0 var(--ink);
}

.form-card h2 {
    text-align: left;
    margin-bottom: 34px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    letter-spacing: -0.06em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group > label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

select,
input[type=range] {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f7fbff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.96rem;
}

select option {
    background: var(--panel);
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5fbff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 11px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--ink);
}

.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
    background: var(--sun);
    box-shadow: 3px 3px 0 var(--ink);
}

.find-btn {
    width: 100%;
    padding: 17px;
    border: none;
    border-radius: 4px;
    background: var(--coral);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 4px 4px 0 var(--ink);
}

.find-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
    background: var(--coral-dark);
}

.find-btn:active {
    transform: translate(0, 0);
    box-shadow: 3px 3px 0 var(--ink);
}

/* ===========================
   Loading
=========================== */

.loading {
    text-align: center;
    padding: 80px 20px;
}

.loading h2 {
    margin-bottom: 10px;
}

.loading-hint {
    color: #94a3b8;
    font-size: .9rem;
}

.hidden {
    display: none;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 6px solid rgba(255, 255, 255, .15);
    border-top: 6px solid #F59E0B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   Results
=========================== */

.results {
    padding: 88px 7%;
    background: var(--paper);
}

.results h2 {
    margin-bottom: 38px;
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    letter-spacing: -0.07em;
    color: var(--ink);
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    line-height: 1;
}

.source-badge.live {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.source-badge.fallback {
    background: rgba(245, 158, 11, 0.18);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* Card entrance animation */
@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.movie-card {
    background: var(--panel);
    border-radius: 0;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
    box-shadow: 6px 6px 0 var(--ink);
    animation: cardIn .5s ease both;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--ink);
}

.movie-card:hover {
    transform: translate(-3px, -5px);
    box-shadow: 10px 10px 0 var(--coral);
    border-color: var(--ink);
}

/* Poster wrapper */
.card-poster-wrap {
    position: relative;
    height: 360px;
    width: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.movie-card:hover img {
    transform: scale(1.04);
}

/* Poster Fallback Card */
.poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
}

.poster-fallback-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
    opacity: 0.8;
}

.poster-fallback-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #f8fafc;
}

.poster-fallback-year {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* TV / Movie badge on poster */
.type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .15);
}

.movie-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.movie-info h3 {
    margin-bottom: 12px;
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.badges span {
    background: #e5f1f7;
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 600;
}

.badge-rating {
    background: var(--sun) !important;
    color: var(--ink) !important;
}

.badge-genre {
    background: var(--sky) !important;
    color: var(--ink) !important;
}

.badge-year {
    background: transparent !important;
    color: var(--muted) !important;
    border: 1px solid var(--line);
}

.why-blurb {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.details,
.save {
    flex: 1;
    border: none;
    border-radius: 4px;
    padding: 11px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.details {
    background: var(--ink);
    color: #fff;
}

.details:hover {
    background: var(--coral);
    transform: translateY(-1px);
}

.save {
    background: var(--coral);
    color: #fff;
}

.save:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
}

.save.saved {
    background: #22c55e;
}

/* ===========================
   Empty / Error State
=========================== */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #cbd5e1;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: #94a3b8;
    margin-bottom: 10px;
}

.empty-state code {
    background: #1e293b;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: .85rem;
    color: #38BDF8;
}

/* ===========================
   Footer
=========================== */

footer {
    margin-top: 80px;
    padding: 40px 8%;
    background: #111827;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    color: #94A3B8;
}

footer a {
    display: block;
    color: #94A3B8;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .2s;
}

footer a:hover {
    color: #38BDF8;
}

/* ===========================
   Responsive
=========================== */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 2.6rem;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

}

@media (max-width: 768px) {

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

}

@media (max-width: 480px) {

    .form-card {
        padding: 25px;
    }

    .radio-group,
    .checkbox-group {
        flex-direction: column;
    }

    .hero-btn,
    .find-btn {
        width: 100%;
    }

}

/* ===========================
   Cinema Editorial Theme
=========================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #102a43;
    --muted: #486581;
    --paper: #eef6fb;
    --surface: #ffffff;
    --line: #b8cfe0;
    --coral: #0ea5c6;
    --coral-dark: #087f9b;
    --aqua: #cceff3;
    --yellow: #c7f36b;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    background-image: radial-gradient(rgba(23, 21, 28, .07) .7px, transparent .7px);
    background-size: 8px 8px;
}

.navbar {
    padding: 18px 7%;
    background: rgba(245, 241, 235, .9);
    border-bottom: 1px solid var(--line);
}

.logo,
.nav-links a,
.nav-cta,
.hero h1,
.form-card h2,
.results h2,
.movie-info h3,
footer h3,
.find-btn,
.hero-btn {
    font-family: 'Space Grotesk', sans-serif;
}

.logo {
    color: var(--ink);
    font-size: 1.15rem;
    letter-spacing: -.03em;
}

.nav-links a {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-cta,
.hero-btn,
.find-btn {
    background: var(--coral);
    color: #f8fdff;
    border-radius: 4px;
    box-shadow: 4px 4px 0 var(--ink);
}

.nav-cta:hover,
.hero-btn:hover,
.find-btn:hover {
    background: var(--coral-dark);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.hero {
    min-height: 76vh;
    justify-content: flex-start;
    text-align: left;
    padding: 8% 13%;
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg, rgba(7, 27, 46, .9) 0%, rgba(7, 27, 46, .62) 48%, rgba(7, 27, 46, .2) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: 'TONIGHT\A  STARTS HERE';
    white-space: pre;
    position: absolute;
    right: 7%;
    bottom: 10%;
    color: rgba(220, 249, 255, .78);
    font: 600 clamp(1.2rem, 3vw, 2.8rem)/.95 'Space Grotesk', sans-serif;
    letter-spacing: -.06em;
    text-align: right;
    transform: rotate(-90deg);
    transform-origin: right bottom;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(3.3rem, 7vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.08em;
    margin-bottom: 26px;
    color: #f8fdff;
}

.hero p {
    max-width: 510px;
    color: rgba(232, 249, 255, .86);
    font-size: 1rem;
    margin-bottom: 34px;
}

.hero-btn {
    display: inline-flex;
    padding: 14px 22px;
}

.preferences,
.results {
    padding: 88px 7%;
}

.preferences {
    background: var(--aqua);
}

.form-card {
    max-width: 920px;
    padding: 42px;
    background: var(--surface);
    border: 1px solid var(--ink);
    border-radius: 0;
    box-shadow: 10px 10px 0 var(--ink);
}

.form-card h2 {
    text-align: left;
    color: var(--ink);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    letter-spacing: -.06em;
    margin-bottom: 34px;
}

.form-group > label {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

select,
input[type=range] {
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #f5fbff;
    color: var(--ink);
}

select {
    padding: 14px;
}

select option {
    background: var(--surface);
}

input[type=range] {
    accent-color: var(--coral);
}

.radio-group,
.checkbox-group {
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    color: var(--ink);
    background: #f5fbff;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 11px 15px;
}

.radio-group label:has(input:checked),
.checkbox-group label:has(input:checked) {
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

.find-btn {
    padding: 17px;
    border-radius: 3px;
}

.results {
    background: var(--paper);
}

.results h2 {
    justify-content: flex-start;
    text-align: left;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -.07em;
    margin-bottom: 38px;
}

.movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 22px;
}

.movie-card {
    background: var(--surface);
    border: 1px solid var(--ink);
    border-radius: 0;
    box-shadow: 5px 5px 0 var(--ink);
}

.movie-card:hover {
    transform: translate(-3px, -5px);
    border-color: var(--ink);
    box-shadow: 9px 10px 0 var(--coral);
}

.card-poster-wrap {
    height: 315px;
    background: var(--ink);
}

.type-badge {
    top: 10px;
    right: 10px;
    border-radius: 2px;
    background: var(--yellow);
    color: var(--ink);
    border: 0;
}

.movie-info {
    padding: 18px;
}

.movie-info h3 {
    color: var(--ink);
    letter-spacing: -.04em;
}

.badges span {
    border-radius: 2px;
    background: #e5f1f7;
    color: var(--muted);
}

.badge-rating {
    background: var(--yellow) !important;
    color: var(--ink) !important;
}

.badge-genre {
    background: var(--aqua) !important;
    color: var(--ink) !important;
}

.badge-year {
    background: transparent !important;
    color: var(--muted) !important;
    border: 1px solid var(--line);
}

.why-blurb {
    color: var(--muted);
}

.details,
.save {
    border-radius: 3px;
}

.details {
    background: var(--ink);
}

.details:hover {
    background: var(--coral);
}

.save {
    background: var(--coral);
}

.save:hover {
    background: var(--coral-dark);
}

.loading,
.empty-state {
    color: var(--ink);
}

.loading-hint,
.empty-state p {
    color: var(--muted);
}

.spinner {
    border-color: var(--line);
    border-top-color: var(--coral);
}

footer {
    margin-top: 0;
    padding: 42px 7%;
    background: var(--ink);
}

footer p,
footer a {
    color: #bcb5ad;
}

footer a:hover {
    color: var(--yellow);
}

/* Final theme authority: keeps the active palette after legacy theme blocks. */
:root {
    --ink: #f4f6ef;
    --muted: #9da79b;
    --paper: #0d1110;
    --surface: #171d1a;
    --line: #354138;
    --coral: #c8f05a;
    --coral-dark: #9fc43b;
    --aqua: #111a16;
    --yellow: #f3b562;
    --shadow: rgba(0, 0, 0, .4);
}

body {
    color: var(--ink);
    background: #0d1110;
    background-image: radial-gradient(circle at 82% 6%, rgba(200, 240, 90, .1), transparent 25%), linear-gradient(135deg, #111714, #0b0e0d 66%, #14120e);
}

.navbar {
    background: rgba(13, 17, 16, .94);
    border-bottom-color: rgba(200, 240, 90, .2);
}

.logo,
.nav-links a {
    color: #f4f6ef;
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: var(--coral);
}

.hero {
    min-height: 520px;
    padding: 104px clamp(24px, 9vw, 148px) 136px;
    background: linear-gradient(90deg, rgba(7, 12, 10, .97), rgba(7, 12, 10, .76) 45%, rgba(7, 12, 10, .25)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
}

.hero::after {
    content: 'PRESS PLAY\A FIND YOUR FEELING';
    color: rgba(200, 240, 90, .78);
}

.hero-content::before,
.hero-eyebrow {
    color: var(--coral);
}

.hero-eyebrow span,
.hero h1::after {
    background: var(--coral);
}

.hero h1,
.hero p:not(.hero-eyebrow) {
    color: #f4f6ef;
}

.hero-secondary-btn {
    border-color: rgba(200, 240, 90, .5);
    background: rgba(10, 18, 14, .66);
    color: #f4f6ef;
}

.hero-secondary-btn:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.preferences {
    max-width: 1120px;
    margin: -64px auto 0;
    padding: 30px 34px 34px;
    background: rgba(23, 29, 26, .97);
    border: 1px solid rgba(200, 240, 90, .22);
    border-radius: 14px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .38);
}

.form-card {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-top: 2px solid var(--coral);
    border-radius: 0;
    box-shadow: none;
}

.section-kicker {
    color: var(--coral);
}

.form-card h2 {
    color: #f4f6ef;
}

.form-intro {
    color: #9da99b;
}

#movieForm {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 16px;
}

.form-group > label {
    color: #aeb9a9;
}

select,
.radio-group label {
    border-color: #3e4d42;
    background: #202822;
    color: #edf3e8;
}

select:focus,
select:hover,
.radio-group label:hover {
    border-color: var(--coral);
}

.radio-group label:has(input:checked) {
    background: var(--coral);
    border-color: var(--coral);
    color: #172012;
}

input[type=range] {
    accent-color: var(--coral);
}

.find-btn,
.save {
    background: var(--coral);
    color: #172012;
}

.find-btn:hover,
.save:hover {
    background: #dbff70;
}

.results {
    padding-top: 76px;
    background: transparent;
}

.results h2 {
    color: #f4f6ef;
}

.movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.movie-card {
    border-color: #354138;
    border-radius: 12px;
    background: linear-gradient(180deg, #1b241f, #141a17);
    box-shadow: 0 12px 25px var(--shadow);
}

.movie-card:hover {
    border-color: var(--coral);
}

.type-badge,
.badge-rating {
    background: var(--coral) !important;
    color: #172012 !important;
}

.badge-genre,
.badges span {
    background: #2b4235 !important;
    color: #d2e0cf !important;
}

.movie-info h3 {
    color: #f4f6ef;
}

.why-blurb {
    color: #aeb9ad;
}

.details {
    background: #2c4034;
}

footer {
    background: #080c0a;
    border-top-color: #354138;
}

@media (max-width: 760px) {
    .hero {
        min-height: 480px;
        padding: 76px 8% 116px;
    }

    .preferences {
        margin: -30px 14px 0;
        padding: 24px 20px 28px;
    }

    #movieForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 460px;
        padding: 64px 8% 104px;
    }

    .preferences {
        margin: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #movieForm {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Cobalt Matinee Theme
=========================== */

:root {
    --ink: #14213d;
    --muted: #52627a;
    --paper: #f4efe6;
    --surface: #fffdf8;
    --line: #cbd5e1;
    --coral: #e4572e;
    --coral-dark: #bd3f1c;
    --aqua: #d8eef2;
    --yellow: #f4d35e;
    --shadow: rgba(20, 33, 61, .16);
}

body {
    color: var(--ink);
    background-color: var(--paper);
    background-image: radial-gradient(rgba(20, 33, 61, .08) 1px, transparent 1px);
    background-size: 16px 16px;
}

.navbar {
    background: rgba(255, 253, 248, .9);
    border-bottom-color: rgba(20, 33, 61, .15);
    box-shadow: 0 8px 24px rgba(20, 33, 61, .08);
}

.logo,
.nav-links a {
    color: var(--ink);
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: var(--coral);
}

.hero {
    min-height: 500px;
    background: linear-gradient(90deg, rgba(20, 33, 61, .96), rgba(20, 33, 61, .78) 46%, rgba(20, 33, 61, .28)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
}

.hero::after {
    color: rgba(244, 211, 94, .88);
}

.hero-content::before,
.hero-eyebrow,
.section-kicker {
    color: var(--yellow);
}

.hero-eyebrow span,
.hero h1::after {
    background: var(--yellow);
}

.hero h1,
.hero p:not(.hero-eyebrow) {
    color: #fffdf8;
}

.hero-secondary-btn {
    border-color: rgba(255, 253, 248, .62);
    background: rgba(20, 33, 61, .42);
    color: #fffdf8;
}

.hero-secondary-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.preferences {
    background: var(--aqua);
    border-color: rgba(20, 33, 61, .16);
    box-shadow: 0 22px 42px rgba(20, 33, 61, .16);
}

.form-card {
    border-top-color: var(--coral);
}

.form-card h2,
.form-group > label,
.results h2,
.movie-info h3 {
    color: var(--ink);
}

select,
.radio-group label {
    border-color: #aebdce;
    background: #fffdf8;
    color: var(--ink);
}

select:hover,
select:focus,
.radio-group label:hover {
    border-color: var(--coral);
}

.radio-group label:has(input:checked) {
    background: var(--yellow);
    border-color: #d7b63b;
    color: var(--ink);
}

input[type=range] {
    accent-color: var(--coral);
}

.find-btn,
.save {
    background: var(--coral);
    color: #fffdf8;
}

.find-btn:hover,
.save:hover {
    background: var(--coral-dark);
}

.results {
    background: transparent;
}

.movie-card {
    border-color: rgba(20, 33, 61, .2);
    background: var(--surface);
    box-shadow: 0 10px 22px var(--shadow);
}

.movie-card:hover {
    border-color: var(--coral);
    box-shadow: 0 14px 28px rgba(228, 87, 46, .2);
}

.type-badge,
.badge-rating {
    background: var(--yellow) !important;
    color: var(--ink) !important;
}

.badge-genre,
.badges span {
    background: var(--aqua) !important;
    color: var(--ink) !important;
}

.why-blurb {
    color: var(--muted);
}

.details {
    background: var(--ink);
    color: #fffdf8;
}

.details:hover {
    background: var(--coral);
}

footer {
    background: var(--ink);
    border-top-color: rgba(255, 253, 248, .18);
}

footer p,
footer a {
    color: #c7d0dd;
}

footer a:hover {
    color: var(--yellow);
}

/* ===========================
   Larger Reading Scale
=========================== */

.hero {
    min-height: 430px;
    padding-top: 72px;
    padding-bottom: 92px;
}

.hero h1 {
    max-width: 480px;
    font-size: clamp(2.8rem, 5.6vw, 4.6rem);
}

.hero p:not(.hero-eyebrow) {
    max-width: 390px;
    font-size: .82rem;
}

.hero-secondary-btn {
    margin-left: 0;
    min-height: 36px;
    padding: 9px 17px;
    font-size: .7rem;
}

.preferences {
    padding-top: 36px;
    padding-bottom: 42px;
}

.form-card {
    max-width: 430px;
    padding: 23px 19px 18px;
}

.form-card h2 {
    font-size: 1.08rem;
}

.form-group {
    margin-bottom: 13px;
}

select,
.radio-group label {
    min-height: 38px;
    padding: 8px 10px;
    font-size: .72rem;
}

.find-btn {
    min-height: 39px;
    font-size: .72rem;
}

.results {
    padding-top: 38px;
}

.results h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 22px;
}

.card-poster-wrap {
    height: 310px;
}

.movie-info {
    padding: 16px;
}

.movie-info h3 {
    font-size: 1rem;
}

.why-blurb {
    font-size: .76rem;
}

@media (max-width: 520px) {
    .hero {
        min-height: 450px;
        padding-top: 58px;
    }

    .hero h1 {
        font-size: 3.35rem;
    }

    .form-card {
        max-width: 390px;
    }

    .card-poster-wrap {
        height: 280px;
    }
}

/* ===========================
   Premium Ticket Polish
=========================== */

body {
    min-width: 320px;
}

.hero {
    overflow: hidden;
}

.hero-content {
    animation: heroReveal .65s ease both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preferences {
    position: relative;
}

.preferences::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0 49.8%, rgba(255, 255, 255, .035) 50%, transparent 50.2%);
}

.form-card {
    position: relative;
    z-index: 1;
}

.form-card::before,
.form-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 30px;
    background: var(--aqua);
    border: 1px solid #5b554b;
    transform: translateY(-50%);
}

.form-card::before {
    left: -8px;
    border-left: 0;
    border-radius: 0 18px 18px 0;
}

.form-card::after {
    right: -8px;
    border-right: 0;
    border-radius: 18px 0 0 18px;
}

.form-card h2 {
    letter-spacing: -.03em;
}

select,
.radio-group label,
.find-btn {
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

select:hover,
.radio-group label:hover {
    border-color: var(--coral);
}

.find-btn:hover {
    transform: translateY(-2px);
}

.movie-card {
    animation: cardLift .55s ease both;
}

@keyframes cardLift {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 520px) {
    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        max-width: 300px;
        font-size: clamp(2.7rem, 13vw, 3.35rem);
    }

    .hero p:not(.hero-eyebrow) {
        max-width: 290px;
        font-size: .75rem;
    }

    .preferences {
        padding-right: 12px;
        padding-left: 12px;
    }

    .form-card {
        width: 100%;
        max-width: 390px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .form-card::before,
    .form-card::after {
        display: none;
    }

    .results {
        padding-right: 14px;
        padding-left: 14px;
    }
}

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

/* ===========================
   Copper Reel Theme
=========================== */

:root {
    --ink: #f5efe3;
    --muted: #b8b3a7;
    --paper: #101916;
    --surface: #1d2924;
    --line: #405148;
    --coral: #d86c3d;
    --coral-dark: #b84d2d;
    --aqua: #1a2723;
    --yellow: #e8bd62;
    --shadow: rgba(0, 0, 0, .32);
}

body {
    color: var(--ink);
    background: #101916;
    background-image: linear-gradient(135deg, rgba(216, 108, 61, .08) 0, transparent 32%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 72px);
}

.navbar {
    height: 68px;
    padding: 12px clamp(20px, 7vw, 110px);
    background: rgba(16, 25, 22, .96);
    border-bottom: 1px solid #34443c;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .22);
}

.logo {
    color: #fff8eb;
    font-size: 1.08rem;
    letter-spacing: -.03em;
}

.nav-links a {
    color: #c1c8bc;
    font-size: .73rem;
    letter-spacing: .03em;
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: var(--yellow);
}

.hero {
    min-height: 480px;
    padding: 92px clamp(24px, 9vw, 145px) 120px;
    background: linear-gradient(90deg, rgba(11, 18, 16, .96) 0%, rgba(11, 18, 16, .78) 42%, rgba(11, 18, 16, .28) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
    background-position: center;
}

.hero::before {
    display: block;
    height: 150px;
    background: linear-gradient(transparent, #101916);
}

.hero::after {
    content: 'ROLL\A CREDITS';
    right: 8%;
    bottom: 18%;
    color: rgba(232, 189, 98, .78);
    font: 700 clamp(1rem, 2vw, 1.8rem)/.88 'Space Grotesk', sans-serif;
    letter-spacing: .02em;
    transform: rotate(-90deg);
}

.hero-content {
    max-width: 550px;
}

.hero-eyebrow {
    margin-bottom: 16px;
    color: var(--yellow);
    font-size: .67rem;
    letter-spacing: .14em;
}

.hero-eyebrow span {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--yellow);
}

.hero h1 {
    max-width: 530px;
    color: #fff8eb;
    font-size: clamp(3.3rem, 7vw, 6.4rem);
    line-height: .86;
    letter-spacing: -.08em;
}

.hero p:not(.hero-eyebrow) {
    max-width: 430px;
    color: #c5c5b8;
    font-size: .92rem;
    line-height: 1.65;
}

.hero-secondary-btn {
    min-height: 40px;
    padding: 10px 18px;
    border: 1px solid #778277;
    border-radius: 3px;
    background: rgba(16, 25, 22, .62);
    color: #fff8eb;
    font-size: .72rem;
}

.hero-secondary-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.preferences {
    max-width: 1040px;
    margin: -54px auto 0;
    padding: 28px 32px 32px;
    background: #f4eee2;
    border: 0;
    border-radius: 3px;
    box-shadow: 10px 10px 0 #0a100d, 0 18px 38px rgba(0, 0, 0, .28);
}

.preferences::after {
    display: none;
}

.form-card {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.section-kicker {
    margin-bottom: 6px;
    color: #a84f2e;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.form-card h2 {
    margin-bottom: 8px;
    color: #18231e;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -.055em;
}

.form-intro {
    display: block;
    margin-bottom: 22px;
    color: #677269;
    font-size: .78rem;
}

#movieForm {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.form-group {
    margin-bottom: 0;
}

.form-group > label {
    margin: 0 0 6px 2px;
    color: #46524a;
    font-size: .63rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

select,
.radio-group label {
    min-height: 44px;
    border: 1px solid #c6cfc5;
    border-radius: 3px;
    background: #fffaf0;
    color: #1d2a23;
    font-size: .78rem;
}

select {
    padding: 10px 12px;
}

select:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(216, 108, 61, .18);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.radio-group label {
    justify-content: center;
    padding: 10px 8px;
    white-space: nowrap;
}

.radio-group label:has(input:checked) {
    background: #e8bd62;
    border-color: #bd9140;
    color: #1d2a23;
    box-shadow: none;
}

input[type=range] {
    min-height: 44px;
    accent-color: var(--coral);
}

#movieForm .form-group:nth-child(5) {
    grid-column: span 3;
}

.find-btn {
    min-height: 44px;
    margin: 0;
    border-radius: 3px;
    background: var(--coral);
    box-shadow: 3px 3px 0 #18231e;
    font-size: .76rem;
}

.find-btn:hover {
    background: var(--coral-dark);
    box-shadow: 5px 5px 0 #18231e;
}

.results {
    padding: 72px clamp(20px, 7vw, 110px) 80px;
    background: transparent;
}

.results h2 {
    max-width: 1200px;
    margin: 0 auto 24px;
    color: #fff8eb;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.movie-grid {
    max-width: 1200px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.movie-card {
    border: 1px solid #405148;
    border-radius: 3px;
    background: var(--surface);
    box-shadow: 0 9px 22px var(--shadow);
}

.movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--coral);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .42);
}

.card-poster-wrap {
    height: 320px;
    background: #16231e;
}

.type-badge {
    top: 11px;
    right: 11px;
    border-radius: 2px;
    background: var(--yellow);
    color: #1c241d;
}

.movie-info {
    padding: 17px;
}

.movie-info h3 {
    color: #fff8eb;
    font-size: 1.04rem;
}

.badges span {
    border-radius: 2px;
    background: #34443c;
    color: #d2dbd0;
}

.badge-rating {
    background: var(--yellow) !important;
    color: #1d241d !important;
}

.badge-genre {
    background: #34443c !important;
    color: #d2dbd0 !important;
}

.why-blurb {
    color: #b8c0b5;
    font-size: .78rem;
}

.details {
    background: #34443c;
    color: #fff8eb;
}

.details:hover {
    background: #52695d;
}

.save {
    background: var(--coral);
}

footer {
    background: #0a100d;
    border-top: 1px solid #34443c;
}

footer h3 {
    color: #fff8eb;
}

footer p,
footer a {
    color: #aab5a8;
}

footer a:hover {
    color: var(--yellow);
}

@media (max-width: 760px) {
    .hero {
        min-height: 460px;
        padding: 70px 8% 110px;
    }

    .hero::after {
        display: none;
    }

    .preferences {
        margin: 0 14px;
        padding: 24px 20px 26px;
    }

    #movieForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #movieForm .form-group:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 3.25rem;
    }

    .hero p:not(.hero-eyebrow) {
        font-size: .78rem;
    }

    .preferences {
        margin: 0;
        box-shadow: none;
    }

    #movieForm {
        grid-template-columns: 1fr;
    }

    #movieForm .form-group:nth-child(5) {
        grid-column: auto;
    }

    .card-poster-wrap {
        height: 290px;
    }
}

/* ===========================
   Afterglow UI Direction
=========================== */

:root {
    --ink: #f4f6ef;
    --muted: #9da79b;
    --paper: #0d1110;
    --surface: #171d1a;
    --line: #354138;
    --coral: #c8f05a;
    --coral-dark: #9fc43b;
    --aqua: #111a16;
    --yellow: #f3b562;
    --shadow: rgba(0, 0, 0, .4);
}

body {
    background: #0d1110;
    background-image: radial-gradient(circle at 82% 6%, rgba(200, 240, 90, .1), transparent 25%), linear-gradient(135deg, #111714, #0b0e0d 66%, #14120e);
}

.navbar {
    height: 72px;
    padding: 14px clamp(22px, 7vw, 112px);
    background: rgba(13, 17, 16, .9);
    border-bottom: 1px solid rgba(200, 240, 90, .2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}

.navbar::after {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
}

.logo {
    color: #f4f6ef;
    font-size: 1.08rem;
}

.logo::before {
    border-color: var(--coral);
    color: var(--coral);
}

.nav-links a {
    color: #b9c3b5;
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: var(--coral);
}

.nav-links a::after {
    background: var(--coral);
}

.hero {
    min-height: 520px;
    padding: 104px clamp(24px, 9vw, 148px) 136px;
    background: linear-gradient(90deg, rgba(7, 12, 10, .97), rgba(7, 12, 10, .76) 45%, rgba(7, 12, 10, .25)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
    background-position: center;
}

.hero::before {
    height: 180px;
    background: linear-gradient(transparent, #0d1110);
}

.hero::after {
    content: 'PRESS PLAY\A FIND YOUR FEELING';
    right: 7%;
    bottom: 18%;
    color: rgba(200, 240, 90, .78);
    font-size: clamp(.8rem, 1.6vw, 1.3rem);
    letter-spacing: .02em;
}

.hero-content::before {
    content: 'THE MOVIE NIGHT EDIT';
    color: var(--coral);
}

.hero-eyebrow {
    color: #c3cec0;
}

.hero-eyebrow span {
    background: var(--coral);
}

.hero h1 {
    color: #f7f9f2;
    font-size: clamp(3.2rem, 6.5vw, 6.2rem);
}

.hero h1::after {
    width: 96px;
    background: var(--coral);
}

.hero p:not(.hero-eyebrow) {
    color: #bec8bc;
}

.hero-secondary-btn {
    border-color: rgba(200, 240, 90, .5);
    background: rgba(10, 18, 14, .66);
    color: #f4f6ef;
}

.hero-secondary-btn:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.preferences {
    max-width: 1120px;
    margin: -64px auto 0;
    padding: 30px 34px 34px;
    background: rgba(23, 29, 26, .97);
    border: 1px solid rgba(200, 240, 90, .22);
    border-radius: 14px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.preferences::before {
    color: #71816e;
}

.form-card {
    border-top: 2px solid var(--coral);
}

.section-kicker {
    color: var(--coral);
}

.form-card h2 {
    color: #f4f6ef;
}

.form-intro {
    color: #9da99b;
}

#movieForm {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 16px;
}

.form-group > label {
    color: #aeb9a9;
}

select,
.radio-group label {
    border-color: #3e4d42;
    background: #202822;
    color: #edf3e8;
}

select:hover,
.radio-group label:hover,
select:focus {
    border-color: var(--coral);
}

select:focus {
    box-shadow: 0 0 0 3px rgba(200, 240, 90, .14);
}

.radio-group label:has(input:checked) {
    background: var(--coral);
    border-color: var(--coral);
    color: #172012;
}

input[type=range] {
    accent-color: var(--coral);
}

.find-btn {
    background: var(--coral);
    color: #172012;
    box-shadow: 3px 3px 0 #070a08;
}

.find-btn:hover {
    background: #dbff70;
    box-shadow: 5px 5px 0 #070a08;
}

.results {
    padding-top: 76px;
    background: transparent;
}

.results::before {
    color: var(--coral);
}

.results h2 {
    color: #f4f6ef;
    border-bottom-color: #354138;
}

.movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.movie-card {
    border-color: #354138;
    border-radius: 12px;
    background: linear-gradient(180deg, #1b241f, #141a17);
    box-shadow: 0 12px 25px var(--shadow);
}

.movie-card:hover {
    border-color: var(--coral);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .48);
}

.card-poster-wrap {
    height: 330px;
}

.type-badge {
    background: var(--coral);
    color: #172012;
    border-radius: 999px;
}

.movie-info h3 {
    color: #f4f6ef;
}

.badges span {
    background: #2b382f;
    color: #cad5c7;
}

.badge-rating {
    background: var(--yellow) !important;
    color: #241d12 !important;
}

.badge-genre {
    background: #2b4235 !important;
    color: #d2e0cf !important;
}

.why-blurb {
    color: #aeb9ad;
}

.details {
    background: #2c4034;
}

.details:hover {
    background: #3d5b47;
}

.save {
    background: var(--coral);
    color: #172012;
}

footer {
    background: #080c0a;
    border-top-color: #354138;
}

footer h3 {
    color: #f4f6ef;
}

footer p,
footer a {
    color: #9ca99d;
}

footer a:hover {
    color: var(--coral);
}

@media (max-width: 760px) {
    .hero {
        min-height: 480px;
        padding: 76px 8% 116px;
    }

    .preferences {
        margin: -30px 14px 0;
        padding: 24px 20px 28px;
    }

    #movieForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .navbar {
        height: 62px;
    }

    .hero {
        min-height: 460px;
        padding: 64px 8% 104px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .preferences {
        margin: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #movieForm {
        grid-template-columns: 1fr;
    }

    .movie-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Marquee Refinement
=========================== */

.navbar {
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    right: clamp(20px, 7vw, 110px);
    bottom: -1px;
    left: clamp(20px, 7vw, 110px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--coral), var(--yellow), transparent);
    opacity: .75;
}

.logo {
    position: relative;
    padding-left: 34px;
    font-size: 1.12rem;
}

.logo::before {
    content: '✦';
    position: absolute;
    left: 0;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid var(--yellow);
    border-radius: 50%;
    color: var(--yellow);
    font-size: .75rem;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.nav-links a:hover::after,
.nav-links a[href="#"]::after {
    transform: scaleX(1);
}

.hero {
    min-height: 510px;
    isolation: isolate;
}

.hero::before {
    z-index: -1;
}

.hero-content {
    position: relative;
}

.hero-content::before {
    content: '01 / MOVIE NIGHT';
    display: block;
    margin-bottom: 18px;
    color: rgba(232, 189, 98, .72);
    font: 700 .62rem 'Space Grotesk', sans-serif;
    letter-spacing: .18em;
}

.hero-eyebrow {
    margin-bottom: 12px;
}

.hero h1 {
    max-width: 570px;
    text-wrap: balance;
}

.hero h1::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 22px;
    background: var(--coral);
}

.hero-secondary-btn {
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

.hero-secondary-btn:hover {
    transform: translateY(-2px);
}

.preferences {
    position: relative;
}

.preferences::before {
    content: 'PICK YOUR VIBE';
    display: block;
    margin: 0 auto 18px;
    max-width: 1200px;
    color: rgba(255, 248, 235, .66);
    font: 700 .62rem 'Space Grotesk', sans-serif;
    letter-spacing: .18em;
    text-align: center;
}

.form-card {
    border-top: 3px solid var(--coral);
}

.form-card h2 {
    max-width: 580px;
}

.form-group:focus-within > label {
    color: #a84f2e;
}

.results {
    position: relative;
}

.results::before {
    content: 'CURATED FOR TONIGHT';
    display: block;
    max-width: 1200px;
    margin: 0 auto 8px;
    color: var(--yellow);
    font: 700 .62rem 'Space Grotesk', sans-serif;
    letter-spacing: .16em;
}

.results h2 {
    border-bottom: 1px solid #34443c;
    padding-bottom: 16px;
}

.movie-card {
    position: relative;
    overflow: hidden;
}

.movie-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 14px;
    width: 1px;
    height: 28px;
    background: var(--yellow);
    opacity: .7;
}

.card-poster-wrap::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35%;
    background: linear-gradient(transparent, rgba(10, 16, 13, .72));
    pointer-events: none;
}

.type-badge {
    z-index: 1;
}

@media (max-width: 760px) {
    .hero {
        min-height: 475px;
    }

    .hero-content::before {
        margin-bottom: 14px;
    }

    .preferences::before {
        margin-bottom: 14px;
    }
}

@media (max-width: 520px) {
    .navbar::after {
        right: 14px;
        left: 14px;
    }

    .logo {
        font-size: .98rem;
    }

    .hero-content::before {
        font-size: .55rem;
    }

    .hero h1::after {
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 78vh;
        padding: 70px 8%;
    }

    .hero::after {
        display: none;
    }

    .form-card {
        padding: 28px;
        box-shadow: 6px 6px 0 var(--ink);
    }
}

/* ===========================
   Final Cinema UI Refresh
=========================== */

:root {
    --ink: #17151c;
    --muted: #756e79;
    --paper: #f6f2ec;
    --surface: #fffdf9;
    --line: #dfd6cc;
    --coral: #e4573d;
    --coral-dark: #ba382d;
    --aqua: #dcecea;
    --yellow: #f2c14e;
    --shadow: rgba(23, 21, 28, .16);
}

body {
    background-color: var(--paper);
    background-image: radial-gradient(rgba(23, 21, 28, .08) .7px, transparent .7px);
    background-size: 9px 9px;
}

.navbar {
    padding: 16px clamp(20px, 6vw, 88px);
    background: rgba(246, 242, 236, .88);
    border-bottom: 1px solid rgba(223, 214, 204, .9);
    box-shadow: 0 8px 30px rgba(23, 21, 28, .06);
}

.logo {
    font-size: 1.08rem;
}

.logo:first-letter {
    font-size: 1.35rem;
}

.nav-cta,
.hero-btn,
.find-btn {
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--ink);
}

.nav-cta:hover,
.hero-btn:hover,
.find-btn:hover {
    box-shadow: 5px 5px 0 var(--ink);
}

.hero {
    min-height: min(720px, 78vh);
    padding: clamp(72px, 10vw, 144px) clamp(24px, 12vw, 180px);
    background: linear-gradient(90deg, rgba(12, 16, 24, .94) 0%, rgba(12, 16, 24, .72) 52%, rgba(12, 16, 24, .18) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=85");
}

.hero-content {
    max-width: 680px;
}

.hero-eyebrow,
.section-kicker {
    color: var(--yellow);
    font: 700 .72rem/1.2 'Space Grotesk', sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-eyebrow span {
    width: 28px;
    height: 2px;
    background: var(--yellow);
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(3.1rem, 7vw, 6.4rem);
    line-height: .9;
    letter-spacing: -.075em;
    text-wrap: balance;
}

.hero p:not(.hero-eyebrow) {
    max-width: 490px;
    color: rgba(255, 250, 242, .78);
    line-height: 1.75;
}

.hero-btn {
    padding: 14px 24px;
}

.preferences {
    padding: clamp(62px, 9vw, 112px) clamp(20px, 7vw, 100px);
    background: var(--aqua);
    position: relative;
}

.preferences::before {
    content: '01';
    position: absolute;
    top: 34px;
    left: clamp(20px, 7vw, 100px);
    color: rgba(23, 21, 28, .22);
    font: 700 4rem/.8 'Space Grotesk', sans-serif;
    letter-spacing: -.1em;
}

.form-card {
    max-width: 960px;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--ink);
    border-radius: 18px;
    box-shadow: 12px 12px 0 var(--ink);
}

.section-kicker {
    color: var(--coral);
    margin-bottom: 12px;
}

.form-card h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 4vw, 3.25rem);
    line-height: 1;
}

.form-intro {
    color: var(--muted);
    margin-bottom: 34px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group > label {
    color: var(--ink);
    margin-bottom: 9px;
    font-size: .68rem;
}

select {
    min-height: 50px;
    padding: 13px 15px;
    border-radius: 10px;
    border-color: var(--line);
    background: #fffaf4;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

select:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(228, 87, 61, .16);
}

.radio-group {
    gap: 12px;
}

.radio-group label {
    border-radius: 999px;
    padding: 11px 17px;
    background: #fffaf4;
}

.radio-group label:has(input:checked) {
    background: var(--yellow);
    box-shadow: none;
    border-color: var(--ink);
}

input[type=range] {
    padding: 0;
    accent-color: var(--coral);
    background: transparent;
}

.find-btn {
    min-height: 54px;
    margin-top: 8px;
    font-size: .96rem;
}

.results {
    padding: clamp(62px, 8vw, 104px) clamp(20px, 7vw, 100px);
}

.results h2 {
    max-width: 1000px;
    margin: 0 auto 34px;
    font-size: clamp(2rem, 4.5vw, 4.1rem);
    line-height: .98;
}

.movie-grid {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
}

.movie-card {
    border-radius: 14px;
    border-color: var(--line);
    box-shadow: 0 12px 26px var(--shadow);
}

.movie-card:hover {
    transform: translateY(-7px);
    border-color: var(--coral);
    box-shadow: 0 18px 34px rgba(23, 21, 28, .22);
}

.card-poster-wrap {
    height: 330px;
}

.type-badge {
    top: 14px;
    right: 14px;
    border-radius: 999px;
    background: rgba(255, 253, 249, .9);
    color: var(--ink);
    border: 0;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 1.2rem;
}

.badges span {
    border-radius: 999px;
}

.why-blurb {
    font-size: .88rem;
}

.details,
.save {
    border-radius: 999px;
}

footer {
    padding: 50px clamp(20px, 7vw, 100px);
}

@media (max-width: 768px) {
    .navbar {
        gap: 14px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-cta {
        padding: 10px 16px;
    }

    .hero {
        min-height: 680px;
        padding: 80px 8%;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .preferences::before {
        display: none;
    }

    .form-card {
        border-radius: 14px;
        box-shadow: 7px 7px 0 var(--ink);
    }
}

@media (max-width: 480px) {
    .navbar {
        align-items: stretch;
    }

    .logo,
    .nav-cta {
        justify-content: center;
    }

    .nav-links {
        order: 3;
    }

    .hero {
        min-height: 620px;
    }

    .hero-btn {
        width: 100%;
    }

    .form-card {
        padding: 26px 20px;
    }
}

/* ===========================
   Streaming Dashboard UI
=========================== */

:root {
    --ink: #f5f7ff;
    --muted: #9aa8c4;
    --paper: #030b1d;
    --surface: #091b36;
    --line: rgba(111, 183, 255, .2);
    --coral: #7c4dff;
    --coral-dark: #5d2bda;
    --aqua: #061631;
    --yellow: #ffd23f;
    --shadow: rgba(0, 0, 0, .42);
}

body {
    color: var(--ink);
    background: #030b1d;
    background-image: radial-gradient(circle at 50% 5%, rgba(38, 84, 152, .2), transparent 36%), linear-gradient(180deg, #020918 0%, #04152e 48%, #020a18 100%);
    background-attachment: fixed;
}

.navbar {
    height: 74px;
    padding: 12px clamp(20px, 7vw, 108px);
    background: rgba(2, 12, 31, .94);
    border-bottom: 1px solid rgba(91, 151, 225, .18);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

.logo {
    color: #f7f9ff;
    font-size: 1.04rem;
    letter-spacing: -.02em;
}

.logo::first-line {
    text-shadow: 0 0 18px rgba(177, 112, 255, .45);
}

.nav-links {
    gap: clamp(16px, 3vw, 40px);
}

.nav-links a {
    color: #c5d2e9;
    font-size: .72rem;
    letter-spacing: .02em;
    text-transform: none;
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: #fff;
}

.nav-cta {
    background: linear-gradient(100deg, #6d42ff, #bb54f5);
    border: 0;
    box-shadow: 0 0 20px rgba(130, 70, 255, .35);
}

.hero {
    min-height: 420px;
    padding: 74px clamp(24px, 7vw, 108px) 94px;
    background: linear-gradient(90deg, rgba(2, 12, 29, .98) 0%, rgba(2, 12, 29, .82) 32%, rgba(2, 12, 29, .34) 72%, rgba(2, 12, 29, .64) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(transparent, #06152c);
    pointer-events: none;
}

.hero::after {
    content: 'Good Movies\A Better Moods';
    color: rgba(255, 255, 255, .86);
    font: italic 600 clamp(1rem, 2vw, 1.5rem)/1.25 Georgia, serif;
    letter-spacing: 0;
    transform: rotate(-7deg);
    right: 8%;
    bottom: 25%;
}

.hero-content {
    max-width: 460px;
}

.hero-eyebrow,
.section-kicker {
    color: #98a8c8;
    font-size: .62rem;
    letter-spacing: .08em;
}

.hero-eyebrow span {
    display: none;
}

.hero h1 {
    max-width: 430px;
    margin-bottom: 18px;
    color: #f8faff;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: .93;
}

.hero h1::first-line {
    color: #fff;
}

.hero p:not(.hero-eyebrow) {
    max-width: 365px;
    margin-bottom: 24px;
    color: #b5c2d9;
    font-size: .82rem;
    line-height: 1.45;
}

.hero-btn,
.hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 11px 20px;
    border-radius: 999px;
    font: 700 .74rem 'Space Grotesk', sans-serif;
    text-decoration: none;
}

.hero-btn {
    background: linear-gradient(100deg, #5d5bff, #c34ef1);
    box-shadow: 0 7px 22px rgba(105, 79, 255, .35);
}

.hero-btn:hover {
    background: linear-gradient(100deg, #756fff, #d46cff);
    box-shadow: 0 10px 28px rgba(105, 79, 255, .5);
}

.hero-secondary-btn {
    margin-left: 10px;
    color: #e2e8f5;
    border: 1px solid rgba(123, 182, 255, .45);
    background: rgba(4, 21, 47, .45);
}

.hero-secondary-btn:hover {
    border-color: #9d77ff;
    color: #fff;
}

.preferences {
    z-index: 2;
    max-width: 1355px;
    margin: -42px auto 0;
    padding: 20px 24px 24px;
    background: linear-gradient(135deg, rgba(10, 38, 73, .96), rgba(5, 22, 49, .98));
    border: 1px solid rgba(83, 167, 255, .28);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.preferences::before {
    display: none;
}

.form-card {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.section-kicker {
    margin-bottom: 4px;
    color: #f2f5ff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.03em;
    text-transform: none;
}

.form-card h2 {
    display: none;
}

.form-intro {
    margin-bottom: 14px;
    color: #8496b8;
    font-size: .68rem;
}

#movieForm {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.form-group {
    min-width: 0;
    margin-bottom: 0;
}

.form-group > label {
    margin: 0 0 5px 4px;
    color: #9fb0ce;
    font-size: .61rem;
    letter-spacing: .04em;
    text-transform: none;
}

select,
.radio-group label {
    min-height: 48px;
    border: 1px solid rgba(87, 166, 242, .18);
    border-radius: 8px;
    background: rgba(23, 69, 116, .52);
    color: #f2f6ff;
    font-size: .76rem;
}

select {
    padding: 10px 12px;
}

select:focus {
    border-color: #875dff;
    box-shadow: 0 0 0 3px rgba(120, 75, 255, .16);
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.radio-group label {
    padding: 10px 9px;
    justify-content: center;
    white-space: nowrap;
}

.radio-group label:has(input:checked) {
    background: linear-gradient(100deg, rgba(92, 86, 255, .9), rgba(157, 68, 236, .9));
    border-color: rgba(198, 169, 255, .72);
    box-shadow: 0 0 14px rgba(107, 74, 255, .28);
}

input[type=range] {
    min-height: 48px;
    accent-color: #9c64ff;
}

#movieForm .form-group:nth-child(5) {
    grid-column: span 3;
}

.find-btn {
    min-height: 48px;
    margin: 0;
    border: 0;
    background: linear-gradient(100deg, #5268ff, #b14df3);
    box-shadow: 0 7px 18px rgba(105, 79, 255, .28);
    font-size: .76rem;
}

.find-btn:hover {
    box-shadow: 0 10px 24px rgba(105, 79, 255, .45);
}

.results {
    padding: 22px clamp(20px, 7vw, 108px) 60px;
    background: transparent;
}

.results h2 {
    max-width: 1355px;
    margin-bottom: 18px;
    color: #f4f7ff;
    font-size: 1.08rem;
    letter-spacing: -.02em;
}

.source-badge {
    font-size: .62rem;
    padding: 5px 9px;
}

.movie-grid {
    max-width: 1355px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.movie-card {
    border: 1px solid rgba(80, 164, 241, .42);
    border-radius: 9px;
    background: linear-gradient(180deg, #0b284c, #061731);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: #a36dff;
    box-shadow: 0 10px 26px rgba(55, 23, 136, .46);
}

.card-poster-wrap {
    height: 220px;
    background: #07152b;
}

.type-badge {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: rgba(3, 12, 30, .75);
    color: #eef3ff;
    font-size: .6rem;
}

.movie-info {
    padding: 12px;
}

.movie-info h3 {
    margin-bottom: 7px;
    color: #f5f7ff;
    font-size: .9rem;
}

.badges {
    gap: 5px;
    margin-bottom: 8px;
}

.badges span {
    padding: 3px 7px;
    background: rgba(40, 91, 143, .55);
    color: #b9c9e4;
    font-size: .62rem;
}

.badge-rating {
    background: rgba(255, 210, 63, .94) !important;
    color: #17203a !important;
}

.badge-genre {
    background: rgba(45, 108, 164, .5) !important;
    color: #c5d9f3 !important;
}

.why-blurb {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 11px;
    color: #9eb0cb;
    font-size: .68rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.buttons {
    gap: 6px;
}

.details,
.save {
    min-height: 30px;
    padding: 7px 8px;
    border-radius: 5px;
    font-size: .66rem;
}

.details {
    background: #0e9fc4;
}

.save {
    background: #7545ee;
}

.loading,
.empty-state {
    color: #eaf0ff;
}

.loading-hint,
.empty-state p {
    color: #9aa8c4;
}

footer {
    padding: 30px clamp(20px, 7vw, 108px);
    border-top: 1px solid rgba(89, 153, 224, .15);
    background: #020918;
}

footer h3 {
    color: #f5f7ff;
    font-size: .9rem;
}

footer p,
footer a {
    color: #8294b3;
    font-size: .72rem;
}

footer a:hover {
    color: #b78cff;
}

@media (max-width: 800px) {
    .navbar {
        height: auto;
        gap: 12px;
    }

    .nav-links {
        gap: 12px;
    }

    .hero {
        min-height: 470px;
        padding: 68px 7% 105px;
    }

    .hero::after {
        display: none;
    }

    .preferences {
        margin: -30px 14px 0;
        padding: 18px;
    }

    #movieForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #movieForm .form-group:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 520px) {
    .navbar {
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 510px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-secondary-btn {
        margin: 10px 0 0;
    }

    #movieForm {
        grid-template-columns: 1fr;
    }

    #movieForm .form-group:nth-child(5) {
        grid-column: auto;
    }
}

/* ===========================
   Reference Layout
=========================== */

:root {
    --ink: #102a43;
    --muted: #486581;
    --paper: #eef6fb;
    --surface: #ffffff;
    --line: #b8cfe0;
    --coral: #0ea5c6;
    --coral-dark: #087f9b;
    --aqua: #cceff3;
    --yellow: #c7f36b;
}

body {
    background: var(--paper);
    background-image: none;
}

.navbar {
    height: 58px;
    padding: 10px clamp(20px, 6vw, 105px);
    background: rgba(245, 241, 235, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.logo {
    color: var(--ink);
    font-size: 1rem;
}

.nav-links {
    gap: 28px;
}

.nav-links a {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}

.hero {
    min-height: 362px;
    padding: 58px clamp(24px, 6vw, 110px) 80px;
    background: linear-gradient(90deg, rgba(3, 16, 35, .94) 0%, rgba(3, 16, 35, .72) 38%, rgba(3, 16, 35, .2) 100%), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
    background-position: center;
}

.hero::before {
    display: none;
}

.hero::after {
    content: 'TONIGHT\A STARTS HERE';
    right: 7%;
    bottom: 12%;
    color: rgba(220, 249, 255, .78);
    font: 600 clamp(.85rem, 1.8vw, 1.65rem)/.95 'Space Grotesk', sans-serif;
    letter-spacing: -.06em;
    text-align: right;
    transform: rotate(-90deg);
}

.hero-content {
    max-width: 420px;
}

.hero-eyebrow {
    margin-bottom: 10px;
    color: #bcd7ef;
    font-size: .58rem;
    letter-spacing: .12em;
}

.hero h1 {
    max-width: 360px;
    margin-bottom: 14px;
    font-size: clamp(2.3rem, 5vw, 4.1rem);
    line-height: .88;
}

.hero p:not(.hero-eyebrow) {
    max-width: 320px;
    margin-bottom: 18px;
    color: rgba(232, 249, 255, .86);
    font-size: .72rem;
    line-height: 1.35;
}

.hero-btn,
.hero-secondary-btn {
    min-height: 30px;
    padding: 8px 14px;
    border-radius: 3px;
    font-size: .64rem;
}

.hero-btn {
    background: var(--coral);
    box-shadow: 3px 3px 0 var(--ink);
}

.hero-secondary-btn {
    margin-left: 6px;
    border-color: rgba(173, 218, 255, .5);
}

.preferences {
    max-width: none;
    margin: 0;
    padding: 28px 20px 34px;
    background: var(--aqua);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.form-card {
    max-width: 345px;
    margin: 0 auto;
    padding: 18px 14px 14px;
    background: var(--surface);
    border: 1px solid var(--ink);
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--ink);
}

.section-kicker {
    display: none;
}

.form-card h2 {
    display: block;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.2;
}

.form-intro {
    display: none;
}

#movieForm {
    display: block;
}

.form-group {
    margin-bottom: 10px;
}

.form-group > label {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: .52rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

select,
.radio-group label {
    min-height: 30px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #f5fbff;
    color: var(--ink);
    font-size: .64rem;
}

.radio-group {
    display: flex;
    gap: 5px;
}

.radio-group label {
    flex: 0 0 auto;
    padding: 6px 9px;
}

.radio-group label:has(input:checked) {
    background: var(--yellow);
    border-color: #9cae42;
    box-shadow: none;
}

input[type=range] {
    min-height: 22px;
    accent-color: var(--coral);
}

#movieForm .form-group:nth-child(5) {
    grid-column: auto;
}

.find-btn {
    width: 100%;
    min-height: 31px;
    padding: 8px;
    margin-top: 2px;
    border-radius: 2px;
    background: var(--coral);
    box-shadow: 2px 2px 0 var(--ink);
    font-size: .66rem;
}

.results {
    padding: 30px clamp(20px, 6vw, 105px) 60px;
    background: var(--paper);
}

.results h2 {
    margin-bottom: 22px;
    color: var(--ink);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.movie-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.movie-card {
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 4px 4px 0 var(--ink);
}

.movie-card:hover {
    transform: translate(-2px, -3px);
    border-color: var(--ink);
    box-shadow: 6px 6px 0 var(--coral);
}

.card-poster-wrap {
    height: 280px;
}

.type-badge {
    border-radius: 2px;
    background: var(--yellow);
    color: var(--ink);
}

.movie-info h3 {
    color: var(--ink);
}

.badges span {
    border-radius: 2px;
    background: #e5f1f7;
    color: var(--muted);
}

.badge-rating {
    background: var(--yellow) !important;
    color: var(--ink) !important;
}

.badge-genre {
    background: var(--aqua) !important;
    color: var(--ink) !important;
}

.why-blurb {
    color: var(--muted);
}

.details,
.save {
    border-radius: 2px;
}

.details {
    background: var(--ink);
}

.details:hover {
    background: var(--coral);
}

.save {
    background: var(--coral);
}

footer {
    margin-top: 0;
    background: var(--ink);
}

footer p,
footer a {
    color: #bcb5ad;
}

@media (max-width: 520px) {
    .navbar {
        height: auto;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 420px;
        padding: 48px 8% 70px;
    }

    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-secondary-btn {
        margin: 8px 0 0 4px;
    }

    .preferences {
        padding: 24px 14px 30px;
    }
}

/* ===========================
   Sunset Cinema Theme
=========================== */

:root {
    --ink: #f8f4ed;
    --muted: #b9b1a5;
    --paper: #171716;
    --surface: #242321;
    --line: #4d4942;
    --coral: #e2643d;
    --coral-dark: #b84b2d;
    --aqua: #202b2b;
    --yellow: #e9bd55;
    --shadow: rgba(0, 0, 0, .35);
}

body {
    color: var(--ink);
    background: #171716;
    background-image: radial-gradient(circle at 14% 0%, rgba(226, 100, 61, .16), transparent 28%), linear-gradient(180deg, #171716, #101111 68%, #191816);
}

.navbar {
    background: rgba(20, 20, 19, .96);
    border-bottom-color: #34322e;
}

.logo,
.nav-links a {
    color: #f8f4ed;
}

.nav-links a:hover {
    color: var(--yellow);
}

.hero {
    background: linear-gradient(90deg, rgba(14, 15, 14, .96), rgba(14, 15, 14, .76) 42%, rgba(14, 15, 14, .28)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
}

.hero-eyebrow,
.hero::after {
    color: #f0c66b;
}

.hero h1 {
    color: #fff8eb;
}

.hero p:not(.hero-eyebrow) {
    color: #d0c8bb;
}

.hero-btn,
.find-btn,
.save {
    background: var(--coral);
}

.hero-btn:hover,
.find-btn:hover,
.save:hover {
    background: var(--coral-dark);
}

.hero-secondary-btn {
    color: #f8f4ed;
    border-color: #70695e;
    background: rgba(24, 24, 22, .58);
}

.preferences {
    background: #202b2b;
}

.form-card {
    background: var(--surface);
    border-color: #5b554b;
    box-shadow: 4px 4px 0 #0c0c0b;
}

.form-card h2,
.form-group > label {
    color: #fff8eb;
}

.section-kicker {
    color: var(--yellow);
}

select,
.radio-group label {
    border-color: #575148;
    background: #302e2a;
    color: #f8f4ed;
}

select:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(226, 100, 61, .2);
}

.radio-group label:has(input:checked) {
    background: var(--yellow);
    border-color: #f0ca6e;
    color: #1d1a15;
}

input[type=range] {
    accent-color: var(--coral);
}

.results {
    background: var(--paper);
}

.results h2 {
    color: #fff8eb;
}

.movie-card {
    border-color: #514d45;
    background: linear-gradient(180deg, #2b2a27, #1f1f1d);
    box-shadow: 0 8px 18px var(--shadow);
}

.movie-card:hover {
    border-color: var(--coral);
    box-shadow: 0 12px 25px rgba(226, 100, 61, .2);
}

.type-badge,
.badge-rating {
    background: var(--yellow) !important;
    color: #211c13 !important;
}

.badge-genre,
.badges span {
    background: #3a4643 !important;
    color: #d4ddd4 !important;
}

.movie-info h3 {
    color: #fff8eb;
}

.why-blurb {
    color: #b9b1a5;
}

.details {
    background: #3e4f4c;
    color: #fff8eb;
}

.details:hover {
    background: #58716b;
}

footer {
    background: #0e0f0e;
    border-top-color: #34322e;
}

footer p,
footer a {
    color: #aaa196;
}

footer a:hover {
    color: var(--yellow);
}

/* Active Afterglow palette */
body {
    background-color: #0d1110;
    background-image: radial-gradient(circle at 82% 6%, rgba(200, 240, 90, .1), transparent 25%), linear-gradient(135deg, #111714, #0b0e0d 66%, #14120e);
}

.navbar {
    background: rgba(13, 17, 16, .94);
    border-bottom-color: rgba(200, 240, 90, .2);
}

.hero {
    min-height: 520px;
    padding: 104px clamp(24px, 9vw, 148px) 136px;
    background: linear-gradient(90deg, rgba(7, 12, 10, .97), rgba(7, 12, 10, .76) 45%, rgba(7, 12, 10, .25)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
}

.hero::after {
    content: 'PRESS PLAY\A FIND YOUR FEELING';
    color: rgba(200, 240, 90, .78);
}

.hero h1,
.form-card h2,
.results h2,
.movie-info h3 {
    color: #f4f6ef;
}

.hero-content::before,
.hero-eyebrow,
.section-kicker {
    color: #c8f05a;
}

.hero-eyebrow span,
.hero h1::after {
    background: #c8f05a;
}

.hero-secondary-btn {
    border-color: rgba(200, 240, 90, .5);
    background: rgba(10, 18, 14, .66);
    color: #f4f6ef;
}

.preferences {
    max-width: 1120px;
    margin: -64px auto 0;
    padding: 30px 34px 34px;
    background: rgba(23, 29, 26, .97);
    border: 1px solid rgba(200, 240, 90, .22);
    border-radius: 14px;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .38);
}

.form-card {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-top: 2px solid #c8f05a;
    box-shadow: none;
}

#movieForm {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 16px;
}

select,
.radio-group label {
    border-color: #3e4d42;
    background: #202822;
    color: #edf3e8;
}

select:hover,
select:focus,
.radio-group label:hover {
    border-color: #c8f05a;
}

.radio-group label:has(input:checked) {
    background: #c8f05a;
    border-color: #c8f05a;
    color: #172012;
}

input[type=range] {
    accent-color: #c8f05a;
}

.find-btn,
.save {
    background: #c8f05a;
    color: #172012;
}

.results {
    padding-top: 76px;
    background: transparent;
}

.movie-card {
    border-color: #354138;
    border-radius: 12px;
    background: linear-gradient(180deg, #1b241f, #141a17);
}

.movie-card:hover {
    border-color: #c8f05a;
}

.type-badge,
.badge-rating {
    background: #c8f05a !important;
    color: #172012 !important;
}

.badge-genre,
.badges span {
    background: #2b4235 !important;
    color: #d2e0cf !important;
}

footer {
    background: #080c0a;
}

@media (max-width: 760px) {
    .hero {
        min-height: 480px;
        padding: 76px 8% 116px;
    }

    .preferences {
        margin: -30px 14px 0;
        padding: 24px 20px 28px;
    }

    #movieForm {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: 460px;
        padding: 64px 8% 104px;
    }

    .preferences {
        margin: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #movieForm,
    .movie-grid {
        grid-template-columns: 1fr;
    }
}

/* Final theme precedence */
:root {
    --ink: #14213d;
    --muted: #52627a;
    --paper: #f4efe6;
    --surface: #fffdf8;
    --line: #cbd5e1;
    --coral: #e4572e;
    --coral-dark: #bd3f1c;
    --aqua: #d8eef2;
    --yellow: #f4d35e;
    --shadow: rgba(20, 33, 61, .16);
}

body {
    color: var(--ink);
    background-color: var(--paper);
    background-image: radial-gradient(rgba(20, 33, 61, .08) 1px, transparent 1px);
    background-size: 16px 16px;
}

.navbar {
    background: rgba(255, 253, 248, .9);
    border-bottom-color: rgba(20, 33, 61, .15);
    box-shadow: 0 8px 24px rgba(20, 33, 61, .08);
}

.logo,
.nav-links a,
.form-card h2,
.form-group > label,
.results h2,
.movie-info h3 {
    color: var(--ink);
}

.nav-links a:hover,
.nav-links a[href="#"] {
    color: var(--coral);
}

.hero {
    min-height: 500px;
    background: linear-gradient(90deg, rgba(20, 33, 61, .96), rgba(20, 33, 61, .78) 46%, rgba(20, 33, 61, .28)), url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=1800&q=90");
}

.hero::after,
.hero-content::before,
.hero-eyebrow,
.section-kicker {
    color: var(--yellow);
}

.hero-eyebrow span,
.hero h1::after {
    background: var(--yellow);
}

.hero h1,
.hero p:not(.hero-eyebrow) {
    color: #fffdf8;
}

.hero-secondary-btn {
    border-color: rgba(255, 253, 248, .62);
    background: rgba(20, 33, 61, .42);
    color: #fffdf8;
}

.preferences {
    background: var(--aqua);
    border-color: rgba(20, 33, 61, .16);
    box-shadow: 0 22px 42px rgba(20, 33, 61, .16);
}

.form-card {
    border-top-color: var(--coral);
}

select,
.radio-group label {
    border-color: #aebdce;
    background: #fffdf8;
    color: var(--ink);
}

select:hover,
select:focus,
.radio-group label:hover {
    border-color: var(--coral);
}

.radio-group label:has(input:checked) {
    background: var(--yellow);
    border-color: #d7b63b;
    color: var(--ink);
}

input[type=range] {
    accent-color: var(--coral);
}

.find-btn,
.save {
    background: var(--coral);
    color: #fffdf8;
}

.find-btn:hover,
.save:hover {
    background: var(--coral-dark);
}

.results {
    background: transparent;
}

.movie-card {
    border-color: rgba(20, 33, 61, .2);
    background: var(--surface);
    box-shadow: 0 10px 22px var(--shadow);
}

.movie-card:hover {
    border-color: var(--coral);
    box-shadow: 0 14px 28px rgba(228, 87, 46, .2);
}

.type-badge,
.badge-rating {
    background: var(--yellow) !important;
    color: var(--ink) !important;
}

.badge-genre,
.badges span {
    background: var(--aqua) !important;
    color: var(--ink) !important;
}

.why-blurb {
    color: var(--muted);
}

.details {
    background: var(--ink);
    color: #fffdf8;
}

.details:hover {
    background: var(--coral);
}

footer {
    background: var(--ink);
    border-top-color: rgba(255, 253, 248, .18);
}

footer p,
footer a {
    color: #c7d0dd;
}

footer a:hover {
    color: var(--yellow);
}