@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* ==================================================
   1. CSS VARIABLES (Design System)
   ================================================== */
:root {
  /* Colors - Premium Luxury Palette */
  --primary: #2d5a6b;
  --primary-hover: #1f3f4f;
  --primary-light: #d4e5ed;
  
  --secondary: #d4a574;
  --secondary-hover: #c89456;
  --secondary-light: #f5ede3;
  
  --accent: #8b7355;
  --accent-light: #e8dfd7;
  
  --background: #f9f7f4;
  --surface: #ffffff;
  --surface-alt: #f5f3f0;
  
  /* Text */
  --text-main: #1a1a1a;
  --text-muted: #5a5a5a;
  --text-light: #888888;
  --text-inverse: #ffffff;
  
  /* Semantic */
  --success: #10B981;
  --success-bg: #d1fae5;
  --error: #ba1a1a;
  --error-bg: #ffdad6;
  --warning: #f59e0b;
  --warning-bg: #fef3c7;
  --info: #3b82f6;
  --info-bg: #dbeafe;
  
  /* Borders & Shadows */
  --border-color: #e8e6e3;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 2px 12px rgba(45, 90, 107, 0.06);
  --shadow-md: 0 12px 40px rgba(45, 90, 107, 0.1);
  --shadow-hover: 0 20px 60px rgba(45, 90, 107, 0.16);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  
  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;
}

/* ==================================================
   2. RESET & BASE
   ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

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

/* Material Symbols Adjustments */
.material-symbols-outlined {
  vertical-align: middle;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==================================================
   3. LAYOUT & UTILITIES
   ================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.flex-grow-1 { flex-grow: 1; }

/* Flexbox Utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }

/* Gaps */
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Margins */
.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Paddings */
.p-0 { padding: 0 !important; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.pt-0 { padding-top: 0; }
.pt-sm { padding-top: var(--space-sm); }
.pb-0 { padding-bottom: 0; }
.pb-sm { padding-bottom: var(--space-sm); }

/* Text Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.font-weight-600 { font-weight: 600; }
.font-size-sm { font-size: 0.875rem; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; font-weight: 600; }

.bg-background { background-color: var(--background); }
.bg-surface { background-color: var(--surface); }

/* ==================================================
   4. COMPONENTS
   ================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3a6f8a);
  color: white;
  box-shadow: 0 8px 24px rgba(45, 90, 107, 0.25);
  font-weight: 600;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(45, 90, 107, 0.35);
  color: white;
}

.btn-secondary {
  background-color: var(--surface-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background-color: var(--border-color);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background-color: var(--surface-alt);
  color: var(--text-main);
}

.btn-danger {
  background-color: var(--error);
  color: white;
}
.btn-danger:hover {
  background-color: #93000a;
  color: white;
}

.btn-block {
  width: 100%;
}
.btn-icon {
  padding: 0.75rem;
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(45, 90, 107, 0.08);
}

.card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45, 90, 107, 0.15);
  transition: all 0.2s ease;
}

.form-control:disabled {
  background-color: var(--background);
  color: var(--text-light);
  cursor: not-allowed;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary { background-color: var(--primary-light); color: var(--primary); font-weight: 600; }
.badge-secondary { background-color: var(--secondary-light); color: var(--secondary); font-weight: 600; }
.badge-success { background-color: var(--success-bg); color: #047857; font-weight: 600; }
.badge-warning { background-color: var(--warning-bg); color: #b45309; font-weight: 600; }
.badge-error { background-color: var(--error-bg); color: #9f1239; font-weight: 600; }
.badge-neutral { background-color: var(--border-color); color: var(--text-muted); font-weight: 600; }

/* Navigation */
.site-header {
  background-color: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(45, 90, 107, 0.04);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

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

.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border-color);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: auto;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin-top: var(--space-md);
  box-shadow: var(--shadow-md);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 90, 107, 0.6) 0%, rgba(212, 165, 116, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  width: 100%;
}

.hero-title {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: var(--space-sm);
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-search-widget {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-sm);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-sm);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-search-widget .form-group {
  margin-bottom: 0;
  flex: 1;
}
.hero-search-widget .form-control {
  border: none;
  background: transparent;
}
.hero-search-widget .form-control:focus {
  box-shadow: none;
  border-bottom: 2px solid var(--primary);
  border-radius: 0;
}

/* Split Screen Layout (Auth) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}

.split-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(70, 72, 212, 0.4), rgba(0,0,0,0.1));
}

.split-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background-color: var(--surface);
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
}

/* Room Cards Grid */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: var(--space-lg);
}

.room-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.room-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.room-card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.room-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-card-img {
  transform: scale(1.08);
}

.room-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.room-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-features {
  display: flex;
  gap: 1rem;
  margin: var(--space-sm) 0;
  color: var(--text-light);
  font-size: 0.875rem;
}
.room-features span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.room-features .material-symbols-outlined {
  font-size: 1.1rem;
}

.room-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Room Details Layout */
.room-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.room-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.booking-widget {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

/* Tabs */
.tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--space-lg);
}

.tab {
  padding: 1rem 0;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tab:hover {
  color: var(--text-main);
}

.tab.active {
  color: var(--primary);
  font-weight: 600;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
}

/* Passcode Card */
.passcode-display {
  font-family: 'Sora', monospace;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  background: var(--primary-light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
  text-shadow: 2px 2px 4px rgba(70, 72, 212, 0.1);
  box-shadow: inset 0 2px 8px rgba(70, 72, 212, 0.1);
}

/* Chat Bubbles */
.chat-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-lg);
  height: calc(100vh - var(--nav-height) - 40px);
  margin-top: var(--space-md);
}

.chat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.chat-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-alt);
}

.chat-messages {
  flex-grow: 1;
  padding: var(--space-md);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--background);
}

.chat-bubble {
  max-width: 75%;
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  position: relative;
  font-size: 0.95rem;
}

.chat-bubble.admin {
  align-self: flex-start;
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 0.25rem;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), #3a6f8a);
  color: white;
  border-bottom-right-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(45, 90, 107, 0.2);
}

.chat-time {
  font-size: 0.7rem;
  margin-top: 0.25rem;
  opacity: 0.7;
}

.chat-input-area {
  padding: var(--space-md);
  border-top: 1px solid var(--border-color);
  background: var(--surface);
  display: flex;
  gap: var(--space-sm);
}

.chat-suggestion-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.chat-suggestion-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 500px;
  width: 90%;
  box-shadow: 0 28px 64px rgba(45, 90, 107, 0.3);
  border: 1px solid rgba(212, 165, 116, 0.2);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

/* Toasts */
#toastContainer {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--surface);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  animation: toastSlide 0.3s ease forwards;
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }
.toast.info { border-color: var(--info); }

.toast-icon { font-size: 1.25rem; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--error); }
.toast.info .toast-icon { color: var(--info); }

@keyframes toastSlide {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: var(--space-xl);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: var(--space-md);
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: space-between;
  margin: var(--space-xl) 0;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.step-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}
.step {
  background-color: var(--surface);
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 2rem;
  z-index: 2;
  font-weight: 500;
  color: var(--text-muted);
}
.step.active {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Notification Dot */
.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--error);
  border-radius: 50%;
  border: 2px solid var(--surface);
}

/* Utilities */
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-0 { border: none !important; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Skeleton Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.skeleton {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%; 
  animation: shimmer 2s infinite linear forwards;
  color: transparent !important;
}
.skeleton * {
  visibility: hidden;
}

/* ==================================================
   5. RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1024px) {
  .room-details-layout, .chat-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .booking-widget {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-lg: 1.5rem;
  }

  .flex-column-mobile {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .flex-wrap-mobile {
    flex-wrap: wrap !important;
  }

  .container {
    padding: 0 var(--space-sm);
  }
  
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-image {
    display: none;
  }
  
  .nav-links {
    display: none; /* Mobile menu logic via JS */
  }
  .hamburger {
    display: block;
  }
  
  .hero-search-widget {
    flex-direction: column;
  }
  
  .passcode-display {
    font-size: 2.5rem;
  }
}
