/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* ===== BACKGROUND ===== */
body {
  background: linear-gradient(135deg, #020617, #0b1220, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ===== LOGO ===== */
.logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.6px;
  background: linear-gradient(90deg, #dbeafe 0%, #93c5fd 35%, #38bdf8 65%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 10px rgba(147, 197, 253, 0.55));
}

/* ===== NAV LINKS ===== */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  position: relative;
}

nav a:hover {
  color: #ffffff;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #60a5fa;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav .admin-nav-item a {
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav .admin-nav-item a:hover {
  color: #e0f2fe;
}

nav .admin-nav-item a::after {
  background: #38bdf8;
}

.back-nav-btn {
  position: fixed;
  top: 92px;
  inset-inline-start: 18px;
  z-index: 1200;
  border: 1px solid rgba(147, 197, 253, 0.55);
  background: rgba(15, 23, 42, 0.88);
  color: #dbeafe;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(2, 6, 23, 0.35);
  transition: 0.25s;
}

.back-nav-btn:hover {
  background: rgba(37, 99, 235, 0.9);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  height: 90vh;
  background: linear-gradient(to top, #020617, transparent),
              url('../images/cinema.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 80px;
}

.hero h2 {
  font-size: 54px;
  font-weight: 800;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.hero p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 500px;
  line-height: 1.6;
}

/* ===== BUTTON ===== */
button {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: white;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(56,189,248,0.25);
}

/* ===== MOVIES SECTION ===== */
.movies {
  padding: 50px;
}

/* ===== SECTION TITLE ===== */
.movies h2 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #e2e8f0;
  position: relative;
  display: inline-block;
}

.movies h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 5px;
}

/* ===== SCROLL ROW ===== */
.movies .row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.movies .row::-webkit-scrollbar {
  display: none;
}

/* ===== MOVIE CARD (home & listings) ===== */
.movie-card {
  --card-w: clamp(156px, 36vw, 186px);
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  min-width: 0;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  scroll-snap-align: start;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.45);
}

.movie-card-poster {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

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

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.22), 0 12px 32px rgba(2, 6, 23, 0.5);
}

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

.movie-card h3 {
  margin: 14px 0 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: #dbeafe;
  text-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  background: linear-gradient(90deg, #e2e8f0, #93c5fd 55%, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card a {
  display: block;
  margin-top: 2px;
}

.movie-card button {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.movie-actions {
  display: grid;
  gap: 8px;
}

.movie-actions .about-film-btn {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
}

.movie-actions .about-film-btn:hover {
  background: #1e293b;
  border-color: #475569;
}

.film-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.film-info-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
}

.film-info-dialog {
  position: relative;
  width: min(540px, calc(100% - 24px));
  margin: min(8vh, 56px) auto 0;
  background: linear-gradient(165deg, rgba(15,23,42,0.97), rgba(30,41,59,0.95));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 18px 16px 16px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.6);
}

.film-info-dialog h3 {
  margin-bottom: 14px;
  color: #dbeafe;
  font-size: 20px;
}

.film-info-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.film-info-row {
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
  padding: 10px 0;
}

.film-info-row span {
  display: block;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 4px;
}

.film-info-row p {
  color: #e2e8f0;
  line-height: 1.7;
}

/* ===== TRAILERS ===== */
.trailers {
  display: flex;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.trailers iframe {
  width: 360px;
  height: 200px;
  border-radius: 10px;
  border: none;
}

/* ===== BOOKING ===== */
.booking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
}

.booking select {
  width: 260px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #0f172a;
  color: #fff;
}

/* ===== DETAILS ===== */
.details {
  text-align: center;
  padding: 40px;
}

.details img {
  width: 260px;
  border-radius: 12px;
}

.details iframe {
  width: 520px;
  height: 280px;
  margin-top: 20px;
  border-radius: 10px;
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
  margin-top: 100px;
  color: #cbd5e1;
}
/* ===== SAFE FIX (DO NOT BREAK LAYOUT) ===== */

/* تحسين المسافات العامة */
section {
  scroll-margin-top: 100px;
}

/* تحسين سكروول الأفلام */
.movies .row {
  scroll-behavior: smooth;
}

/* تحسين الزر */
button {
  letter-spacing: 0.5px;
}
/* ===== HALL ===== */
.hall {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

/* ===== ROW ===== */
.seat-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ===== SIDES ===== */
.side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===== CENTER BLOCK ===== */
.center {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 500px;
  justify-content: center;
}

/* ===== AISLE ===== */
.aisle {
  width: 50px;
}

/* ===== SEAT ===== */
.seat {
  width: 38px;
  height: 30px;
  background: #1f2937;
  color: #93c5fd;
  font-size: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.seat:hover {
  background: #38bdf8;
  color: white;
  transform: scale(1.05);
}

/* ===== SCREEN ===== */
.screen {
  width: 340px;
  height: 40px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 6px;
  font-weight: bold;
  margin: 20px auto;
}

/* ===== BOOKING MAP LIKE THE REFERENCE ===== */
.booking h2 {
  color: #e2e8f0;
  font-size: 30px;
}

.booking-layout {
  width: min(1240px, 95vw);
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  align-items: start;
  direction: ltr;
  max-width: 100%;
}

.seat-map-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #e9ecef, #d8dde3);
  border: 1px solid #a8b1bd;
  border-radius: 10px;
  padding: 20px 18px 26px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.seat-pan-hint {
  display: none;
  margin: 0 0 10px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.screen-curve {
  width: min(470px, 90%);
  margin: 0 auto 16px;
  text-align: center;
  color: #101828;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 1px;
  border-top: 10px solid #0f172a;
  border-radius: 55% 55% 0 0;
  line-height: 1.2;
  padding-top: 14px;
}

.screen-front {
  margin: 18px auto 0;
}

.seat-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: max-content;
  min-width: max-content;
}

.row-grid.row-grid--stacked {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.seat-map-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  padding: 0 4px 8px;
  user-select: none;
  scrollbar-width: thin;
  cursor: grab;
}

.seat-map-scroll .seat-map {
  width: max-content;
  min-width: max-content;
}

.seat-map-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.seat-map-scroll.is-dragging .seat {
  pointer-events: none;
}

.map-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.map-top {
  justify-content: center;
  gap: 42px;
  padding-inline: 24px;
}

.map-bottom {
  justify-content: space-between;
  align-items: stretch;
}

.zone {
  border: 1px solid #aeb8c4;
  padding: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.zone-top-left,
.zone-top-center,
.zone-top-right {
  margin-bottom: 6px;
}

.zone-bottom-left {
  margin-inline-start: 8px;
}

.zone-bottom-right {
  margin-inline-end: 8px;
}

.row-grid {
  display: grid;
  gap: var(--seat-gap, 3px);
}

.row-stack {
  display: grid;
  gap: var(--seat-gap, 3px);
}

.seat-line {
  display: grid;
  gap: var(--seat-gap, 3px);
}

.cols-8 { grid-template-columns: repeat(8, 1fr); }
.cols-7 { grid-template-columns: repeat(7, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
.cols-9 { grid-template-columns: repeat(9, 1fr); }

.seat-gap {
  width: var(--seat-w, 38px);
  height: var(--seat-h, 24px);
  visibility: hidden;
}

.seat-map .seat {
  width: var(--seat-w, 38px);
  height: var(--seat-h, 24px);
  border: 1px solid #7f8b99;
  border-radius: 1px;
  font-size: var(--seat-fs, 9px);
  font-weight: 600;
  color: #1f2937;
  background: #ffffff;
}

.seat-map .seat.available {
  background: #ffffff;
}

.seat-map .seat.reserved {
  background: #ef4444;
  color: #fff;
}

.seat-map .seat.selected {
  background: #3b82f6;
  color: #fff;
}

.seat-map .seat.blocked {
  background: repeating-linear-gradient(
    135deg,
    #9ca3af,
    #9ca3af 4px,
    #d1d5db 4px,
    #d1d5db 8px
  );
  color: #374151;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #6b7280;
  opacity: 0.92;
}

.booking-panel {
  background: #eceff3;
  border: 1px solid #b8c1cc;
  border-radius: 8px;
  padding: 14px;
  color: #1f2937;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2);
}

.booking-panel h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #c7ced8;
  padding-bottom: 6px;
}

.legend {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.legend div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

.dot.blocked {
  background: repeating-linear-gradient(
    135deg,
    #9ca3af,
    #9ca3af 3px,
    #d1d5db 3px,
    #d1d5db 6px
  );
  border-color: #6b7280;
}

.dot.available { background: #fff; }
.dot.reserved { background: #ef4444; }
.dot.selected { background: #3b82f6; }

.seat-booking-guide {
  margin: 12px 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.28), rgba(15, 23, 42, 0.55));
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.55;
}

.seat-booking-guide h4 {
  margin: 0 0 10px;
  color: #93c5fd;
  font-size: 14px;
  font-weight: 800;
}

.seat-booking-guide__list {
  margin: 0;
  padding: 0 18px 0 0;
  display: grid;
  gap: 8px;
}

.seat-booking-guide__list li {
  padding-right: 2px;
}

.seat-booking-guide__list strong {
  color: #bfdbfe;
  font-weight: 800;
}

.seat-booking-guide__note {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  font-size: 12px;
}

.seat-rule-msg {
  min-height: 20px;
  margin: 8px 0 4px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
}

.price-box {
  background: #dfe6ef;
  border: 1px solid #b7c3d1;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
}

.price-box p {
  color: #334155;
  font-size: 13px;
}

.price-box strong {
  color: #b91c1c;
  font-size: 24px;
}

.instapay-hint {
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.instapay-hint strong {
  color: #1d4ed8;
  font-weight: 800;
}

.cashier-mode-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.booking-panel button {
  width: 100%;
}

/* لوحة جانبية: المنطقة العلوية تتمرّر والمنطقة السفليّة تحتفظ بالأزرار (جميع المستخدمين) */
.booking-panel-summary {
  min-height: 0;
}

.booking-panel-actions {
  flex: 0 0 auto;
}

/* ===== Cashier kiosk: خريطة أوضح + أزرار دائمة بدون لفّ الصفحة كله ===== */
@media (min-width: 901px) {
  body.cashier-mode.booking-page .booking-layout {
    width: min(1420px, 98vw);
    grid-template-columns: 1fr 300px;
    align-items: stretch;
    gap: 14px;
    min-height: calc(100dvh - 130px);
  }

  body.cashier-mode.booking-page .seat-map-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 auto;
    padding: 12px 12px 16px;
    --seat-w: 32px;
    --seat-h: 21px;
    --seat-fs: 8px;
    --seat-gap: 2px;
  }

  body.cashier-mode.booking-page .seat-map {
    gap: 10px;
  }

  body.cashier-mode.booking-page .map-row {
    gap: 12px;
  }

  body.cashier-mode.booking-page .map-top {
    gap: 22px;
    padding-inline: 12px;
  }

  body.cashier-mode.booking-page .screen-curve.screen-front {
    flex: 0 0 auto;
    font-size: 22px;
    margin-top: 10px;
  }

  body.cashier-mode.booking-page .seat-map-scroll {
    flex: 1 1 auto;
    min-height: 260px;
    max-height: calc(100dvh - 190px);
    overflow-x: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  body.cashier-mode.booking-page .seat-pan-hint {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
  }

  body.cashier-mode.booking-page .booking-panel {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 120px);
    position: sticky;
    top: 72px;
    align-self: start;
    padding: 12px;
  }

  body.cashier-mode.booking-page .booking-panel-summary {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-inline-end: 4px;
    scrollbar-width: thin;
  }

  body.cashier-mode.booking-page .booking-panel-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid #b8c1cc;
    background: linear-gradient(180deg, rgba(236, 239, 243, 0) 0%, #eceff3 14%);
    box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.08);
  }

  body.cashier-mode.booking-page .legend {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 8px 0 10px;
  }

  body.cashier-mode.booking-page .legend div {
    font-size: 12px;
  }

  body.cashier-mode.booking-page .panel-row {
    font-size: 13px;
    margin-bottom: 5px;
    padding-bottom: 4px;
  }

  body.cashier-mode.booking-page #paymentHint.instapay-hint {
    font-size: 11px;
    line-height: 1.35;
    padding: 8px 10px;
    margin-bottom: 0;
  }

  body.cashier-mode.booking-page .price-box {
    padding: 8px;
    margin-bottom: 8px;
  }

  body.cashier-mode.booking-page .booking-panel-actions #finalConfirmBtn {
    padding: 12px;
    font-size: 16px;
    min-height: 48px;
  }
}

@media (max-width: 1100px) {
  body.cashier-mode.booking-page #bookingWorkflow {
    padding-bottom: max(132px, env(safe-area-inset-bottom));
  }

  body.cashier-mode.booking-page .seat-map-card {
    --seat-w: 30px;
    --seat-h: 20px;
    --seat-fs: 8px;
    --seat-gap: 2px;
  }

  body.cashier-mode.booking-page .booking-panel-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #eceff3;
    border-top: 2px solid #b8c1cc;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 30px rgba(2, 6, 23, 0.28);
    max-width: 100%;
  }

  body.cashier-mode.booking-page .booking-panel-actions #finalConfirmBtn {
    padding: 12px;
    font-size: 16px;
  }

  body.cashier-mode.booking-page .booking-panel-summary {
    padding-bottom: 8px;
  }
}

#bookingState .booking-instapay-fallback-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: #1d4ed8;
  text-decoration: underline;
}

#bookingState .booking-instapay-fallback-link:hover {
  color: #1e40af;
}

#bookingState .booking-error-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #b45309;
  line-height: 1.45;
}

#bookingState code {
  font-size: 12px;
  background: rgba(37, 99, 235, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.prebooking-card {
  width: min(600px, 95vw);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.5);
}

.prebooking-card h3 {
  margin-bottom: 24px;
  color: #e2e8f0;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #93c5fd, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prebooking-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prebooking-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}

.prebooking-grid label span:first-child {
  color: #93c5fd;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.prebooking-grid select,
.prebooking-grid input {
  height: 48px;
  border: 2px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 0 14px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.prebooking-grid select:hover,
.prebooking-grid input:hover {
  border-color: rgba(96, 165, 250, 0.5);
}

.prebooking-grid select:focus,
.prebooking-grid input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
  background: rgba(15, 23, 42, 0.95);
}

.prebooking-grid select option {
  background: #1e293b;
  color: #fff;
  padding: 10px;
}

#customerPhone {
  direction: ltr;
  text-align: left;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.prebooking-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.prebooking-actions button {
  width: 100%;
  max-width: 400px;
  height: 50px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.prebooking-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.prebooking-actions button:active {
  transform: translateY(0);
}

#prebookingMsg {
  color: #f1f5f9;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
  font-weight: 500;
}

.showtime-midnight-hint {
  margin-top: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.16), rgba(245, 158, 11, 0.07));
  color: #fde68a;
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.08);
}

.showtime-midnight-hint__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #fbbf24;
  font-size: 15px;
}

.showtime-midnight-hint__icon {
  font-size: 20px;
  line-height: 1;
}

.showtime-midnight-hint__lead {
  margin: 0 0 12px;
  color: #fef3c7;
}

.showtime-midnight-hint__dates {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.showtime-midnight-hint__date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 13px;
}

.showtime-midnight-hint__date-row strong {
  color: #fff;
  font-size: 14px;
}

.showtime-midnight-hint__date-row--cinema {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(30, 58, 138, 0.35);
}

.showtime-midnight-hint__date-row--cinema strong {
  color: #bfdbfe;
}

.showtime-midnight-hint__date-row--wall {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.4);
  opacity: 0.92;
}

.showtime-midnight-hint__date-row--wall span,
.showtime-midnight-hint__date-row--wall strong {
  color: #94a3b8;
  font-size: 12px;
}

.showtime-midnight-hint__foot {
  margin: 0;
  font-size: 13px;
  color: #fcd34d;
}

/* Google Sign-In Button */
.google-signin-btn {
  width: 100%;
  max-width: 400px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #1f2937;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.google-signin-btn:hover {
  background: #f3f4f6;
  border-color: #60a5fa;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.google-signin-btn svg {
  width: 20px;
  height: 20px;
}

.user-info-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
  margin-bottom: 16px;
}

.user-info-display img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #60a5fa;
}

.user-info-display .user-details {
  flex: 1;
}

.user-info-display .user-name {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 14px;
}

.user-info-display .user-email {
  color: #94a3b8;
  font-size: 12px;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #f87171;
}

@media (max-width: 1100px) {
  .booking-layout {
    grid-template-columns: 1fr;
    width: min(100%, 95vw);
    min-width: 0;
  }

  .booking-panel {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .seat-map-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .map-row {
    min-width: max-content;
  }

  .zone {
    min-width: max-content;
  }
}

@media (max-width: 900px) {
  .booking {
    overflow-x: hidden;
  }

  .seat-map-card {
    --seat-w: 26px;
    --seat-h: 20px;
    --seat-fs: 8px;
    --seat-gap: 2px;
    padding-inline: 10px;
  }
  .map-row {
    gap: 8px;
  }
  .map-top {
    gap: 14px;
    padding-inline: 8px;
  }
  .zone {
    padding: 3px;
  }
  .zone-bottom-left,
  .zone-bottom-right {
    margin-inline: 2px;
  }
  .seat-map-scroll {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
  }
  .seat-map-scroll .seat-map {
    width: max-content;
    min-width: max-content;
    margin-inline: 0;
  }

  .seat-pan-hint {
    display: block;
  }
}

/* ===== HOME PAGE POLISH ===== */
.hero-home {
  min-height: 82vh;
  align-items: flex-start;
  padding-left: 80px;
  position: relative;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.22), transparent 45%);
  pointer-events: none;
}

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

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  font-size: 13px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.5);
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.btn-secondary {
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 11px 18px;
  border-radius: 10px;
  transition: 0.25s;
}

.btn-secondary:hover {
  border-color: #60a5fa;
  color: #fff;
  background: rgba(37, 99, 235, 0.2);
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 26px;
}

.hero-stats div {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 120px;
}

.hero-stats strong {
  display: block;
  color: #e2e8f0;
  font-size: 22px;
}

.hero-stats span {
  color: #94a3b8;
  font-size: 13px;
}

.home-section {
  padding-top: 30px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.home-section .section-head h2 {
  margin-bottom: 0;
}

.home-section .section-head h2::after {
  width: 110px;
  bottom: -14px;
  height: 4px;
}

.section-link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
}

.section-link:hover {
  color: #bfdbfe;
}

.movie-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f8fafc;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  backdrop-filter: blur(8px);
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 36px;
  padding: 20px 40px 28px;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

/* ===== ABOUT OUR CINEMA ===== */
.about-cinema {
  width: min(1200px, 94vw);
  margin: 34px auto 48px;
  display: grid;
  gap: 20px;
}

.about-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  min-height: 280px;
  max-height: 420px;
}

.about-hero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.58);
}

.about-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.1));
}

.about-kicker {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #dbeafe;
  font-size: 13px;
}

.about-overlay h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  color: #eff6ff;
}

.about-overlay p {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.23);
  border-radius: 12px;
  padding: 16px;
}

.about-card h3 {
  color: #bfdbfe;
  margin-bottom: 8px;
  font-size: 20px;
}

.about-card p {
  color: #cbd5e1;
  line-height: 1.8;
}

@media (max-width: 920px) {
  .about-hero {
    min-height: 230px;
    max-height: 300px;
  }

  .about-hero img {
    min-height: 230px;
  }

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

/* ===== LOCATIONS PAGE ===== */
.locations-page {
  width: min(1200px, 94vw);
  margin: 34px auto 48px;
  display: grid;
  gap: 18px;
}

.locations-head h2 {
  font-size: 34px;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.locations-head p {
  color: #94a3b8;
  max-width: 760px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
}

.location-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  padding: 16px;
}

.location-card h3 {
  color: #bfdbfe;
  margin-bottom: 10px;
}

.location-card p {
  color: #cbd5e1;
  margin-bottom: 8px;
  line-height: 1.7;
}

.location-map-link {
  display: inline-block;
  margin-top: 8px;
  color: #93c5fd;
  text-decoration: none;
  font-weight: 700;
}

.location-map-link:hover {
  color: #dbeafe;
}

.location-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(2, 6, 23, 0.5);
  min-height: 420px;
}

.location-map {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 920px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-map-wrap,
  .location-map {
    min-height: 320px;
  }
}

/* ===== INSTAPAY PAYMENT PAGE ===== */
.instapay-pay-page {
  width: min(520px, 94vw);
  margin: 32px auto 48px;
  padding: 0 16px;
}

.instapay-pay-card {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.82));
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 28px);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.55);
}

.instapay-pay-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 10px;
}

.instapay-pay-card > h2 {
  font-size: clamp(22px, 5vw, 28px);
  color: #f1f5f9;
  margin-bottom: 12px;
  line-height: 1.3;
}

.instapay-not-saved-banner {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.instapay-no-link-hint {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
  margin-bottom: 16px;
}

.instapay-no-link-hint code {
  font-size: 12px;
  color: #bae6fd;
}

.instapay-pay-confirm-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  gap: 10px;
  text-align: center;
}

.instapay-paid-confirm-btn {
  width: 100%;
  justify-self: stretch;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instapay-paid-confirm-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.3);
}

.instapay-paid-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.instapay-confirm-note {
  font-size: 13px;
  line-height: 1.55;
  color: #94a3b8;
}

.instapay-pay-lead {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 15px;
  margin-bottom: 20px;
}

.instapay-sum-box {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  text-align: center;
}

.instapay-sum-box span {
  display: block;
  font-size: 13px;
  color: #86efac;
  margin-bottom: 6px;
}

.instapay-sum-box strong {
  font-size: clamp(28px, 7vw, 36px);
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}

.instapay-ref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(2, 6, 23, 0.45);
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  color: #cbd5e1;
}

.instapay-ref-row code {
  font-size: 12px;
  color: #e2e8f0;
  word-break: break-all;
}

.instapay-wallet-box {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
  text-align: center;
}

.instapay-wallet-box > span:first-of-type {
  display: block;
  font-size: 13px;
  color: #93c5fd;
  margin-bottom: 8px;
}

.instapay-wallet-number {
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f8fafc;
  direction: ltr;
  unicode-bidi: isolate;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.instapay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.instapay-copy-btn {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instapay-copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.instapay-copy-secondary {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.instapay-steps {
  color: #e2e8f0;
  line-height: 1.85;
  padding-inline-start: 22px;
  margin-bottom: 18px;
  font-size: 15px;
}

.instapay-steps li {
  margin-bottom: 8px;
}

.instapay-note {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.instapay-done-link {
  display: block;
  text-align: center;
  color: #93c5fd;
  font-weight: 700;
  text-decoration: none;
}

.instapay-done-link:hover {
  color: #bfdbfe;
}

.instapay-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.instapay-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== GLOBAL RESPONSIVE ===== */
@media (max-width: 1024px) {
  nav {
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  nav ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  nav ul li {
    margin-left: 0;
  }

  .hero,
  .hero-home {
    padding-left: 30px;
    min-height: 72vh;
  }

  .hero h2 {
    font-size: clamp(34px, 5.5vw, 46px);
  }

  .movies {
    padding: 34px 24px;
  }

  .trailers {
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.42);
  }

  .logo {
    font-size: 24px;
  }

  nav a {
    font-size: 14px;
  }

  .back-nav-btn {
    top: 78px;
    inset-inline-start: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero,
  .hero-home {
    min-height: 66vh;
    padding: 22px 16px;
    justify-content: flex-end;
  }

  .hero p {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-stats {
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-stats div {
    min-width: 0;
    flex: 1 1 140px;
  }

  .movies {
    padding: 28px 16px;
  }

  .section-head {
    gap: 10px;
    flex-wrap: wrap;
  }

  .site-footer {
    padding: 18px 16px 24px;
  }

  .booking {
    margin-top: 28px;
    gap: 16px;
    padding: 0 10px 24px;
  }

  .booking h2 {
    font-size: 25px;
  }

  .prebooking-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 14px;
    border-radius: 12px;
  }

  .prebooking-card h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .prebooking-grid {
    gap: 14px;
  }

  .prebooking-grid select,
  .prebooking-grid input,
  .google-signin-btn {
    height: 44px;
    font-size: 14px;
  }

  .prebooking-actions {
    margin-top: 16px;
  }

  .prebooking-actions button {
    height: 46px;
    font-size: 14px;
  }

  .booking-layout {
    width: 100%;
    gap: 12px;
  }

  .seat-map-card {
    padding: 12px 10px 16px;
    border-radius: 8px;
  }

  .screen-curve {
    font-size: 22px;
    border-top-width: 7px;
    padding-top: 10px;
  }

  .booking-panel {
    padding: 12px;
    box-shadow: 0 6px 14px rgba(2, 6, 23, 0.12);
  }

  .seat-map-card {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
  }

  .booking-panel h3 {
    font-size: 18px;
  }

  .user-info-display {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .user-info-display .user-details {
    width: 100%;
  }

  .logout-btn {
    width: 100%;
  }

  .locations-head h2 {
    font-size: 28px;
  }

  .contact {
    margin-top: 42px;
    padding: 0 16px 26px;
  }

  .contact h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .contact p {
    overflow-wrap: anywhere;
    line-height: 1.7;
  }
}

.my-bookings-page {
  margin-top: 80px;
  padding: 0 16px 40px;
  max-width: 1040px;
  margin-inline: auto;
}

.my-bookings-head h2 {
  font-size: 32px;
  margin-bottom: 6px;
}

.my-bookings-head p {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 18px;
}

.my-bookings-card {
  background: rgba(15,23,42,0.9);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 16px 14px;
  margin-bottom: 14px;
}

.my-bookings-card p {
  color: #e5e7eb;
}

.my-bookings-card.my-bookings-error {
  border-color: rgba(248, 113, 113, 0.8);
  color: #fecaca;
}

.my-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.my-bookings-section {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(2, 6, 23, 0.34);
}

.my-bookings-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.my-bookings-section-title h3 {
  font-size: 20px;
}

.my-bookings-section-title span {
  min-width: 34px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
  color: #f8fafc;
  font-weight: 800;
}

.my-bookings-section > p {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 12px;
}

.my-bookings-stack {
  display: grid;
  gap: 12px;
}

.my-booking-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.92));
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 16px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.42);
}

.my-booking-item::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: #64748b;
}

.my-booking-item-active {
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(15, 23, 42, 0.96));
}

.my-booking-item-active::before {
  background: #22c55e;
}

.my-booking-item-pending {
  border-color: rgba(245, 158, 11, 0.55);
}

.my-booking-item-pending::before {
  background: #f59e0b;
}

.my-booking-item-past {
  opacity: 0.78;
}

.my-booking-headline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.my-booking-headline h3 {
  font-size: 21px;
  margin: 5px 0 3px;
}

.my-booking-meta {
  font-size: 14px;
  color: #cbd5e1;
}

.my-booking-use-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.12);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.my-booking-hold-hint {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #fde68a;
  line-height: 1.5;
}

.my-booking-use-note {
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.my-booking-status {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.my-booking-status-ok {
  background: rgba(34,197,94,0.18);
  color: #bbf7d0;
  border: 1px solid rgba(74,222,128,0.5);
}

.my-booking-status-wait {
  background: rgba(245,158,11,0.15);
  color: #fde68a;
  border: 1px solid rgba(251,191,36,0.6);
}

.my-booking-status-bad {
  background: rgba(239,68,68,0.16);
  color: #fecaca;
  border: 1px solid rgba(248,113,113,0.7);
}

.my-booking-body {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.my-booking-body div {
  min-height: 62px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 9px 10px;
  background: rgba(15, 23, 42, 0.42);
}

.my-booking-body span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  margin-bottom: 5px;
}

.my-booking-body strong {
  color: #f8fafc;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.my-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.my-booking-actions a {
  flex: 1 1 160px;
}

.my-booking-actions button {
  width: 100%;
}

.my-booking-receipt-btn {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.my-booking-continue-pay-btn {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #f8fafc;
  font-weight: 700;
}

@media (max-width: 720px) {
  .my-booking-headline {
    flex-direction: column;
  }

  .my-booking-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 21px;
  }

  nav ul {
    gap: 8px 12px;
  }

  .hero h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .movies h2 {
    font-size: 23px;
  }

  .movie-card {
    --card-w: min(72vw, 190px);
  }

  .instapay-pay-page {
    width: 100%;
    padding: 0 10px;
  }

  .instapay-ref-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .instapay-actions {
    flex-direction: column;
  }

  .instapay-copy-btn {
    width: 100%;
  }

  .my-bookings-page {
    margin-top: 54px;
    padding-inline: 12px;
  }

  .my-bookings-section {
    padding: 12px;
  }

  .my-booking-body {
    grid-template-columns: 1fr;
  }
}

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