/* ============================================================
   Unexpected Encounter — ticketing
   Cinematic dark theme: near-black backgrounds, gold accent,
   Cinzel display type, Inter for UI/body.
   ============================================================ */

:root {
    --black: #080808;
    --deep: #0f0f0f;
    --charcoal: #1a1612;
    --surface: #1e1a14;
    --gold: #c9a227;
    --gold-bright: #e8c766;
    --gold-dim: #8a6f1a;
    --cream: #f0e8d0;
    --white: #ffffff;
    --muted: rgba(240, 232, 208, 0.55);
    --danger: #a84432;

    --font-title: "Cinzel", "Trajan Pro", Georgia, serif;
    --font-body: "Inter", -apple-system, sans-serif;
    --font-mono: "IBM Plex Mono", monospace;

    --max-w: 1100px;
    --nav-h: 72px;
    --section-pad: 100px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--deep);
    color: var(--cream);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Nav ---------- */

#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-transparent {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav-solid {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    height: var(--nav-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-title);
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    white-space: nowrap;
}

.logo-mark {
    height: 20px;
    width: auto;
    display: block;
}

.logo-divider {
    color: var(--gold-dim);
    font-size: 12px;
}

.logo-film {
    color: var(--cream);
    font-size: 12px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-body);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 12px;
    color: var(--cream);
    transition: color 0.2s ease;
}

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

.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold-bright) !important;
    padding: 9px 20px;
    border-radius: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--black) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(240, 232, 208, 0.25);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hamburger:hover {
    border-color: rgba(240, 232, 208, 0.5);
}

.hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--cream);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
    padding: 8px 20px 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 13px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .nav-cta {
    display: inline-block;
    margin-top: 14px;
    text-align: center;
}

.mobile-menu.open {
    display: flex;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-inner {
        height: auto;
        min-height: var(--nav-h);
        padding: 12px 16px;
    }
    .nav-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        white-space: normal;
    }
    .logo-divider {
        display: none;
    }
    .logo-mark {
        height: 16px;
    }
    .logo-film {
        display: block;
        font-size: 10px;
        letter-spacing: 0.06em;
    }
}

/* ---------- Hero ---------- */

.hero-full {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 20%;
    background-color: var(--charcoal);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 8, 8, 0.3) 0%,
        rgba(8, 8, 8, 0.1) 30%,
        rgba(8, 8, 8, 0.55) 65%,
        rgba(8, 8, 8, 0.96) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 40px 20px 12vh;
    text-align: center;
}

.hero-eyebrow {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    color: var(--gold);
    margin: 0 0 16px;
}

.hero-title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(52px, 10vw, 96px);
    line-height: 0.9;
    color: var(--cream);
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.title-line1,
.title-line2 {
    display: block;
}

.title-divider {
    display: block;
    width: 90px;
    height: 2px;
    background: var(--gold);
    margin: 18px auto;
}

.hero-byline {
    font-family: var(--font-body);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--muted);
    margin: 16px 0 20px;
}

.hero-byline strong {
    color: var(--cream);
}

.hero-meta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.meta-sep {
    color: var(--gold);
    opacity: 0.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 28px;
    background: var(--gold);
    opacity: 0.6;
}

.scroll-label {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 6px); }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(36px, 9vw, 52px);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-trailer {
        width: 100%;
    }
}

/* ---------- Buttons ---------- */

.btn-primary,
.btn-trailer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-trailer {
    background: transparent;
    border: 1px solid rgba(240, 232, 208, 0.4);
    color: var(--cream);
}

.btn-trailer:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.full-width {
    width: 100%;
}

.btn-primary:focus-visible,
.btn-trailer:focus-visible,
.stepper button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

/* ---------- Sections (general) ---------- */

.section-synopsis,
.section-tickets {
    background: var(--black);
}

.section-cast,
.section-partners {
    background: var(--charcoal);
}

.section-synopsis,
.section-cast,
.section-tickets,
.section-partners {
    padding: var(--section-pad) 20px;
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
}

.section-label {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 0 0 12px;
}

.section-heading {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 400;
    color: var(--cream);
    margin: 0 0 40px;
}

/* ---------- Synopsis ---------- */

.synopsis-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--cream);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 48px;
}

.credits-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.credit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credit-label {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
}

.credit-value {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--cream);
    font-weight: 500;
}

@media (max-width: 767px) {
    .credits-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Cast ---------- */

.cast-scroll-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.cast-scroll-track::-webkit-scrollbar {
    display: none;
}

.cast-card {
    flex-shrink: 0;
    width: 220px;
    scroll-snap-align: start;
    text-align: left;
}

.cast-photo {
    height: 300px;
    border-radius: 2px;
    background-size: cover;
    background-position: center top;
    position: relative;
    overflow: hidden;
}

.cast-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40px;
    background: linear-gradient(to top, rgba(201, 162, 39, 0.25), transparent);
}

.cast-photo-placeholder {
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cast-photo-placeholder::before {
    content: attr(data-initials);
    font-family: var(--font-title);
    font-size: 48px;
    color: var(--gold);
}

.cast-actor {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.05em;
    margin: 12px 0 4px;
}

.cast-character {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

/* ---------- Gallery (pinned scroll stage) ---------- */

.section-gallery {
    background: var(--black);
    position: relative;
}

.gallery-pin-wrap {
    position: relative;
    height: calc(var(--gallery-count, 6) * 90vh);
}

.gallery-sticky {
    position: sticky;
    top: 0;
    height: 90vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.gallery-bgs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.gallery-bg.active {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.35) 40%, rgba(8, 8, 8, 0.75) 100%);
}

.gallery-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

.gallery-stage .section-label {
    margin-bottom: 32px;
}

.gallery-stage-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.gallery-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-side-left {
    align-items: flex-end;
    text-align: right;
}

.gallery-side-right {
    align-items: flex-start;
    text-align: left;
}

.gallery-side-item {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.gallery-side-item.active {
    opacity: 1;
    color: var(--gold-bright);
    font-weight: 600;
}

.gallery-center {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-title {
    font-family: var(--font-title);
    font-size: clamp(24px, 4vw, 40px);
    color: var(--cream);
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}

.gallery-progress-bar {
    width: 160px;
    height: 2px;
    background: rgba(240, 232, 208, 0.2);
    position: relative;
}

.gallery-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: var(--gold);
    transition: width 0.4s ease;
}

@media (max-width: 767px) {
    .gallery-stage-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .gallery-side-left,
    .gallery-side-right {
        align-items: center;
        text-align: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .gallery-side-item {
        display: none;
    }
    .gallery-side-item.active {
        display: block;
    }
}

/* ---------- Tickets ---------- */

.event-bar {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid rgba(201, 162, 39, 0.15);
    border-radius: 4px;
    padding: 24px 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    text-align: left;
}

.event-detail {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-divider {
    width: 1px;
    height: 48px;
    background: rgba(201, 162, 39, 0.25);
    margin: 0 24px;
}

.event-icon {
    font-size: 20px;
}

.event-text {
    font-size: 14px;
    color: var(--cream);
    line-height: 1.6;
}

.event-text strong {
    color: var(--gold);
}

@media (max-width: 767px) {
    .event-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .event-divider {
        display: none;
    }
}

.error-box {
    background: rgba(168, 68, 50, 0.15);
    border: 1px solid var(--danger);
    color: #f3c9c0;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 24px;
    text-align: left;
}

.ticket-form {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ticket-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--cream);
    margin: 0;
}

.ticket-price {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--gold);
    margin: 4px 0;
}

.ticket-avail {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepper button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.stepper button:hover {
    background: var(--gold);
    color: var(--black);
}

.stepper output {
    min-width: 28px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--cream);
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 15px;
}

.field input::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.field input:focus {
    border-color: var(--gold);
    outline: none;
}

@media (max-width: 767px) {
    .form-fields {
        grid-template-columns: 1fr;
    }
}

.form-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 24px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
}

.total-amount {
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--gold);
}

.form-note {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.8;
}

.form-note a {
    color: var(--gold);
    text-decoration: none;
}

/* ---------- Partners ---------- */

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.partner-badge {
    padding: 10px 20px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.partner-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--black);
    padding: 48px 20px;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    height: 26px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-legal {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--muted);
    opacity: 0.6;
    line-height: 1.8;
    margin: 0;
}

.footer-credits {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted);
    opacity: 0.6;
}

.footer-credits a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credits a:hover {
    color: var(--gold);
}

@media (max-width: 480px) {
    .footer-credits {
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Trailer modal ---------- */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-inner {
    position: relative;
    width: 90vw;
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--cream);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.modal-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .modal-inner {
        width: 95vw;
    }
}

/* ---------- Scroll reveal ---------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Ticket stub (used on confirmation.php / ticket.php) ---------- */

.stub {
    position: relative;
    display: flex;
    background: var(--surface);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: 28px 0;
}

.stub-left {
    flex: 1.3;
    background-image: linear-gradient(rgba(8, 8, 8, 0.75), rgba(8, 8, 8, 0.92)), var(--stub-bg-image, none);
    background-size: cover;
    background-position: center;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.stub-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
}

.stub-film {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--cream);
    margin: 2px 0 12px;
}

.stub-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    padding: 3px 0;
    color: var(--muted);
}

.stub-row strong {
    color: var(--cream);
    text-align: right;
}

.stub-divider {
    position: relative;
    width: 0;
    border-left: 2px dashed rgba(201, 162, 39, 0.35);
    margin: 18px 0;
}

.stub-divider::before,
.stub-divider::after {
    content: "";
    position: absolute;
    left: -13px;
    width: 26px;
    height: 26px;
    background: var(--deep);
    border-radius: 50%;
}

.stub-divider::before {
    top: -13px;
}

.stub-divider::after {
    bottom: -13px;
}

.stub-right {
    flex: 1;
    background: var(--cream);
    color: var(--black);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
}

.stub-price-box {
    border: 1px solid var(--gold-dim);
    border-radius: 4px;
    padding: 8px 18px;
    font-family: var(--font-mono);
    font-size: 15px;
    color: #4a4130;
}

.stub-code {
    font-family: var(--font-mono);
    letter-spacing: 0.12em;
    font-size: 13px;
    color: #4a4130;
    margin: 0;
}

@media (max-width: 640px) {
    .stub {
        flex-direction: column;
    }
    .stub-divider {
        width: auto;
        height: 0;
        border-left: none;
        border-top: 2px dashed rgba(201, 162, 39, 0.35);
        margin: 0 20px;
    }
    .stub-divider::before,
    .stub-divider::after {
        left: auto;
        top: -13px;
    }
    .stub-divider::before {
        left: -13px;
    }
    .stub-divider::after {
        right: -13px;
    }
}

/* ---------- Status badges ---------- */

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-badge.paid {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold-bright);
}

.status-badge.pending {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold-bright);
}

.status-badge.failed,
.status-badge.void {
    background: rgba(168, 68, 50, 0.2);
    color: #f3c9c0;
}

.section-hint {
    color: var(--muted);
    font-size: 14px;
}

.btn.secondary {
    display: inline-flex;
    padding: 12px 24px;
    border-radius: 2px;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
