/* =====================================================================
   Tivoli Cinema - Premium Theme Stylesheet
   Subsidiary of Smith’s Company Corporation (SCC)
   Republic of San Andreas (FiveM Roleplay)
   ===================================================================== */

:root {
    --bg-dark: #0a0b0e;
    --bg-surface: #12141c;
    --bg-surface-elevated: #1a1e2b;
    --bg-card: rgba(22, 26, 38, 0.85);
    
    --primary-red: #e50914;
    --primary-red-hover: #f40612;
    --primary-red-glow: rgba(229, 9, 20, 0.35);

    --gold-accent: #d4af37;
    --gold-light: #f5e296;
    --gold-dark: #996515;
    --gold-glow: rgba(212, 175, 55, 0.3);

    --text-main: #f0f2f5;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.25);
    --border-red: rgba(229, 9, 20, 0.3);

    --seat-available: #10b981;
    --seat-occupied: #ef4444;
    --seat-selected: #f59e0b;
    --seat-blocked: #475569;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-heading: 'Cinzel', 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(229, 9, 20, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 45%);
}

a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px var(--gold-glow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================================
   TOP BAR & PERSISTENT ROLEPLAY HINWEIS
   ===================================================================== */
.top-notice-bar {
    background: linear-gradient(90deg, #111319 0%, #1c1316 50%, #111319 100%);
    border-bottom: 1px solid rgba(229, 9, 20, 0.25);
    padding: 6px 24px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1010;
}

.top-notice-left {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-notice-left .scc-tag {
    color: var(--gold-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.roleplay-badge-link {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(184, 6, 16, 0.3) 100%);
    color: #ffb3b8 !important;
    border: 1px solid rgba(229, 9, 20, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
    transition: all 0.3s ease;
}

.roleplay-badge-link:hover {
    background: var(--primary-red);
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
    transform: translateY(-1px);
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.site-header {
    background: rgba(18, 20, 28, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1b0204 0%, #3a0006 50%, #150002 100%);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px var(--gold-glow);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.brand-name span {
    color: var(--primary-red);
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.nav-item a {
    color: var(--text-main);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    display: inline-block;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--gold-accent);
    background: rgba(212, 175, 55, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #b80610 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px var(--primary-red-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-hover) 0%, #d1000b 100%);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.55);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-dark) 100%);
    color: #12141c !important;
    box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-accent) 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
}

.btn-outline-gold:hover {
    background: var(--gold-accent);
    color: #0b0c10 !important;
    box-shadow: 0 0 14px var(--gold-glow);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 13px 28px;
    font-size: 1.05rem;
}

/* User Account Dropdown */
.user-dropdown {
    position: relative;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    cursor: pointer;
}

.user-menu-btn:hover {
    border-color: var(--gold-accent);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    display: none;
    z-index: 1050;
}

.dropdown-menu.show {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 6px 0;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
}

/* =====================================================================
   LAYOUT & CONTAINER
   ===================================================================== */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.site-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
}

.page-header {
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.page-title span {
    color: var(--gold-accent);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 780px;
}

/* Flash alerts */
.flash-container {
    max-width: 1360px;
    margin: 16px auto 0;
    padding: 0 24px;
    width: 100%;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #6ee7b7;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fcd34d;
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    color: #93c5fd;
}

/* =====================================================================
   HERO BANNER & SLIDER
   ===================================================================== */
.hero-showcase {
    position: relative;
    background: linear-gradient(180deg, #161822 0%, #0d0e14 100%);
    border-bottom: 1px solid var(--border-gold);
    overflow: hidden;
    padding: 60px 0 80px;
}

.hero-backdrop-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(229, 9, 20, 0.15) 0%, rgba(212, 175, 55, 0.08) 35%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-title span {
    color: var(--gold-accent);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 620px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-poster-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
    border: 2px solid var(--border-gold);
    transition: transform 0.4s ease;
}

.hero-poster-card:hover {
    transform: translateY(-6px) scale(1.01);
}

/* =====================================================================
   MOVIE CARDS & GRID
   ===================================================================== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.movie-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-accent);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.movie-poster-wrap {
    position: relative;
    padding-top: 140%; /* 1:1.4 aspect ratio for cinema posters */
    overflow: hidden;
    background: #000;
}

.movie-poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.movie-poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 20, 28, 0.95) 0%, rgba(18, 20, 28, 0.3) 50%, transparent 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.movie-fsk-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
}

.fsk-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.badge-fsk-0 { background: #fff; color: #111; }
.badge-fsk-6 { background: #eab308; color: #111; }
.badge-fsk-12 { background: #16a34a; color: #fff; }
.badge-fsk-16 { background: #2563eb; color: #fff; }
.badge-fsk-18 { background: #dc2626; color: #fff; }
.badge-fsk-default { background: #475569; color: #fff; }

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

.movie-genre {
    font-size: 0.8rem;
    color: var(--gold-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.movie-title-card {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.movie-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.movie-desc-excerpt {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 18px;
    flex: 1;
}

.movie-screenings-list {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.screening-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.screening-chip {
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #fff !important;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.screening-chip:hover {
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red-glow);
    transform: translateY(-1px);
}

/* =====================================================================
   INTERACTIVE SEAT MAP (BUCHUNG & RESERVIERUNG)
   ===================================================================== */
.seatmap-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    margin-bottom: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.cinema-screen-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.cinema-screen-curve {
    width: 80%;
    max-width: 720px;
    height: 14px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(212, 175, 55, 0.4);
}

.cinema-screen-label {
    margin-top: 12px;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.legend-dot.available { background: var(--seat-available); }
.legend-dot.occupied { background: var(--seat-occupied); }
.legend-dot.selected { background: var(--seat-selected); }
.legend-dot.blocked { background: var(--seat-blocked); }

.seat-matrix {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 16px;
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.row-label {
    width: 28px;
    text-align: center;
    font-weight: 700;
    color: var(--gold-accent);
    font-size: 0.88rem;
}

.seat-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    user-select: none;
}

.seat-btn.available {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--seat-available);
    color: #6ee7b7;
}

.seat-btn.available:hover {
    background: var(--seat-available);
    color: #0b0c10;
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.seat-btn.selected {
    background: var(--seat-selected);
    color: #111;
    border: 1px solid #fff;
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.8);
}

.seat-btn.occupied {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    cursor: not-allowed;
    opacity: 0.6;
}

.seat-btn.blocked {
    background: rgba(71, 85, 105, 0.3);
    border: 1px solid var(--seat-blocked);
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.4;
}

/* =====================================================================
   BOOKING SUMMARY & CHECKOUT SIDEBAR
   ===================================================================== */
.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.checkout-sidebar {
    background: var(--bg-surface);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.selected-seats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    max-height: 280px;
    overflow-y: auto;
}

.selected-seat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seat-cat-select {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-gold);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.price-summary-box {
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.price-row.total {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 8px;
    border-top: 1px dashed var(--border-gold);
}

.price-row.total .pds-amount {
    color: var(--gold-accent);
}

/* =====================================================================
   DIGITAL TICKETS (PRINT & DISPLAY)
   ===================================================================== */
.ticket-card {
    background: linear-gradient(135deg, #181b26 0%, #11131a 100%);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 220px;
}

.ticket-main {
    padding: 28px;
    border-right: 2px dashed rgba(212, 175, 55, 0.35);
    position: relative;
}

.ticket-header-scc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-cinema-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
}

.ticket-cinema-brand span {
    color: var(--primary-red);
}

.ticket-scc-sub {
    font-size: 0.75rem;
    color: var(--gold-accent);
    text-transform: uppercase;
}

.ticket-movie-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.ticket-grid-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.ticket-info-block {
    display: flex;
    flex-direction: column;
}

.ticket-info-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticket-info-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.ticket-info-value.seat-badge {
    color: var(--gold-accent);
    font-size: 1.25rem;
}

.ticket-stub {
    background: #0f1118;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ticket-qr-wrap {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ticket-code-label {
    font-family: monospace;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 1px;
}

.ticket-status-pill {
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-reserved { background: rgba(59, 130, 246, 0.2); color: #93c5fd; border: 1px solid #3b82f6; }
.status-checked_in { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid #10b981; }
.status-cancelled { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid #ef4444; }
.status-expired { background: rgba(100, 116, 139, 0.2); color: #cbd5e1; border: 1px solid #64748b; }

/* =====================================================================
   PRINT OPTIMIZATION FOR TICKETS
   ===================================================================== */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .top-notice-bar,
    .site-header,
    .site-footer,
    .btn-print-hide,
    .mobile-nav-toggle {
        display: none !important;
    }

    .site-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .ticket-card {
        background: #fff !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 30px;
    }

    .ticket-main {
        border-right: 2px dashed #000 !important;
    }

    .ticket-cinema-brand,
    .ticket-movie-title,
    .ticket-info-value {
        color: #000 !important;
    }

    .ticket-scc-sub,
    .ticket-info-label {
        color: #555 !important;
    }

    .ticket-stub {
        background: #fff !important;
    }

    .ticket-code-label {
        color: #000 !important;
    }
}

/* =====================================================================
   FORMS & INPUTS
   ===================================================================== */
.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 10px var(--gold-glow);
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* =====================================================================
   TABLES & DATA DISPLAY
   ===================================================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    font-size: 0.92rem;
}

.table-custom th {
    background: var(--bg-surface-elevated);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--gold-accent);
    border-bottom: 1px solid var(--border-gold);
    white-space: nowrap;
}

.table-custom td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.table-custom tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: #08090c;
    border-top: 1px solid var(--border-gold);
    margin-top: auto;
    padding: 50px 0 24px;
}

.footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.footer-brand-title span {
    color: var(--primary-red);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: var(--gold-accent);
    font-size: 1.05rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* =====================================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-poster-card {
        max-width: 480px;
        margin: 0 auto;
    }
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface-elevated);
        border-bottom: 1px solid var(--border-gold);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }
    .main-navigation.show {
        display: flex;
    }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .nav-actions {
        width: 100%;
        flex-direction: column;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .ticket-card {
        grid-template-columns: 1fr;
    }
    .ticket-main {
        border-right: none;
        border-bottom: 2px dashed rgba(212, 175, 55, 0.35);
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
