/* KEVEO - Components Stylesheet (Streaming Selector, Catalog, Roulette, Swipe, Modal) */

/* --- STREAMING SELECTOR PANEL --- */
.streaming-selector-panel {
  margin-bottom: var(--space-md);
}

/* --- MINI INTEGRATED SELECTOR (DISCRETE BAR) --- */
.streaming-selector-panel.mini-selector {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mini-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.mini-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.mini-selector .streaming-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.mini-selector .streaming-item {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill); /* Estilo de píldora redonda */
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  transform: none;
  margin-bottom: 0;
}

.mini-selector .streaming-item .service-icon {
  font-size: 0.95rem;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-selector .streaming-item .service-icon svg {
  width: 100%;
  height: 100%;
}

.mini-selector .streaming-item .service-name {
  font-size: 0.8rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.7);
}

.mini-selector .streaming-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.mini-selector .streaming-item.active {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--service-color);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.02);
}

.mini-selector .streaming-item.active .service-name {
  color: #ffffff;
}

.mini-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.mini-switch {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mini-switch .switch-el {
  width: 32px;
  height: 16px;
}

.mini-switch .switch-slider {
  border-radius: 20px;
}

.mini-switch .switch-slider:before {
  height: 10px;
  width: 10px;
  left: 2px;
  bottom: 2px;
}

.mini-switch input:checked + .switch-slider:before {
  transform: translateX(16px);
}

.mini-buttons-group {
  display: flex;
  gap: 0.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 0.75rem;
}

.btn-mini {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-mini:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Responsividad premium para la barra integrada */
@media (max-width: 768px) {
  .streaming-selector-panel.mini-selector {
    padding: 0.6rem 0.85rem;
  }
  .mini-selector-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .mini-label {
    font-size: 0.8rem;
  }
  .mini-actions {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.5rem;
    margin-top: 0.2rem;
  }
  .mini-buttons-group {
    border-left: none;
    padding-left: 0;
  }
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.panel-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-sm);
  margin-bottom: 1rem;
}

.streaming-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 1rem;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  user-select: none;
  transition: var(--transition-normal);
}

.streaming-item .service-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.streaming-item .service-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.streaming-item.active {
  background: rgba(18, 18, 24, 0.9);
  border-color: var(--service-color);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

/* Switch styling for global bypass */
.switch-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.switch-el {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}

.switch-el input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid var(--border-glass);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
  border-radius: 50%;
}

.switch-el input:checked + .switch-slider {
  background-color: #8b5cf6;
}

.switch-el input:checked + .switch-slider:before {
  transform: translateX(22px);
  background-color: #ffffff;
}

/* --- QUICK FILTERS HOME --- */
.quick-filters-container {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.filter-group-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Genre Pills */
.filter-pills-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.filter-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0 1.1rem;
  min-height: var(--btn-h-sm);
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-pill.active {
  background: #ffffff;
  color: #060608;
  border-color: #ffffff;
}

/* Mood Grid */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-sm);
}

.mood-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  background: var(--bg-card);
}

.mood-card .mood-icon {
  font-size: 1.8rem;
  transition: var(--transition-normal);
}

.mood-card .mood-name {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-title);
}

.mood-card.active {
  border-color: #ec4899;
  box-shadow: var(--glow-secondary);
  background: rgba(236, 72, 153, 0.08);
}
.mood-card.active .mood-icon {
  transform: scale(1.2);
}

/* Dinner Grid */
.dinner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.dinner-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem;
  cursor: pointer;
}

.dinner-card .dinner-icon {
  font-size: 1.7rem;
}

.dinner-card .dinner-name {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-title);
}

.dinner-card.active {
  border-color: #3b82f6;
  box-shadow: var(--glow-accent);
  background: rgba(59, 130, 246, 0.08);
}

/* Catalog Filter Bar */
.catalog-header-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  margin-top: var(--space-md);
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: var(--space-md);
}

.catalog-search-row {
  display: flex;
  gap: var(--space-sm);
  flex-grow: 1;
  max-width: 500px;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dark);
}

.search-input-wrapper input {
  width: 100%;
  padding-left: 2.75rem;
}

/* --- MOVIE CARDS CATALOG --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

.movie-card {
  background: var(--surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              border-color 0.4s ease,
              z-index 0.4s step-end;
}

/* Efectos de hover premium solo en dispositivos con mouse para evitar persistencia táctil en móviles */
@media (hover: hover) {
  .movie-card:hover {
    z-index: 10;
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 20px rgba(225, 29, 72, 0.15);
  }
}

/* Retroalimentación táctil activa para dispositivos móviles sin persistencia de hover */
@media (hover: none) {
  .movie-card:active {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.1s ease;
  }
}

.movie-poster-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--surface-base);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

@media (hover: hover) {
  .movie-card:hover .movie-poster {
    transform: scale(1.08);
  }
}

.movie-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(6, 6, 8, 0.95);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.movie-platforms-overlap {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.25rem;
}

.plat-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  cursor: pointer;
}

@media (hover: hover) {
  .plat-badge:hover {
    transform: scale(1.15) translateY(-2px);
  }
}

.movie-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.movie-rating-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.movie-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  /* Truncar a dos líneas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6rem;
}

.movie-genres-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.movie-genre-tag {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.movie-duration-row {
  font-size: 0.75rem;
  color: var(--text-dark);
  margin-top: auto;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.empty-icon {
  font-size: 3.5rem;
}

.empty-state p {
  color: var(--text-muted);
}

/* --- ROULETTE SECTION --- */
.roulette-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 0;
}

.canvas-wrapper {
  position: relative;
  padding: 10px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.canvas-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.05);
  pointer-events: none;
}

.roulette-instructions {
  text-align: center;
  max-width: 500px;
}

.roulette-subtext {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

/* --- RULETA WINNER CARD PREMIUM --- */
/* Overlay de fondo para bloquear scroll y ocultar texto trasero cuando el modal está abierto */
body.winner-modal-open {
  overflow: hidden !important;
}

.roulette-winner-card {
  width: 92%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2.5rem 2rem;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(20, 10, 30, 0.97) 0%, rgba(10, 5, 15, 0.99) 100%);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  /* Convert to Floating Modal */
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  z-index: 10000;
  margin: 0 !important;
  box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.85), 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Evitar que SVG como el de Rappi se hagan gigantes */
.modal-platform-badge .icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.roulette-winner-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.winner-card-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.winner-badge {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  display: inline-block;
  text-transform: uppercase;
}

.winner-card-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-md);
}

.winner-poster-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  aspect-ratio: 2/3;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.winner-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.winner-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.winner-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.winner-type {
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.winner-rating {
  font-weight: 700;
  color: #f59e0b;
}

.winner-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.winner-details-row {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.winner-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.2rem 0;
}

.winner-synopsis {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5rem;
}

.winner-platforms-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
}

@media (max-width: 580px) {
  .winner-card-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .winner-poster-wrapper {
    max-width: 130px;
    margin: 0 auto;
  }
  
  .canvas-wrapper {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .winner-info-wrapper {
    text-align: center;
    align-items: center;
  }
  
  .winner-platforms-row {
    justify-content: center;
    width: 100%;
  }
}

/* --- TINDER SWIPE CO-OP SECTION --- */
.swipe-setup-view {
  max-width: 550px;
  margin: 2rem auto;
}

.swipe-setup-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: 1.5rem;
}

.voters-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Tinder Intro Page */
.swipe-intro-card {
  text-align: center;
  max-width: 500px;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.turn-badge {
  background: var(--grad-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
}

.intro-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.intro-visual {
  width: 100%;
  padding: var(--space-component) 0;
}

.phone-mock {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-mock .icon {
  font-size: 2.5rem;
}

.avatar-pair {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 2px solid var(--bg-deep);
}

.avatar.active {
  border-color: #ffffff;
  box-shadow: 0 0 10px #7c3aed;
}

.avatar-heart {
  font-size: 0.9rem;
}

/* Tinder Active Game Screen */
.swipe-game-view {
  max-width: 440px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.swipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
}

.voter-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.card-progress {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-deck {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3.1;
}

.swipe-card {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.swipe-card:active {
  cursor: grabbing;
}

.card-poster-container {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

.card-poster-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.btn-card-details {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 20;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 6, 8, 0.75);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-card-details:hover {
  transform: scale(1.05);
  background: rgba(6, 6, 8, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
}

.card-genres {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.genre-tag {
  font-size: 0.75rem;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  border: 1px solid var(--border-glass);
}

.card-info {
  padding: var(--space-component);
  background: linear-gradient(180deg, rgba(12,12,16,0.95) 0%, #060608 100%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-movie-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
}

.card-rating {
  font-weight: 600;
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-synopsis {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.25rem 0;
  /* Truncar a 2 líneas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-platforms {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.platform-list-inline {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.platform-list-inline .badge {
  border: 1px solid;
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.platform-list-inline .badge:hover {
  transform: scale(1.1);
}

/* Tinder card stamp overlays */
.swipe-overlay {
  position: absolute;
  top: 2rem;
  border: 4px solid;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-title);
  letter-spacing: 2px;
  transform: rotate(-15deg);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.15s ease;
}

.swipe-overlay.like {
  right: 2rem;
  border-color: #10b981;
  color: #10b981;
  transform: rotate(15deg);
}

.swipe-overlay.nope {
  left: 2rem;
  border-color: #ef4444;
  color: #ef4444;
}

.swipe-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.btn-round {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: var(--transition-normal);
}

.btn-round:hover {
  transform: scale(1.1);
}

.btn-nope {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-nope:hover {
  background: rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.btn-like {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.btn-like:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Tinder Swipe Results Page */
.swipe-results-view {
  max-width: 600px;
  margin: 1rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.results-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.res-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-primary);
}

.res-avatar.pink {
  background: var(--grad-secondary);
  box-shadow: var(--glow-secondary);
}

.res-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.avatar-heartpulse {
  font-size: 1.8rem;
  animation: pulse-heart 1.2s infinite;
}

.results-subtitle {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.match-item {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.match-item img {
  width: 100%;
  aspect-ratio: 2/2.5;
  object-fit: cover;
}

.match-item-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.match-item-info h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.match-platforms {
  font-size: 0.8rem;
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Tinder Rescue (No matches) View */
.no-matches-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 2rem;
}

.cry-icon {
  font-size: 3rem;
}

.rescue-card {
  display: flex;
  text-align: left;
  gap: var(--space-md);
  max-width: 450px;
  padding: 1rem;
  margin: 1rem 0;
  width: 100%;
}

.rescue-card img {
  width: 100px;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.rescue-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.rescue-info h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
}

.rescue-synopsis {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- YOUTUBE GRID --- */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

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

.yt-thumb-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f0f15;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.youtube-card:hover .yt-thumb {
  transform: scale(1.05);
}

.yt-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(6, 6, 8, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--border-glass);
}

.yt-category-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #ef4444;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  font-size: 2.2rem;
  opacity: 0;
  transition: var(--transition-normal);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.youtube-card:hover .play-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.yt-info {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.yt-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.yt-creator {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- OVERLAY DETAIL MODAL --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  display: none; /* Controlado por JS */
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal-container {
  width: 100%;
  max-width: 900px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: rotate(90deg);
}

.modal-scroll-area {
  padding: 2.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
}

.modal-poster-col {
  width: 100%;
}

.modal-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.modal-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #8b5cf6;
}

.modal-rating {
  font-weight: 700;
  font-size: 0.95rem;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.modal-meta-row {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 0.5rem 0;
}

.modal-section-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-synopsis {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.modal-platform-badge {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modal-platform-badge:hover {
  transform: scale(1.05) translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.modal-trailer-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.modal-iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

/* Modal YouTube Player View */
.youtube-player-view {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.youtube-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
}

.youtube-iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.youtube-player-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.yt-tag {
  align-self: flex-start;
  background: #ef4444;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.youtube-player-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.youtube-player-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.yt-enjoy-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- CENA EN PAREJA: EL LABORATORIO CULINARIO --- */

/* Sub-tabs Navigation */
/* ================= PREMIUM DINNER STUDIO REDESIGN (CARDS MENU & NAV BAR) ================= */

.dinner-navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 850px;
  margin: 0 auto 2.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 40px;
  gap: var(--space-md);
  flex-wrap: wrap;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.4s ease forwards;
}

.btn-dinner-back {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-title);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.btn-dinner-back:hover {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
  transform: translateX(-4px);
}

.dinner-compact-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.dinner-cards-menu {
  max-width: 1050px;
  margin: 1.5rem auto 3rem;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.dinner-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.dinner-card-premium {
  position: relative;
  background: rgba(10, 10, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.25rem 1.75rem 2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
  outline: none;
}

.dinner-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  border-radius: 24px;
  pointer-events: none;
}

/* Hover effect */
.dinner-card-premium:hover,
.dinner-card-premium:focus-within {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px var(--card-color);
}

.dinner-card-premium:hover .dinner-card-image {
  transform: scale(1.08);
  box-shadow: 0 0 25px var(--card-color);
}

.dinner-card-premium:hover .dinner-card-action {
  transform: scale(1.04);
}

/* Protagonista: Maridaje del Chef */
.dinner-card-premium.featured {
  border: 1.5px solid #ec4899;
  background: rgba(15, 10, 22, 0.55);
  box-shadow: var(--shadow-3);
  transform: scale(1.03);
}

.dinner-card-premium.featured:hover,
.dinner-card-premium.featured:focus-within {
  transform: translateY(-8px) scale(1.045);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 35px #ec4899;
}

/* Badge flotante */
.dinner-card-badge {
  position: absolute;
  top: 1rem;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.6);
  text-transform: uppercase;
  z-index: 2;
  animation: badgeBeat 2.5s infinite ease-in-out;
}

@keyframes badgeBeat {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.05); filter: brightness(1.15); box-shadow: 0 0 16px rgba(236, 72, 153, 0.85); }
}

/* Imagen/Icono superior */
.dinner-card-image {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.dinner-card-image::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--card-color);
  opacity: 0.15;
  filter: blur(12px);
  z-index: -1;
}

.dinner-card-icon {
  font-size: 3.25rem;
  filter: drop-shadow(0 0 10px var(--card-color));
}

/* Cuerpo de la tarjeta */
.dinner-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.dinner-card-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 60%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dinner-card-premium.featured .dinner-card-title {
  background: linear-gradient(135deg, #fff, #fbcfe8, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dinner-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
  max-width: 250px;
}

.dinner-card-action {
  width: 100%;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
}

/* Adaptación móvil (Responsive Grid) */
@media (max-width: 768px) {
  .dinner-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .dinner-card-premium.featured {
    transform: none;
  }
  .dinner-card-premium.featured:hover {
    transform: translateY(-5px);
  }
  .dinner-navigation-bar {
    border-radius: 20px;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }
  .btn-dinner-back {
    justify-content: center;
  }
}

.dinner-studio-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 40px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  max-width: 550px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dinner-tab-btn {
  border-radius: 30px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.65rem 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dinner-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.dinner-tab-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

#btn-dinner-tab-antojometro.active {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  background: rgba(168, 85, 247, 0.05);
}

#btn-dinner-tab-maridaje.active {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

#btn-dinner-tab-retos.active {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.05);
}

/* Panel Content Wrapper */
.panel-content-wrapper {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 15, 0.4);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-neon);
}

.panel-inner-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-inner-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Antojómetro: Sliders Custom */
.antojometro-sliders {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.antojo-slider-group {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.antojo-slider-group:hover, .antojo-slider-group:focus-within {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.01);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.05);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.slider-label-left {
  color: var(--text-muted);
  transition: color 0.3s;
}

.slider-label-right {
  color: var(--text-muted);
  transition: color 0.3s;
}

.antojo-slider-group:hover .slider-label-left, 
.antojo-slider-group:hover .slider-label-right {
  color: rgba(255, 255, 255, 0.8);
}

.slider-value-display {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 90px;
  text-align: center;
  transition: all 0.3s ease;
}

.antojo-slider-group:hover .slider-value-display {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #f3e8ff;
}

/* Range Inputs */
.dinner-range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: background 0.3s;
}

.dinner-range-slider::-webkit-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a855f7;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
  transition: transform 0.1s, background-color 0.3s;
}

.dinner-range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a855f7;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
  transition: transform 0.1s, background-color 0.3s;
}

.dinner-range-slider:hover::-webkit-range-thumb {
  transform: scale(1.2);
  background: #c084fc;
}

.dinner-range-slider:hover::-moz-range-thumb {
  transform: scale(1.2);
  background: #c084fc;
}

/* Antojómetro Scanner Animation */
.scanner-container {
  background: rgba(4, 4, 6, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 16px;
  padding: var(--space-component);
  position: relative;
  overflow: hidden;
  max-width: 600px;
  margin: 2rem auto 0;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.1);
}

.scanner-animation-wrapper {
  height: 100px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(168, 85, 247, 0.02);
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.scanner-grid-bg {
  position: absolute;
  inset: 0;
  background-size: 25px 25px;
  background-image: 
    linear-gradient(to right, rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
}

.scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), transparent);
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.9));
  animation: scanVertical 2s linear infinite;
}

.scanner-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px dashed rgba(168, 85, 247, 0.3);
  animation: rotateScanner 6s linear infinite;
}

@keyframes scanVertical {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

@keyframes rotateScanner {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scanner Progress */
.scanner-progress-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.scanner-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  transition: width 0.1s linear;
}

/* Scanner Terminal */
.scanner-terminal {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

.terminal-header {
  background: #111116;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #22c55e; }

.terminal-title {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 0.85rem 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #10b981;
  text-shadow: 0 0 4px rgba(16, 185, 129, 0.4);
  line-height: 1.4;
  height: 90px;
  overflow-y: auto;
  text-align: left;
}

/* Maridaje: Mood Grid & Buttons */
.mood-selectors-dinner {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.mood-dinner-btn {
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  min-width: 105px;
  outline: none;
}

.mood-dinner-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.mood-dinner-btn.active {
  transform: translateY(-3px) scale(1.03);
}

.mood-dinner-btn.active.action {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.mood-dinner-btn.active.horror {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.mood-dinner-btn.active.comedy {
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.08);
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

.mood-dinner-btn.active.romance {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

.mood-dinner-btn.active.scifi {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.mood-dinner-btn .mood-icon {
  font-size: 1.6rem;
  transition: transform 0.3s;
}

.mood-dinner-btn:hover .mood-icon {
  transform: scale(1.15) rotate(5deg);
}

.mood-dinner-btn .mood-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mood-dinner-btn:hover .mood-label,
.mood-dinner-btn.active .mood-label {
  color: #fff;
}

/* Combo Pairing Card Display */
.maridaje-result-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.combo-pairing-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(8px);
}

.combo-pairing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--pairing-glow-color, rgba(168, 85, 247, 0.08)) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transition: background 0.5s ease;
}

.combo-details-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  z-index: 1;
}

.combo-badge {
  background: var(--pairing-solid-color, #a855f7);
  color: #000;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--pairing-glow-color, rgba(168, 85, 247, 0.3));
}

.combo-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0.15rem 0 0.35rem;
}

.combo-desc-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.combo-item-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem;
  border-radius: 12px;
  transition: all 0.3s;
}

.combo-item-row:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.combo-item-icon {
  font-size: 1.65rem;
}

.combo-item-text h5 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 0.15rem;
  font-weight: 700;
}

.combo-item-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.combo-recipe-col {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.combo-recipe-col .recipe-card {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 8, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, border-color 0.3s;
}

.combo-recipe-col .recipe-card:hover {
  transform: scale(1.02);
  border-color: var(--pairing-solid-color, #a855f7);
}

/* Responsive combo card */
@media (max-width: 768px) {
  .combo-pairing-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 1.25rem;
  }
  .combo-title {
    font-size: 1.4rem;
  }
}

/* Retos Culinarios Grid & Cards */
.retos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.challenge-card {
  cursor: pointer;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  text-align: left;
}

.challenge-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 85, 247, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.challenge-icon-badge {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: inline-block;
  transition: transform 0.3s;
  width: fit-content;
}

.challenge-card:hover .challenge-icon-badge {
  transform: scale(1.15) rotate(5deg);
}

.challenge-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.challenge-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.challenge-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s;
}

.challenge-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Completed challenge */
.challenge-card.completed {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.02);
}

.challenge-card.completed:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.08);
}

.challenge-badge-overlay {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.4rem;
  color: #22c55e;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.6));
  animation: scaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.challenge-card.completed .challenge-btn {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
  color: #4ade80;
  pointer-events: none;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.challenge-card.active {
  background: rgba(139, 92, 246, 0.04);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15), inset 0 0 12px rgba(139, 92, 246, 0.05);
  transform: translateY(-2px);
  animation: borderGlow 2s infinite ease-in-out;
}

@keyframes borderGlow {
  0% { border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 0 15px rgba(139, 92, 246, 0.1); }
  50% { border-color: rgba(236, 72, 153, 0.6); box-shadow: 0 0 25px rgba(236, 72, 153, 0.25); }
  100% { border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 0 15px rgba(139, 92, 246, 0.1); }
}

.ch-game-panel {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn 0.3s ease-out;
}

.ch-game-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c084fc;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ch-attempts-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ch-attempt-col {
  flex: 1;
  text-align: center;
}

.ch-attempt-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.ch-attempt-btn-group {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ch-attempt-btn {
  flex: 1;
  padding: 0.35rem 0;
  font-size: 0.8rem;
  border: none;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ch-attempt-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ch-attempt-btn.guessed {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.ch-attempt-btn.failed {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.ch-summary-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.ch-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff;
  margin-bottom: 0.75rem;
  outline: none;
  transition: all 0.2s;
}

.ch-input:focus {
  border-color: #8b5cf6;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.15);
}

.ch-select-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ch-select-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ch-select-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 70px;
}

.ch-select {
  flex-grow: 1;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  background: rgba(20, 20, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff;
  outline: none;
}

.ch-stars-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem 0;
}

.ch-star {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ch-star:hover {
  transform: scale(1.2);
}

.ch-star.active {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
}

.ch-btn-submit {
  width: 100%;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.ch-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.ch-btn-submit:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.challenge-summary-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.challenge-card.led-glow::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
  background-size: 400%;
  z-index: -1;
  border-radius: 18px;
  filter: blur(12px);
  opacity: 0.85;
  animation: neonRGB 12s linear infinite;
  pointer-events: none;
}

@keyframes neonRGB {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive Modal styling */
/* Responsive Modal styling */
@media (max-width: 768px) {
  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .modal-poster-col {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .modal-title {
    font-size: 1.75rem;
  }
  
  .modal-scroll-area {
    padding: var(--space-component);
  }
  
  .modal-overlay {
    padding: 1rem;
  }
}

/* ================= OVERRIDES RESPONSIVOS DE COMPONENTES (Cine & Cena Premium Móvil) ================= */

@media (max-width: 768px) {
  /* --- STREAMING SELECTOR --- */
  .streaming-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 0.5rem;
  }
  
  .streaming-item {
    padding: 0.55rem 0.65rem;
    gap: 0.4rem;
    justify-content: flex-start;
  }
  
  .streaming-item .service-icon {
    font-size: 1.1rem;
  }
  
  .streaming-item .service-name {
    font-size: 0.75rem;
  }

  .panel-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .switch-container {
    font-size: 0.78rem;
  }

  /* --- FILTROS RÁPIDOS --- */
  .dinner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .dinner-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .dinner-card .dinner-icon {
    font-size: 1.3rem;
  }
  
  .dinner-card .dinner-name {
    font-size: 0.78rem;
  }

  .mood-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .mood-card {
    padding: 0.75rem 0.35rem;
    gap: 0.3rem;
  }
  
  .mood-card .mood-icon {
    font-size: 1.35rem;
  }
  
  .mood-card .mood-name {
    font-size: 0.75rem;
  }

  /* --- BUSCADOR Y BARRA DE FILTROS --- */
  .catalog-header-bar {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    gap: var(--space-sm);
  }

  .catalog-search-row {
    width: 100%;
    max-width: 100%;
  }

  .filter-pills-row {
    width: 100%;
    padding-bottom: 0.25rem;
  }
  
  .filter-pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0 1.1rem;
  min-height: var(--btn-h-sm);
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.match-badge.platform:hover {
  transform: scale(1.1) translateY(-1px);
  background: rgba(139, 92, 246, 0.3);
}

.match-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 1.75rem;
}

.btn-viral-share {
  background: linear-gradient(135deg, #FF007A 0%, #7B00FF 100%) !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 1rem 1.5rem !important;
  font-size: 1.25rem !important;
  box-shadow: 0 10px 25px rgba(255, 0, 122, 0.3) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease !important;
}

.btn-viral-share:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 0, 122, 0.45), 0 0 20px rgba(123, 0, 255, 0.3) !important;
}

}

/* ================= OPTIMIZACIÓN MOBILE-FIRST ================= */
@media (max-width: 600px) {
  /* Forzar tamaño touch-friendly en botones */
  .btn, .catalog-tab-btn, .food-subtab-btn, #btn-toggle-advanced-filters {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Catálogo: Forzar 2 tarjetas por fila en celular (140px min) */
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 0.75rem !important;
  }
  
  .movie-card-info {
    padding: 0.85rem !important;
  }

  .movie-title {
    font-size: 0.95rem !important;
  }

  .movie-rating-row {
    font-size: 0.65rem !important;
  }

  /* Ruleta: Prevenir desbordamiento de switches */
  .munchies-3way-toggle {
    transform: scale(0.85);
    margin: -10px 0;
  }

  /* FAQ: Mejorar legibilidad */
  .faq-answer-content p {
    line-height: 1.6 !important;
    font-size: 0.95rem;
  }
}

/* Toast flotante de éxito */
.keveo-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(6, 6, 8, 0.95);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  z-index: 1000000;
  font-family: var(--font-main);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ================= SEO FAQ SECTION & ACCORDION PREMIUM ================= */
/* N-07 - Watermark fix */
@media (max-width: 600px) {
  .seo-faq-section::before,
  .faq-watermark,
  .faq-header::before {
    display: none !important;
    opacity: 0.04 !important;
  }
}

.seo-faq-section {
  max-width: var(--container-narrow);
  margin: 0 auto;
  margin-top: 4rem;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.faq-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(236, 72, 153, 0.2);
  display: inline-block;
}

.faq-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.faq-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: var(--border-subtle);
  padding: 1rem 0;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: var(--text-body-lg);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.faq-question-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

.faq-question-btn:hover {
  color: var(--primary-light);
}

.faq-icon-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

/* Accordion open behavior using Javascript height calculation */
.faq-answer-wrapper {
  height: 0;
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer-content p {
  margin: 0;
}

.faq-answer-content strong {
  color: var(--text-main);
}

.faq-answer-content em {
  color: #ec4899;
  font-style: normal;
  font-weight: 600;
}

.faq-item.active {
  background: rgba(139, 92, 246, 0.03);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-item.active .faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: var(--text-body-lg);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.faq-question-btn:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
}

/* Mode Selector and premium active mode styling */
/* Mode Selector - Premium iOS Segmented Control Style */
.roulette-mode-selector {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 0.35rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.roulette-mode-selector .btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 2rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.roulette-mode-selector .btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  transform: none;
}

.roulette-mode-selector .btn.active-mode {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#btn-roulette-mode-food.active-mode {
  background: linear-gradient(135deg, #ff6b35 0%, #ff4757 100%);
  color: #ffffff;
  border-color: #ff6b35;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

#btn-roulette-mode-movies.active-mode {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #ffffff;
  border-color: #8b5cf6;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Modal and layout adjustments for food delivery badges */
.modal-platform-badge {
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-platform-badge:hover {
  transform: scale(1.05) translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Flex buttons on winner card */
.winner-actions-flex {
  display: flex;
  gap: var(--space-sm);
  margin-top: 1rem;
  width: 100%;
}

.winner-actions-flex .btn {
  flex: 1;
}

/* Custom platform vector logo styling for ultra premium brand visuals */
.service-icon svg,
.plat-badge svg,
.modal-platform-badge svg,
.plat-badge-overlap svg,
.plat-badge-row svg,
.platforms-grid svg,
.platforms-row svg,
.modal-platforms-grid svg,
.winner-platforms-row svg,
.match-platforms svg,
.movie-platforms-overlap svg,
#match-celebration-platform-badge svg,
.movie-platforms-overlap a svg,
.modal-platform-badge a svg,
a.modal-platform-badge svg {
  width: 1.4rem;
  height: 1.4rem;
  display: inline-block;
  vertical-align: middle;
}

/* Specific alignments for perfect logo flow */
.streaming-item .service-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.plat-badge {
  background: rgba(10, 10, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.modal-platform-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

#match-celebration-platform-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ================= MUNCHIES SELECTOR & PREMIUM RECETARIO CUSTOM CSS ================= */

/* Capa de fondo decorativa vectorial dinámico */
.roulette-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0.14;
  background-color: #040406;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M20,15 H35 V30 H20 Z' stroke='%237c3aed' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M20,20 H35 M20,25 H35 M27.5,15 V30' stroke='%237c3aed' stroke-width='0.8' fill='none'/%3E%3Ccircle cx='105' cy='25' r='8' stroke='%237c3aed' stroke-width='1.2' fill='none'/%3E%3Cpath d='M97,25 H113 M105,17 V33' stroke='%237c3aed' stroke-width='0.8' fill='none'/%3E%3Cpath d='M30,105 L45,90 L60,105' stroke='%237c3aed' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='45' cy='95' r='2' fill='%237c3aed'/%3E%3Cpath d='M100,90 H120 V110 H100 Z' stroke='%237c3aed' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='110' cy='100' r='4' stroke='%237c3aed' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='65' cy='55' r='6' stroke='%237c3aed' stroke-width='1.2' fill='none'/%3E%3Cpath d='M65,49 V61 M59,55 H71' stroke='%237c3aed' stroke-width='0.8' fill='none'/%3E%3Cpath d='M135,130 C138,122 145,122 145,130 C145,138 135,145 135,145 C135,145 125,138 125,130 C125,122 132,122 135,130 Z' stroke='%237c3aed' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Fondos específicos por tema activado en el body */
body.theme-food-fit .roulette-bg-pattern {
  opacity: 0.14;
  background-color: #020805;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M25,20 C25,12 35,12 35,20 C35,28 25,35 25,35 C25,35 15,28 15,20 C15,12 25,12 25,20 Z' stroke='%2334d399' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M23,11 C25,13 25,13 27,11' stroke='%2334d399' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='105' cy='25' r='5' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='114' cy='25' r='5' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='110' cy='33' r='5' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Cpath d='M109,17 C109,20 110,20 110,20' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Cpath d='M30,105 C26,105 23,101 23,97 C23,94 25,91 28,90 C26,86 29,82 33,82 C35,82 37,83 38,85 C40,81 44,81 46,84 C49,84 51,87 51,90 C54,91 56,94 56,97 C56,101 53,105 49,105 Z' stroke='%2334d399' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M35,105 L35,113 M43,105 L43,113' stroke='%2334d399' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3Crect x='102' y='92' width='16' height='22' rx='8' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Cpath d='M102,103 L118,103 M110,92 L110,114' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Cpath d='M106,85 L110,92 L114,85' stroke='%2334d399' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='65' cy='55' r='10' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3Cpath d='M65,45 C65,42 68,40 68,40' stroke='%2334d399' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3Cpath d='M135,135 C142,135 145,130 145,123 C145,116 139,112 139,107 C139,107 131,107 131,107 C131,112 125,116 125,123 C125,130 128,135 135,135 Z' stroke='%2334d399' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='135' cy='125' r='4' stroke='%2334d399' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

body.theme-food-fat .roulette-bg-pattern {
  opacity: 0.14;
  background-color: #080202;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M15,15 L35,35 A25,25 0 0,0 38,12 Z' stroke='%23f43f5e' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='25' cy='20' r='2' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='30' cy='28' r='2' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Cpath d='M95,20 C95,14 115,14 115,20 L115,24 L95,24 Z' stroke='%23f43f5e' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Crect x='93' y='24' width='24' height='4' rx='2' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Cpath d='M95,28 C95,34 115,34 115,28 Z' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='30' cy='100' r='12' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='30' cy='100' r='4' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Cpath d='M100,105 L112,105 L115,85 L97,85 Z' stroke='%23f43f5e' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Crect x='100' y='76' width='3' height='9' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Crect x='105' y='73' width='3' height='12' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Crect x='110' y='77' width='3' height='8' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Cpath d='M60,60 L68,60 L70,42 L58,42 Z' stroke='%23f43f5e' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M64,42 L66,35 L70,35' stroke='%23f43f5e' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M135,135 C142,135 145,131 145,125 C145,115 133,115 130,110 L122,118 C127,121 127,133 135,135 Z' stroke='%23f43f5e' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='118' cy='122' r='2' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='122' cy='118' r='2' stroke='%23f43f5e' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

body.theme-food-balanced .roulette-bg-pattern {
  opacity: 0.14;
  background-color: #050308;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath d='M20,20 L40,40 A25,25 0 0,0 43,17 Z' stroke='%23fbbf24' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Ccircle cx='30' cy='25' r='2' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3Cpath d='M115,25 C115,17 125,17 125,25 C125,33 115,40 115,40 C115,40 105,33 105,25 C105,17 115,17 115,25 Z' stroke='%23fbbf24' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M25,110 C25,104 45,104 45,110 L45,114 L25,114 Z' stroke='%23fbbf24' stroke-width='1.2' stroke-linejoin='round' fill='none'/%3E%3Crect x='23' y='114' width='24' height='4' rx='2' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3Cpath d='M25,118 C25,124 45,124 45,118 Z' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3Cpath d='M120,115 C116,115 113,111 113,107 C113,104 115,101 118,100 C116,96 119,92 123,92 C125,92 127,93 128,95 C130,91 134,91 136,94 C139,94 141,97 141,100 C144,101 146,104 146,107 C146,111 143,115 139,115 Z' stroke='%23fbbf24' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3Cpath d='M125,115 L125,123 M133,115 L133,123' stroke='%23fbbf24' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='75' cy='65' r='10' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3Cpath d='M75,55 C75,52 78,50 78,50' stroke='%23fbbf24' stroke-width='1.2' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='145' cy='145' r='12' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='145' cy='145' r='4' stroke='%23fbbf24' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Munchies Switch Row - Sleek Glassmorphic Toggle Container */
.munchies-switch-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1.5rem auto;
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  background: rgba(15, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 320px;
  width: 100%;
  user-select: none;
}

/* Control Segmentado Premium de 3 Vías */
.munchies-3way-toggle {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 30px;
  width: 100%;
  height: 38px;
  align-items: center;
  justify-content: space-between;
}

.munchies-3way-toggle input[type="radio"] {
  display: none !important;
}

.munchies-3way-toggle label {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted, #94a3b8);
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  height: 100%;
}

.munchies-3way-toggle input[type="radio"]:checked + label {
  color: #ffffff;
}

/* Colores de etiquetas activas */
#munchies-style-fit:checked + label {
  color: #34d399;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

#munchies-style-balanced:checked + label {
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

#munchies-style-fat:checked + label {
  color: #fb7185;
  text-shadow: 0 0 10px rgba(251, 113, 133, 0.5);
}

/* Deslizador del 3-Vías */
.munchies-3way-toggle .toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(33.333% - 4px);
  height: calc(100% - 6px);
  border-radius: 25px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.15);
  z-index: 1;
}

/* Posición y gradiente del deslizador según el radio seleccionado */
#munchies-style-fit:checked ~ .toggle-slider {
  left: 3px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.4) 100%);
  border: 1px solid #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

#munchies-style-balanced:checked ~ .toggle-slider {
  left: calc(33.333% + 1px);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(217, 119, 6, 0.35) 100%);
  border: 1px solid #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.25);
}

#munchies-style-fat:checked ~ .toggle-slider {
  left: calc(66.666% - 1px);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2) 0%, rgba(190, 18, 60, 0.4) 100%);
  border: 1px solid #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

/* Ingredients Grid & Checkbox Styling */
.ingredients-list-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 0.5rem;
}

.ing-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  margin-bottom: 0.25rem;
}

.ing-checkbox-label:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

/* Custom Checkbox */
.ing-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.ing-checkbox-custom {
  position: relative;
  height: 18px;
  width: 18px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.ing-checkbox-label:hover .ing-checkbox-custom {
  border-color: #a78bfa;
}

/* When the checkbox is checked, add background */
.ing-checkbox:checked ~ .ing-checkbox-custom {
  background-color: #8b5cf6;
  border-color: #8b5cf6;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

/* Create the checkmark indicator */
.ing-checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ing-checkbox:checked ~ .ing-checkbox-custom::after {
  display: block;
}

/* Checked styling for ingredient text */
.ing-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
}

.ing-checkbox:checked ~ .ing-text {
  text-decoration: line-through;
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.6);
}

/* Step-by-Step Preparation Cards */
.recipe-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
  font-family: 'Outfit', sans-serif;
}

.step-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

/* Glow Pulses for Roulette Winner Cards */
.glow-pulse-movie {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
  animation: glow-pulse-movie-anim 2.5s infinite alternate;
}

@keyframes glow-pulse-movie-anim {
  0% {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.25);
  }
  100% {
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
    border-color: rgba(236, 72, 153, 0.45);
  }
}

.glow-pulse-food {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  animation: glow-pulse-food-anim 2.5s infinite alternate;
}

@keyframes glow-pulse-food-anim {
  0% {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.25);
  }
  100% {
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.4);
    border-color: rgba(244, 63, 94, 0.45);
  }
}

/* Custom celebration screen neon glows for Food Fit */
body.theme-food-fit .match-celebration-overlay {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2) 0%, rgba(2, 8, 5, 0.98) 80%) !important;
}
body.theme-food-fit .match-celebration-card {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}
body.theme-food-fit .match-neon-ring {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, rgba(16, 185, 129, 0) 70%) !important;
}
body.theme-food-fit .match-poster-glow-container::after {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%) !important;
  opacity: 0.8 !important;
}

/* Custom celebration screen neon glows for Food Fat */
body.theme-food-fat .match-celebration-overlay {
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.2) 0%, rgba(8, 2, 2, 0.98) 80%) !important;
}
body.theme-food-fat .match-celebration-card {
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(244, 63, 94, 0.25) !important;
  border-color: rgba(244, 63, 94, 0.2) !important;
}
body.theme-food-fat .match-neon-ring {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.4) 0%, rgba(244, 63, 94, 0) 70%) !important;
}
body.theme-food-fat .match-poster-glow-container::after {
  background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%) !important;
  opacity: 0.8 !important;
}

/* --- SELECTOR DE MODO DE CATÁLOGO (CINE VS COMIDA) --- */
.catalog-mode-tabs {
  display: inline-flex;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 40px;
  margin: 1.5rem auto 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.catalog-tab-btn {
  border-radius: 30px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.6rem 1.5rem;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.catalog-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.catalog-tab-btn.active {
  color: #fff;
}

#btn-catalog-movies.active {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.2);
}

#btn-catalog-food.active {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.2);
}

/* --- SUB-PESTAÑAS DE COMIDA: COCINAR VS DELIVERY --- */
.food-submode-tabs {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  padding: 0.35rem;
  border-radius: 40px;
  margin: -1rem auto 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  max-width: 420px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.food-subtab-btn {
  flex: 1;
  border-radius: 30px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.5rem 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-family: var(--font-title);
}

.food-subtab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* Sub-pestaña "Todo" activa */
#btn-food-all.active {
  color: #fff;
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.15);
  background: rgba(236, 72, 153, 0.06);
}

/* Sub-pestaña "Cocinar en Casa" activa — verde esmeralda */
#btn-food-cook.active {
  color: #fff;
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.08);
}

/* Sub-pestaña "Pedir Delivery" activa — naranja neón */
#btn-food-delivery.active {
  color: #fff;
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.08);
}

@media (max-width: 480px) {
  .food-submode-tabs {
    max-width: 100%;
    gap: 0.25rem;
    padding: 0.25rem;
  }
  .food-subtab-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.6rem;
  }
}

/* ========================================================
   📜 ESTILOS DE HISTORIAL DE RULETA (100% PREMIUM)
   ======================================================== */
.history-item-poster-wrapper {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.3s;
  cursor: pointer;
}

.history-item-poster-wrapper:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--color-primary) !important;
  box-shadow: 0 6px 15px rgba(124, 58, 237, 0.3) !important;
}

#roulette-history-list::-webkit-scrollbar {
  height: 4px;
}

#roulette-history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

#roulette-history-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

#roulette-history-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}


/* ========================================================
   🔥 MATCH CO-OP WIZARD & PREMIUM ACTIVE CLOCK STYLES
   ======================================================== */

.coop-wizard-step {
  animation: fadeIn 0.4s ease;
}

.coop-card-option {
  position: relative;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.coop-card-option:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.coop-card-option.active {
  border-color: var(--primary) !important;
  background: radial-gradient(circle at 50% 50%, rgba(17, 60, 207, 0.15), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: 0 0 15px rgba(17, 60, 207, 0.4) !important;
}

.coop-subcard-option {
  position: relative;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.coop-subcard-option:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.coop-subcard-option.active {
  border-color: var(--primary) !important;
  background: rgba(17, 60, 207, 0.2) !important;
  box-shadow: 0 0 10px rgba(17, 60, 207, 0.3) !important;
}

.coop-card-count {
  position: relative;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.coop-card-count:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.coop-card-count.active {
  border-color: var(--primary) !important;
  background: radial-gradient(circle at 50% 50%, rgba(17, 60, 207, 0.15), rgba(255, 255, 255, 0.02)) !important;
  box-shadow: 0 0 15px rgba(17, 60, 207, 0.4) !important;
}

/* Clock keyframes & active dinner duration */
@keyframes spinClock {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(360deg); }
}

.dinner-card.active {
  font-weight: 800 !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px rgba(17, 60, 207, 0.3) !important;
}

.dinner-card .active-clock-indicator {
  display: none;
}

.dinner-card.active .active-clock-indicator {
  display: inline-block;
  animation: spinClock 2s linear infinite;
  margin-left: 8px;
}

/* ==========================================================================
   🍿 KEVEO SHORTS FEED (TIKTOK / SHORTS IMMERSIVE SLIDER) REDESIGN STYLES
   ========================================================================== */

.shorts-feed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 0 0;
  width: 100%;
}

/* Teléfono Bezel virtual premium en Desktop */
.phone-frame-mockup {
  position: relative;
  width: 350px;
  height: 640px;
  border-radius: 46px;
  background: #08080c;
  border: 12px solid #1a1a24;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.15);
  overflow: hidden;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
  z-index: 1;
}

.phone-ambient-glow {
  position: absolute;
  top: -10%; left: -10%; right: -10%; bottom: -10%;
  border-radius: 56px;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
  opacity: 0.6;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  transition: background 1s ease;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 125px;
  height: 22px;
  background: #1a1a24;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Feed principal con Snap-Scroll */
.shorts-feed-container {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  height: 100%;
  width: 100%;
  scrollbar-width: none; /* Ocultar scrollbar en Firefox */
  -ms-overflow-style: none; /* Ocultar scrollbar en IE/Edge */
}

.shorts-feed-container::-webkit-scrollbar {
  display: none; /* Ocultar scrollbar en Chrome/Safari */
}

/* Tarjeta individual de Short */
.short-card {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
}

.short-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* Permitir que los toques caigan en el overlay de scroll */
  transform: scale(1.05); /* Escalar ligeramente para eliminar márgenes negros de YouTube */
  transform-origin: center center;
}

/* Capa de protección y sombreado teatral */
.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 18%,
    transparent 78%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}

/* Información del creador y título (Esquina inferior izquierda) */
.short-info {
  position: absolute;
  bottom: 24px;
  left: 16px;
  right: 74px;
  z-index: 3;
  color: #ffffff;
  text-align: left;
  pointer-events: none; /* Deja pasar clicks al overlay */
}

.short-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.short-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: #f8fafc;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.short-creator-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
}

.short-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.7rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--glow-secondary);
}

.short-creator {
  font-weight: 600;
  font-size: 0.8rem;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.short-verified {
  color: #06b6d4;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 0 5px rgba(6, 182, 212, 0.6);
}

/* Columna de acciones (Esquina inferior derecha) */
.short-actions {
  position: absolute;
  bottom: 24px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  z-index: 3;
  pointer-events: auto;
}

.short-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 0;
  outline: none;
  transition: transform 0.2s;
}

.short-action-btn:active {
  transform: scale(0.92);
}

.short-action-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.short-action-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.short-action-btn:hover .short-action-circle {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2);
}

/* Estado activo del botón de Me Gusta (Heartbeat glow) */
.short-action-btn.like.active .short-action-circle {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  background: rgba(239, 68, 68, 0.16) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.45) !important;
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
  animation: likePulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.short-action-btn.like.active .short-action-label {
  color: #ef4444 !important;
  font-weight: 800;
}

@keyframes likePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1.08); }
}

/* Indicador de Silencio flotante en el centro */
.short-volume-alert {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--glow-primary);
}

.short-volume-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Adaptación móvil total para la sección de Snacks */
@media (max-width: 768px) {
  #snacks {
    padding: 0 !important;
    margin-bottom: 5rem !important;
  }
  
  #snacks .section-title,
  #snacks .section-subtitle {
    display: none !important; /* Ocultar títulos para emular Shorts nativos a pantalla completa */
  }

  .shorts-feed-wrapper {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: calc(68px + env(safe-area-inset-bottom));
    width: 100vw;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 50;
    border-radius: 0 !important;
  }

  .phone-frame-mockup {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #000 !important;
  }

  .phone-notch {
    display: none !important;
  }
  
  .short-info {
    bottom: 20px;
    left: 14px;
    right: 70px;
  }
  
  .short-actions {
    bottom: 20px;
    right: 8px;
  }
}

/* ==========================================================================
   📤 UPLOAD SHORTS ENGINE (DROPZONE, FLOATING BUTTON & SCANNER PROCESSORS)
   ========================================================================== */

/* Botón flotante "+" de subida en el feed de Shorts */
.short-upload-floating-btn {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.25);
  border: 1.5px solid rgba(139, 92, 246, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 400;
  cursor: pointer;
  z-index: 8;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.short-upload-floating-btn:hover {
  transform: scale(1.1) rotate(90deg);
  background: rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.short-upload-floating-btn:active {
  transform: scale(0.95) rotate(90deg);
}

/* Soporte para reproductores de <video> HTML5 nativos en el feed */
.short-card video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover; /* Evitar deformar el video subido */
  background: #000;
  transform: scale(1.0); /* Ajuste exacto */
}

/* Contenedor del Modal de Subida específico */
.upload-modal-container {
  max-width: 480px !important;
}

/* Dropzone interactivo de video */
.upload-dropzone {
  position: relative;
  width: 100%;
  height: 180px;
  border: 2px dashed rgba(139, 92, 246, 0.3);
  background: rgba(18, 18, 24, 0.45);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--secondary, #ec4899);
  background: rgba(236, 72, 153, 0.04);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}

.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-component);
  pointer-events: none;
}

.dropzone-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.4));
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Contenedor del scanner y progreso en carga */
.upload-progress-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-component);
  box-sizing: border-box;
  z-index: 15;
}

.upload-scanner-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(139, 92, 246, 0.1);
  border-top-color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spinLoading 1s linear infinite;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
  margin-bottom: 0.5rem;
}

.upload-scanner-icon {
  font-size: 1.3rem;
  animation: pulseIcon 1s ease-in-out infinite alternate;
}

@keyframes spinLoading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseIcon {
  0% { opacity: 0.7; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.1); }
}

/* Escáner de neón lineal */
.upload-scanner-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ec4899, #8b5cf6, #ec4899, transparent);
  box-shadow: 0 0 12px #8b5cf6;
  opacity: 0.9;
  animation: scanUpDown 2s ease-in-out infinite alternate;
}

@keyframes scanUpDown {
  0% { top: 5%; }
  100% { top: 95%; }
}

/* Barra de progreso de subida */
.upload-progress-bar-container {
  width: 80%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 10px;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

@media (max-width: 768px) {
  .short-upload-floating-btn {
    top: 16px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

/* Cabecera Premium en la Pantalla del iPhone */
.phone-screen-header {
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  pointer-events: none;
  box-sizing: border-box;
}

.shorts-profile-trigger,
.btn-shorts-coop-sync {
  pointer-events: auto;
}

.shorts-profile-trigger {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 18, 24, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.shorts-profile-trigger:hover {
  transform: scale(1.08);
  border-color: #8b5cf6;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.45);
}

.shorts-profile-trigger:active {
  transform: scale(0.95);
}

.profile-avatar-mini {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btn-shorts-coop-sync {
  height: 28px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.2);
  border: 1.2px solid rgba(139, 92, 246, 0.45);
  padding: 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn-shorts-coop-sync:hover {
  background: rgba(139, 92, 246, 0.35);
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.btn-shorts-coop-sync:active {
  transform: translateY(1px);
}

.btn-shorts-coop-sync.synced {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.45);
}

/* Botones de Inicio de Sesión Social */
.btn-social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-google {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

.btn-google:hover {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.6);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.btn-instagram {
  background: rgba(236, 72, 153, 0.08);
  border: 1.5px solid rgba(236, 72, 153, 0.25);
  color: #ffffff;
}

.btn-instagram:hover {
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.profile-avatar-large {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.12);
  border: 2.5px solid rgba(139, 92, 246, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
  animation: glowPulse 2.5s infinite alternate;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.25); }
  100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.55); }
}

/* Radar Sweep de Sincronización Co-op */
.coop-radar-sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 50%, rgba(139, 92, 246, 0.05) 75%, rgba(139, 92, 246, 0.45) 100%);
  border-radius: 50%;
  animation: radarScan 2.2s linear infinite;
  pointer-events: none;
}

@keyframes radarScan {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.coop-connection-dot.active {
  animation: connectionPulse 1.5s ease-in-out infinite alternate;
}

@keyframes connectionPulse {
  0% {
    transform: scale(0.9);
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.5));
  }
  100% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.95));
  }
}


/* ============================================================
   📱 RESPONSIVE GLOBAL — Fixes para pantallas pequeñas (KEVEO)
   ============================================================ */

/* ── Tarjeta de Celebración de Match ── */
@media (max-width: 768px) {
  .match-celebration-card {
    padding: 1.25rem 1rem;
    max-width: 100%;
    border-radius: 16px;
    /* Asegurar que la tarjeta nunca sea más ancha que la pantalla */
    width: calc(100vw - 2rem);
  }

  .match-poster-glow-container {
    width: 120px;
    height: 180px;
    margin-bottom: 1rem;
  }

  .match-title-group h2 {
    font-size: 1.6rem !important;
  }

  .match-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .match-meta-badges {
    margin-bottom: 0.75rem;
    gap: 0.35rem;
  }

  .match-actions {
    gap: 0.5rem;
    margin-top: 1.25rem;
  }

  .btn-viral-share {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
  }

  /* Neon ring no interfiere con el contenido en móvil */
  .match-neon-ring {
    width: 120px;
    height: 120px;
    top: -30px;
  }
}

@media (max-width: 480px) {
  .match-celebration-card {
    padding: 1rem 0.85rem;
    border-radius: 12px;
    width: calc(100vw - 1.5rem);
  }

  .match-poster-glow-container {
    width: 100px;
    height: 150px;
    margin-bottom: 0.75rem;
  }

  .match-title-group h2 {
    font-size: 1.35rem !important;
  }

  .match-movie-info h3 {
    font-size: 1.2rem;
  }
}

/* ── Tarjeta Ganador Ruleta ── */
@media (max-width: 768px) {
  .roulette-winner-card {
    margin: 1.5rem 0 2rem 0;
    padding: 1.25rem;
    max-width: 100%;
  }

  .winner-title {
    font-size: 1.1rem;
  }

  .winner-synopsis {
    font-size: 0.8rem;
    height: auto;
    -webkit-line-clamp: 4;
  }
}

/* ── Sección Catálogo: tarjetas de película ── */
@media (max-width: 768px) {
  .movie-card {
    /* Evitar que las tarjetas sean demasiado altas y salgan de pantalla */
    max-height: none;
  }
}

/* ── Antojómetro / Calcula sección ── */
@media (max-width: 768px) {
  .antojo-result-card {
    padding: 1.25rem;
    margin: 0.5rem 0;
  }
}

/* ── Modal de detalles ── */
@media (max-width: 480px) {
  .modal-container {
    max-height: calc(100dvh - 2rem);
    border-radius: 12px;
  }

  .modal-scroll-area {
    padding: 1rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}

/* ── Sección Swipe / Match Co-Op ── */
@media (max-width: 480px) {
  .swipe-setup-view {
    padding: 1rem;
    margin: 0.5rem auto;
  }

  .swipe-game-view {
    padding: 0;
    gap: 0.5rem;
  }

  .card-deck {
    max-width: 260px;
    aspect-ratio: 2/2.8;
  }
}

/* ── Sección Ruleta ── */
@media (max-width: 480px) {
  .roulette-container {
    padding: 0.5rem 0;
    gap: 1rem;
  }

  .canvas-wrapper {
  position: relative;
  z-index: 3 !important;
  border-radius: 50%;
  animation: floatWheel 6s ease-in-out infinite;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .roulette-winner-card {
    padding: 1rem 0.85rem;
    margin: 1rem 0 1.5rem 0;
  }

  .winner-card-body {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .winner-poster-wrapper {
    max-width: 110px;
    margin: 0 auto;
  }

  .winner-info-wrapper {
    text-align: center;
    align-items: center;
  }

  .winner-platforms-row {
    justify-content: center;
    width: 100%;
  }

  .winner-title {
    font-size: 1rem;
  }
}

/* ── Texto de sección genérico en pantallas muy pequeñas ── */
@media (max-width: 360px) {
  main.main-content {
    padding: 0.75rem 0.6rem calc(85px + env(safe-area-inset-bottom)) 0.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .match-celebration-card {
    padding: 0.85rem 0.7rem;
    width: calc(100vw - 1.25rem);
  }

  .match-poster-glow-container {
    width: 90px;
    height: 135px;
  }
}

/* AUTH SPINNER */
.auth-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* AUTH MODAL PREMIUM */
.auth-modal-container { max-width: 420px; padding: 2.5rem; background: rgba(18, 18, 24, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.btn-vibe:hover { background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.2) !important; transform: translateY(-2px); }


/* SNACKS FEED (TIKTOK STYLE) */
.shorts-feed-container { width: 100%; height: 100%; overflow-y: scroll; scroll-snap-type: y mandatory; -ms-overflow-style: none; scrollbar-width: none; background: #000; }
.shorts-feed-container::-webkit-scrollbar { display: none; }
.snack-card { width: 100%; height: 100%; scroll-snap-align: start; position: relative; background: #111; display: flex; justify-content: center; align-items: center; }
.snack-video-wrapper { width: 100%; height: 100%; position: relative; overflow: hidden; }
.snack-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.snack-heart-animation { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); font-size: 6rem; opacity: 0; pointer-events: none; z-index: 10; }
.snack-heart-animation.animate { animation: heartPop 0.8s ease-out forwards; }
@keyframes heartPop { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.snack-overlay-ui { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; display: flex; justify-content: space-between; align-items: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%); z-index: 5; }
.snack-info { flex: 1; margin-right: 20px; color: #fff; text-align: left; }
.snack-author { font-weight: bold; font-size: 1.1rem; margin-bottom: 5px; }
.snack-title { font-size: 1rem; margin-bottom: 5px; }
.snack-caption { font-size: 0.9rem; color: #ddd; }
.snack-sidebar { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.snack-action-group { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.snack-icon-circle { width: 45px; height: 45px; border-radius: 50%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; margin-bottom: 5px; transition: transform 0.2s; }
.snack-icon-circle:hover { transform: scale(1.1); }
.btn-snack-like.liked .snack-icon-circle { background: rgba(236, 72, 153, 0.2); }
.snack-count { color: #fff; font-size: 0.8rem; font-weight: bold; }
.snack-author-avatar { position: relative; margin-bottom: 10px; }
.snack-avatar-img, .snack-avatar-text { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fff; }
.snack-avatar-text { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: bold; }
.snack-follow-btn { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; background: #ec4899; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1rem; font-weight: bold; }



/* --- ENTRY PATHS HUB (HOME) --- */
.decision-hub-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.entry-paths-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.secondary-paths-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.entry-path-card {
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--surface-glass-active);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  font-family: inherit;
}

.entry-path-card:hover {
  transform: translateY(-4px);
  background: var(--surface-card);
}

.entry-path-card:active {
  transform: scale(0.98);
}

.primary-path {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  box-shadow: inset 0 0 20px rgba(236, 72, 153, 0.05);
}

.primary-path:hover {
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.15), inset 0 0 20px rgba(236, 72, 153, 0.1);
}

.secondary-path {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.secondary-path:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.path-icon {
  font-size: 2.5rem;
  margin-right: 1.5rem;
  line-height: 1;
}

.secondary-path .path-icon {
  margin-right: 0;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.path-content {
  flex: 1;
}

.path-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.secondary-path .path-title {
  font-size: 1.1rem;
}

.path-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.secondary-path .path-desc {
  font-size: 0.85rem;
}

.path-arrow {
  font-size: 1.5rem;
  color: #f472b6;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.primary-path:hover .path-arrow {
  transform: translateX(8px);
  opacity: 1;
}

.pulse-glow-magenta {
  animation: magenta-pulse 2s infinite alternate;
}

@keyframes magenta-pulse {
  from { filter: drop-shadow(0 0 5px rgba(236, 72, 153, 0.3)); }
  to { filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.8)); }
}

@media (max-width: 600px) {
  .secondary-paths-row {
    flex-direction: column;
  }
  
  .path-icon {
    font-size: 2rem;
    margin-right: 1rem;
  }
  
  .secondary-path {
    flex-direction: row;
    align-items: center;
  }
  
  .secondary-path .path-icon {
    margin-right: 1rem;
    margin-bottom: 0;
  }
}


/* --- ROULETTE DESKTOP GRID LAYOUT REMOVED --- */
/* Layout is now a single centered column defined in HTML inline styles and main structural classes */

/* ========================================================= */
/* --- PREMIUM WOW FACTOR UPGRADES (ROULETTE) --- */
/* ========================================================= */

/* 1. Immersive Spotlight */
.roulette-visual-col::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(236, 72, 153, 0.08) 30%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  pointer-events: none;
  animation: pulseSpotlight 4s ease-in-out infinite alternate;
}

/* Change glow color dynamically based on active theme */
body.theme-food-fit .roulette-visual-col::before,
body.theme-food-fat .roulette-visual-col::before,
body.theme-food-balanced .roulette-visual-col::before {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
}

@keyframes pulseSpotlight {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

/* 2. Neon Aura & Anti-Gravity for the Wheel */
.canvas-wrapper {
  position: relative;
  z-index: 3 !important;
  border-radius: 50%;
  
  /* Anti-gravity floating effect */
  animation: floatWheel 6s ease-in-out infinite;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes floatWheel {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* The concentric glowing rings */
.canvas-wrapper::before,
.canvas-wrapper::after {
  content: '';
  position: absolute;
  top: -15px; right: -15px; bottom: -15px; left: -15px;
  border-radius: 50%;
  pointer-events: none;
}

.canvas-wrapper::before {
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2), inset 0 0 20px rgba(139, 92, 246, 0.2);
  animation: rotateRing 15s linear infinite;
}

.canvas-wrapper::after {
  border: 2px dashed rgba(139, 92, 246, 0.5);
  top: -7px; right: -7px; bottom: -7px; left: -7px;
  animation: rotateRing 20s linear infinite reverse;
}

/* Adapt rings to Munchies theme */
body[class*="theme-food"] .canvas-wrapper::before {
  border-color: rgba(244, 63, 94, 0.3);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.2), inset 0 0 20px rgba(244, 63, 94, 0.2);
}
body[class*="theme-food"] .canvas-wrapper::after {
  border-color: rgba(244, 63, 94, 0.5);
}

@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Canvas drop shadow */
#roulette-canvas {
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.8));
  border-radius: 50%;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 5;
}

/* 3. Premium Micro-Interactions (Action Column) */

/* Enhance the glass panels */
.glass-panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
}

/* Renovar button sweep reflection */
#btn-renew-roulette {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.2) 100%);
}

#btn-renew-roulette::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: none;
}

#btn-renew-roulette:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.2);
}

#btn-renew-roulette:hover::after {
  animation: shineSweep 1s ease-in-out;
}

@keyframes shineSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Custom premium checkboxes */
.premium-checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem !important;
  height: 1.25rem !important;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.premium-checkbox-label input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-alpha);
}

.premium-checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
}

.premium-checkbox-label:hover input[type="checkbox"] {
  border-color: var(--color-primary);
}

/* 5. Winner Reveal Drama */
#roulette-winner-card.fade-in {
  animation: winnerPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes winnerPop {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    box-shadow: 0 0 0 rgba(250, 204, 21, 0);
  }
  50% {
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(250, 204, 21, 0.2);
  }
}

/* KEVEOS: El Puente Accionable */
.btn-snack-actionable {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 50px;
  background: rgba(225, 29, 72, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-snack-actionable:hover {
  background: rgba(225, 29, 72, 1);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-snack-actionable .icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   🎯 NARRATIVE HOME SECTIONS (Cómo funciona, Herramientas)
   ========================================================================== */

.narrative-how-it-works {
  overflow: hidden;
}

/* Grid de pasos "Cómo funciona" */
.narrative-steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.narrative-step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 280px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-step-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.narrative-step-number {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-title);
}

/* Grid de herramientas "Si no se ponen de acuerdo" */
.narrative-tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.narrative-tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  box-sizing: border-box;
}

.narrative-tool-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .narrative-step-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .narrative-tool-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   🔧 BUG FIXES — Match Celebration & Ruleta Modal
   ========================================================================== */

/* Fix: Título de película en celebración no debe truncarse */
#match-celebration-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  color: #ffffff;
  /* Eliminar cualquier truncación */
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  white-space: normal;
}

/* Fix: Mejorar la tarjeta de resultado de match (match-item-info) 
   para que muestre poster y no solo texto */
.match-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.match-item-info:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.match-item-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

/* Fix: el grid de matches debe mostrar cards bien formadas */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

/* ── Mobile-First Touch Target Enforcement (WCAG 2.5.5) ── */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .btn-primary,
  .btn-secondary,
  .filter-pill,
  .catalog-tab-btn,
  .coop-card-option,
  .coop-card-count,
  .coop-subcard-option,
  .mood-dinner-btn,
  .dinner-tab-btn,
  .btn-coop-back,
  .premium-checkbox-label {
    min-height: 48px;
  }

  .filter-pill {
    padding: 0.5rem 1.25rem;
  }

  .roulette-settings-panel .premium-checkbox-label {
    padding: 0.4rem 0;
  }
}

/* ==========================================================
   KEVEO DESKTOP APP WORKSPACE REDESIGN  >=1024px
   Objetivo: menos scroll, layout tipo app, filtros sticky
   ========================================================== */

/* ── 1. SIDEBAR DESKTOP COMPACTO CON SHRINK ON SCROLL ── */
@media (min-width: 1025px) {
  aside.sidebar {
    padding: 0.5rem 2rem;
  }
  aside.sidebar .logo-container {
    margin-bottom: 0;
  }
  aside.sidebar .logo {
    font-size: 1.9rem;
  }
  /* Estado shrunk (se agrega vía JS al hacer scroll) */
  aside.sidebar.sidebar-shrunk {
    padding: 0.25rem 2rem;
  }
  aside.sidebar.sidebar-shrunk .logo-container {
    margin-bottom: 0;
  }
  aside.sidebar.sidebar-shrunk .logo {
    font-size: 1.6rem;
  }
  aside.sidebar nav.menu a.menu-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* ── 2. HERO COMPACTO EN DESKTOP ── */
@media (min-width: 1025px) {
  .narrative-hero-container {
    padding: 1rem 1.5rem 1.5rem 1.5rem !important;
  }
  .hub-title {
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    margin-bottom: 0.75rem !important;
  }
  .hub-subtitle {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
  }
  /* CTA más compacto */
  .narrative-hero-container .btn-primary {
    padding: 0.9rem 3rem !important;
    font-size: 1.25rem !important;
  }
  /* Glow reducido para no pesar */
  .narrative-hero-container > div[style*="filter: blur"] {
    width: 400px !important;
    height: 300px !important;
  }
}

/* ── 3. SECCIÓN "CÓMO FUNCIONA" → BENTO GRID COMPACTO ── */
@media (min-width: 1025px) {
  #hero-desktop-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 1750px;
    margin: 0 auto;
    width: 94%;
    min-height: calc(100vh - 80px); /* Ocupar toda la pantalla */
    padding: 2rem 0 4rem 0;
  }

  #hero-desktop-wrapper .narrative-how-it-works {
    padding-left: 0 !important;
    max-width: 1550px !important;
    width: 100%;
  }

  #hero-desktop-wrapper .narrative-steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem !important;
    position: relative;
    border-left: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    width: 100%;
  }
  
  #hero-desktop-wrapper .narrative-steps-grid::before,
  #hero-desktop-wrapper .narrative-step-card::before {
    display: none !important;
  }

  #hero-desktop-wrapper .narrative-step-card {
    width: 100%;
    max-width: 500px !important;
    padding: 2.2rem 1.8rem !important;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
    align-items: center !important;
    text-align: center !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, border-color 0.4s, box-shadow 0.4s !important;
    position: relative;
    z-index: 1;
    gap: 1rem !important;
    flex-direction: column !important;
  }

  #hero-desktop-wrapper .narrative-step-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 255, 255, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  }

  #hero-desktop-wrapper .narrative-step-number {
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 0.5rem auto !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.35s ease !important;
  }
  
  #hero-desktop-wrapper .narrative-step-card:hover .narrative-step-number {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.05);
  }
  
  #hero-desktop-wrapper .narrative-step-card h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.35rem !important;
    font-weight: 800 !important;
    background: linear-gradient(to right, #ffffff, #cbd5e1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: 0;
  }
  #hero-desktop-wrapper .narrative-step-card p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0;
  }
}

/* ── 4. TRANSICIÓN ELEGANTE ENTRE LANDING Y WORKSPACE ── */
@media (min-width: 1025px) {
  .catalog-workspace-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
  }
  .catalog-workspace-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .catalog-workspace-label h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    margin: 0;
  }
  .catalog-workspace-label::before {
    content: '';
    display: block;
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
  }
}
@media (max-width: 1024px) {
  .catalog-workspace-wrapper {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .catalog-workspace-label {
    display: none;
  }
}

/* ── 5. WORKSPACE PRINCIPAL: 2 COLUMNAS CON SIDEBAR STICKY ── */
@media (min-width: 1025px) {
  .catalog-workspace-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
  }
  .narrative-tools-section {
    display: none !important;
  }

  .catalog-workspace {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }

  /* Columna izquierda sticky — liviana, solo filtros */
  .catalog-sidebar-col {
    position: sticky;
    top: 1.25rem;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.06) transparent;
    display: flex;
    flex-direction: column;
  }
  
  /* Panel de filtros limpio */
  .catalog-controls-wrapper {
    position: static !important;
    border-radius: 16px !important;
    padding: 1.1rem !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.025) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
  }

  /* Labels de sección: tono bajo, sin mayúsculas agresivas */
  .sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255,255,255,0.3);
    padding: 0;
    margin: 0 0 0.4rem 0;
    display: block;
  }

  .catalog-header.desktop-hidden-header {
    display: none !important;
  }

  /* Buscador compacto */
  .catalog-search-row.sidebar-search {
    flex-direction: row !important;
    gap: 0.5rem !important;
    margin-bottom: 0 !important;
  }
  .catalog-search-row.sidebar-search .search-input-wrapper {
    width: 100%;
  }
  .catalog-search-row.sidebar-search input {
    font-size: 0.95rem !important;
    padding: 0.55rem 0.9rem 0.55rem 2.4rem !important;
    min-height: 38px !important;
    border-radius: 10px !important;
  }
  .catalog-search-row.sidebar-search .search-icon {
    left: 0.75rem !important;
  }
  #btn-clear-filters {
    display: none !important;
  }

  /* Plataformas + vibras: mismo sistema visual */
  .streaming-and-genres-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 2rem;
  }
  .streaming-selector-panel.mini-selector.sidebar-platform-panel {
    padding: 0.5rem !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,0.15) !important;
    border: 1px solid rgba(255,255,255,0.04) !important;
    margin: 0 !important;
  }
  .sidebar-platform-panel .mini-selector-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  .sidebar-platform-panel .streaming-grid {
    justify-content: flex-start !important;
    gap: 0.35rem !important;
  }
  .mini-selector .streaming-item {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.75rem !important;
  }
  .sidebar-platform-panel .mini-actions {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.04) !important;
    padding-top: 0.4rem !important;
    margin-left: 0 !important;
  }
  .btn-mini {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
    opacity: 0.6;
    font-weight: 500;
  }

  .sidebar-moods.filter-pills-row {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.35rem !important;
    padding-bottom: 0 !important;
  }
  .sidebar-moods .filter-pill {
    padding: 0.2rem 0.65rem !important;
    font-size: 0.75rem !important;
    min-height: 28px !important;
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.6) !important;
  }

  /* Botón limpiar filtros: minimalista, casi invisible */
  .sidebar-clear-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.3);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
  }
  .sidebar-clear-btn:hover {
    background: rgba(225,29,72,0.06);
    border-color: rgba(225,29,72,0.25);
    color: #f87171;
  }

  /* Ocultar accesos rápidos del sidebar (van a col derecha) */
  .catalog-quick-actions {
    display: none !important;
  }

  .catalog-main-col {
    min-width: 0;
  }
}

/* ── 6. CABECERA DERECHA: TABS + CONTADOR + SHORTCUTS ── */
@media (min-width: 1025px) {
  .catalog-results-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  /* Fila superior: tabs + contador */
  .catalog-results-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }

  /* Tabs tipo app, minimalistas */
  .catalog-right-tabs {
    display: flex;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 0.25rem;
    border: 1px solid rgba(255,255,255,0.04);
    gap: 0;
  }
  .catalog-right-tabs button {
    padding: 0.45rem 1.25rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.83rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .catalog-right-tabs button.tab-active {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  .catalog-results-count {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    white-space: nowrap;
  }
  .catalog-results-count strong {
    color: rgba(255,255,255,0.7);
  }

  /* Shortcuts horizontales: secundarios */
  .catalog-shortcuts-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .catalog-shortcut-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
  }
  .catalog-shortcut-chip:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.85);
  }
  .catalog-shortcut-chip.chip-match:hover {
    background: rgba(225,29,72,0.08);
    border-color: rgba(225,29,72,0.25);
    color: #f87171;
  }
  .catalog-shortcut-chip.chip-ruleta:hover {
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.25);
    color: #a78bfa;
  }
  .catalog-shortcut-chip.chip-cena:hover {
    background: rgba(251,146,60,0.08);
    border-color: rgba(251,146,60,0.25);
    color: #fb923c;
  }
  .catalog-shortcut-chip .chip-icon {
    font-size: 0.85rem;
    line-height: 1;
  }

  /* Grid de cards más denso y amplio */
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1.2rem !important;
    margin-top: 0 !important;
  }
}

/* ── 7. CARDS: jerarquía clara, menos ruido ── */
@media (min-width: 1025px) {
  .movie-card-info {
    padding: 0.85rem !important;
    gap: 0.3rem !important;
  }
  .movie-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 0.1rem !important;
  }
  .movie-rating-row {
    font-size: 0.7rem !important;
    opacity: 0.6;
  }
  .movie-genre-tag {
    font-size: 0.64rem !important;
    padding: 0.1rem 0.35rem !important;
    opacity: 0.55;
    background: rgba(255,255,255,0.03) !important;
  }
  .movie-genres-row {
    gap: 0.2rem !important;
  }
  .movie-duration-row {
    font-size: 0.66rem !important;
    opacity: 0.45;
  }
  .movie-poster-container {
    aspect-ratio: 2/2.8 !important;
  }
}

/* ── 8. FAQ: compacta, secundaria, grid 2 col ── */
@media (min-width: 1025px) {
  .seo-faq-section {
    max-width: 680px;
    margin: 4rem auto 2.5rem auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .faq-header {
    text-align: left !important;
    margin-bottom: 0.75rem !important;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .faq-badge {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.5rem !important;
    margin-bottom: 0 !important;
  }
  .faq-title {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
  }
  .faq-subtitle {
    display: none !important;
  }
  .faq-item {
    border-radius: 8px !important;
  }
  .faq-question-btn {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.82rem !important;
  }
  .faq-answer-content {
    padding: 0.35rem 0 0.6rem 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }
  .faq-accordion {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.3rem !important;
  }
}

/* ── 9. MOBILE: layout original intacto ── */
@media (max-width: 1024px) {
  .catalog-workspace { display: block; }
  .catalog-sidebar-col { position: static; max-height: none; overflow: visible; }
  .narrative-tools-section { display: block !important; }
  .desktop-only { display: none !important; }
  .catalog-header.desktop-hidden-header { display: flex !important; }
  .catalog-quick-actions { display: none !important; }
  .sidebar-section-label { display: none; }
  .sidebar-clear-btn { display: none; }
  .catalog-controls-wrapper { margin-bottom: 2rem !important; }
  .catalog-grid { margin-top: 0 !important; }
  .catalog-results-header { display: none; }
  .catalog-shortcuts-row { display: none; }
  .catalog-workspace-wrapper { margin-top: 0; padding-top: 0; border-top: none; }
  .catalog-workspace-label { display: none; }
}

/* ── 10. SIDEBAR SCROLL SHRINK + misc desktop ── */
@media (min-width: 1025px) {
  aside.sidebar {
    transition: padding 0.35s ease;
  }
  #food-submode-tabs {
    display: none !important;
  }
}

/* ==========================================================
   DESKTOP 2-COLUMN LAYOUTS FOR MATCH & RULETA
   ========================================================== */

@media (min-width: 1025px) {
  .match-desktop-layout,
  .roulette-dashboard-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .match-desktop-layout,
  .roulette-dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}


/* --- SIDEBAR REDESIGN V2 --- */

/* Esconder nombre y volver el botón un cuadrado puro */
.streaming-grid .streaming-item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  aspect-ratio: 1 !important;
  width: 100% !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  filter: grayscale(1) opacity(0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  gap: 0 !important;
}

.streaming-grid .streaming-item .service-name {
  display: none !important;
}

.streaming-grid .streaming-item .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.streaming-grid .streaming-item .service-icon svg {
  width: 28px !important;
  height: 28px !important;
  transition: transform 0.3s ease;
}

/* Hover state */
.streaming-grid .streaming-item:hover {
  filter: grayscale(0.5) opacity(0.8) !important;
  background: rgba(255,255,255,0.06) !important;
}
.streaming-grid .streaming-item:hover .service-icon svg {
  transform: scale(1.1);
}

/* Active state (Seleccionado) */
.streaming-grid .streaming-item.active {
  filter: grayscale(0) opacity(1) !important;
  background: rgba(255,255,255,0.1) !important;
  border-color: var(--service-color) !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.05), inset 0 2px 10px rgba(255,255,255,0.05) !important;
  transform: translateY(-2px) !important;
}

/* Custom Sleek Select */
.sleek-select:hover {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
.sleek-select:focus {
  border-color: #ec4899 !important;
  box-shadow: 0 0 0 2px rgba(236,72,153,0.2) !important;
}
.sleek-select option {
  background: #121212;
  color: #fff;
  padding: 10px;
}


/* --- CINEMATIC MATCH CARD (DESKTOP) --- */
.match-centered-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.match-centered-layout .match-right-col {
  width: 100%;
  max-width: 950px;
}

/* LOBBY UNIFICADO */
#swipe-setup {
  max-width: 900px !important;
  margin: 0 auto;
  padding: 3rem 4rem !important;
}

/* PANTALLA DE TURNO ÉPICA */
@media (min-width: 768px) {
  .swipe-intro-card {
    max-width: 700px !important;
    padding: 3.5rem 3rem !important;
  }
  .swipe-intro-card h2 {
    font-size: 2.8rem !important;
    margin-bottom: 1.5rem !important;
  }
  .swipe-intro-card .intro-desc {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2.5rem !important;
  }
  .swipe-intro-card .phone-mock {
    width: 180px !important;
    height: 180px !important;
  }
  .swipe-intro-card .phone-mock .icon {
    font-size: 4rem !important;
  }
  #btn-start-swipe-turn {
    margin-top: 2rem !important;
    padding: 1.2rem 3rem !important;
    font-size: 1.2rem !important;
  }
}

/* TARJETA CINEMÁTICA Y BOTONES */
@media (min-width: 768px) {
  #swipe-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    justify-content: space-between;
  }

  #swipe-game .swipe-game-view {
    width: 100%;
    max-width: 950px !important;
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
  }

  #swipe-game .swipe-results-view {
    max-width: 1000px !important;
  }

  /* La tarjeta ocupa casi todo el espacio del contenedor, pero deja espacio abajo */
  #swipe-game .card-deck {
    height: calc(100% - 100px) !important; 
    width: 100%;
    max-width: 950px;
    display: flex;
    justify-content: center;
    aspect-ratio: auto !important; /* CRITICAL FIX: Override mobile aspect ratio */
  }

  #swipe-game .swipe-card {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
    background: rgba(12, 12, 18, 0.45) !important;
    backdrop-filter: blur(30px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    z-index: 1 !important;
  }

  /* Ambient blurred background inside the card */
  .card-ambient-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.25) saturate(1.2);
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
  }

  /* El póster en la izquierda */
  #swipe-game .swipe-card .card-poster-container {
    width: 42% !important;
    height: 100% !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    padding: clamp(1.2rem, 2.5vh, 2rem) !important;
    box-sizing: border-box !important;
  }
  
  #swipe-game .swipe-card .card-poster-container img {
    border-radius: 16px !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 2/3 !important;
    object-fit: contain !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none;
  }
  
  /* Géneros en la tarjeta info */
  .card-genres {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 0.4rem !important;
    margin-bottom: clamp(0.4rem, 1.5vh, 0.8rem) !important;
    z-index: 5 !important;
  }

  .genre-tag {
    font-size: clamp(0.7rem, 1.5vh, 0.8rem) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.25rem 0.65rem !important;
    border-radius: var(--radius-sm) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }

  #swipe-game .swipe-card #btn-card-details {
    position: absolute !important;
    top: 2rem !important;
    right: 2rem !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    z-index: 20 !important;
    padding: 0.4rem 0.9rem !important;
    background: rgba(6, 6, 8, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 0.75rem !important;
    border-radius: var(--radius-sm) !important;
  }

  /* El lado derecho (Info) */
  #swipe-game .swipe-card .card-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(1.5rem, 3.5vh, 2.5rem) clamp(1.5rem, 3.5vh, 3.5rem) !important;
    text-align: left !important;
    background: rgba(10, 10, 15, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    overflow-y: auto !important;
    z-index: 1 !important;
    scrollbar-width: none;
  }
  
  #swipe-game .swipe-card .card-info::-webkit-scrollbar {
    display: none;
  }

  #swipe-game .swipe-card .card-title-row {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  #swipe-game .swipe-card .card-movie-title {
    font-size: clamp(1.6rem, 3.5vh, 2.4rem) !important;
    text-shadow: none !important;
    margin: 0 !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #fff !important;
  }

  #swipe-game .swipe-card .card-rating {
    font-size: clamp(0.95rem, 2vh, 1.2rem) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.3rem 0.7rem !important;
    border-radius: 8px !important;
    color: #fbbf24 !important;
  }

  #swipe-game .swipe-card .card-meta {
    justify-content: flex-start !important;
    gap: 1.25rem !important;
    font-size: clamp(0.85rem, 1.8vh, 1rem) !important;
    margin-bottom: clamp(0.75rem, 2vh, 1.25rem) !important;
    opacity: 0.85 !important;
  }

  #swipe-game .swipe-card .card-synopsis {
    font-size: clamp(0.9rem, 2vh, 1.05rem) !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 0 clamp(1rem, 2vh, 1.5rem) 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 5 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #swipe-game .swipe-card .card-platforms {
    align-items: flex-start !important;
    margin-top: auto !important;
  }
  
  #swipe-game .swipe-card .platform-list-inline {
    justify-content: flex-start !important;
  }
  
  /* Botones de Votar fijos abajo */
  #swipe-game .swipe-actions {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    height: clamp(60px, 8vh, 80px) !important;
    margin-top: clamp(0.5rem, 1.5vh, 1rem) !important;
  }
  
  #swipe-game .btn-round {
    width: clamp(60px, 8vh, 80px) !important;
    height: clamp(60px, 8vh, 80px) !important;
    font-size: clamp(1.8rem, 2.5vh, 2.5rem) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }
  
  #swipe-game .btn-round:hover {
    transform: scale(1.15) !important;
  }
  
  /* Esconder la instrucción de swipe arriba (Solo desktop) */
  .swipe-header {
    margin-bottom: 1.5rem !important;
  }
}

/* ==========================================================
   👥 DYNAMIC SOCIAL MODE TOGGLE & UPGRADED CTA BUTTON
   ========================================================== */

/* Social mode container styling */
.social-mode-toggle {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 30px;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.social-mode-toggle input[type="radio"] {
  display: none !important;
}

.social-mode-toggle label {
  flex: 1;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-title);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 100%;
  user-select: none;
}

.social-mode-toggle input[type="radio"]:checked + label {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Sliding active background indicator */
.social-mode-toggle .social-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(33.333% - 4px);
  height: calc(100% - 6px);
  border-radius: 25px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.15);
  z-index: 1;
  background: linear-gradient(135deg, #e11d48 0%, #8b5cf6 100%);
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#social-mode-pair:checked ~ .social-toggle-slider {
  left: 3px;
}

#social-mode-friends:checked ~ .social-toggle-slider {
  left: calc(33.333% + 1px);
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.45);
}

#social-mode-solo:checked ~ .social-toggle-slider {
  left: calc(66.666% - 1px);
  background: linear-gradient(135deg, #f59e0b 0%, #e11d48 100%);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
}

/* Upgraded button style for the main CTA */
#hero-desktop-wrapper .btn-glow {
  background: linear-gradient(135deg, #e11d48 0%, #8b5cf6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

#hero-desktop-wrapper .btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
  pointer-events: none;
}

#hero-desktop-wrapper .btn-glow:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 15px 35px rgba(225, 29, 72, 0.65), 0 0 30px rgba(139, 92, 246, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

#hero-desktop-wrapper .btn-glow:hover::before {
  left: 200%;
}

#hero-desktop-wrapper .btn-glow:active {
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4) !important;
}

/* ==========================================================
   🖥️ VIEWPORT-FIT OVERRIDES FOR DECISION SECTIONS (DESKTOP)
   ========================================================== */

@media (min-width: 768px) {
  /* Prevent window scrolling when Match, Roulette, or Dinner sections are active */
  body.active-sec-match,
  body.active-sec-ruleta,
  body.active-sec-antojometro {
    overflow: hidden !important;
    height: 100vh !important;
  }

  body.active-sec-match #app-layout,
  body.active-sec-ruleta #app-layout,
  body.active-sec-antojometro #app-layout {
    height: 100vh !important;
    overflow: hidden !important;
  }

  body.active-sec-match main.main-content,
  body.active-sec-ruleta main.main-content,
  body.active-sec-antojometro main.main-content {
    height: calc(100vh - 76px) !important; /* height minus top header */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 1.25rem 2rem 0.75rem 2rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Adjust section layout to fill the remaining screen space */
  body.active-sec-match #match.app-section,
  body.active-sec-ruleta #ruleta.app-section,
  body.active-sec-antojometro #cena.app-section {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
  }

  /* Match section height constraints to avoid card overflow */
  body.active-sec-match .match-centered-layout {
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  body.active-sec-match .match-centered-layout .match-right-col {
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* Compact header typography to avoid scroll */
  body.active-sec-match .section-title,
  body.active-sec-ruleta .section-title,
  body.active-sec-antojometro .section-title {
    font-size: clamp(1.6rem, 3.5vh, 2.4rem) !important;
    margin-bottom: 0.25rem !important;
  }

  body.active-sec-match .section-subtitle,
  body.active-sec-ruleta .section-subtitle,
  body.active-sec-antojometro .section-subtitle {
    font-size: clamp(0.85rem, 1.8vh, 1rem) !important;
    margin-bottom: clamp(0.75rem, 2vh, 1.25rem) !important;
  }

  /* Compact setup wizard */
  #swipe-setup {
    max-width: 850px !important;
    padding: clamp(1.25rem, 2.5vh, 2rem) clamp(2rem, 4vh, 3.5rem) !important;
    margin: 0 auto !important;
  }

  #swipe-setup h3.panel-title {
    font-size: clamp(1.4rem, 3vh, 1.8rem) !important;
    margin-bottom: clamp(1rem, 2.5vh, 1.5rem) !important;
  }

  /* Dynamic layout adjustments for Swipe Co-Op Game */
  body.active-sec-match #swipe-game {
    flex: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.active-sec-match #swipe-game .swipe-game-view {
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.active-sec-match #swipe-game .swipe-header {
    flex-shrink: 0 !important;
  }

  body.active-sec-match #swipe-game .card-deck {
    flex: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 380px) !important; /* Cap card height to prevent viewport overflow */
    aspect-ratio: auto !important;
    margin-bottom: 0.5rem !important;
  }

  body.active-sec-match #swipe-game .swipe-card {
    height: 100% !important;
    max-height: 100% !important;
  }

  body.active-sec-match #swipe-game .swipe-actions {
    flex-shrink: 0 !important;
  }

  /* Roulette section scaling and grid constraints */
  body.active-sec-ruleta .roulette-dashboard-layout {
    flex: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
  }

  #roulette-canvas {
    max-width: clamp(250px, 45vh, 400px) !important;
    max-height: clamp(250px, 45vh, 400px) !important;
    width: auto !important;
    height: auto !important;
  }

  .canvas-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Compact dinner sections list */
  body.active-sec-antojometro .dinner-navigation-bar {
    margin-bottom: clamp(1rem, 2vh, 1.5rem) !important;
  }

  body.active-sec-antojometro .dinner-cards-menu {
    margin-bottom: clamp(1rem, 2.5vh, 2rem) !important;
  }

  body.active-sec-antojometro .dinner-cards-grid {
    gap: 1.5rem !important;
  }

  body.active-sec-antojometro .dinner-card-premium {
    padding: clamp(1rem, 2vh, 1.5rem) !important;
  }

  body.active-sec-antojometro .dinner-panel {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    max-height: 100% !important;
    scrollbar-width: thin;
  }

  /* Compact footer for non-scroll screens */
  body.active-sec-match .premium-footer,
  body.active-sec-ruleta .premium-footer,
  body.active-sec-antojometro .premium-footer {
    margin-top: auto !important;
    padding: clamp(0.6rem, 1.2vh, 1rem) 2rem clamp(0.4rem, 0.8vh, 0.6rem) 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.005) !important;
    border-radius: 12px 12px 0 0 !important;
    flex-shrink: 0 !important;
  }

  body.active-sec-match .premium-footer .footer-container,
  body.active-sec-ruleta .premium-footer .footer-container,
  body.active-sec-antojometro .premium-footer .footer-container {
    padding: 0 !important;
    gap: 1rem !important;
    max-width: 1200px !important;
  }

  body.active-sec-match .premium-footer .footer-bottom,
  body.active-sec-ruleta .premium-footer .footer-bottom,
  body.active-sec-antojometro .premium-footer .footer-bottom {
    margin-top: clamp(0.3rem, 0.6vh, 0.5rem) !important;
    padding-top: clamp(0.3rem, 0.6vh, 0.5rem) !important;
  }
}
