/* Weblium New Year Party & Movie Night Theme */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
  --bg-midnight: #060305;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.12);
  --bg-input: rgba(0, 0, 0, 0.5);
  --color-red: #E50914;
  --color-gold: #ffb200;
  --color-gold-bright: #ffd700;
  --color-pink: #E50914; /* remapped to Netflix Crimson */
  --color-text: #ffffff;
  --color-text-muted: #bda7c8;
  --color-border: rgba(255, 255, 255, 0.15);
  --font-main: 'Nunito', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow-gold: 0 10px 30px rgba(255, 178, 0, 0.25);
  --shadow-pink: 0 10px 30px rgba(229, 9, 20, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================== LIQUID GLASS CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 5, 18, 0.7);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(229, 9, 20, 0.65) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 0 12px rgba(229, 9, 20, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.85) 0%, rgba(178, 7, 16, 0.95) 100%);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.6), 0 0 18px rgba(229, 9, 20, 0.7);
}

/* Firefox scrollbar support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 9, 20, 0.6) rgba(10, 5, 18, 0.7);
}

/* ==================== LIQUID GLASS UI ARCHITECTURE ==================== */
body {
  background-color: #060305;
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  /* Reserves space for the fixed .site-header, which grows by the same safe-area inset below
     (iOS notch/Dynamic Island) so content never starts hidden under it. env() is 0 on anything
     without a safe area (desktop, older devices), so this is a no-op there. */
  padding-top: calc(75px + env(safe-area-inset-top));
}

/* Ambient Fluid Red Orbs for Real-Time Glass Refraction */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -100px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.42) 0%, rgba(180, 10, 25, 0.18) 45%, transparent 75%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: orbFloat1 18s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -150px;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, rgba(120, 0, 30, 0.15) 50%, transparent 75%);
  filter: blur(110px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: orbFloat2 22s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-60px, 80px) scale(1.12); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -60px) scale(1.15); }
}

/* SIGNATURE LIQUID GLASS CARD & CONTAINER STYLING */
.liquid-glass, .movie-card, .feature-card, .timer-box, .profile-header-card, .auth-modal-box, .survey-modal-box, .search-filter-grid > div, .search-filter-grid > .filter-stack-col > .f-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(35px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.38) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.15) !important;
  border-radius: 24px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* ==================== MANDATORY 7-STEP SURVEY MODAL ==================== */
.survey-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 3, 5, 0.92);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.survey-modal-box {
  width: 100%;
  max-width: 680px;
  padding: 35px 30px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.survey-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.survey-option-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 16px 20px;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  user-select: none;
}

.survey-option-card:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.6);
  border-top-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4), 0 8px 25px rgba(229, 9, 20, 0.3);
}

.survey-option-card.selected {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.95) 0%, rgba(178, 7, 16, 0.95) 100%) !important;
  border-color: #E50914 !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.6), 0 12px 30px rgba(229, 9, 20, 0.6) !important;
  color: #ffffff !important;
}

.survey-checkbox-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0 !important;
  margin-left: auto;
  transition: all 0.2s ease;
}

.survey-option-card.selected .survey-checkbox-icon {
  background: #ffffff;
  border-color: #ffffff;
  color: #E50914;
}

@media (max-width: 600px) {
  .survey-modal-backdrop {
    padding: 10px !important;
  }

  .survey-modal-box {
    padding: 22px 16px !important;
    border-radius: 20px !important;
    max-height: 95vh !important;
  }

  .survey-modal-box h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .survey-modal-box p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  #surveyStepContainer h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }

  #surveyStepContainer p {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }

  .survey-options-grid {
    gap: 10px !important;
    margin-top: 10px !important;
  }

  .survey-option-card {
    padding: 12px 14px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }

  .survey-checkbox-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }
}

/* ==================== MOOD TEST STYLING ==================== */
.mood-mode-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  user-select: none;
}

.mood-mode-card:hover {
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(229, 9, 20, 0.25);
}

.mood-mode-card.active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.9) 0%, rgba(178, 7, 16, 0.95) 100%) !important;
  border-color: #E50914 !important;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.6), 0 12px 30px rgba(229, 9, 20, 0.6) !important;
}

.mood-participant-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-muted);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.mood-participant-badge.active {
  background: var(--color-pink);
  border-color: #ff8800;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.5);
}

.mood-scale-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mood-scale-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 5px;
  text-align: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-scale-btn:hover {
  border-color: rgba(229, 9, 20, 0.6);
  background: rgba(229, 9, 20, 0.2);
}

.mood-scale-btn.selected {
  background: linear-gradient(135deg, #E50914 0%, #ff8800 100%) !important;
  border-color: #ff8800 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.btn-watched {
  width: 100%;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-watched:hover {
  background: rgba(255, 178, 0, 0.2);
  border-color: var(--color-gold);
  color: #fff;
}

.btn-watched.is-watched {
  background: rgba(45, 200, 120, 0.16);
  border-color: rgba(45, 200, 120, 0.6);
  color: #4fd18b;
}
.btn-watched.is-watched:hover {
  background: rgba(255, 42, 117, 0.16);
  border-color: rgba(255, 42, 117, 0.6);
  color: #ff6f9c;
}

/* ==================== YOUTUBE MAGIC HOMEPAGE MOSAIC ==================== */
.youtube-magic-hero-box {
  position: relative;
  padding: 35px 28px 45px;
  background: linear-gradient(135deg, rgba(20, 10, 30, 0.85) 0%, rgba(10, 5, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.3), 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 9, 20, 0.2);
}

.youtube-magic-header {
  text-align: center;
  margin-bottom: 30px;
}

.youtube-magic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25) 0%, rgba(255, 136, 0, 0.25) 100%);
  border: 1.5px solid rgba(229, 9, 20, 0.6);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.youtube-magic-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.youtube-magic-subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  max-width: 650px;
  margin: 0 auto;
}

/* MOSAIC GRID: 3 Columns Desktop, Staggered Rotations */
.mosaic-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  padding: 10px 5px;
}

/* Organic tile rotations & overlapping depth */
.mosaic-tile-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 14px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-tile-card:nth-child(1) { transform: rotate(-2.5deg) translateY(-5px); z-index: 3; }
.mosaic-tile-card:nth-child(2) { transform: rotate(2.2deg) translateY(8px); z-index: 2; }
.mosaic-tile-card:nth-child(3) { transform: rotate(-1.8deg) translateY(-8px); z-index: 4; }
.mosaic-tile-card:nth-child(4) { transform: rotate(2.8deg) translateY(-4px); z-index: 3; }
.mosaic-tile-card:nth-child(5) { transform: rotate(-2.2deg) translateY(6px); z-index: 2; }
.mosaic-tile-card:nth-child(6) { transform: rotate(1.9deg) translateY(-6px); z-index: 4; }

.mosaic-tile-card:hover {
  transform: rotate(0deg) scale(1.05) translateY(-8px) !important;
  z-index: 20 !important;
  border-color: rgba(229, 9, 20, 0.8) !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6), 0 20px 45px rgba(229, 9, 20, 0.5) !important;
}

.mosaic-tile-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}

.mosaic-tile-poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mosaic-tile-card:hover .mosaic-tile-poster-box img {
  transform: scale(1.08);
}

.mosaic-tile-match-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #E50914 0%, #ff8800 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.7);
  z-index: 5;
}

.mosaic-tile-rating {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 5, 18, 0.88);
  border: 1px solid rgba(255, 178, 0, 0.6);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  z-index: 5;
}

.mosaic-tile-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mosaic-tile-desc {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* MOBILE RESPONSIVE ADAPTATION FOR MOSAIC GRID */
@media (max-width: 900px) {
  .mosaic-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .youtube-magic-hero-box {
    padding: 22px 14px 28px;
    border-radius: 20px;
  }

  .youtube-magic-title {
    font-size: 20px;
  }

  .youtube-magic-subtitle {
    font-size: 12px;
  }

  .mosaic-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px 0;
  }

  .mosaic-tile-card {
    padding: 10px;
    border-radius: 14px;
  }

  .mosaic-tile-card:nth-child(1) { transform: rotate(-0.8deg); }
  .mosaic-tile-card:nth-child(2) { transform: rotate(0.8deg); }
  .mosaic-tile-card:nth-child(3) { transform: rotate(-0.6deg); }
  .mosaic-tile-card:nth-child(4) { transform: rotate(0.6deg); }
  .mosaic-tile-card:nth-child(5) { transform: rotate(-0.8deg); }
  .mosaic-tile-card:nth-child(6) { transform: rotate(0.8deg); }

  .mosaic-tile-title {
    font-size: 13px;
  }

  .mosaic-tile-desc {
    display: none;
  }
}

/* ===== PERSONAL PICKS — AUTO-ROTATING COVERFLOW CAROUSEL ===== */
.reco-carousel {
  position: relative;
  overflow: hidden;
  margin: 6px -18px 0;
  padding: 28px 0 24px;
  perspective: 1600px;
  cursor: grab;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.reco-carousel.is-grabbing {
  cursor: grabbing;
}
.reco-carousel-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.reco-carousel.is-grabbing .reco-card {
  transition: none;
}
.reco-card {
  flex: 0 0 auto;
  width: 232px;
  margin-right: 22px;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  background: #120a1e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  opacity: 0.72;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease,
              box-shadow 0.45s ease, border-color 0.45s ease;
}
.reco-carousel:hover .reco-card {
  opacity: 0.4;
  transform: scale(0.85);
}
.reco-card:hover,
.reco-carousel:hover .reco-card:hover {
  opacity: 1 !important;
  transform: scale(1.07) !important;
  z-index: 5;
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 26px 60px rgba(229, 9, 20, 0.45);
}
.reco-card:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.reco-card-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
}
.reco-card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reco-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 5, 18, 0) 28%, rgba(10, 5, 18, 0.5) 52%, rgba(10, 5, 18, 0.88) 74%, rgba(10, 5, 18, 0.99) 100%);
}
.reco-card-match {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #E50914 0%, #ff8800 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.6);
}
.reco-card-star {
  color: var(--color-gold);
  font-weight: 900;
}
.reco-card-dot {
  opacity: 0.5;
  margin: 0 2px;
}
.reco-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 16px;
}
.reco-card-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reco-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 600px) {
  .reco-carousel { margin: 6px -14px 0; padding: 18px 0 12px; }
  .reco-card { width: 178px; margin-right: 14px; border-radius: 14px; }
  .reco-card-title { font-size: 14px; }
  .reco-card-meta { font-size: 10.5px; gap: 5px; }
  .reco-card-match { font-size: 10px; padding: 3px 8px; }
}

.movie-card:hover, .feature-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(229, 9, 20, 0.8) !important;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.45), 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(229, 9, 20, 0.4) !important;
  transform: translateY(-8px) scale(1.03) !important;
}

/* Filter cards must not react to hover (they are forms, not clickable cards) */
.search-filter-grid > div:hover,
.search-filter-grid > .filter-stack-col > .f-card:hover {
  transform: none !important;
}

/* ==================== SEARCH FILTER GRID (3 COLUMNS DESKTOP) ==================== */
.search-filter-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 25px !important;
  align-items: stretch !important;
  width: 100% !important;
}

@media (max-width: 992px) {
  .search-filter-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Each filter card is its own stacking context (backdrop-filter), so an open
   dropdown stays trapped inside it and the next card paints over the overflow.
   Lift the card that owns an open dropdown above its siblings. */
.search-filter-grid > div,
.search-filter-grid > .filter-stack-col > .f-card {
  position: relative;
}

.search-filter-grid > div:has(.multiselect-dropdown.show),
.search-filter-grid > .filter-stack-col > .f-card:has(.multiselect-dropdown.show) {
  z-index: 100;
}

/* Middle column: a transparent flex stack, NOT a card itself. Its three
   children ("Годы создания" + the two un-numbered blocks) are the cards. */
.search-filter-grid > .filter-stack-col {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.filter-stack-col > .f-card { display: flex; flex-direction: column; margin: 0 !important; }
/* badge-less header for the two un-numbered blocks — matches the compact
   numbered-card headers set further down in this file */
.filter-stack-col > .f-card > .f-card-head {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
@media (max-width: 992px) {
  .search-filter-grid > .filter-stack-col { gap: 14px !important; }
}

/* ==================== LIQUID GLASS GENRE SELECTOR ==================== */
/* ==================== LIQUID GLASS GENRE SELECTOR ==================== */
.liquid-glass-genre-bar {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  max-width: 820px !important;
  margin: 0 auto 35px !important;
  padding: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(35px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.38) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.15) !important;
  border-radius: 24px !important;
}

@media (max-width: 768px) {
  .liquid-glass-genre-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }
}

.liquid-glass-genre-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #dcd3eb;
  padding: 12px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  user-select: none;
  text-align: center;
  width: 100%;
}

.liquid-glass-genre-pill:hover {
  background: rgba(229, 9, 20, 0.3) !important;
  border-color: rgba(229, 9, 20, 0.7) !important;
  border-top-color: rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4), 0 8px 20px rgba(229, 9, 20, 0.4) !important;
}

.liquid-glass-genre-pill.active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.95) 0%, rgba(178, 7, 16, 0.95) 100%) !important;
  border-color: #E50914 !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.5), 0 12px 30px rgba(229, 9, 20, 0.6) !important;
}

/* LIQUID GLASS BUTTONS */
.btn-pink-pink, .btn-header-cta {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.9) 0%, rgba(178, 7, 16, 0.95) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 12px 30px rgba(229, 9, 20, 0.45) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  border-radius: 50px !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-pink-pink:hover, .btn-header-cta:hover {
  background: linear-gradient(135deg, rgba(255, 30, 45, 0.95) 0%, rgba(229, 9, 20, 0.95) 100%) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.6), 0 18px 40px rgba(229, 9, 20, 0.65) !important;
  transform: translateY(-3px) scale(1.02) !important;
}

/* Without this, a disabled button looks pixel-identical to an active one —
   e.g. КИНОВЕЧЕР's "ПОДОБРАТЬ КИНО" stays disabled until every participant
   has 3+ picks, but clicking it looked like nothing happened. */
.btn-pink-pink:disabled, .btn-header-cta:disabled {
  opacity: 0.4 !important;
  filter: grayscale(0.4) !important;
  cursor: not-allowed !important;
}

.btn-pink-pink:disabled:hover, .btn-header-cta:disabled:hover {
  transform: none !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 12px 30px rgba(229, 9, 20, 0.45) !important;
}

.btn-outline-gold {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 178, 0, 0.5) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(0, 0, 0, 0.6) !important;
  color: var(--color-gold) !important;
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-gold:hover {
  background: linear-gradient(135deg, rgba(255, 178, 0, 0.2) 0%, rgba(255, 178, 0, 0.05) 100%) !important;
  border-color: var(--color-gold) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), 0 15px 35px rgba(255, 178, 0, 0.35) !important;
  transform: translateY(-3px) !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button, input, select, textarea {
  font-family: var(--font-main);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== SITE HEADER ==================== */
.site-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(35px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  /* Pushes the logo/nav row below the iOS status bar / notch / Dynamic Island instead of
     drawing under it — the header stays pinned to the true top (0), grows taller instead. */
  padding-top: env(safe-area-inset-top);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 14px 0;
}

/* ==================== BILINGUAL LANGUAGE SWITCHER (RU / EN) ==================== */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--color-gold);
  color: #000000;
  box-shadow: 0 2px 8px rgba(255, 178, 0, 0.4);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* LOGO CONCEPT 1: NETFLIX-STYLE NEON FRAME MONOGRAM */
.logo-frame-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E50914;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.8), inset 0 0 8px rgba(229, 9, 20, 0.4);
  border-radius: 8px;
  padding: 4px 9px;
  position: relative;
  background: rgba(10, 5, 8, 0.95);
  transition: all 0.3s ease;
}

.logo-frame-box::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  pointer-events: none;
}

.logo-monogram {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  color: #E50914;
  text-shadow: 0 0 10px rgba(229, 9, 20, 0.9);
  letter-spacing: 0.5px;
}

.logo-divider {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  margin: 0 2px;
}

.brand-logo:hover .logo-frame-box {
  border-color: #ff1a25;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.9), inset 0 0 12px rgba(229, 9, 20, 0.5);
  transform: scale(1.05);
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.logo-kino-neon {
  color: #E50914;
  text-shadow: 0 0 12px rgba(229, 9, 20, 0.9), 0 0 25px rgba(229, 9, 20, 0.6);
}

.logo-party-gold {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Segmented glass pill nav */
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 5px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  max-width: 100%;
  overflow: visible;
}
.nav-links li { flex-shrink: 0; display: flex; }

/* on desktop keep the header on one clean line: logo + centered pill nav + controls */
@media (min-width: 769px) {
  .nav-row > div:last-child { flex-shrink: 0; }
  .brand-logo { flex-shrink: 0; }
  .logo-title { white-space: nowrap; }
}

.nav-links a {
  display: block;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 8px 17px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* ===== DESKTOP "ПОДБОРКА ФИЛЬМОВ" DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 8px 15px 8px 17px;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}
.nav-dropdown-trigger.active {
  color: #ffffff;
  background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.nav-dropdown-caret {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

/* invisible hover bridge between trigger and menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 14px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 252px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: rgba(18, 12, 28, 0.72);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 26px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* scoped tighter than ".nav-links a" so those pill styles don't leak in */
.nav-dropdown .nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-dropdown .nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}
.nav-dropdown .nav-dropdown-menu a.active {
  color: var(--color-gold);
  background: rgba(255, 178, 0, 0.12);
  box-shadow: none;
}

/* tighten the pill nav on smaller desktops / tablets so it stays on one line */
@media (max-width: 1150px) {
  .nav-row { gap: 12px; }
  .nav-links { gap: 3px; padding: 4px; }
  .nav-links a,
  .nav-dropdown-trigger { padding: 7px 12px; font-size: 11.5px; letter-spacing: 0.4px; }
}

.btn-header-cta {
  background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.6);
}

/* ==================== HERO COUNTDOWN SECTION ==================== */
.hero-section {
  position: relative;
  padding: 90px 0 100px;
  background: radial-gradient(circle at 80% 10%, rgba(229, 9, 20, 0.22) 0%, #0a0508 70%);
  text-align: center;
  overflow: hidden;
}

.hero-glow-circle {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.25) 0%, rgba(10, 5, 8, 0.05) 60%, transparent 80%);
  pointer-events: none;
}

/* Countdown Timer Widget */
.countdown-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.timer-box {
  background: rgba(28, 17, 45, 0.8);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 25px;
  min-width: 110px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 5px;
}

.timer-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.date-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.2);
  border: 1px solid #E50914;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 40%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 45px;
}

.hero-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-pink-pink {
  background: linear-gradient(135deg, #E50914 0%, #b20710 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pink-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 9, 20, 0.65);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 13px 34px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-gold:hover {
  background: rgba(255, 178, 0, 0.1);
  transform: translateY(-3px);
}

/* ==================== EVENT HIGHLIGHTS ==================== */
.highlights-section {
  padding: 70px 0;
  background: var(--bg-midnight);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: #E50914;
}

/* Homepage "try it" teasers for the gated picks tools (mood / swiper / group) */
.mood-teaser-chip.active {
  background: var(--color-gold) !important;
  color: #1a1225 !important;
}

.company-teaser-people {
  flex: 1;
  padding: 10px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.company-teaser-people.active {
  background: rgba(255, 178, 0, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(229, 9, 20, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: #E50914;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==================== MOVIE CATALOG ==================== */
.catalog-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.section-title-box h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title-box p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* Search Bar Filter Controls */
.filter-bar-row {
  display: flex;
  gap: 15px;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 15px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 35px;
}

.filter-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

/* Poster Cards Grid */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.movie-card {
  background: rgba(22, 12, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.movie-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(229, 9, 20, 0.4);
}

.card-img-box {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: var(--bg-input);
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.movie-card:hover .card-img-box img {
  transform: scale(1.06);
}

.screening-time-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 7, 20, 0.85);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(5px);
}

.card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
}

.rating-star {
  color: var(--color-gold);
  font-weight: 800;
}

/* ==================== SCHEDULE TIMELINE ==================== */
.schedule-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--color-border);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  background: var(--bg-midnight);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  align-items: center;
}

.timeline-time {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-gold);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==================== TICKET PACKAGES ==================== */
.tickets-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 35px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
}

.ticket-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, #281840 0%, var(--bg-card) 100%);
  transform: scale(1.04);
}

.ticket-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
}

.ticket-badge {
  position: absolute;
  top: -12px;
  right: 25px;
  background: var(--color-gold);
  color: #0d0714;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.ticket-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 15px;
}

.ticket-price {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 25px;
}

.ticket-price span {
  font-size: 16px;
  color: var(--color-text-muted);
}

.ticket-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-features li {
  font-size: 14px;
  color: #d7c9eb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ticket-features li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 900;
}

/* ==================== BOOKING FORM & FOOTER ==================== */
.booking-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--color-border);
}

.booking-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-midnight);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-gold);
}

.site-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-bottom: 16px;
}

.footer-legal-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--color-gold);
}

/* ==================== LEGAL INFORMATION PAGE ==================== */
.legal-hero {
  padding: 60px 0 30px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.18) 0%, #0a0508 70%);
  border-bottom: 1px solid var(--color-border);
}
.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.legal-hero p {
  color: var(--color-text-muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 8px;
}
.legal-updated {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.legal-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px 0;
  max-width: 900px;
  margin: 0 auto;
}
.legal-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.legal-subnav a:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.5);
  color: #ffffff;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 20px 90px;
}

.legal-section {
  scroll-margin-top: 100px;
  margin-bottom: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--color-border);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  margin: 22px 0 8px;
  color: #ffffff;
}
.legal-section p {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-section ul {
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-section li {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-section a.legal-inline-link {
  color: var(--color-gold);
  text-decoration: underline;
}

.legal-lang[hidden] { display: none; }

@media (max-width: 600px) {
  .legal-hero h1 { font-size: 27px; }
  .legal-hero p { font-size: 13.5px; }
  .legal-section h2 { font-size: 18px; }
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 7, 20, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--color-border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .movie-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-main-title { font-size: 38px; }
}

@media (max-width: 600px) {
  .grid-4, .movie-grid { grid-template-columns: 1fr; }
  .countdown-container { flex-wrap: wrap; }
  .timer-box { min-width: 75px; padding: 12px 15px; }
  .timer-num { font-size: 28px; }
  .timeline-item { grid-template-columns: 1fr; }
}

/* Pagination Controls */
.pagination-container,
.pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.page-btn {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-btn:hover {
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--color-gold) 0%, #ff8800 100%);
  color: #000;
  border-color: var(--color-gold);
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(255, 178, 0, 0.4);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* AUTH MODAL STYLING */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 7, 20, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-box {
  background: var(--bg-midnight);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255, 178, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.auth-modal-backdrop.active .auth-modal-box {
  transform: translateY(0);
}

.auth-tab-header {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 25px;
}

.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.auth-tab-btn.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.auth-form-group {
  margin-bottom: 18px;
}

.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.auth-form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-size: 16px !important;
  outline: none;
  transition: var(--transition-fast);
}

.auth-form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 12px rgba(255, 178, 0, 0.3);
}

.profile-badge-btn {
  background: rgba(255, 178, 0, 0.15);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.profile-badge-btn:hover {
  background: var(--color-gold);
  color: #000;
}

/* ==================== LUXURY MULTI-SELECT DROPDOWN SYSTEM ==================== */
.custom-multiselect {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.multiselect-btn {
  width: 100%;
  box-sizing: border-box;
  background: rgba(26, 17, 43, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 12px;
  padding: 13px 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.multiselect-btn:hover, .multiselect-btn.active {
  border-color: var(--color-gold);
  background: rgba(38, 24, 61, 0.95);
  box-shadow: 0 0 20px rgba(255, 178, 0, 0.4);
}

.multiselect-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: #140d24;
  border: 1.5px solid var(--color-gold);
  border-radius: 14px;
  max-height: 270px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 178, 0, 0.3);
  padding: 8px 4px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.multiselect-dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar without corner overflow */
.multiselect-dropdown::-webkit-scrollbar {
  width: 6px;
}

.multiselect-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  margin: 6px 0;
  border-radius: 10px;
}

.multiselect-dropdown::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-pink) 100%);
  border-radius: 10px;
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #e2d9f3;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  margin-bottom: 2px;
}

.multiselect-option:hover {
  background: rgba(255, 178, 0, 0.12);
  color: var(--color-gold);
}

.multiselect-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.multiselect-option input[type="checkbox"]:hover {
  border-color: var(--color-pink);
  box-shadow: 0 0 8px rgba(255, 42, 117, 0.4);
}

.multiselect-option input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--color-pink) 0%, #ff2a75 100%);
  border-color: var(--color-pink);
  box-shadow: 0 0 10px rgba(255, 42, 117, 0.6);
}

.multiselect-option input[type="checkbox"]:checked::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* CUSTOM STYLED SINGLE SELECT DROPDOWNS */
.single-select-option {
  padding: 9px 14px;
  border-radius: 8px;
  color: #e2d9f3;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  margin-bottom: 2px;
}

.single-select-option:hover {
  background: rgba(255, 178, 0, 0.15);
  color: var(--color-gold);
  transform: translateX(4px);
}

.single-select-option.selected {
  background: linear-gradient(135deg, rgba(255, 42, 117, 0.25) 0%, rgba(255, 178, 0, 0.2) 100%);
  color: var(--color-gold);
  border: 1px solid rgba(255, 178, 0, 0.4);
  font-weight: 800;
}

/* CUSTOM STYLED RATING SLIDERS & NUMERIC INPUTS */
.custom-num-input {
  width: 65px;
  background: rgba(26, 17, 43, 0.9);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
}

.custom-num-input:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 10px rgba(255, 42, 117, 0.4);
}

.custom-range-slider {
  width: 100%;
  accent-color: var(--color-gold);
  cursor: pointer;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  outline: none;
}

.reset-small-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.reset-small-btn:hover {
  color: var(--color-pink);
}

/* Free-text filter field (actor / director search) — matches .multiselect-btn */
.filter-text-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(26, 17, 43, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 12px;
  padding: 13px 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-text-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.filter-text-input:hover {
  border-color: var(--color-gold);
}

.filter-text-input:focus {
  border-color: var(--color-gold);
  background: rgba(38, 24, 61, 0.95);
  box-shadow: 0 0 20px rgba(255, 178, 0, 0.4);
}

/* ==================== GLOBAL DYNAMIC SEARCH BAR (under header) ==================== */
.header-search-bar {
  background: linear-gradient(180deg, rgba(20, 12, 33, 0.9) 0%, rgba(12, 7, 20, 0.75) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 14px 20px;
  position: relative;
  z-index: 900;
}

.header-search-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.header-search-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(26, 17, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 14px;
  padding: 13px 44px 13px 46px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.header-search-input:focus {
  border-color: var(--color-gold);
  background: rgba(38, 24, 61, 0.95);
  box-shadow: 0 0 22px rgba(255, 178, 0, 0.35);
}

.header-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  pointer-events: none;
  opacity: 0.9;
}

.header-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.header-search-clear:hover {
  background: var(--color-pink);
}

.header-search-clear[hidden] {
  display: none;
}

.header-search-dropdown[hidden] {
  display: none;
}

.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #140d24;
  border: 1.5px solid var(--color-gold);
  border-radius: 14px;
  overflow: hidden;
  z-index: 950;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 178, 0, 0.22);
  max-height: min(70vh, 460px);
  overflow-y: auto;
}

.header-search-state {
  padding: 18px 18px;
  color: var(--color-text-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.header-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease;
}

.header-search-item:last-child {
  border-bottom: none;
}

.header-search-item:hover,
.header-search-item.active {
  background: rgba(255, 178, 0, 0.12);
}

.header-search-item-poster {
  width: 40px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.header-search-item-body {
  min-width: 0;
  flex: 1;
}

.header-search-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-item-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-search-item-badge {
  background: rgba(229, 9, 20, 0.85);
  color: #fff;
  font-weight: 800;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.header-search-item-rating {
  color: var(--color-gold);
  font-weight: 800;
}

.header-search-viewall {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  background: rgba(255, 178, 0, 0.1);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-top: 1px solid rgba(255, 178, 0, 0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-search-viewall:hover {
  background: rgba(255, 178, 0, 0.2);
}

@media (max-width: 768px) {
  .header-search-bar {
    padding: 10px 14px;
  }
  .header-search-input {
    font-size: 14px;
    padding: 12px 40px 12px 42px;
  }
}

/* ==================== MOBILE BOTTOM NAVIGATION BAR ==================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

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

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    box-sizing: content-box;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    backdrop-filter: blur(35px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(35px) saturate(200%) !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35), 0 -15px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(229, 9, 20, 0.25) !important;
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #827397;
    text-decoration: none;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    flex: 1;
    height: 100%;
    position: relative;
  }

  .mobile-nav-svg {
    width: 22px;
    height: 22px;
    transition: all 0.25s ease;
    stroke: #827397;
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--color-gold);
  }

  .mobile-nav-item.active .mobile-nav-svg {
    stroke: var(--color-gold);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(255, 178, 0, 0.6));
  }

  .mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 2.5px;
    background: var(--color-gold);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 0 10px var(--color-gold);
  }
}

/* ==================== MOBILE BURGER MENU (overflow) ==================== */
.burger-menu {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.burger-menu.open { opacity: 1; }

.burger-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  background: rgba(14, 9, 22, 0.9);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(-14px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
  overflow-y: auto;
}
.burger-menu.open .burger-menu-panel { transform: translateY(0); opacity: 1; }

.burger-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 18px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.burger-menu-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.burger-menu-close:hover { color: #ffffff; }

.burger-menu-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 16px 16px 24px;
}

.burger-menu-section-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0 4px 10px;
}

.burger-menu-list { display: flex; flex-direction: column; gap: 10px; }

/* Liquid Glass pill: each menu item is its own frosted-glass card */
.burger-menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.2s ease, border-color 0.2s ease;
}
.burger-menu-link svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  stroke: currentColor;
}
.burger-menu-link span {
  flex: 1;
}
.burger-menu-chevron {
  width: 17px !important;
  height: 17px !important;
  opacity: 0.4;
}
.burger-menu-link:active {
  transform: scale(0.98);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.burger-menu-link.active {
  color: var(--color-gold);
  border-color: rgba(255, 178, 0, 0.4);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 178, 0, 0.2);
}

@media (min-width: 769px) {
  .burger-menu { display: none !important; }
}

/* ==================== TOP-RIGHT KINO PARTY TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 400px;
  width: calc(100% - 40px);
}

/* Serious, squared, Liquid-Glass notification */
.toast-card {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 14px 18px;
  border-radius: 0;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1px;
  overflow: hidden;
  /* Liquid Glass */
  background: rgba(18, 12, 28, 0.55);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 40px rgba(0, 0, 0, 0.5);
  transform: translateX(115%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

/* diagonal glass sheen */
.toast-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0) 55%);
}

.toast-card.show { transform: translateX(0); opacity: 1; }
.toast-card.hide { transform: translateX(115%); opacity: 0; }

.toast-card.toast-success { border-left-color: #2ec27e; }
.toast-card.toast-error   { border-left-color: #ff3b64; }
.toast-card.toast-info    { border-left-color: #ffb200; }

.toast-icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.toast-success .toast-icon { color: #2ec27e; background: rgba(46, 194, 126, 0.14); }
.toast-error   .toast-icon { color: #ff3b64; background: rgba(255, 59, 100, 0.14); }
.toast-info    .toast-icon { color: #ffb200; background: rgba(255, 178, 0, 0.14); }

.toast-content {
  flex: 1;
  word-break: break-word;
  padding-top: 1px;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  width: 22px;
  height: 22px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.18s ease, background 0.18s ease;
}

.toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 600px) {
  .toast-container { top: 12px; right: 12px; left: 12px; width: auto; max-width: none; }
}

/* ==================== GLOBAL MOBILE RESPONSIVE FIXES (<768px) ==================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 14px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  /* 1. Header & Navigation Fixes */
  .site-header {
    padding: 8px 0;
  }

  .nav-row {
    padding: 8px 0;
    gap: 6px;
  }

  .brand-logo {
    gap: 6px;
  }

  .logo-title {
    font-size: 15px;
  }

  .profile-badge-btn {
    padding: 5px 10px;
    font-size: 11px;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
  }

  .user-name-text {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
  }

  /* 2. Hero Section & Countdown Timer Fixes */
  .hero-content {
    padding: 24px 12px !important;
    text-align: center;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-content h1, .hero-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    word-break: break-word;
    margin-bottom: 10px !important;
  }

  .hero-content p {
    font-size: 13px !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* Countdown Boxes on Mobile */
  #countdownTimer {
    gap: 6px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .timer-card, [style*="min-width: 85px"], [style*="min-width: 90px"] {
    min-width: 54px !important;
    padding: 8px 6px !important;
    border-radius: 10px !important;
    flex: 1 1 54px;
    max-width: 75px;
  }

  .timer-num, [style*="font-size: 32px"], [style*="font-size: 36px"] {
    font-size: 20px !important;
  }

  .timer-label, [style*="font-size: 11px"] {
    font-size: 9px !important;
  }

  /* 3. Movies Grid & Cards Fixes */
  .movie-grid, .movies-grid, [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  .movie-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .movie-card-title, .movie-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  /* 4. Search Page Header Fixes */
  .search-results-header, [style*="display: flex; justify-content: space-between; align-items: center; margin-bottom:"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .search-count-badge, [style*="border: 1.5px solid var(--color-gold)"] {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* 5. Profile Page Fixes */
  .profile-header-card {
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 20px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .profile-user-info {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .profile-user-info > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .profile-user-info [style*="display: flex; align-items: center; gap: 10px;"] {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .profile-avatar {
    width: 75px !important;
    height: 75px !important;
    font-size: 30px !important;
  }

  #adminPanelLinkBtn, [onclick="logoutProfile()"] {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    margin-top: 4px;
  }

  .profile-nav-tabs {
    flex-direction: row !important;
    gap: 6px !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .profile-tab-btn {
    padding: 10px 12px !important;
    font-size: 12px !important;
    flex: 1 !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 13px !important;
  }

  .movie-grid, .movies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* ==================== SINGLE MOVIE DETAILS RESPONSIVE ==================== */
.movie-details-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  background: var(--bg-midnight);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 50px;
}

.movie-title-header {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 6px;
  word-break: break-word;
  color: #fff;
}

.movie-spec-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  font-size: 14px;
}

.movie-spec-item {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.movie-spec-label {
  color: var(--color-gold);
  min-width: 140px;
  flex-shrink: 0;
  font-weight: 700;
}

.movie-spec-value {
  color: #fff;
  flex: 1;
  word-break: break-word;
}

.tagkey-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 178, 0, 0.2);
  padding-bottom: 10px;
}

@media (max-width: 768px) {
  .movie-details-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    padding: 20px 16px !important;
    margin-bottom: 30px !important;
  }

  .movie-title-header {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .movie-spec-item {
    flex-direction: column !important;
    gap: 4px !important;
  }

  .movie-spec-label {
    min-width: auto !important;
  }

  .tagkey-header-box {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ==================== NETFLIX SMART TV ECOSYSTEM ==================== */
.btn-netflix-liquid-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(12, 6, 18, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  padding: 14px 22px;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-netflix-liquid-glass:hover,
.btn-netflix-liquid-glass:active {
  transform: translateY(-2px) scale(1.01);
  background: rgba(229, 9, 20, 0.16) !important;
  border-color: rgba(229, 9, 20, 0.55) !important;
  box-shadow: 0 12px 35px rgba(229, 9, 20, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.netflix-red-n-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.btn-netflix-tv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #E50914 0%, #B81D24 100%);
  color: #fff;
  border: 1px solid rgba(229, 9, 20, 0.6);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.btn-netflix-tv:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
  background: linear-gradient(135deg, #ff0f1b 0%, #d81f26 100%);
}

.netflix-badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.smart-tv-modal-content {
  background: linear-gradient(145deg, #180d27 0%, #0c0612 100%);
  border: 1.5px solid rgba(229, 9, 20, 0.5);
  box-shadow: 0 20px 60px rgba(229, 9, 20, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  max-width: 480px;
  width: 90%;
  color: #fff;
}

/* ==================== SEARCH CONTENT TYPE CHECKBOX CARDS ==================== */
.content-type-checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.content-type-checkbox-card:hover {
  background: rgba(255, 178, 0, 0.08);
  border-color: rgba(255, 178, 0, 0.4);
}

.content-type-checkbox-card input[type="checkbox"] {
  display: none;
}

.content-type-checkbox-card .custom-checkbox-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: transparent;
}

.content-type-checkbox-card input[type="checkbox"]:checked + .custom-checkbox-mark {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000000;
}

.content-type-checkbox-card .checkbox-label-text {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

/* ==================== INTERNATIONAL PLATFORMS BUTTONS ==================== */
.btn-platform-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-platform-glass svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.platform-rating-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.platform-ranked-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.btn-platform-ranked {
  flex: 1;
  min-width: 0;
  justify-content: space-between;
  padding: 9px 10px;
  font-size: 10.5px;
  letter-spacing: 0.2px;
}

.btn-platform-ranked.is-top-platform {
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.22);
}

.platform-ranked-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.platform-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.btn-platform-ranked.is-top-platform .platform-rank-num {
  background: rgba(255, 178, 0, 0.2);
  border-color: rgba(255, 178, 0, 0.55);
  color: #FFB200;
}

.btn-platform-glass svg.platform-brand-logo {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.platform-brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-ranked-stars {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  flex-shrink: 0;
  margin-left: 4px;
}

.btn-platform-glass svg.platform-star-icon {
  width: 11.5px;
  height: 11.5px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.btn-platform-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: 12px;
  background: rgba(255, 178, 0, 0.1);
  border: 1.5px solid rgba(255, 178, 0, 0.35);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-platform-review:hover {
  background: rgba(255, 178, 0, 0.22);
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 178, 0, 0.28);
}

/* ==================== STREAMING REVIEWS PAGE (/streaming) ==================== */
.streaming-hero {
  padding: 44px 0 28px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 42, 117, 0.14) 0%, rgba(255, 178, 0, 0.06) 45%, transparent 75%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.streaming-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 178, 0, 0.12);
  border: 1px solid rgba(255, 178, 0, 0.35);
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.streaming-hero h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 12px;
  max-width: 860px;
  line-height: 1.2;
}
.streaming-hero p {
  color: var(--color-text-muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 18px;
}
.streaming-updated {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.streaming-subnav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 7, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}
.streaming-subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.streaming-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}
.streaming-subnav a:hover {
  border-color: var(--color-gold);
  background: rgba(255, 178, 0, 0.14);
  color: var(--color-gold);
  transform: translateY(-1px);
}
.streaming-subnav a .subnav-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 178, 0, 0.2);
  color: var(--color-gold);
  font-size: 10px;
  font-weight: 900;
}

.streaming-page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 16px 80px;
}

.streaming-summary-box {
  background: rgba(22, 13, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 42px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.streaming-summary-box h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
}
.streaming-summary-box p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.streaming-table-scroll {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.streaming-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 13.5px;
}
.streaming-compare-table th,
.streaming-compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.streaming-compare-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-gold);
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.streaming-compare-table tr:last-child td {
  border-bottom: none;
}
.streaming-compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.stream-review-card {
  scroll-margin-top: 76px;
  background: linear-gradient(180deg, rgba(26, 15, 40, 0.92) 0%, rgba(16, 9, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  padding: 34px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.stream-review-card.rank-1 {
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 20px 55px rgba(229, 9, 20, 0.14);
}
.stream-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.stream-review-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.stream-review-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.stream-review-logo-box svg {
  width: 30px;
  height: 30px;
}
.stream-review-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 178, 0, 0.16);
  border: 1px solid rgba(255, 178, 0, 0.45);
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.stream-review-title-group h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.stream-review-tagline {
  color: var(--color-text-muted);
  font-size: 13.5px;
  margin-top: 4px;
}
.stream-review-score-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 18px;
}
.stream-score-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
}
.stream-score-stars {
  color: #FFB200;
  font-size: 15px;
  letter-spacing: 2px;
}
.stream-score-caption {
  font-size: 11px;
  color: var(--color-text-muted);
}

.stream-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.stream-spec-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 14px;
}
.stream-spec-tile-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}
.stream-spec-tile-val {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

.stream-review-body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  margin: 26px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stream-review-body p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.stream-review-body ul,
.stream-review-body ol {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14.5px;
  line-height: 1.72;
  margin: 0 0 16px;
  padding-left: 20px;
}
.stream-review-body li {
  margin-bottom: 7px;
}

.stream-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0;
}
.stream-pros-box,
.stream-cons-box {
  border-radius: 14px;
  padding: 18px 20px;
}
.stream-pros-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.stream-cons-box {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.stream-pros-box h4 {
  color: #34d399;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}
.stream-cons-box h4 {
  color: #fb7185;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px;
}
.stream-pros-box ul,
.stream-cons-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.stream-screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.stream-figure {
  margin: 0;
  background: rgba(10, 6, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.stream-mockup-screen {
  position: relative;
  min-height: 210px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.stream-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.stream-mockup-dots {
  display: inline-flex;
  gap: 5px;
}
.stream-mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.stream-mockup-badge {
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.stream-mockup-ui-card {
  position: relative;
  z-index: 2;
  background: rgba(12, 8, 20, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}
.stream-figure figcaption {
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 1.45;
}

.stream-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 22px;
}
.stream-plan-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stream-plan-card.plan-popular {
  border-color: rgba(255, 178, 0, 0.5);
  background: rgba(255, 178, 0, 0.06);
}
.stream-plan-name {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.4px;
}
.stream-plan-price {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
  color: #fff;
}
.stream-plan-desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.stream-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0 22px;
}
.stream-step-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 16px;
}
.stream-step-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  color: var(--color-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.stream-step-box h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.stream-step-box p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.55;
}

.stream-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stream-faq-box {
  background: rgba(22, 13, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  margin-top: 20px;
}
.stream-faq-box h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 18px;
}
.stream-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}
.stream-faq-item:last-child {
  border-bottom: none;
}
.stream-faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stream-faq-item summary::-webkit-details-marker {
  display: none;
}
.stream-faq-item p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.68;
  margin: 10px 0 0;
}

.streaming-subnav a.active {
  background: rgba(255, 178, 0, 0.25);
  border-color: var(--color-gold);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 178, 0, 0.35);
}
.streaming-subnav a.subnav-back-link {
  background: rgba(255, 178, 0, 0.12);
  border-color: rgba(255, 178, 0, 0.35);
  color: var(--color-gold);
}
.streaming-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.streaming-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.streaming-breadcrumbs a:hover {
  color: var(--color-gold);
}
.streaming-breadcrumbs .sep {
  opacity: 0.35;
}
.streaming-breadcrumbs .current {
  color: var(--color-gold);
  font-weight: 800;
}

/* ==================== STREAMING HUB CARDS & GUIDE ==================== */
.stream-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 46px;
}
@media (max-width: 820px) {
  .stream-hub-grid {
    grid-template-columns: 1fr;
  }
}
.stream-hub-card {
  background: rgba(22, 13, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.stream-hub-card:hover {
  border-color: rgba(255, 178, 0, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}
.stream-hub-card.rank-1 {
  border-color: rgba(255, 178, 0, 0.35);
  background: radial-gradient(circle at 100% 0%, rgba(229, 9, 20, 0.16) 0%, rgba(22, 13, 34, 0.92) 65%);
}
.stream-hub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.stream-hub-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stream-hub-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}
.stream-hub-card-price {
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 800;
  margin-top: 3px;
}
.stream-hub-card-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.stream-hub-card-bullets li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}
.stream-hub-card-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 900;
}
.stream-hub-verdict {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--color-gold);
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.stream-hub-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.btn-stream-read-review {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #ff2a75 0%, #ff8800 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 42, 117, 0.35);
}
.btn-stream-read-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 42, 117, 0.5);
  color: #fff;
}
.stream-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}
@media (max-width: 900px) {
  .stream-guide-grid {
    grid-template-columns: 1fr;
  }
}
.stream-guide-card {
  background: rgba(22, 13, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 22px;
  transition: all 0.25s ease;
}
.stream-guide-card:hover {
  border-color: rgba(255, 178, 0, 0.35);
  transform: translateY(-2px);
}
.stream-guide-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.stream-guide-card h3 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
}
.stream-guide-card p {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
.stream-section-h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 10px;
}
.stream-section-desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

@media (max-width: 900px) {
  .stream-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stream-pricing-grid {
    grid-template-columns: 1fr;
  }
  .stream-screenshots-grid,
  .stream-pros-cons-grid,
  .stream-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .streaming-hero {
    padding: 28px 0 20px;
  }
  .streaming-hero h1 {
    font-size: 23px;
  }
  .streaming-hero p {
    font-size: 13.5px;
  }
  .streaming-subnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .streaming-subnav a {
    flex-shrink: 0;
    padding: 7px 12px;
    font-size: 11.5px;
  }
  .stream-review-card {
    padding: 20px 16px;
    border-radius: 16px;
    margin-bottom: 26px;
  }
  .stream-review-title-group h2 {
    font-size: 21px;
  }
  .stream-review-score-box {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .stream-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stream-summary-box,
  .stream-faq-box {
    padding: 18px 14px;
  }
}

/* Netflix */
.btn-platform-netflix {
  background: rgba(229, 9, 20, 0.12) !important;
  border: 1.5px solid rgba(229, 9, 20, 0.4) !important;
  color: #E50914 !important;
}
.btn-platform-netflix:hover {
  background: rgba(229, 9, 20, 0.25) !important;
  border-color: #E50914 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
}

/* Prime Video */
.btn-platform-prime {
  background: rgba(0, 168, 225, 0.12) !important;
  border: 1.5px solid rgba(0, 168, 225, 0.35) !important;
  color: #00A8E1 !important;
}
.btn-platform-prime:hover {
  background: rgba(0, 168, 225, 0.25) !important;
  border-color: #00A8E1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 225, 0.35);
}

/* Apple TV+ */
.btn-platform-apple {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}
.btn-platform-apple:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
}

/* Max (HBO) */
.btn-platform-max {
  background: rgba(168, 85, 247, 0.12) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.4) !important;
  color: #c084fc !important;
}
.btn-platform-max:hover {
  background: rgba(168, 85, 247, 0.25) !important;
  border-color: #a855f7 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

/* Disney+ */
.btn-platform-disney {
  background: rgba(0, 214, 255, 0.12) !important;
  border: 1.5px solid rgba(0, 214, 255, 0.35) !important;
  color: #00D6FF !important;
}
.btn-platform-disney:hover {
  background: rgba(0, 214, 255, 0.25) !important;
  border-color: #00D6FF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 214, 255, 0.35);
}

/* Paramount+ */
.btn-platform-paramount {
  background: rgba(59, 130, 246, 0.12) !important;
  border: 1.5px solid rgba(59, 130, 246, 0.4) !important;
  color: #60a5fa !important;
}
.btn-platform-paramount:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  border-color: #3b82f6 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

/* YouTube */
.btn-platform-youtube {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
}
.btn-platform-youtube:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}




/* ==================== COMPACT SEARCH FILTERS (density pass) ==================== */
section:has(#advSearchForm) {
  padding: 22px 0 40px !important;
}
#advSearchForm {
  gap: 18px !important;
  margin-bottom: 28px !important;
}
.search-filter-grid {
  gap: 16px !important;
}

/* Filter cards */
.search-filter-grid > div,
.search-filter-grid > .filter-stack-col > .f-card {
  padding: 16px !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}

/* Card header (number badge + title) */
.search-filter-grid > div:not(.filter-stack-col) > div:first-child,
.filter-stack-col > .f-card > .f-head {
  font-size: 15px !important;
  margin-bottom: 12px !important;
  gap: 9px !important;
}
.search-filter-grid > div:not(.filter-stack-col) > div:first-child > span:first-child,
.filter-stack-col > .f-card > .f-head > span:first-child {
  width: 24px !important;
  height: 24px !important;
  font-size: 13px !important;
}

/* Inner field stack */
.search-filter-grid > div:not(.filter-stack-col) > div:last-child,
.filter-stack-col > .f-card:first-child > div:last-child {
  gap: 11px !important;
}

/* Field labels */
.search-filter-grid label[data-i18n],
.search-filter-grid > div:not(.filter-stack-col) > div:last-child > div > label {
  font-size: 10.5px !important;
  margin-bottom: 3px !important;
}

/* Select buttons + text inputs */
.search-filter-grid .multiselect-btn,
.search-filter-grid .filter-text-input {
  padding: 8px 12px !important;
  font-size: 12.5px !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

/* Dashed separators inside cards */
.search-filter-grid [style*="dashed"] {
  margin-top: 2px !important;
  padding-top: 9px !important;
}

/* "Что искать" checkbox cards */
.search-filter-grid .content-type-checkbox-card {
  padding: 7px 12px !important;
  gap: 9px !important;
}
.search-filter-grid .content-type-checkbox-card + .content-type-checkbox-card,
.search-filter-grid .content-type-checkbox-card {
  /* tighten the stack that wraps them */
}
.search-filter-grid .content-type-checkbox-card .custom-checkbox-mark {
  width: 17px !important;
  height: 17px !important;
}
.search-filter-grid .content-type-checkbox-card .checkbox-label-text {
  font-size: 12.5px !important;
}
/* the flex column holding the 3 checkbox cards */
.search-filter-grid > div:nth-child(2) > div:last-child > div:last-child > div,
.filter-stack-col > .f-card:nth-child(2) > div:last-child {
  gap: 6px !important;
}
.search-filter-grid > div:nth-child(2) > div:last-child > div:last-child > label {
  margin-bottom: 6px !important;
}

/* Rating / votes boxes */
.search-filter-grid > div:nth-child(3) > div:last-child > div {
  padding: 10px 12px !important;
}
.search-filter-grid .custom-range-slider {
  height: 5px !important;
}
.search-filter-grid .custom-num-input {
  padding: 4px 6px !important;
  font-size: 12.5px !important;
}

@media (max-width: 992px) {
  .search-filter-grid { gap: 14px !important; }
}

/* ==================== FILTER CHIPS + SORT SELECT ==================== */
.chip-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  background: rgba(26, 17, 43, 0.85);
  border: 1.5px solid rgba(255, 178, 0, 0.35);
  border-radius: 8px;
  padding: 6px 11px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--color-gold);
  color: #fff;
}
.filter-chip.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #1a112b;
}
.sort-select {
  background: rgba(26, 17, 43, 0.9);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 9px;
  padding: 7px 12px;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  outline: none;
}
.sort-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 12px rgba(255, 178, 0, 0.35);
}
.sort-select option {
  background: #1a112b;
  color: #fff;
}

/* ==================== КИНОВЕЧЕР — GROUP MOVIE PICK ==================== */
.party-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-midnight);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 34px 34px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.party-step-badge {
  position: absolute;
  top: -20px;
  left: 34px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 178, 0, 0.4);
}
.party-step-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
}
.party-step-hint {
  color: var(--color-text-muted);
  font-size: 13.5px;
  margin: 0 0 22px;
}

/* Step 1 — count */
.party-count-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.party-count-btn {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(26, 17, 43, 0.85);
  border: 1.5px solid rgba(255, 178, 0, 0.35);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.party-count-btn:hover { border-color: var(--color-gold); transform: translateY(-2px); }
.party-count-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #1a112b;
}

/* Step 2 — participants */
.party-participants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.party-participant {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.party-participant.is-ok {
  border-color: rgba(45, 200, 120, 0.5);
  background: rgba(45, 200, 120, 0.06);
}
.party-participant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.party-participant-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 14px;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.party-participant-progress {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--color-text-muted);
}
.party-participant-progress.is-ok { color: #4fd18b; }

.party-search { position: relative; }
.party-search-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(26, 17, 43, 0.85);
  border: 1.5px solid rgba(255, 178, 0, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 13px;
  outline: none;
}
.party-search-input:focus { border-color: var(--color-gold); }
.party-search-input:disabled { opacity: 0.5; cursor: not-allowed; }
.party-search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #17102a;
  border: 1.5px solid rgba(255, 178, 0, 0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  max-height: 320px;
  overflow-y: auto;
}
.party-sug {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.party-sug:last-child { border-bottom: none; }
.party-sug:hover { background: rgba(255, 178, 0, 0.12); }
.party-sug img { width: 30px; height: 44px; object-fit: cover; border-radius: 4px; flex-shrink: 0; background: #000; }
.party-sug-title { flex: 1; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.party-sug-year { font-size: 11px; color: var(--color-text-muted); flex-shrink: 0; }
.party-sug-empty { padding: 14px 12px; font-size: 12.5px; color: var(--color-text-muted); text-align: center; }

.party-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.party-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 178, 0, 0.1);
  border: 1px solid rgba(255, 178, 0, 0.4);
  border-radius: 50px;
  padding: 4px 6px 4px 4px;
  max-width: 100%;
}
.party-chip img { width: 22px; height: 32px; object-fit: cover; border-radius: 50px; flex-shrink: 0; background: #000; }
.party-chip-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.party-chip-x {
  background: none;
  border: none;
  color: var(--color-pink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.party-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .party-card { padding: 34px 18px 26px; }
  .party-step-badge { left: 18px; }
  .party-participants { grid-template-columns: 1fr; }
}

/* ==========================================================================
   КИНО-СВАЙПЕР  (real-time group movie swiper)
   ========================================================================== */
.sw-wrap { padding: 34px 0 90px; background: var(--bg-card); min-height: 70vh; }
/* [hidden] must win over the display:flex rules below */
.sw-match-overlay[hidden], #swTimerRing[hidden], .sw-panel[hidden], .sw-deck [hidden] { display: none !important; }
.sw-intro { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.sw-h1 { font-family: var(--font-heading); font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.sw-sub { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; }
.sw-sub b { color: var(--color-gold-bright); }
.sw-panel { max-width: 1040px; margin: 0 auto; }
.sw-glass-pad { padding: 30px 26px; }
.sw-lock { font-size: 40px; text-align: center; margin-bottom: 10px; }
.sw-panel-title { font-family: var(--font-heading); font-size: 21px; font-weight: 900; color: #fff; text-align: center; margin-bottom: 10px; }
.sw-panel-text { color: var(--color-text-muted); font-size: 14px; line-height: 1.6; text-align: center; margin-bottom: 22px; }
#swAuthCallout .liquid-glass { display: flex; flex-direction: column; align-items: center; }
#swAuthCallout .sw-btn-lg { display: block; }
.sw-btn-lg { padding: 14px 34px; font-size: 14px; }
.sw-btn-sm { padding: 10px 20px; font-size: 12.5px; }

/* HOME */
.sw-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sw-resume-bar { display: block; width: 100%; margin: 0 0 16px; padding: 13px 18px; border-radius: var(--radius-md); border: 1px solid var(--color-gold); background: rgba(255,178,0,0.10); color: var(--color-gold-bright); font-weight: 800; font-size: 13.5px; cursor: pointer; transition: background .15s; }
.sw-resume-bar:hover { background: rgba(255,178,0,0.20); }
.sw-card-action { padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sw-action-ico { font-size: 38px; }
.sw-card-action h3 { font-family: var(--font-heading); font-size: 18px; font-weight: 900; }
.sw-card-action p { color: var(--color-text-muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.sw-join-row { display: flex; gap: 10px; width: 100%; }
.sw-code-input { text-align: center; letter-spacing: 3px; font-weight: 800; text-transform: uppercase; }

/* LOBBY */
.sw-lobby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.sw-lobby-settings { grid-column: 1 / -1; }
.sw-lobby-code { text-align: center; }
.sw-code-label { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 800; color: var(--color-text-muted); }
.sw-code-big { font-family: var(--font-heading); font-size: 44px; font-weight: 900; letter-spacing: 4px; color: var(--color-gold-bright); margin: 6px 0 16px; }
.sw-qr { display: inline-flex; padding: 10px; background: #fff; border-radius: var(--radius-md); min-height: 40px; }
.sw-qr img, .sw-qr canvas { display: block; }
.sw-qr-hint { color: var(--color-text-muted); font-size: 12px; margin: 12px 0 14px; line-height: 1.5; }
.sw-block-h { font-family: var(--font-heading); font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.sw-members { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.sw-member { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.sw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-gold); flex-shrink: 0; box-shadow: 0 0 10px var(--color-gold); }
.sw-member.done .sw-dot { background: #06D6A0; box-shadow: 0 0 10px #06D6A0; }
.sw-mname { flex: 1; }
.sw-hostbadge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; background: var(--color-pink); color: #fff; padding: 2px 7px; border-radius: 8px; }
.sw-check { color: #06D6A0; font-weight: 900; }
.sw-threshold { color: var(--color-text-muted); font-size: 12.5px; line-height: 1.5; }
.sw-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--color-text-muted); }
.sw-field select { text-transform: none; letter-spacing: 0; font-weight: 600; }
.sw-check { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #fff; margin: 4px 0 16px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.sw-check input { width: 18px; height: 18px; accent-color: var(--color-pink); }
.sw-genre-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.sw-genre-chip { padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: rgba(255,255,255,0.04); color: var(--color-text-muted); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .15s; }
.sw-genre-chip:hover { color: #fff; border-color: var(--color-gold); }
.sw-genre-chip.active { background: var(--color-gold); border-color: var(--color-gold); color: #1a1005; }
.sw-lobby-settings.is-guest { opacity: 0.85; }
.sw-lobby-settings.is-guest .sw-genre-chip { cursor: default; }
.sw-wait-host { text-align: center; color: var(--color-gold-bright); font-weight: 800; font-size: 13.5px; margin-top: 6px; }

/* GAME */
.sw-game-top { display: flex; justify-content: space-between; align-items: center; max-width: 380px; margin: 0 auto 12px; font-weight: 800; font-size: 14px; }
.sw-matchcount { color: var(--color-gold-bright); }
.sw-deck { position: relative; width: 100%; max-width: 360px; height: 520px; margin: 0 auto; }
.sw-card { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; background: #140d18; border: 1px solid var(--color-border); box-shadow: 0 24px 60px rgba(0,0,0,0.55); display: flex; flex-direction: column; transform: translateY(calc(var(--pos) * 10px)) scale(calc(1 - var(--pos) * 0.04)); transition: transform .24s ease, opacity .24s ease; will-change: transform; }
.sw-card[data-pos="0"] { cursor: grab; z-index: 3; }
.sw-card[data-pos="0"].dragging { cursor: grabbing; transition: none; }
.sw-card[data-pos="1"] { z-index: 2; }
.sw-card[data-pos="2"] { z-index: 1; }
.sw-card.fly-right { transform: translateX(140%) rotate(22deg) !important; opacity: 0; }
.sw-card.fly-left  { transform: translateX(-140%) rotate(-22deg) !important; opacity: 0; }
.sw-card-poster { position: relative; flex: 1; background-size: cover; background-position: center top; }
.sw-card-badge { position: absolute; top: 22px; font-family: var(--font-heading); font-weight: 900; font-size: 22px; letter-spacing: 1px; padding: 6px 14px; border-radius: 10px; border: 3px solid; text-transform: uppercase; }
.sw-badge-like { right: 18px; color: #06D6A0; border-color: #06D6A0; transform: rotate(12deg); opacity: var(--like-op, 0); }
.sw-badge-nope { left: 18px; color: var(--color-red); border-color: var(--color-red); transform: rotate(-12deg); opacity: var(--nope-op, 0); }
.sw-card-body { padding: 14px 16px 16px; background: linear-gradient(180deg, rgba(20,13,24,0) 0%, #140d18 22%); }
.sw-card-title { font-family: var(--font-heading); font-size: 19px; font-weight: 900; line-height: 1.2; margin-bottom: 5px; }
.sw-card-meta { color: var(--color-gold-bright); font-size: 12.5px; font-weight: 700; margin-bottom: 8px; }
.sw-card-syn { color: var(--color-text-muted); font-size: 13px; line-height: 1.5; }
.sw-deck-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 30px; color: var(--color-text-muted); font-weight: 700; font-size: 15px; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); }
.sw-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 22px auto 8px; }
.sw-swipe-btn { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--color-border); background: rgba(255,255,255,0.06); font-size: 26px; cursor: pointer; transition: transform .12s, border-color .12s; }
.sw-swipe-btn:hover { transform: scale(1.08); }
.sw-nope:hover { border-color: var(--color-red); }
.sw-like:hover { border-color: #06D6A0; }
.sw-timer-ring { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; color: #fff; background:
  radial-gradient(closest-side, #1a1120 79%, transparent 80% 100%),
  conic-gradient(var(--color-gold) calc(var(--frac, 1) * 360deg), rgba(255,255,255,0.12) 0); }
.sw-hint-line { text-align: center; color: var(--color-text-muted); font-size: 12px; margin-top: 6px; }
.sw-host-finish { display: block; margin: 10px auto 0; background: none; border: none; color: var(--color-text-muted); font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.sw-host-finish:hover { color: var(--color-gold-bright); }

/* MATCH OVERLAY */
.sw-match-overlay { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; background: rgba(3,1,6,0.82); backdrop-filter: blur(6px); }
.sw-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sw-match-box { position: relative; text-align: center; padding: 30px; max-width: 340px; }
.sw-match-title { font-family: var(--font-heading); font-size: 34px; font-weight: 900; letter-spacing: 1px; background: linear-gradient(90deg, var(--color-gold-bright), var(--color-red)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; animation: swPop .4s ease; }
@keyframes swPop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sw-match-poster { width: 170px; height: 250px; margin: 0 auto 14px; border-radius: var(--radius-md); background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.sw-match-movie { font-family: var(--font-heading); font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.sw-match-people { color: var(--color-gold-bright); font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }

/* RESULTS */
.sw-results-h { font-family: var(--font-heading); font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 8px; }
.sw-results-sub { text-align: center; color: var(--color-text-muted); font-size: 14px; margin-bottom: 26px; line-height: 1.55; }
.sw-res-count { position: absolute; top: 8px; left: 8px; background: rgba(3,1,6,0.8); color: var(--color-gold-bright); font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 8px; }
.sw-res-body { padding: 11px 12px 13px; }
.sw-res-title { font-family: var(--font-heading); font-weight: 800; font-size: 13.5px; line-height: 1.3; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sw-res-year { font-weight: 700; color: var(--color-text-muted); }
.sw-res-people { font-size: 11.5px; color: var(--color-text-muted); line-height: 1.45; margin-top: 7px; }
.sw-results-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

@media (max-width: 760px) {
  .sw-home-grid, .sw-lobby-grid { grid-template-columns: 1fr; }
  .sw-deck { height: 480px; max-width: 320px; }
  .sw-h1 { font-size: 26px; }
}

/* ==================== SEO: crawlable card links ==================== */
/* Real <a href> stretched over JS-driven cards (see window.cardLinkHtml). */
.movie-card, .reco-card { position: relative; }
.card-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}
.movie-card .btn-watched { position: relative; z-index: 6; }
a.movie-card { text-decoration: none; color: inherit; }
