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

:root {
  --dark-bg: #06070b;
  --main-dark: #0e1320;
  --accent: #f97316;
  --accent-2: #14b8a6;
  --accent-3: #facc15;
  --accent-purple: var(--accent);
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --text-color: #f4f1ea;
  --text-main: #f4f1ea;
  --text-muted: #a7b0be;
  --white: #f8fafc;
  --surface: rgba(15, 19, 30, 0.9);
  --border: rgba(255, 255, 255, 0.1);
  --success: #4ade80;
  --danger: #fb7185;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.48);
  --card-radius: 24px;
  --cards-per-view: 7;
  --card-gap: 1rem;
  --header-offset: 5.25rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text-color);
  background:
    radial-gradient(1100px 700px at 10% -10%, rgba(249, 115, 22, 0.16), transparent 58%),
    radial-gradient(900px 680px at 90% 0%, rgba(20, 184, 166, 0.12), transparent 52%),
    linear-gradient(180deg, #07090d 0%, #090c13 45%, #07090d 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  padding-top: var(--header-offset);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 82%);
}

body::after {
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.12), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(20, 184, 166, 0.08), transparent 28%),
    radial-gradient(circle at 50% 110%, rgba(250, 204, 21, 0.05), transparent 32%);
  opacity: 0.6;
}

::selection {
  background: rgba(249, 115, 22, 0.35);
  color: #fff;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.58), rgba(20, 184, 166, 0.58));
  border-radius: 999px;
  border: 2px solid rgba(7, 9, 13, 0.95);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.55) rgba(255, 255, 255, 0.04);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  width: 100%;
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

.page-shell {
  width: min(94vw, 1450px);
  max-width: min(94vw, 1450px);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 4rem;
  display: grid;
  gap: 1.5rem;
}

main.container,
main.home-shell,
body.profile-page main.profile-page {
  width: min(94vw, 1450px);
  max-width: min(94vw, 1450px);
  margin: 0 auto;
}

.surface-card {
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.92), rgba(12, 15, 24, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  width: fit-content;
  justify-self: start;
  align-self: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-header h2,
.story-copy h2,
.cta-content h2,
.games-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-copy p,
.section-header p,
.story-copy p,
.cta-content p,
.games-hero p,
.search-hero p,
.booking-hero p,
.about-hero p {
  color: var(--text-muted);
}

.hero-actions,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #0a0d11;
  background: linear-gradient(135deg, var(--accent-3), #f59e0b);
  box-shadow: 0 18px 28px rgba(250, 204, 21, 0.18);
}

.button-secondary {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.accent-link {
  color: var(--accent-3);
  font-weight: 800;
}

.accent-link:hover {
  color: #fff;
}

.section-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.section-header p {
  margin: 0;
}

/* Header */
header.site-header {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(calc(100% - 1rem), 1480px);
  margin: 0;
  padding: 0.7rem 0.9rem;
}

header.site-header .nav-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

header.site-header .header-toggler {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.24s ease, border-color 0.24s ease;
}

header.site-header .header-toggler:hover,
header.site-header .header-toggler:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

header.site-header .header-toggler:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.45);
  outline-offset: 2px;
}

header.site-header .header-toggler i {
  font-size: 0.95rem;
}

header.site-header .brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

header.site-header .brand:hover {
  transform: translateY(-2px);
}

header.site-header .logo,
.footer-brand .logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(20, 184, 166, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

header.site-header .logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

header.site-header .logo img,
.footer-brand .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.main-nav li {
  display: flex;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-mobile-actions {
  margin-left: auto;
}

.header-menu-link,
.header-action-btn,
.header-drawer-link {
  min-height: 42px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  position: relative;
}

.header-menu-link,
.header-drawer-link {
    border-radius: none !important;
  text-align: center;
}

.header-action-btn,
.header-drawer-link {
  gap: 0.5rem;
}

.header-action-icon {
  padding-inline: 0.85rem;
}

.header-actions .header-logout-form {
  display: flex;
}

.header-actions .header-logout-btn {
  width: 42px;
  min-width: 42px;
  padding-inline: 0.85rem;
  overflow: hidden;
  white-space: nowrap;
  justify-content: center;
  transition: width 0.28s ease, justify-content 0.28s ease;
}

.header-actions .header-logout-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: max-width 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}

.header-actions .header-logout-btn:hover,
.header-actions .header-logout-btn:focus-visible {
  width: 110px;
  justify-content: center;
}

.header-actions .header-logout-btn:hover .header-logout-label,
.header-actions .header-logout-btn:focus-visible .header-logout-label {
  max-width: 64px;
  opacity: 1;
  transform: translateX(0);
}

.header-menu-link.is-active,
.header-action-btn.is-active,
.header-drawer-link.is-active {
    color: var(--accent-3);
 }
 
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  will-change: transform;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text-color);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.header-drawer {
  --bs-offcanvas-width: min(90vw, 380px);
  width: min(90vw, 380px);
  z-index: 1405;
  color: var(--text-color);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(11, 14, 21, 0.98), rgba(8, 10, 16, 0.98));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.offcanvas-backdrop.show {
  z-index: 1400;
}

.header-drawer-login {
  min-height: 34px;
  padding: 0.45rem 0.72rem;
  font-size: 0.82rem;
  line-height: 1.1;
}

.header-drawer .offcanvas-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-drawer-close {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  flex: 0 0 auto;
}

.header-drawer-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.header-drawer-nav,
.header-drawer-actions {
  display: grid;
  gap: 0.6rem;
}

.header-drawer-actions {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.header-drawer-link {
  width: 100%;
  justify-content: center;
}

.header-drawer-anchor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  text-align: left;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.header-drawer-anchor:hover,
.header-drawer-anchor:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.header-drawer-anchor.is-active {
  color: var(--text-color);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.16), rgba(20, 184, 166, 0.1));
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.header-drawer-anchor-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(20, 184, 166, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-3);
}

.header-drawer-anchor.is-active .header-drawer-anchor-icon {
  color: var(--text-color);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-drawer-anchor-label {
  flex: 1 1 auto;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-drawer-anchor-chevron {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: transform 0.24s ease, color 0.24s ease;
}

.header-drawer-anchor:hover .header-drawer-anchor-chevron,
.header-drawer-anchor:focus-visible .header-drawer-anchor-chevron,
.header-drawer-anchor.is-active .header-drawer-anchor-chevron {
  transform: translateX(2px);
  color: var(--text-color);
}

.header-drawer-actions .header-drawer-login {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  align-self: center;
}

.header-drawer-actions .header-drawer-logout-form {
  display: flex;
  justify-content: center;
}

.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 1190;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(249, 115, 22, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(16, 20, 31, 0.96), rgba(10, 13, 21, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(20px);
}

.mobile-bottom-nav-link {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.25rem;
  min-height: 58px;
  padding: 0.55rem 0.25rem;
  border-radius: 18px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.mobile-bottom-nav-link i {
  font-size: 1rem;
}

.mobile-bottom-nav-link:hover,
.mobile-bottom-nav-link:focus-visible {
  transform: translateY(-2px);
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-bottom-nav-link.is-active {
  color: var(--text-color);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

html.header-drawer-open,
body.header-drawer-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  header.site-header .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .cinema-footer {
    width: min(94vw, 1450px);
  }

  .main-nav {
    justify-self: center;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: max-content;
  }

  .main-nav li {
    flex: 0 0 auto;
  }

  .header-actions {
    justify-self: end;
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  header.site-header {
    width: min(97vw, 1450px);
  }
}

/* Flash */
.site-flash {
  position: fixed;
  top: 6.4rem;
  right: 1rem;
  z-index: 4000;
  max-width: min(92vw, 420px);
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-flash.is-success {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(20, 184, 166, 0.16));
  border-color: rgba(74, 222, 128, 0.3);
}

.site-flash.is-error {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.2), rgba(249, 115, 22, 0.16));
  border-color: rgba(251, 113, 133, 0.3);
}

.site-flash.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

/* Shared hero and cards */
.home-hero,
.about-hero,
.search-hero,
.booking-hero,
.games-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
}

.hero-copy h1,
.about-hero h1,
.search-hero h1,
.booking-hero h1,
.games-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
}

.hero-copy p,
.about-hero p,
.search-hero p,
.booking-hero p,
.games-hero p {
  margin: 0;
  font-size: 1rem;
  max-width: 62ch;
}

.hero-notes,
.hero-metrics,
.booking-pills {
  display: grid;
  gap: 0.85rem;
}

.hero-notes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.note-card,
.metric-card,
.value-card,
.pillar-card,
.game-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.92), rgba(12, 15, 24, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.note-card::before,
.metric-card::before,
.value-card::before,
.pillar-card::before,
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  pointer-events: none;
}

.note-card span,
.metric-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  color: var(--accent-3);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-card h3,
.metric-card span,
.value-card h3,
.pillar-card h3 {
  margin: 0.8rem 0 0.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
}

.note-card p,
.metric-card span,
.value-card p,
.pillar-card p {
  margin: 0;
  color: var(--text-muted);
}

/* Home hero */
.welcome-box {
  position: relative;
  aspect-ratio: auto;
  height: clamp(220px, 44vw, 340px);
  border-radius: calc(var(--card-radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.18), transparent 32%),
    linear-gradient(160deg, rgba(12, 15, 23, 0.98), rgba(8, 10, 16, 0.96));
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: background-image 0.45s ease-in-out, background-position 0.25s ease;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

@media (min-width: 992px) {
  .welcome-box {
    height: clamp(260px, 26vw, 420px);
  }
}

.welcome-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 7, 11, 0.88) 12%, rgba(6, 7, 11, 0.42) 48%, rgba(6, 7, 11, 0.88));
  z-index: 0;
  pointer-events: none;
}

.welcome-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08), transparent 24%);
  pointer-events: none;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: auto auto 0 0;
  z-index: 1;
  max-width: min(44rem, 100%);
  padding: clamp(1.5rem, 3vw, 3rem) clamp(4rem, 6vw, 5.5rem) clamp(3rem, 4vw, 4rem);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-slide h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.35rem, 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-slide .hero-cta {
  margin-top: 1rem;
}

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 11, 16, 0.6);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, background 0.18s ease;
  cursor: pointer;
  padding: 0;
}

.hero-btn:hover {
  transform: translateY(-50%) scale(1.04);
  background: rgba(255, 255, 255, 0.1);
}

.hero-btn.prev {
  left: 1.5rem;
}

.hero-btn.next {
  right: 1.5rem;
}

.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.indicator {
  width: 2.4rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.indicator.active {
  width: 3.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.gallery {
  display: grid;
  gap: 1.4rem;
}

.movies-cat {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.movies-cat h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}

.movies-cat .movie {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.movies-cat .movie-card,
.gallery2 .movie-card {
  flex: 0 0 220px;
  aspect-ratio: 2 / 3;
}

.movie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover img {
  transform: scale(1.03);
  filter: brightness(0.78);
}

.rating-overlay {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-3);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.watch-flag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(9, 11, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.watch-flag:hover {
  transform: scale(1.04);
}

.watch-flag.in-watchlist {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(20, 184, 166, 0.82));
  color: #071015;
}

.movie-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(4, 6, 10, 0.92) 36%, rgba(4, 6, 10, 0.98));
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.movie-card:hover .movie-overlay {
  opacity: 1;
  transform: translateY(0);
}

.movie-overlay-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
}

.movie-overlay-desc {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(244, 241, 234, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-overlay-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.8rem;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.movie-overlay-rating {
  color: var(--accent-3);
  font-weight: 800;
}

/* Modal and footer/login */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal.open,
.game-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
}

.modal__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.22s ease;
}

.modal.open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close,
.close-btn,
.modal-close-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(9, 11, 16, 0.72);
  color: var(--text-color);
  backdrop-filter: blur(12px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.modal__close:hover,
.close-btn:hover,
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.04);
}

.modal__media,
.modal__body {
  display: grid;
  gap: 0.95rem;
  padding: 1.35rem;
}

.modal__media {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#modal-trailer {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  background: #000;
}

#movieinfo {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
  color: var(--text-muted);
}

#movieinfo p {
  margin: 0;
}

#movieinfo strong {
  color: var(--text-color);
}

#modal-title {
  margin: 0 0 0.55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.05;
}

#modal-text {
  margin: 0;
  color: var(--text-muted);
}

.add-watchlist-btn {
  width: 100%;
  margin-top: 0.1rem;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  color: #0a0d11;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(249, 115, 22, 0.16);
}

.add-watchlist-btn.added {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.comments-section {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.comments-section h4 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.comment {
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.comment+.comment {
  margin-top: 0.65rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.comment-user {
  font-weight: 800;
}

.comment-rating {
  color: var(--accent-3);
}

.no-comments {
  margin: 0;
  color: var(--text-muted);
}

.cinema-footer {
  width: min(94vw, 1450px);
  max-width: min(94vw, 1450px);
  margin: 0 auto 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
  display: grid;
  gap: 1.15rem;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(16, 20, 31, 0.92), rgba(12, 15, 24, 0.9));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.footer-main {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3rem 3.25rem;
  align-items: start;
  justify-content: start;
}

.footer-section {
  display: grid;
  gap: 0.85rem;
}

.footer-tagline {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 4.5rem;
  justify-content: start;
}

.nav-column {
  display: grid;
  gap: 0.75rem;
}

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--accent);
}

.footer-link {
  width: fit-content;
  justify-self: start;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text-muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.footer-credits {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-credits p {
  margin: 0;
}

.login {
  position: fixed;
  inset: 0;
  z-index: 3500;
  display: none;
  width: 100%;
}

.login-background {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(0.3rem, 0.9vw, 0.65rem);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.12), transparent 24%),
    rgba(4, 6, 10, 0.82);
  backdrop-filter: blur(22px);
}

.login-content-panel {
  width: min(90vw, 430px);
  max-height: none;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

.login-content-panel::before,
.login-content-panel::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: auto;
  z-index: 0;
}

.login-content-panel::before {
  top: -15%;
  left: -8%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
  filter: blur(18px);
}

.login-content-panel::after {
  right: -12%;
  bottom: -20%;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 72%);
  filter: blur(24px);
}

.login-shell {
  display: block;
  position: relative;
  z-index: 1;
}

.login-panel {
  display: grid;
  gap: 0.78rem;
  padding: 0.88rem;
  overflow: visible;
  background: linear-gradient(180deg, rgba(18, 22, 34, 0.9), rgba(12, 15, 24, 0.96));
}

.login-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.login-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-tab {
  min-height: 38px;
  padding: 0.58rem 0.72rem;
  flex: 1 1 0;
  color: var(--text-muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-size: 0.8rem;
}

.auth-tab:hover,
.auth-tab:focus-visible {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
}

.auth-tab.is-active {
  color: #0a0d11;
  background: linear-gradient(135deg, var(--accent-3), #f59e0b);
  border-color: transparent;
  box-shadow: 0 16px 26px rgba(250, 204, 21, 0.2);
}

.login-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.login-close span {
  font-size: 1.2rem;
  line-height: 1;
}

.login-close:hover,
.login-close:focus-visible {
  transform: none;
}

.auth-panel-title {
  margin: 0 0 0.16rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.05;
}

.auth-panel {
  display: grid;
  gap: 0.78rem;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.login-form {
  display: grid;
  gap: 0.68rem;
}

.auth-field {
  display: grid;
  gap: 0.3rem;
}

.login-form label {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.78rem;
  border: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  transition: box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.auth-input i {
  color: rgba(167, 176, 190, 0.92);
  font-size: 0.84rem;
}

.auth-input-password {
  padding-right: 0.35rem;
}

.auth-input:focus-within {
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.login-form input,
.login-form textarea,
.selectoptions,
#SearchInput,
#searchSort,
#booked-sort,
.step-content input,
.step-content select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  padding: 0.88rem 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-form .auth-input input,
.login-form .auth-input textarea {
  min-width: 0;
  padding: 0.74rem 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.login-form .auth-input input:focus,
.login-form .auth-input textarea:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.selectoptions,
#searchSort,
#booked-sort,
.step-content select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 3.25rem;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(244, 241, 234, 0.82) 50%),
    linear-gradient(135deg, rgba(244, 241, 234, 0.82) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  background-position:
    calc(100% - 1.35rem) calc(50% - 2px),
    calc(100% - 0.95rem) calc(50% - 2px),
    calc(100% - 2.55rem) 50%;
  background-size: 0.5rem 0.5rem, 0.5rem 0.5rem, 1px 1.4rem;
  background-repeat: no-repeat;
}

.selectoptions option,
#searchSort option,
#booked-sort option,
.step-content select option,
.selectoptions optgroup,
#searchSort optgroup,
#booked-sort optgroup,
.step-content select optgroup {
  background: #0e1320;
  color: var(--text-color);
}

.selectoptions::-ms-expand,
#searchSort::-ms-expand,
#booked-sort::-ms-expand,
.step-content select::-ms-expand {
  display: none;
}

.login-form input::placeholder,
.step-content input::placeholder {
  color: rgba(167, 176, 190, 0.7);
}

.login-form .auth-input input::placeholder,
.login-form .auth-input textarea::placeholder {
  color: rgba(167, 176, 190, 0.72);
}

.auth-password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

.auth-password-toggle.is-visible {
  color: var(--accent-3);
  background: rgba(249, 115, 22, 0.12);
}

.auth-password-toggle i {
  font-size: 0.88rem;
  color: currentColor;
}

.login-form input:focus,
.login-form textarea:focus,
.selectoptions:focus,
#SearchInput:focus,
#searchSort:focus,
#booked-sort:focus,
.step-content input:focus,
.step-content select:focus {
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.auth-inline-link {
  justify-self: start;
  margin-top: 0.08rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auth-inline-link:hover,
.auth-inline-link:focus-visible {
  color: #fff;
}

.login-submit {
  width: 100%;
  margin-top: 0.1rem;
  min-height: 40px;
  box-shadow: 0 20px 30px rgba(249, 115, 22, 0.18);
}

.login-secondary-btn {
  width: 100%;
  margin-top: 0.1rem;
  min-height: 39px;
}

.login-error,
.login-success {
  min-height: 0.9rem;
  margin: 0;
  font-size: 0.8rem;
}

.login-error {
  color: var(--danger);
}

.login-success {
  color: var(--success);
}

.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

html.login-open,
body.login-open {
  overflow: hidden;
}

/* Page-specific layouts */
.home-shell,
.about-shell,
.search-main,
.booking-shell,
.trivia-main {
  gap: 2.5rem;
}

.home-hero .hero-notes,
.about-hero .hero-metrics,
.booking-hero .booking-pills {
  align-content: start;
}

.booking-page .booking-hero {
  grid-template-columns: 1fr;
}

/* About */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 1.25rem;
}

.story-copy,
.story-visual,
.cta-section,
.leaderboard-section,
.watchlist-section,
.rated-section,
.booked-section,
.booking-panel,
.search-empty {
  padding: 1.2rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.story-stat {
  padding: 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.story-stat .stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-3);
}

.story-stat .stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.story-visual {
  overflow: hidden;
}

.image-container {
  position: relative;
  min-height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.18), rgba(0, 0, 0, 0.2));
}

.values-grid,
.about-pillars {
  display: grid;
  gap: 1rem;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.pillar-card {
  padding: 1.2rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.14));
  margin-bottom: 0.95rem;
  color: var(--accent-3);
  font-size: 1.6rem;
}

.about-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.cta-section {
  text-align: center;
}

.cta-content {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

/* Search */
.search-bar-large {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.search-type {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  white-space: nowrap;
}

.search-type i {
  color: var(--accent-3);
}

.search-bar-large input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 0.25rem;
  color: var(--text-color);
}

.search-bar-large button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #0a0d11;
  font-weight: 900;
}

.search-results-card,
.admin-tabs-panel {
  padding: 1.2rem;
}

.search-results-section {
  display: grid;
  gap: 1rem;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.results-header p {
  margin: 0;
  color: var(--text-muted);
}

.filter-controls {
  display: flex;
  align-items: center;
}

#searchSort {
  min-width: auto;
  width: fit-content;
}

#searchResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

#searchResults .movie-card {
  width: 100%;
  max-width: none;
  aspect-ratio: 2 / 3;
  min-height: 0;
}

.search-result-card {
  width: 100%;
}

#searchResults .movie-card img,
#searchResults .movie-card .rating-overlay,
#searchResults .movie-card .movie-overlay {
  pointer-events: none;
}

#searchResults .movie-card .movie-overlay {
  display: none;
}

#searchResults .movie-card:hover .showShowTimes-btn {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(250, 204, 21, 0.24);
}

.search-empty {
  text-align: center;
}

.search-empty h3 {
  margin: 0 0 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.search-empty p {
  margin: 0;
  color: var(--text-muted);
}

/* Admin */
.admin-shell {
  display: grid;
  gap: 1.25rem;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
}

.admin-hero-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.admin-avatar-wrap {
  width: 104px;
  height: 104px;
  padding: 4px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.35), rgba(20, 184, 166, 0.28));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.admin-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.admin-hero-copy h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.admin-hero-copy p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  max-width: 62ch;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem;
}

.admin-stat-icon,
.admin-table-icon {
  display: grid;
  place-items: center;
  color: var(--accent-3);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.16));
}

.admin-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.35rem;
}

.admin-stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-stat-value {
  display: block;
  margin-top: 0.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  line-height: 1;
}

.admin-tabs-panel {
  display: grid;
  gap: 1.25rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-tab-btn.is-active {
  color: var(--text-color);
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.admin-tab-pane {
  display: grid;
  gap: 1rem;
}

.admin-data-card {
  overflow: hidden;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table thead th {
  color: var(--accent-3);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table tbody tr {
  transition: background 0.18s ease;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-thumb,
.admin-avatar-sm {
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-thumb {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.admin-avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.admin-thumb-placeholder {
  background: rgba(255, 255, 255, 0.06);
}

.admin-table-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.admin-icon-btn {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
}

.admin-icon-btn-danger {
  color: #ffd6db;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.status-confirmed {
  color: var(--success);
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.2);
}

.status-cancelled {
  color: var(--danger);
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.2);
}

.status-pending,
.status-upcoming {
  color: var(--accent-3);
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.18);
}

.role-admin {
  color: var(--accent-3);
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.18);
}

.role-user {
  color: var(--accent-2);
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.18);
}

.admin-empty {
  color: var(--text-muted);
  text-align: center;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 3600;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(18px);
}

.admin-modal.is-open {
  display: grid;
}

.admin-modal-shell {
  position: relative;
  width: min(560px, 100%);
  padding: 1.5rem;
  box-shadow: var(--shadow-strong);
}

.admin-modal-shell .section-header {
  margin-right: 3rem;
}

/* Plain section wrappers */
.home-hero,
.about-hero,
.search-hero,
.booking-hero,
.games-hero,
.story-copy,
.story-visual,
.cta-section,
.search-results-card,
.search-empty,
.login-required,
.leaderboard-section,
.watchlist-section,
.rated-section,
.booked-section,
.admin-hero,
.admin-stat-card,
.admin-tabs-panel,
.admin-data-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .note-card,
.home-page .movies-cat {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.home-page .note-card {
  padding: 0;
}

.home-page .note-card::before {
  display: none;
}

.home-page .movies-cat {
  padding: 0;
}

/* Profile */
body.profile-page {
  min-height: 100vh;
}

body.profile-page main.profile-page {
  width: min(94vw, 1450px);
  max-width: min(94vw, 1450px);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.profile-modern {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.25rem;
}

.user-avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.user-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(249, 115, 22, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.online-status {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--main-dark);
  background: var(--success);
}

.profile-info-modern h1 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.profile-info-modern p,
.profile-meta {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.watchlist-count {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent-3);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.stat-item {
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-3);
}

.stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border: none;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  font-weight: 800;
}

.profile-modern .search {
  padding: 0;
  margin: 0;
}

#SearchInput,
#booked-sort {
  background: rgba(255, 255, 255, 0.05);
}

.watchlist-section,
.rated-section,
.booked-section {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.watchlist-grid-modern,
.rated-grid-modern,
.booked-grid-modern {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 240px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.watchlist-card-modern,
.rated-card-modern,
.booked-card-modern {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.watchlist-card-modern .card-image,
.rated-card-modern .card-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.booked-card-modern {
  display: grid;
  padding: 1rem;
  gap: 0.6rem;
}

.card-content {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.card-title,
.booked-movie-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.card-rating-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-rating,
.user-rating {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.user-rating {
  color: var(--accent);
  font-weight: 600;
}

.rating-label {
  font-size: 0.75rem;
  opacity: 0.7;
}

.rated-badge,
.booked-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(9, 11, 16, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.rated-badge-small {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(12px);
}

.btn-remove-card {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 59, 48, 0.5);
  color: #ff3b30;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
}

.btn-remove-card:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 59, 48, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-rate-icon {
  position: absolute;
  top: 0.75rem;
  right: 3.2rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);

  margin-inline-end: 6px;
}

.btn-rate-icon:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(251, 191, 36, 0.8);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.btn-rate-icon:active {
  transform: scale(0.95);
}

.booked-status.status-upcoming {
  color: var(--accent-3);
}

.booked-status.status-watched {
  color: var(--success);
}

.booked-status.status-cancelled {
  color: var(--danger);
}

.card-actions,
.booking-actions-small,
.booking-actions,
.rating-actions-large,
.results-buttons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn-rate-large,
.btn-edit-rating,
.btn-remove,
.btn-remove-rated,
.btn-booking-action,
.btn-rating-large,
.btn-action-small {
  border: none;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.btn-rate-large,
.btn-edit-rating,
.btn-remove,
.btn-remove-rated {
  flex: 1;
  padding: 0.82rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-remove,
.btn-remove-rated {
  color: #ffd6db;
}

.btn-rate-large:hover,
.btn-edit-rating:hover,
.btn-remove:hover,
.btn-remove-rated:hover,
.btn-booking-action:hover,
.btn-rating-large:hover,
.btn-action-small:hover,
.play-btn:hover,
.next:hover,
.showShowTimes-btn:hover {
  transform: translateY(-1px);
}

.btn-booking-action,
.btn-rating-large {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-rating-large.btn-confirm-large,
.btn-booking-action.btn-cancel-confirm,
.showShowTimes-btn,
.play-btn,
.btn-cancel-small {
  background: var(--accent-gradient);
  color: #0a0d11;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.16);
}

.btn-rating-large.btn-cancel-large,
.btn-booking-action.btn-cancel-keep {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-color);
}

.rating-modal-large .rating-actions-large {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  justify-content: flex-end;
}

.rating-modal-large .btn-rating-large {
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 12px;
  flex: auto;
  max-width: 180px;
  font-weight: 800;
}

.rating-modal-large .btn-confirm-large {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0a0d11;
  border: none;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.rating-modal-large .btn-confirm-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.35);
}

.rating-modal-large .btn-confirm-large:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}

.rating-modal-large .btn-cancel-large {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rating-modal-large .btn-cancel-large:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.booking-modal-overlay,
.rating-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: grid;
  place-items: center;
  padding: 0.9rem;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(16px);
}

.booking-modal-large,
.rating-modal-large {
  width: min(660px, 100%);
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.rating-modal-large {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.rating-modal-close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 10;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.rating-modal-close:hover {
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.08);
}

.booking-modal-header,
.rating-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.booking-modal-header h3,
.rating-modal-header h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

.rating-modal-header p {
  margin: 0.25rem 0 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.booking-details-content {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
  color: var(--text-muted);
}

.booking-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-label {
  color: var(--text-color);
  font-weight: 800;
}

.detail-value.status-upcoming {
  color: var(--accent-3);
}

.detail-value.status-watched {
  color: var(--success);
}

.detail-value.status-cancelled {
  color: var(--danger);
}

.booked-header,
.booked-meta,
.booked-extra {
  display: grid;
  gap: 0.45rem;
}

.booked-meta,
.booked-extra {
  color: var(--text-muted);
}

.booked-extra strong {
  color: var(--text-color);
}

.rating-stars-large {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.rating-star-large {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.35rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-star-large:hover {
  transform: scale(1.12);
  background: rgba(168, 85, 247, 0.25);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.4);
}

.rating-star-large.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.25);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
  font-weight: 900;
}

.rating-stars-container {
  display: grid;
  gap: 1rem;
}

.rating-value-large {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
}

.rating-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fbbf24;
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.rating-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.rating-hint {
  color: var(--text-muted);
  font-size: 1rem;
}

.rating-comment-wrapper {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.rating-comment-wrapper label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.rating-comment-wrapper .optional {
  font-size: 0.8rem;
  opacity: 0.65;
  font-weight: 400;
}

.comment-counter {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.8;
  margin-left: auto;
}

.rating-comment-wrapper textarea {
  min-height: 100px;
  resize: vertical;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.rating-comment-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.rating-comment-wrapper textarea:focus {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
  outline: none;
}

.loading-watchlist,
.loading-rated,
.loading-booked,
.empty-watchlist,
.empty-rated,
.empty-booked {
  display: grid;
  gap: 0.55rem;
  align-items: center;
  justify-items: center;
  min-height: 180px;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  text-align: center;
}

.empty-watchlist h3,
.empty-rated h3,
.empty-booked h3 {
  margin: 0;
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
}

.search-empty-msg {
  grid-column: 1 / -1;
  padding: 1rem;
  color: var(--text-muted);
  text-align: center;
}

.booking-cancel-title {
  color: var(--accent-3);
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

/* Booking */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.booking-flow {
  --seat-available-fill: linear-gradient(180deg, #d7dfeb 0%, #64748b 100%);
  --seat-available-border: rgba(226, 232, 240, 0.5);
  --seat-selected-fill: linear-gradient(180deg, #5eead4 0%, #0f766e 100%);
  --seat-selected-border: rgba(153, 246, 228, 0.72);
  --seat-reserved-fill: linear-gradient(180deg, #fb7185 0%, #be123c 100%);
  --seat-reserved-border: rgba(255, 228, 230, 0.5);
}

.booking-pills {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.booking-pills span {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  font-weight: 800;
}

.booking-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: 0.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.booking-steps::before {
  content: '';
  position: absolute;
  left: calc((100% - 2.4rem) / 10);
  right: calc((100% - 2.4rem) / 10);
  top: 23px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.stepsbtn {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 11, 18, 0.96);
  color: var(--text-muted);
  font-weight: 900;
  cursor: not-allowed;
  box-shadow: 0 0 0 4px rgba(7, 9, 13, 0.96);
}

.stepsbtn.default,
.stepsbtn.enabled {
  cursor: pointer;
}

.stepsbtn.default {
  color: #0a0d11;
  background: linear-gradient(135deg, var(--accent-3), #f59e0b);
  box-shadow: 0 0 0 4px rgba(7, 9, 13, 0.96), 0 16px 26px rgba(250, 204, 21, 0.16);
}

.stepsbtn.enabled {
  color: var(--text-color);
}

.booking-stage {
  display: grid;
  gap: 1rem;
}

.step-content {
  display: none;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-content.default {
  display: grid;
  gap: 0.85rem;
}

.booking-flow #step1,
.booking-flow #step2,
.booking-flow #step3 {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#step1,
#step2,
#step3 {
  justify-items: center;
}

#step4 {
  justify-items: center;
}

#step1>select,
#step2>select,
#step3>input,
#step3>select {
  width: min(100%, 360px);
}

#step1>.button,
#step2>.button,
#step3>.button {
  justify-self: center;
  min-width: 140px;
}

#step5 {
  justify-items: stretch;
}

#step5 .checkout-layout,
#step5 #confirmation {
  width: 100%;
}

#step5 .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

#step5 #TotalPrice,
#step5 #confirmation {
  display: grid;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#step5 #TotalPrice:empty,
#step5 #confirmation:empty {
  display: none;
}

#step5 #TotalPrice p,
#step5 #confirmation p {
  margin: 0;
}

#step5 #confirmation ul {
  margin: 0.25rem 0 0;
  padding-left: 1.15rem;
}

#step5 .checkout-fields {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#step5 .checkout-fields>input,
#step5 .checkout-fields>select,
#step5 .checkout-fields>.button,
#step5 .booking-payment-fields {
  width: 100%;
}

#step5 .checkout-fields>.button {
  justify-content: center;
}

#step5 .checkout-copy {
  display: grid;
  gap: 0.35rem;
}

#step5 .checkout-copy h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}

#step5 .checkout-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

#step5 .booking-payment-fields {
  display: grid;
  gap: 0.85rem;
}

#step5 .booking-payment-fields[hidden] {
  display: none;
}

#step5 #TotalPrice {
  position: sticky;
  top: 1rem;
}

#step5 .checkout-summary-card {
  display: grid;
  gap: 0.9rem;
}

#step5 .checkout-summary-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
}

#step5 .checkout-summary-meta,
#step5 .checkout-summary-totals {
  display: grid;
  gap: 0.65rem;
}

#step5 .checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: start;
  color: var(--text-muted);
  font-size: 0.92rem;
}

#step5 .checkout-summary-row strong {
  color: var(--text-color);
  text-align: right;
}

#step5 .checkout-summary-seats {
  display: grid;
  gap: 0.55rem;
}

#step5 .checkout-summary-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#step5 .checkout-seat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

#step5 .checkout-seat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: var(--accent-3);
  font-size: 0.78rem;
  font-weight: 800;
}

#step5 .checkout-summary-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
}

#step5 .checkout-summary-row-total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

#step5 .checkout-summary-row-total strong {
  color: var(--accent-3);
  font-size: 1.1rem;
}

#datecompletestep {
  width: min(100%, 360px);
  justify-self: center;
  text-align: center;
}

.container {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: auto;
}

#step4 .container {
  width: min(100%, 35rem);
  gap: 0.75rem;
  padding: 0.85rem;
}

.front-screen {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.screen {
  width: min(100%, 28rem);
  height: 12px;
  border-radius: 999px 999px 0 0;
  background: #fff;
}

.overlay {
  width: min(100%, 32rem);
  height: 48px;
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12));
}

.seats {
  display: grid;
  gap: 1rem;
}

.front-row,
.middle-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.middle-row {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
}

.booking-flow .seat {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--seat-available-fill);
  border: 1px solid var(--seat-available-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 10px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.booking-flow .seats .seat:not(.reserved) {
  cursor: pointer;
}

.booking-flow .seats .seat:not(.reserved):hover {
  transform: translateY(-1px) scale(1.06);
  filter: brightness(1.04);
}

.booking-flow .seat.selected {
  background: var(--seat-selected-fill);
  border-color: var(--seat-selected-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 2px rgba(20, 184, 166, 0.18), 0 6px 14px rgba(15, 118, 110, 0.28);
}

.booking-flow .seat.reserved {
  background: var(--seat-reserved-fill);
  border-color: var(--seat-reserved-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 10px rgba(127, 29, 29, 0.26);
}

.booking-flow .seats .seat.reserved {
  cursor: not-allowed;
  opacity: 0.92;
}

#step4 .front-screen {
  gap: 0.25rem;
}

#step4 .screen {
  width: min(100%, 24rem);
  height: 10px;
}

#step4 .overlay {
  width: min(100%, 27rem);
  height: 38px;
}

#step4 .seats {
  gap: 0.75rem;
}

#step4 .front-row,
#step4 .middle-row {
  gap: 0.4rem;
}

#step4 .middle-row {
  max-width: 25rem;
}

#step4 .seat {
  width: 1.08rem;
  height: 1.08rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.legend div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.booking-flow .legend .seat {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: none;
  filter: none;
}

.legend .seat {
  width: 1rem;
  height: 1rem;
}

#step4 .legend {
  gap: 0.75rem;
}

#step4 .legend div {
  font-size: 0.9rem;
}

#step4 .legend .seat {
  width: 0.9rem;
  height: 0.9rem;
}

.booking-gallery {
  display: grid;
  gap: 1rem;
}

.panel-header {
  display: grid;
  gap: 0.35rem;
}

.panel-header p {
  margin: 0;
  color: var(--text-muted);
}

.gallery2 {
  display: grid;
  gap: 1rem;
}

.gallery2 .movie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery2 .movie-card {
  aspect-ratio: 2 / 3;
  min-height: 0;
}

.gallery2 .movie-card img,
.gallery2 .movie-card .rating-overlay,
.gallery2 .movie-card .movie-overlay {
  pointer-events: none;
}

.gallery2 .movie-card .movie-overlay {
  display: none;
}

.showShowTimes-btn {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2.5rem);
  min-height: 38px;
  padding: 0.58rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-3), #f59e0b);
  color: #0a0d11;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 18px 30px rgba(250, 204, 21, 0.22);
}

.gallery2 .movie-card:hover .showShowTimes-btn {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(250, 204, 21, 0.24);
}

.showShowTimes-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.movieshowtime {
  margin: 0;
  color: var(--accent-3);
}

.showtimes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.showtime-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

.search-overlay {
  display: none;
}

/* Trivia */
.games-container {
  display: grid;
  gap: 1.25rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  text-align: left;
  display: grid;
  gap: 0.8rem;
}

.game-card h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}

.game-card p {
  margin: 0;
  color: var(--text-muted);
}

.game-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.16));
  color: var(--accent-3);
  font-size: 1.8rem;
}

.play-btn {
  padding: 0.95rem 1.25rem;
  width: 100%;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-3), #f59e0b);
  color: #0a0d11;
  box-shadow: 0 18px 28px rgba(250, 204, 21, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.play-btn:hover {
  transform: translateY(-1px);
}

.play-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  box-shadow: none;
}

.leaderboard-section {
  display: grid;
  gap: 1rem;
}

.leaderboard {
  display: grid;
  gap: 0.7rem;
}

.leaderboard-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.16);
  color: var(--accent-3);
  font-weight: 900;
}

.leaderboard-name {
  font-weight: 800;
}

.leaderboard-score {
  color: var(--accent-3);
  font-weight: 800;
}

.login-required {
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.notlogin {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  text-align: center;
}

.empty-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(20, 184, 166, 0.16));
  color: var(--accent-3);
  font-size: 1.8rem;
}

.notlogin h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.notlogin p {
  margin: 0;
  color: var(--text-muted);
}

/* Game modal */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 3400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(16px);
}

.game-modal.active {
  display: flex;
}

.game-modal .modal-content {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  padding: 1.05rem;
}

.game-screen,
.results-screen {
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.game-title {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.game-question {
  color: var(--text-muted);
}

.game-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-muted);
}

.score-display,
.final-score {
  color: var(--accent-3);
  font-weight: 900;
}

.progress-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  height: 100%;
  background: var(--accent-gradient);
}

.emoji-clue,
.quote-text,
.scene-text {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.05rem;
}

.emoji-clue {
  font-size: 3rem;
}

.hint-text {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: #fcd9b8;
}

.options-grid {
  display: grid;
  gap: 0.72rem;
}

.option-btn {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
}

.option-btn:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.12);
}

.option-btn.correct {
  background: rgba(74, 222, 128, 0.16);
  border-color: rgba(74, 222, 128, 0.24);
}

.option-btn.incorrect {
  background: rgba(251, 113, 133, 0.16);
  border-color: rgba(251, 113, 133, 0.24);
}

.option-btn:disabled {
  cursor: not-allowed;
}

.results-message {
  color: var(--text-muted);
}

.results-buttons {
  justify-content: center;
}

.results-buttons .play-btn {
  width: auto;
  min-width: 160px;
}

/* Toasts and responsive */
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 5000;
  max-width: min(92vw, 320px);
  padding: 0.85rem 1rem;
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateX(120%);
  transition: transform 0.28s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast-success,
.toast-rated {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.9), rgba(20, 184, 166, 0.88));
}

.toast-info {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(20, 184, 166, 0.88));
}

.toast-error,
.toast-removed {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.9), rgba(249, 115, 22, 0.88));
}

@media (max-width: 1080px) {

  .home-hero,
  .about-hero,
  .search-hero,
  .booking-hero,
  .games-hero,
  .about-story,
  .booking-layout,
  .admin-hero {
    grid-template-columns: 1fr;
  }

  .hero-notes,
  .hero-metrics,
  .values-grid,
  .about-pillars,
  .story-stats,
  .booking-pills,
  .profile-stats,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hero-actions {
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-offset: 4.95rem;
  }

  body {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  header.site-header {
    padding-inline: 0.85rem;
  }

  header.site-header .nav-shell {
    flex-wrap: nowrap;
  }

  .mobile-bottom-nav {
    display: grid;
  }

  .header-mobile-actions {
    display: flex !important;
    align-items: center;
    flex: 0 0 auto;
  }

  .header-mobile-login {
    min-width: 0;
    max-width: min(52vw, 190px);
    padding-inline: 0.9rem;
  }

  .header-mobile-login span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .toast {
    bottom: calc(6.25rem + env(safe-area-inset-bottom));
    right: 0.75rem;
    max-width: min(calc(100vw - 1.5rem), 420px);
  }

  .login-content-panel {
    width: min(90vw, 430px);
    max-height: none;
  }

  .login-shell {
    display: block;
  }

  .results-header {
    align-items: start;
    flex-direction: column;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .admin-hero-main {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 4.95rem;
  }

  .page-shell {
    padding-inline: 0.85rem;
    padding-bottom: 3rem;
  }

  header.site-header {
    width: calc(100% - 0.65rem);
    top: 0.55rem;
    gap: 0.7rem;
  }

  header.site-header .nav-shell {
    gap: 0.65rem;
  }

  .mobile-bottom-nav {
    left: 0.55rem;
    right: 0.55rem;
    bottom: calc(0.55rem + env(safe-area-inset-bottom));
    padding: 0.45rem;
    gap: 0.25rem;
  }

  .mobile-bottom-nav-link {
    min-height: 54px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .login-background {
    padding: 0.45rem;
  }

  .login-content-panel {
    width: min(92vw, 408px);
    max-height: none;
    border-radius: 20px;
  }

  .login-toolbar {
    flex-direction: row;
    align-items: center;
  }

  .login-tabs {
    width: auto;
  }

  .auth-tab {
    width: auto;
  }

  .brand-copy small {
    display: none;
  }

  .search-bar-large {
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .search-type {
    width: 100%;
    justify-content: center;
  }

  .search-bar-large input {
    min-width: 0;
    width: 100%;
    padding-inline: 0.75rem;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    flex-direction: column;
  }

  .admin-tab-btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .home-page .home-hero {
    text-align: center;
  }

  .home-page .home-hero .hero-copy {
    justify-items: center;
  }

  .home-page .home-hero .hero-copy p {
    margin-inline: auto;
  }

  .home-page .home-hero .hero-actions {
    justify-content: center;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    inset: auto !important;
    max-width: min(22rem, calc(100% - 2rem));
    width: calc(100% - 2rem);
    padding: 0.85rem 0.9rem 1rem;
    text-align: center;
    transform: translate(-50%, calc(-50% + 24px));
  }

  .hero-slide.active {
    transform: translate(-50%, -50%);
  }

  .hero-slide h1 {
    font-size: clamp(1.25rem, 5.8vw, 1.8rem);
    line-height: 1.05;
    max-width: 13ch;
    margin-inline: auto;
  }

  .hero-slide .hero-kicker {
    display: none;
  }

  .hero-slide .hero-cta {
    margin-top: 0.55rem;
    display: inline-flex;
    font-size: 0.95rem;
    padding: 0.55rem 1.25rem;
    margin-inline: auto;
  }

  .welcome-box {
    background-size: contain;
    background-position: center center;
  }

  .hero-btn {
    top: 50%;
    bottom: auto;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
  }

  .hero-btn:hover {
    transform: translateY(-50%) scale(1.04);
  }

  .hero-btn.prev {
    left: 0.7rem;
  }

  .hero-btn.next {
    right: 0.7rem;
  }

  .carousel-indicators {
    bottom: 0.55rem;
  }

  .movie-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .movie-overlay-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .modal {
    padding: 0.6rem;
  }

  .modal__dialog {
    width: min(100%, 680px);
    max-height: calc(100dvh - 1.2rem);
  }

  .modal__media {
    padding-top: 3.25rem;
  }

  .modal__media,
  .modal__body,
  .game-modal .modal-content,
  .booking-panel,
  .watchlist-section,
  .rated-section,
  .booked-section,
  .leaderboard-section,
  .search-empty {
    padding: 1rem;
  }

  .footer-credits {
    flex-direction: column;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .movies-cat .movie-card {
    flex-basis: min(68vw, 180px);
  }

  .gallery2 .movie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery2 .movie-card {
    min-width: 0;
    flex-basis: auto;
  }

  .showShowTimes-btn {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

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

  .booking-pills span:last-child {
    grid-column: 1 / -1;
  }

  .booking-steps {
    gap: 0.35rem;
    padding-bottom: 0.75rem;
  }

  .booking-steps::before {
    top: 20px;
    left: calc((100% - 2rem) / 10);
    right: calc((100% - 2rem) / 10);
  }

  .stepsbtn {
    width: 40px;
    height: 40px;
    font-size: 0.94rem;
    box-shadow: 0 0 0 3px rgba(7, 9, 13, 0.96);
  }

  .stepsbtn.default {
    box-shadow: 0 0 0 3px rgba(7, 9, 13, 0.96), 0 14px 24px rgba(250, 204, 21, 0.16);
  }

  #step5 .checkout-fields,
  #step5 #TotalPrice,
  #step5 #confirmation,
  #datecompletestep {
    width: 100%;
  }

  #step5 .checkout-layout {
    grid-template-columns: 1fr;
  }

  #step5 #TotalPrice {
    position: static;
  }

  .booking-flow .seats {
    overflow-x: auto;
    justify-items: center;
    padding-bottom: 0.35rem;
  }

  .booking-flow .front-row,
  .booking-flow .middle-row {
    width: max-content;
    min-width: 100%;
  }

  .booking-flow .middle-row {
    grid-template-columns: repeat(16, 1rem);
    gap: 0.35rem;
  }

  .booking-flow .seat {
    width: 1rem;
    height: 1rem;
  }

  .legend {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-stats {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 560px) {
  .page-shell {
    gap: 1.15rem;
  }

  .hero-notes,
  .hero-metrics,
  .values-grid,
  .about-pillars,
  .story-stats,
  .profile-stats,
  .booking-pills,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .booking-pills span:last-child {
    grid-column: auto;
  }

  .login-toolbar {
    gap: 0.6rem;
  }

  .login-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .login-panel {
    padding: 0.72rem;
  }

  .modal {
    padding: 0.75rem;
  }

  .modal__dialog {
    max-height: calc(100dvh - 1.5rem);
  }

  .modal__media,
  .modal__body {
    gap: 0.8rem;
    padding: 1rem;
  }

  .modal__media {
    padding-top: 2.85rem;
  }

  .game-modal,
  .admin-modal,
  .booking-modal-overlay,
  .rating-modal-overlay,
  .custom-confirm-overlay {
    padding: 0.75rem;
  }

  .game-modal .modal-content,
  .booking-modal-large,
  .rating-modal-large,
  .custom-confirm-modal {
    padding: 1.3rem;
  }

  .admin-modal-shell .section-header {
    padding: 1rem 1rem 0.85rem !important;
  }

  .admin-modal-shell > div:not(.section-header):not(.admin-actions),
  .admin-modal-shell form {
    padding: 0.85rem 1rem 1rem !important;
  }

  .admin-modal-shell .admin-actions {
    padding: 0.8rem 1rem 0.95rem !important;
  }

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

  .toast {
    left: 0.55rem;
    right: 0.55rem;
    max-width: none;
  }

  .booking-steps {
    gap: 0.25rem;
  }

  .stepsbtn {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
  }

  .booking-steps::before {
    top: 18px;
  }

  .booking-flow .middle-row {
    grid-template-columns: repeat(16, 0.9rem);
    gap: 0.28rem;
  }

  .booking-flow .seat {
    width: 0.92rem;
    height: 0.92rem;
  }

  .legend div {
    font-size: 0.85rem;
  }
}

@media (max-width: 420px) {
  .modal {
    padding: 0.5rem;
  }

  .modal__media,
  .modal__body {
    gap: 0.72rem;
    padding: 0.85rem;
  }

  .modal__media {
    padding-top: 2.65rem;
  }

  .login-background {
    padding: 0.34rem;
  }

  .login-content-panel {
    width: calc(100vw - 0.68rem);
    border-radius: 18px;
  }

  .login-panel {
    padding: 0.64rem;
  }

  .auth-tab {
    min-height: 36px;
    padding-inline: 0.58rem;
    font-size: 0.76rem;
  }

  .login-close {
    width: 34px;
    height: 34px;
  }

  .game-modal .modal-content,
  .booking-modal-large,
  .rating-modal-large,
  .custom-confirm-modal {
    padding: 1rem;
    border-radius: 18px;
  }

  .booking-modal-header,
  .rating-modal-header {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .rating-modal-large .rating-actions-large,
  .custom-confirm-buttons {
    gap: 0.65rem;
  }

  .admin-modal-shell {
    border-radius: 18px;
  }

  .admin-modal-shell .section-header {
    padding: 0.9rem 0.9rem 0.75rem !important;
  }

  .admin-modal-shell > div:not(.section-header):not(.admin-actions),
  .admin-modal-shell form {
    padding: 0.75rem 0.9rem 0.9rem !important;
  }

  .admin-modal-shell .admin-actions {
    padding: 0.75rem 0.9rem 0.9rem !important;
  }

  .movies-cat .movie-card {
    flex-basis: min(74vw, 170px);
  }

  .showShowTimes-btn {
    font-size: 0.78rem;
  }
}

@media (max-height: 760px) {
  .modal {
    padding: 0.65rem;
  }

  .modal__dialog {
    max-height: calc(100dvh - 1.3rem);
  }

  .modal__media,
  .modal__body {
    gap: 0.75rem;
    padding: 0.95rem;
  }

  .modal__media {
    padding-top: 2.7rem;
  }

  .login-background {
    padding: 0.34rem;
  }

  .login-panel {
    gap: 0.62rem;
    padding: 0.72rem;
  }

  .login-form {
    gap: 0.56rem;
  }

  .auth-field {
    gap: 0.24rem;
  }

  .auth-panel-title {
    font-size: 0.96rem;
  }

  .login-form label {
    font-size: 0.62rem;
  }

  .auth-input {
    padding-inline: 0.7rem;
  }

  .login-form .auth-input input,
  .login-form .auth-input textarea {
    padding: 0.68rem 0;
  }

  .login-submit {
    min-height: 39px;
  }

  .login-secondary-btn {
    min-height: 38px;
  }

  .login-error,
  .login-success {
    min-height: 0.9rem;
    font-size: 0.82rem;
  }

  .game-modal,
  .admin-modal,
  .booking-modal-overlay,
  .rating-modal-overlay,
  .custom-confirm-overlay {
    padding: 0.65rem;
  }

  .game-modal .modal-content,
  .booking-modal-large,
  .rating-modal-large,
  .custom-confirm-modal {
    padding: 1rem;
  }

  .admin-modal-shell .section-header {
    padding: 1rem 1rem 0.85rem !important;
  }

  .admin-modal-shell > div:not(.section-header):not(.admin-actions),
  .admin-modal-shell form {
    padding: 0.8rem 1rem 0.95rem !important;
  }

  .admin-modal-shell .admin-actions {
    padding: 0.75rem 1rem 0.9rem !important;
  }
}

@media (max-height: 660px) {
  .modal__media,
  .modal__body {
    gap: 0.68rem;
    padding: 0.85rem;
  }

  .modal__media {
    padding-top: 2.55rem;
  }

  .login-content-panel {
    width: min(92vw, 395px);
  }

  .login-panel {
    gap: 0.58rem;
    padding: 0.64rem;
  }

  .login-toolbar {
    gap: 0.55rem;
  }

  .login-tabs {
    padding: 0.2rem;
  }

  .auth-tab {
    min-height: 34px;
    padding-block: 0.5rem;
    font-size: 0.74rem;
  }

  .auth-input {
    gap: 0.45rem;
    padding-inline: 0.66rem;
  }

  .login-form .auth-input input,
  .login-form .auth-input textarea {
    padding: 0.62rem 0;
  }

  .auth-password-toggle {
    width: 1.8rem;
    height: 1.8rem;
  }

  .game-modal .modal-content,
  .booking-modal-large,
  .rating-modal-large,
  .custom-confirm-modal {
    padding: 0.9rem;
  }

  .booking-modal-header,
  .rating-modal-header {
    margin-bottom: 0.9rem;
  }

  .admin-modal-shell .section-header {
    padding: 0.9rem 0.9rem 0.75rem !important;
  }

  .admin-modal-shell > div:not(.section-header):not(.admin-actions),
  .admin-modal-shell form {
    padding: 0.72rem 0.9rem 0.85rem !important;
  }

  .admin-modal-shell .admin-actions {
    padding: 0.68rem 0.9rem 0.82rem !important;
  }
}

/* for cancel button for booking in profile*/
.booking-actions-small {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.btn-cancel-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  background: var(--accent-gradient);
  color: #0a0d11;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 16px rgba(250, 204, 21, 0.18);
}

.btn-cancel-small i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.btn-cancel-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(250, 204, 21, 0.25);
}

.btn-cancel-small:hover i {
  transform: scale(1.1);
}

.btn-cancel-small:active {
  transform: translateY(1px);
}

.full-width {
  grid-column: span 2;
} 

@media (max-width: 640px) {
  .hero-slide {
    inset:40% 50% !important ;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    max-width: min(18.5rem, calc(100% - 1.5rem));
    width: calc(100% - 1.5rem);
    padding: 0.75rem 0.8rem 0.9rem;
  }

  .hero-slide h1 {
    font-size: clamp(1.1rem, 5.8vw, 1.55rem);
    line-height: 1.08;
    max-width: 12ch;
  }

  .hero-slide .hero-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
  }

  #questionFormModal .admin-modal-shell>div>div {
    grid-template-columns: 1fr !important;
  }

  .full-width {
    grid-column: span 1;
  }
}

/* Icon styling for all accent gradient buttons */
.btn-rating-large.btn-confirm-large i,
.btn-booking-action.btn-cancel-confirm i,
.showShowTimes-btn i,
.play-btn i,
.next i,
.btn-cancel-small i {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}
.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-3);
}
/* Leaderboard styling */
.leaderboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 60px 1fr 80px;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
    width: 90%;
}

.leaderboard-item:nth-child(1) { width: 95%; }  
.leaderboard-item:nth-child(2) { width: 85%; }
.leaderboard-item:nth-child(3) { width: 75%; }
.leaderboard-item:nth-child(4) { width: 68%; }
.leaderboard-item:nth-child(5) { width: 62%; }
.leaderboard-item:nth-child(n+6) { width: 55%; }

.leaderboard-item:nth-child(1) .leaderboard-rank {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
}

.leaderboard-item:nth-child(1) {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
}

.leaderboard-item.rank-1 .leaderboard-rank {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0a0d11;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.5);
}

.leaderboard-item.rank-2 .leaderboard-rank {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #0a0d11;
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.3);
}

.leaderboard-item.rank-3 .leaderboard-rank {
    background: linear-gradient(135deg, #cd7f56, #b45309);
    color: #0a0d11;
    box-shadow: 0 0 8px rgba(205, 127, 86, 0.3);
}

.leaderboard-score {
    font-weight: 800;
    font-size: 1.25rem;
    font-family: 'Space Grotesk', monospace;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: right;
}

.leaderboard-name i.fa-crown {
    color: #fbbf24;
    margin-right: 0.3rem;
    filter: drop-shadow(0 0 3px gold);
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(249, 115, 22, 0.3);
    transform: scale(1.01);
}

/*booking in profile*/
.booked-card-modern {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem;
    gap: 0.75rem;
}

.booked-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.booked-movie-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color) !important;
    display: block !important;
    line-height: 1.4;
}

.booked-status {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

.booked-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booked-meta span {
    display: inline-flex;
    gap: 0.25rem;
}

.booked-extra {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booked-extra strong {
    color: var(--text-color);
}

.status-upcoming {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-3);
}

.status-cancelled {
    background: rgba(251, 113, 133, 0.15);
    color: var(--danger);
}

.status-watched {
    background: rgba(74, 222, 128, 0.15);
    color: var(--success);
}

#editProfileModal {
    z-index: 10001 !important;
}

#editProfileModal .admin-modal-shell {
    z-index: 10002 !important;
}
.toggle-password {
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--accent-3);
}

.toggle-password i {
    font-size: 1rem;
}
.admin-modal-shell {
    position: relative;
    width: min(560px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important; 
}
.admin-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

#editProfileModal .admin-modal-shell {
    max-width: 500px;
    width: 100%;
}
/* Logout Confirmation Modal */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(18px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-confirm-modal {
    background: linear-gradient(180deg, rgba(16, 20, 31, 0.98), rgba(12, 15, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 1.65rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.custom-confirm-overlay.active .custom-confirm-modal {
    transform: scale(1);
}

.custom-confirm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(20, 184, 166, 0.16));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-confirm-icon i {
    font-size: 2.5rem;
    color: var(--accent-3);
}

.custom-confirm-modal h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 0.45rem;
    color: var(--text-color);
}

.custom-confirm-modal p {
    color: var(--text-muted);
    margin: 0 0 1.2rem;
    font-size: 0.95rem;
}

.custom-confirm-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.custom-confirm-buttons button {
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-confirm-no {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-confirm-no:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-confirm-yes {
    background: linear-gradient(135deg, var(--accent-3), #f59e0b);
    color: #0a0d11;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.25);
}

.btn-confirm-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.35);
}

/* FIX ALL ADMIN MODALS  */
.admin-modal-shell {
    position: relative;
    width: min(560px, 100%);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(16, 20, 31, 0.98), rgba(12, 15, 24, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
    padding: 0 !important;
}


.admin-modal-shell .section-header {
    padding: 1.25rem 1.25rem 1rem !important;
    margin: 0 !important;
    flex-shrink: 0;
}


.admin-modal-shell > div:not(.section-header):not(.admin-actions),
.admin-modal-shell form {
    flex: 1;
    overflow-y: auto;
    padding: 0.95rem 1.25rem 1.2rem !important;
}


.admin-modal-shell .admin-actions {
    padding: 0.9rem 1.25rem 1.05rem !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    background: inherit;
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

.admin-modal-shell .modal-close-btn {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-shell .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.9rem;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(18px);
}

.admin-modal.is-open {
    display: flex !important;
}

body.modal-open {
    overflow: hidden !important;
}

#addMovieModal .admin-modal-shell,
#editMovieModal .admin-modal-shell {
    max-width: 700px;
}

#questionsModal .admin-modal-shell {
    max-width: 900px;
}

#heroBannerModal .admin-modal-shell,
#gameModal .admin-modal-shell,
#questionFormModal .admin-modal-shell {
    max-width: 600px;
}

#deleteConfirmModal .admin-modal-shell,
#cancelBookingModal .admin-modal-shell,
#bookingDetailsModal .admin-modal-shell,
#userDetailsModal .admin-modal-shell {
    max-width: 500px;
}

#imagePreviewModal .admin-modal-shell {
    max-width: 800px;
    text-align: center;
}
.admin-modal-shell input,
.admin-modal-shell textarea,
.admin-modal-shell select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-modal-shell input:focus,
.admin-modal-shell textarea:focus,
.admin-modal-shell select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.admin-modal-shell label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}
