/* =========================================================
   VELVET REEL — Theatre Booking System
   Design tokens: black/curtain-red/gold, glassmorphism, serif+geometric type
   ========================================================= */

:root {
  --bg: #0a0a0d;
  --bg-alt: #131217;
  --bg-raised: #1a1820;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(212, 175, 55, 0.16);
  --border-strong: rgba(212, 175, 55, 0.35);

  --red: #9c1c33;
  --red-bright: #d81e3f;
  --red-glow: rgba(216, 30, 63, 0.35);

  --gold: #d4af37;
  --gold-soft: #f0d78c;
  --gold-glow: rgba(212, 175, 55, 0.35);

  --green: #2fbf71;
  --blue: #2f8fbf;

  --text: #f3ede2;
  --text-muted: #a79f96;
  --text-faint: #6f6a63;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.45);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at top, rgba(156, 28, 51, 0.12), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: 0.3px; }

a { color: var(--gold-soft); text-decoration: none; }

::selection { background: var(--gold); color: #1a1414; }

/* Focus visibility for keyboard nav */
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, li:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ SCREEN / ROUTING SYSTEM ============ */
.screen {
  display: none;
  min-height: 100vh;
  animation: fadeSlideIn 0.5s ease;
}
.screen.active { display: block; }
.screen.center-screen.active { display: flex; align-items: center; justify-content: center; padding: 24px; }

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

/* ============ LOADING SCREEN ============ */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg);
  gap: 18px;
}
.loading-screen.fade-out { animation: loadingFadeOut 0.6s ease forwards; }
@keyframes loadingFadeOut { to { opacity: 0; visibility: hidden; } }

.reel { position: relative; width: 90px; height: 90px; }
.reel-ring {
  position: absolute; inset: 0;
  border: 6px solid var(--border-soft);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
.reel-hub {
  position: absolute; inset: 30px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--red-glow);
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800; letter-spacing: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0;
}
.loading-sub { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 1px; margin: 0; }

/* ============ GLASSMORPHISM ============ */
.glass {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  letter-spacing: 0.3px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:active { transform: scale(0.96); }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #241a08;
  box-shadow: 0 6px 20px var(--gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--gold-glow); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--gold-soft);
}
.btn-outline:hover { background: var(--surface-strong); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--border-soft);
}
.btn-ghost:hover { color: var(--text); background: var(--surface-strong); }

.btn-owner {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 6px 20px var(--red-glow);
}
.btn-owner:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--red-glow); }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-danger { background: var(--red-bright); color: #fff; }
.btn-danger:hover { background: var(--red); }

/* ============ FORM ELEMENTS ============ */
.input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-raised);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); outline: none; }
.input::placeholder { color: var(--text-faint); }
textarea.input { resize: vertical; }

label { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; display: block; letter-spacing: 0.3px; }

/* ============ CENTER SCREEN / LANDING ============ */
.center-screen { position: relative; }
.landing-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(216,30,63,0.18), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(212,175,55,0.10), transparent 50%);
  pointer-events: none;
}
.landing-card {
  position: relative;
  width: 100%; max-width: 420px;
  padding: 40px 36px;
  text-align: center;
}
.landing-mark { font-size: 2.6rem; margin-bottom: 10px; }
.gold-mark { filter: drop-shadow(0 0 10px var(--gold-glow)); }
.brand-title {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.brand-tagline { color: var(--text-muted); margin: 0 0 28px; font-size: 0.95rem; }
.landing-actions { display: flex; flex-direction: column; gap: 12px; }
.landing-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 26px 0 18px; color: var(--text-faint); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;
}
.landing-divider::before, .landing-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }

.form-title { font-size: 1.6rem; margin-bottom: 6px; }
.form-hint { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 20px; }
.form-switch { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }

.back-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 0.85rem; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--transition);
  padding: 6px 0;
}
.back-btn:hover { color: var(--gold-soft); }

/* ============ NAVBAR (customer) ============ */
.navbar {
  position: sticky; top: 0; z-index: 500;
  background: rgba(10,10,13,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.navbar.hidden { display: none; }
.navbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  color: var(--text);
}
.brand-mark { color: var(--gold); }

.navbar-links { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; align-items: center; }
.navbar-links li {
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.navbar-links li:hover { color: var(--text); background: var(--surface); }
.navbar-links li.active-link { color: #241a08; background: var(--gold); }
.nav-logout { color: var(--red-bright) !important; }
.nav-logout:hover { background: rgba(216,30,63,0.15) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--transition); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: 60px 40px;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.2), rgba(10,10,13,0.95) 92%),
    radial-gradient(circle at 30% 20%, rgba(156,28,51,0.35), transparent 55%),
    linear-gradient(135deg, #1c141a, #0a0a0d 60%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(212,175,55,0.03) 0 2px, transparent 2px 60px);
}
.hero-content { position: relative; max-width: 640px; }
.hero-eyebrow {
  color: var(--gold); text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.78rem; font-weight: 600; margin: 0 0 8px;
}
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; margin-bottom: 14px; line-height: 1.15; }
.hero-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; max-width: 520px; }

/* ============ SECTIONS / GRIDS ============ */
.section-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 28px 20px; }
.section-title { font-size: 1.5rem; margin: 36px 0 18px; position: relative; padding-left: 16px; }
.section-title::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  background: linear-gradient(180deg, var(--gold), var(--red-bright)); border-radius: 4px;
}
.section-subtitle { font-size: 1.15rem; margin: 30px 0 14px; color: var(--text-muted); }

.search-bar-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-icon { position: absolute; left: 14px; top: 13px; opacity: 0.6; }
.search-box .input { padding-left: 40px; margin-bottom: 0; }
.select-filter { max-width: 200px; margin-bottom: 0; }

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

/* ============ MOVIE CARD (ticket-stub signature) ============ */
.movie-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.movie-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5), 0 0 0 1px var(--border-strong);
  border-color: var(--border-strong);
}
.movie-card-poster { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; background: var(--bg-raised); }
.movie-card-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(10,10,13,0.75); backdrop-filter: blur(6px);
  color: var(--gold-soft); font-size: 0.75rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border-soft);
}
.movie-card-body { padding: 14px 16px 16px; }
.movie-card-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; line-height: 1.25; }
.movie-card-meta { color: var(--text-muted); font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 12px; }
.movie-card-meta span::before { content: "•"; margin-right: 6px; color: var(--gold); }
.movie-card-meta span:first-child::before { content: none; }

/* Ticket perforation edge between poster and body */
.movie-card-body { position: relative; }
.movie-card-body::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 0;
  border-top: 2px dashed rgba(212,175,55,0.25);
}

.movie-card-actions .btn { width: 100%; }

/* ============ MOVIE DETAILS ============ */
.movie-details-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: 32px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 28px; margin-top: 10px;
}
.movie-details-poster { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-soft); }
.movie-details-info h2 { font-size: 2rem; margin-bottom: 10px; }
.movie-details-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tag { background: var(--surface-strong); border: 1px solid var(--border-soft); padding: 5px 14px; border-radius: 999px; font-size: 0.8rem; color: var(--gold-soft); }
.movie-details-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }

.showtimes-list { display: flex; flex-wrap: wrap; gap: 14px; }
.showtime-chip {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 14px 20px; cursor: pointer; transition: var(--transition);
  min-width: 160px;
}
.showtime-chip:hover { border-color: var(--gold); background: var(--surface-strong); transform: translateY(-3px); }
.showtime-chip .st-time { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--gold-soft); }
.showtime-chip .st-meta { color: var(--text-muted); font-size: 0.78rem; margin-top: 4px; }

/* ============ SEAT BOOKING ============ */
.seat-show-info { text-align: center; margin: 10px 0 24px; color: var(--text-muted); }
.seat-show-info h2 { color: var(--text); margin-bottom: 6px; }

.screen-curve-wrap { text-align: center; margin-bottom: 30px; }
.screen-curve {
  width: min(600px, 90%); height: 14px; margin: 0 auto 8px;
  background: linear-gradient(180deg, var(--gold-soft), transparent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 8px 30px var(--gold-glow);
  opacity: 0.85;
}
.screen-label { color: var(--text-faint); letter-spacing: 3px; font-size: 0.72rem; text-transform: uppercase; }

.seat-map { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 26px; }
.seat-row { display: flex; align-items: center; gap: 8px; }
.seat-row-label { width: 20px; color: var(--text-faint); font-size: 0.8rem; text-align: center; }
.seat {
  width: 30px; height: 30px; border-radius: 8px 8px 4px 4px;
  background: var(--green); opacity: 0.85;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: rgba(0,0,0,0.6); font-weight: 700;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
}
.seat:hover:not(.seat-booked) { transform: translateY(-3px) scale(1.08); box-shadow: 0 4px 12px rgba(47,191,113,0.4); }
.seat-selected { background: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(47,143,191,0.5); }
.seat-selected:hover { box-shadow: 0 4px 14px rgba(47,143,191,0.6); }
.seat-booked { background: var(--red-bright); opacity: 0.55; cursor: not-allowed; color: #fff; }
.seat-aisle-gap { width: 18px; }

.seat-legend { display: flex; justify-content: center; gap: 26px; margin-bottom: 30px; color: var(--text-muted); font-size: 0.85rem; flex-wrap: wrap; }
.seat-legend span { display: flex; align-items: center; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dot-available { background: var(--green); }
.dot-selected { background: var(--blue); }
.dot-booked { background: var(--red-bright); }

.booking-summary {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  padding: 22px 28px; position: sticky; bottom: 16px;
}
.summary-label { color: var(--text-muted); font-size: 0.78rem; margin: 0 0 4px; }
.summary-value { font-size: 1.1rem; font-weight: 600; margin: 0; }
.gold-text { color: var(--gold-soft); }

/* ============ COUNTDOWN OVERLAY ============ */
.countdown-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(5,5,7,0.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.countdown-overlay.hidden { display: none; }
.countdown-card { padding: 44px 56px; text-align: center; }
.countdown-number {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--gold);
  animation: pulseScale 1s ease infinite;
}
@keyframes pulseScale { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* ============ TICKET / CONFIRMATION ============ */
.ticket-wrap { width: 100%; max-width: 480px; padding: 20px; }
.ticket {
  padding: 0; overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--bg-raised), var(--bg-alt));
}
.ticket-header {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  padding: 22px 26px; position: relative;
}
.ticket-header h3 { color: #fff; font-size: 1.3rem; }
.ticket-header p { color: rgba(255,255,255,0.85); font-size: 0.8rem; margin: 4px 0 0; }
.ticket-perforation {
  position: relative; height: 0; border-top: 2px dashed rgba(212,175,55,0.3);
  margin: 0 26px;
}
.ticket-perforation::before, .ticket-perforation::after {
  content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg);
}
.ticket-perforation::before { left: -37px; }
.ticket-perforation::after { right: -37px; }
.ticket-body { padding: 24px 26px; }
.ticket-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border-soft); font-size: 0.9rem; }
.ticket-row:last-child { border-bottom: none; }
.ticket-row .t-label { color: var(--text-muted); }
.ticket-row .t-value { font-weight: 600; text-align: right; }
.ticket-qr {
  width: 100px; height: 100px; margin: 18px auto 6px;
  background:
    repeating-linear-gradient(0deg, #000 0 6px, #fff 6px 12px),
    repeating-linear-gradient(90deg, #000 0 6px, transparent 6px 12px);
  background-blend-mode: multiply;
  border-radius: 8px; border: 4px solid #fff;
}
.ticket-qr-label { text-align: center; color: var(--text-faint); font-size: 0.7rem; letter-spacing: 1px; margin-bottom: 6px; }
.ticket-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.ticket-actions .btn { flex: 1; }

/* ============ BOOKING HISTORY ============ */
.booking-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.booking-hist-card { display: flex; gap: 14px; padding: 16px; }
.booking-hist-poster { width: 80px; height: 112px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.booking-hist-info { flex: 1; min-width: 0; }
.booking-hist-info h4 { font-size: 1.02rem; margin-bottom: 6px; }
.booking-hist-info p { margin: 2px 0; font-size: 0.8rem; color: var(--text-muted); }
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; margin-top: 6px; }
.status-confirmed { background: rgba(47,191,113,0.18); color: var(--green); }
.status-cancelled { background: rgba(216,30,63,0.18); color: var(--red-bright); }

/* ============ PROFILE ============ */
.profile-card { padding: 30px; max-width: 480px; }
.profile-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.profile-row:last-child { border-bottom: none; }

/* ============ TABLES ============ */
.table-wrap { overflow-x: auto; padding: 6px; margin-top: 20px; }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; font-size: 0.86rem; }
.data-table th { color: var(--gold-soft); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.8px; border-bottom: 1px solid var(--border-strong); }
.data-table td { border-bottom: 1px solid var(--border-soft); color: var(--text-muted); }
.data-table tr:hover td { background: var(--surface); color: var(--text); }
.table-actions { display: flex; gap: 8px; }

/* ============ OWNER DASHBOARD ============ */
.owner-screen { display: none; }
.owner-screen.active { display: flex; min-height: 100vh; }
.owner-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg-alt); border-right: 1px solid var(--border-soft);
  padding: 26px 20px; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.owner-brand { margin-bottom: 4px; }
.owner-role-tag { color: var(--text-faint); font-size: 0.75rem; margin: 0 0 26px; letter-spacing: 1px; text-transform: uppercase; }
.owner-menu { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.owner-menu-item {
  padding: 12px 14px; border-radius: var(--radius-sm); cursor: pointer;
  color: var(--text-muted); font-size: 0.9rem; transition: var(--transition);
}
.owner-menu-item:hover { background: var(--surface); color: var(--text); }
.owner-menu-item.active { background: linear-gradient(90deg, rgba(212,175,55,0.16), transparent); color: var(--gold-soft); border-left: 3px solid var(--gold); padding-left: 11px; }
.owner-main { flex: 1; padding: 30px 34px; min-width: 0; }
.owner-hamburger { display: none; position: fixed; top: 16px; left: 16px; z-index: 600; background: var(--bg-raised); border-radius: 10px; }

.owner-panel { display: none; }
.owner-panel.active { display: block; animation: fadeSlideIn 0.4s ease; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 16px; }
.stat-card { padding: 22px; text-align: center; }
.stat-label { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 0; }

.revenue-bars { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding: 20px; margin-top: 14px; }
.revenue-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.revenue-bar {
  width: 100%; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--gold-soft), var(--red-bright));
  animation: growBar 0.8s ease;
}
@keyframes growBar { from { height: 0 !important; } }
.revenue-bar-label { font-size: 0.72rem; color: var(--text-faint); }

.owner-form { padding: 24px; max-width: 560px; }
.form-row-btns { display: flex; gap: 12px; margin-top: 8px; }

.preview-map { transform: scale(0.85); transform-origin: top center; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border-soft); margin-top: 60px; padding: 40px 28px; }
.footer-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin: 8px 0 18px; }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); background: var(--surface); transform: translateY(-3px); }
.footer-copy { color: var(--text-faint); font-size: 0.75rem; }

/* ============ TOASTS ============ */
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 5000;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--bg-raised); border: 1px solid var(--border-strong);
  border-left: 4px solid var(--gold);
  color: var(--text); padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft); font-size: 0.88rem; min-width: 240px;
  animation: toastIn 0.35s ease;
}
.toast.toast-error { border-left-color: var(--red-bright); }
.toast.toast-success { border-left-color: var(--green); }
.toast.toast-out { animation: toastOut 0.35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ============ EMPTY STATES ============ */
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state-icon { font-size: 2.4rem; margin-bottom: 12px; }

.hidden { display: none !important; }

/* ============ PRINT (ticket only) ============ */
@media print {
  body * { visibility: hidden; }
  #screen-booking-confirmation, #screen-booking-confirmation * { visibility: visible; }
  #screen-booking-confirmation { position: absolute; top: 0; left: 0; width: 100%; }
  .ticket-actions { display: none !important; }
  #customer-navbar, #toast-container { display: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .owner-sidebar {
    position: fixed; left: 0; top: 0; z-index: 550;
    transform: translateX(-100%); transition: transform var(--transition);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
  }
  .owner-sidebar.open { transform: translateX(0); }
  .owner-hamburger { display: block; }
  .owner-main { padding-top: 70px; }
  .movie-details-layout { grid-template-columns: 1fr; }
  .movie-details-poster { max-width: 240px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .navbar-links {
    position: fixed; top: 62px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-alt); border-bottom: 1px solid var(--border-soft);
    padding: 14px 20px; transform: translateY(-120%); opacity: 0;
    transition: var(--transition); pointer-events: none;
  }
  .navbar-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .navbar-links li { text-align: center; padding: 12px; }
  .hero { padding: 40px 22px; min-height: 46vh; }
  .section-wrap { padding: 26px 16px 10px; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
  .movie-card-title { font-size: 0.92rem; }
  .seat { width: 24px; height: 24px; font-size: 0.55rem; }
  .booking-summary { flex-direction: column; align-items: stretch; text-align: center; }
  .landing-card { padding: 30px 22px; }
  .search-bar-row { flex-direction: column; }
  .select-filter { max-width: 100%; }
}
