/* ==========================================================================
   MOBILE PREVIEW DESIGN SYSTEM & PHONE FRAME
   ========================================================================== */

#mobile-preview-view {
  background-color: #F6F5F8;
  padding: 60px 0;
  width: 100%;
  min-height: 100vh;
}

.mobile-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-preview-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-preview-label {
  font-family: var(--font-display); /* Playfair Display */
  font-size: 32px;
  font-weight: 700;
  color: #2E1A47;
  letter-spacing: 2px;
  border-bottom: 2px solid #5C63A4;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.mobile-phone-frame {
  width: 375px;
  height: 812px; /* iPhone 11 Pro/X aspect ratio */
  border: 14px solid #1c1524; /* sleek dark bezel */
  border-radius: 48px;
  box-shadow: 0 30px 70px rgba(46, 33, 64, 0.25), 
              0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Simulated notch / dynamic island */
.mobile-phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background-color: #1c1524;
  border-radius: 12px;
  z-index: 1000;
}

.mobile-phone-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  position: relative;
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-phone-screen::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   MOBILE LAYOUT COMPONENTS
   ========================================================================== */

/* Header (Logo + Nav icons) */
.mobile-header {
  background-color: #FFFFFF;
  padding: 40px 16px 12px; /* Extra top padding to clear the notch */
  border-bottom: 1px solid #ECEBEF;
  position: sticky;
  top: 0;
  z-index: 99;
}

.mobile-header-row-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: #5C63A4;
  text-decoration: none;
}

.mobile-nav-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.mobile-nav-icon-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #8E8D95; /* default grey outline */
}

.mobile-nav-icon-btn.active {
  color: #5C63A4; /* active filled purple */
}

.mobile-nav-icon-btn svg {
  width: 22px;
  height: 22px;
}

/* Search Bar (Row 2) */
.mobile-search-wrapper {
  margin-top: 12px;
  position: relative;
  width: 100%;
}

.mobile-search-input {
  width: 100%;
  background-color: #F2F1F5;
  border: none;
  border-radius: 24px;
  padding: 12px 16px 12px 42px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #1c1524;
  box-sizing: border-box;
}

.mobile-search-input::placeholder {
  color: #8E8D95;
}

.mobile-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8E8D95;
  pointer-events: none;
}

.mobile-search-icon svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   SCREEN 1: HOME DESIGN
   ========================================================================== */

/* Weeks Best Section (Mobile) */
.mobile-section {
  padding: 16px 0;
  border-bottom: 1px solid #ECEBEF;
}

.mobile-section-header {
  text-align: center;
  padding: 0 16px;
  margin-bottom: 16px;
}

.mobile-weeks-best-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mobile-weeks-best-title-wrapper::before,
.mobile-weeks-best-title-wrapper::after {
  display: none !important;
}

.mobile-weeks-best-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #5C63A4;
  margin: 0;
}

.mobile-weeks-best-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888888;
  margin: 4px 0 0;
}

/* Swiper Carousel (Mobile Home) */
.mobile-carousel-container {
  width: 100%;
  position: relative;
  overflow: visible;
}

.mobile-carousel-track-wrapper {
  overflow: visible !important;
  width: 100%;
}

.mobile-carousel-track-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 290px !important;
}

.mobile-carousel-track-wrapper .swiper-slide .mobile-card {
  width: 200px !important;
  height: 280px !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Left/right peeking cards are styled to look 60% wide visually */
.mobile-carousel-track-wrapper .swiper-slide-prev .mobile-card,
.mobile-carousel-track-wrapper .swiper-slide-next .mobile-card {
  transform: scale(0.85); /* Slightly scaled down */
}

/* Full Bleed Card Design */
.mobile-card .card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mobile-card .card-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.mobile-card .card-pill-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #1A1A1A;
  border-radius: 20px;
  padding: 6px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
}

.mobile-card .card-action-icons {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.mobile-card .card-action-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
}

.mobile-card .card-action-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.mobile-card .card-bottom-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-card .card-place-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.mobile-card .card-location-text {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.mobile-card .card-rating-row {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
}

.mobile-card .card-rating-row svg {
  width: 12px;
  height: 12px;
  fill: #FFB300;
}

/* Pagination Dots */
.mobile-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.mobile-carousel-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D8D8E0;
  opacity: 1;
}

.mobile-carousel-dots .swiper-pagination-bullet-active {
  background-color: #5C63A4;
  transform: scale(1.2);
}

/* Genre Section (Mobile) */
.mobile-left-aligned-header {
  padding: 0 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-section-title-italic {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #5C63A4;
  margin: 0;
}

.mobile-section-subtitle-small {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #888888;
  margin: 0;
}

.mobile-horizontal-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 16px 12px;
  scrollbar-width: none;
}

.mobile-horizontal-scroll-row::-webkit-scrollbar {
  display: none;
}

/* Genre Category Card */
.mobile-genre-card {
  width: 140px;
  height: 90px;
  border-radius: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Pastel Gradients */
.mobile-genre-card.genre-pink { background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%); }
.mobile-genre-card.genre-blue { background: linear-gradient(135deg, #A1C4FD 0%, #C2E9FB 100%); }
.mobile-genre-card.genre-green { background: linear-gradient(135deg, #D4FC79 0%, #96E6A1 100%); }
.mobile-genre-card.genre-cream { background: linear-gradient(135deg, #FDFCFB 0%, #E2D1C3 100%); }
.mobile-genre-card.genre-lavender { background: linear-gradient(135deg, #E0C3FC 0%, #8EC5FC 100%); }

.mobile-genre-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

.mobile-genre-card-text span {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

.mobile-genre-card-img {
  position: absolute;
  right: -12px;
  bottom: -4px;
  height: 75px;
  z-index: 1;
  pointer-events: none;
}

/* Polaroid Mood Section (Mobile) */
.mobile-mood-card {
  background-color: #FAF6EE;
  padding: 10px 10px 18px;
  width: 125px;
  border-radius: 2px;
  box-shadow: 0 8px 16px rgba(46, 33, 64, 0.08);
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Scotch Tape Effect */
.mobile-mood-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 15px;
  background-color: rgba(226, 219, 194, 0.45);
  backdrop-filter: blur(1px);
  z-index: 10;
}

/* Polaroid Tilts */
.mobile-mood-card:nth-child(even) { transform: rotate(2deg); }
.mobile-mood-card:nth-child(odd) { transform: rotate(-2deg); }

.mobile-mood-card-img-wrap {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background-color: #DDD;
}

.mobile-mood-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-mood-card-title {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #3D2D54;
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   SCREEN 2: PLACE DETAIL DESIGN
   ========================================================================== */

.mobile-detail-header {
  padding: 40px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FFFFFF;
  border-bottom: 1px solid #ECEBEF;
}

.mobile-back-btn,
.mobile-more-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #5C63A4;
  cursor: pointer;
  padding: 4px;
}

.mobile-detail-carousel-container {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: #ECEBEF;
}

.mobile-detail-carousel {
  width: 100%;
  height: 100%;
}

.mobile-detail-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-detail-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1A1A1A;
  z-index: 10;
}

.mobile-detail-carousel-arrow.prev { left: 12px; }
.mobile-detail-carousel-arrow.next { right: 12px; }

.mobile-detail-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.mobile-detail-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-detail-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
}

/* Stacked Info Rows */
.mobile-detail-info-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #ECEBEF;
  padding-bottom: 16px;
}

.mobile-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mobile-info-row svg {
  width: 18px;
  height: 18px;
  color: #5C63A4;
  flex-shrink: 0;
  margin-top: 1px;
}

.mobile-info-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #4E4D55;
  margin: 0;
}

.mobile-info-text.location-text {
  color: #8E8D95;
}

.mobile-info-row .info-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #2E1A47;
  letter-spacing: 0.5px;
}

.mobile-info-row .vibes-badge {
  background-color: #5C63A4;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  margin-top: 4px;
  display: inline-block;
}

.mobile-detail-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6E6D75;
  margin: 0;
}

/* Action row */
.mobile-detail-action-row {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid #ECEBEF;
  border-bottom: 1px solid #ECEBEF;
}

.mobile-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-action-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ECEBEF;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5C63A4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.mobile-action-icon-circle svg {
  width: 20px;
  height: 20px;
}

.mobile-action-btn span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #4E4D55;
}

/* Buttons and Maps */
.mobile-full-width-btn {
  width: 100%;
  background-color: #5C63A4;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-full-width-btn:hover {
  background-color: #492E72;
}

.mobile-maps-container {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ECEBEF;
}

.mobile-maps-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Discover More section */
.mobile-discover-more-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 8px 0 12px;
}

.mobile-grid-2-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-grid-card {
  border: 1px solid #ECEBEF;
  border-radius: 12px;
  overflow: hidden;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.mobile-grid-card-img {
  width: 100%;
  height: 110px;
  overflow: hidden;
}

.mobile-grid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-grid-card-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.mobile-grid-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  line-height: 1.3;
}

.mobile-grid-card-loc {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #8E8D95;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.mobile-grid-card-rating {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #4E4D55;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mobile-grid-card-rating svg {
  width: 12px;
  height: 12px;
  fill: #FFB300;
}

.mobile-grid-card-actions {
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  border-top: 1px solid #F2F1F5;
  margin-top: auto;
}

.mobile-grid-card-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #8E8D95;
  padding: 2px;
}

.mobile-grid-card-action-btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   SCREEN 3: MESSAGES DESIGN
   ========================================================================== */

.mobile-empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  flex-grow: 1;
  text-align: center;
  box-sizing: border-box;
}

.mobile-illustration-box {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  color: #5C63A4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-illustration-box svg {
  width: 100px;
  height: 100px;
}

.mobile-empty-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #2E1A47;
  margin: 0 0 8px 0;
}

.mobile-empty-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8E8D95;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.mobile-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.mobile-outlined-btn {
  width: 100%;
  background: none;
  border: 1.5px solid #5C63A4;
  color: #5C63A4;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.mobile-outlined-btn:hover {
  background-color: rgba(91, 58, 143, 0.05);
}

.mobile-outlined-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   SCREEN 4: PROFILE DESIGN
   ========================================================================== */

.mobile-profile-container {
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #ECEBEF;
}

.mobile-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #E2DFE7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8E8D95;
}

.mobile-avatar-circle svg {
  width: 40px;
  height: 40px;
}

.mobile-profile-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0;
  text-align: center;
}

.mobile-profile-username {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8E8D95;
  margin: -8px 0 0 0;
}

.mobile-profile-bio {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #AEADBA;
  margin: -4px 0 0 0;
}

.mobile-profile-stats {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #4E4D55;
  margin: 0;
}

.mobile-profile-badge {
  background-color: #F2F1F5;
  border-radius: 20px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #5C63A4;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-profile-badge svg {
  width: 14px;
  height: 14px;
}

.mobile-buttons-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.mobile-buttons-row button {
  flex: 1;
}

/* Tabs & Feed */
.mobile-profile-tabs {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #ECEBEF;
}

.mobile-profile-tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #8E8D95;
  cursor: pointer;
  text-align: center;
}

.mobile-profile-tab-btn.active {
  color: #5C63A4;
  border-bottom: 2.5px solid #5C63A4;
}

/* ==========================================================================
   GLOBAL UTILITIES & RESPONSIVENESS OVERRIDES
   ========================================================================== */

/* Spacing and alignments */
.mt-8 { margin-top: 8px; }
.mb-12 { margin-bottom: 12px; }
.p-16 { padding: 16px; }

/* Hide all desktop wrappers when mobile preview view is active */
body.mobile-preview-active {
  background-color: #F6F5F8 !important;
}

.mobile-preview-active .app-layout,
.mobile-preview-active .navbar,
.mobile-preview-active .footer,
.mobile-preview-active .sheet-backdrop,
.mobile-preview-active #bottom-sheet,
.mobile-preview-active .theme-switch-wrapper,
.mobile-preview-active .mobile-chat-window {
  display: none !important;
}

/* ==========================================================================
   PART 1: Plain Heading Styles (Mood section heading bug fix)
   ========================================================================== */
.mobile-section-title-plain {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1C1524;
  margin: 0;
  text-align: left;
  text-transform: none;
  letter-spacing: -0.2px;
}
.mobile-section-title-plain::before,
.mobile-section-title-plain::after {
  display: none !important;
}

/* ==========================================================================
   PART 2: Mobile Cinema Carousel & Movie Detail Page
   ========================================================================== */
.movie-poster-card {
  width: 100% !important;
  max-width: 210px !important;
  height: 260px !important;
  margin: 0 auto;
  position: relative;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background-color: #2A2438;
  /* Card pop/scale transition exactly matching Week's Best scale pattern (Item 1) */
  transition: transform 0.3s ease !important;
}

/* Slide scale pop effect matching Week's Best style (Item 5) */
.swiper-slide .movie-poster-card {
  transition: transform 0.3s ease !important;
}
.swiper-slide:not(.swiper-slide-active) .movie-poster-card {
  transform: scale(0.85) !important;
}
.swiper-slide-active .movie-poster-card {
  transform: scale(1.0) !important;
}

.movie-poster-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 16px !important;
}

.movie-badge-now-showing {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto !important;
  background: rgba(28, 21, 36, 0.75);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 5 !important;
}

/* Bottom-anchored gradient overlay to ensure text readability (Item 2) */
.movie-info-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Movie Info Header Block sits at bottom (Item 2) */
.movie-info-bottom-block {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  padding: 0 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5 !important;
}

.movie-info-row-layout {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the tag pills horizontally */
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.movie-card-title {
  width: 100%;
  text-align: center !important;
  font-family: 'Inter', sans-serif;
  font-size: 20px !important; /* Larger bold title (Item 3) */
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.movie-tag-pill {
  font-family: 'Inter', sans-serif;
  font-size: 11px !important; /* Larger tags (Item 3) */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  padding: 4px 12px !important; /* Proportionately larger padding */
  border-radius: 20px !important;
  text-transform: none;
  background: rgba(11, 13, 18, 0.6) !important;
  backdrop-filter: blur(2px);
  white-space: nowrap;
  flex-shrink: 0;
}

.movie-card-book-btn {
  background-color: #FFFFFF !important;
  color: #1C1524 !important;
  border: none !important;
  border-radius: 20px !important;
  height: 24px !important; /* Shrink button height by ~30-40% (Item 2) */
  padding: 0 12px !important; /* Smaller pill padding */
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important; /* Font size one step smaller */
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important; /* Compact center-aligned pill button, not full-width */
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
  transition: transform 0.1s ease, background-color 0.2s ease !important;
  margin: 4px auto 0 auto !important;
  align-self: center !important;
  white-space: nowrap;
}

.movie-card-book-btn:active {
  transform: scale(0.97) !important;
  background-color: #E2DFE7 !important;
}

/* Vertical Spacing to prevent subtitle overlap (Item 2 & 5 container heights) */
#mobile-app-cinema-swiper,
#mobile-preview-cinema-swiper-container {
  margin-top: 16px !important;
  height: 275px !important; /* Slightly taller for 260px height + 15px scale padding */
}

/* Pagination Dots (Positioned in the whitespace below the cards, matching Week's Best style) */
.cinema-pagination-dots {
  position: relative !important;
  bottom: auto !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  margin-top: 20px !important;
  margin-bottom: 36px !important;
  z-index: 10 !important;
}
.cinema-pagination-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #D1CFD7 !important; /* light gray for inactive */
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.cinema-pagination-dots .swiper-pagination-bullet-active {
  background: #1C1524 !important; /* solid dark for active */
  width: 8px;
  height: 8px;
}

/* Mobile Booking Bottom Action Sheet Styles */
.mobile-action-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(11, 13, 18, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-action-sheet-overlay.active {
  opacity: 1;
}
.mobile-action-sheet {
  background-color: #FFFFFF;
  width: 100%;
  max-width: 420px;
  border-radius: 20px 20px 0 0;
  padding: 20px 16px 24px 16px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-action-sheet-overlay.active .mobile-action-sheet {
  transform: translateY(0);
}
.mobile-action-sheet-header {
  text-align: center;
}
.mobile-action-sheet-header h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1C1524;
  margin: 0;
}
.mobile-action-sheet-header p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #6E6D75;
  margin: 4px 0 0 0;
}
.mobile-action-sheet-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-action-sheet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.mobile-action-sheet-btn.bookmyshow-btn {
  background-color: #DF1830;
  color: #FFFFFF;
}
.mobile-action-sheet-btn.district-btn {
  background-color: #5B3D8C;
  color: #FFFFFF;
}
.mobile-action-sheet-btn:active {
  opacity: 0.9;
}
.mobile-action-sheet-cancel {
  background-color: #F3F1F6;
  color: #6E6D75;
  border: none;
  height: 48px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

/* Movie Detail View Styles */
#mobile-view-movie-detail {
  background-color: #FFFFFF;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-bottom: 40px;
}

.movie-detail-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: #FFFFFF;
  z-index: 10;
  border-bottom: 1px solid #F0EDF4;
}

.movie-detail-back-btn,
.movie-detail-more-btn {
  background: none;
  border: none;
  color: #1C1524;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-detail-header-title {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1C1524;
  margin: 0;
}

/* Movie Detail Poster Swiper */
.movie-detail-poster-container {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  background-color: #F8F7FA;
}
.movie-detail-poster-container .swiper-slide {
  width: 100%;
  height: 100%;
}
.movie-detail-poster-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Movie Detail Content Body */
.movie-detail-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.movie-detail-title {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1C1524;
  margin: 0 0 8px 0 !important;
  line-height: 1.2;
}

.movie-detail-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #7E7C84;
  margin: 0;
}

/* Story / About Section */
.movie-detail-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1C1524;
  margin: 0 0 10px 0;
}

.movie-detail-synopsis {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #55535A;
  margin: 0;
}
.movie-detail-synopsis.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-detail-view-more {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5B3A8F;
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Genre Vibes Tags */
.movie-detail-vibe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.movie-detail-vibe-pill {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4A484E !important;
  background: #F0EFF2 !important;
  border: 1.5px solid #E2DFE7 !important;
  padding: 6px 14px;
  border-radius: 18px;
  text-transform: none;
}

/* Cast & Crew Scrollable List */
.cast-crew-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: scroll;
  scrollbar-width: none;
  padding: 4px 0 12px 0;
  box-sizing: border-box;
}
.cast-crew-scroll-row::-webkit-scrollbar {
  display: none;
}

.cast-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 72px;
  flex-shrink: 0;
}

.cast-member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #E2DFE7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cast-member-name {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #1C1524;
  text-align: center;
  line-height: 1.3;
  margin: 0;
  word-wrap: break-word;
  width: 100%;
}

/* Book On Buttons Row */
.movie-booking-buttons-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.movie-booking-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1.5px solid rgba(28, 21, 36, 0.15);
  background-color: #FFFFFF;
  color: #1C1524;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.movie-booking-btn:active {
  background-color: #F8F7FA;
  transform: scale(0.98);
}

.movie-booking-btn.bookmyshow-btn {
  background-color: #E51837 !important;
  color: #FFFFFF !important;
  border: none !important;
}
.movie-booking-btn.bookmyshow-btn:active {
  background-color: #B51225 !important;
}

.movie-booking-btn.district-btn {
  background-color: #5B3A8F !important;
  color: #FFFFFF !important;
  border: none !important;
}
.movie-booking-btn.district-btn:active {
  background-color: #432A69 !important;
}

/* Movie Poster Card Image Slider styles matching collection-place-card (Part A-5) */
.movie-poster-card .card-image-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.movie-poster-card .card-image-slider .card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
  border-radius: 16px !important;
}
.movie-poster-card .card-image-slider .card-img.active {
  opacity: 1;
  z-index: 2;
}
.movie-poster-card .card-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
/* On mobile, we want arrows always visible if there are multiple images, or visible on active */
.movie-poster-card:hover .card-slider-arrows,
.movie-poster-card:active .card-slider-arrows,
#mobile-app-cinema-swiper .swiper-slide-active .card-slider-arrows,
#mobile-preview-cinema-swiper-container .swiper-slide-active .card-slider-arrows {
  opacity: 1;
}
.movie-poster-card .card-slider-arrow {
  background: rgba(11, 13, 18, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.movie-poster-card .card-slider-arrow:active {
  transform: scale(0.9);
}
.movie-poster-card .card-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 10;
}
.movie-poster-card .card-slider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}
.movie-poster-card .card-slider-dot.active {
  background: #ffffff;
  width: 10px;
  border-radius: 3px;
}

/* Hide place card carousel dots and navigation arrows */
.card-slider-arrows,
.card-slider-dots,
.card-nav-arrow,
.card-slider-arrow {
  display: none !important;
}

