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

/* --- STREAMING SELECTOR PANEL --- */
.streaming-selector-panel {
  margin-bottom: 2.5rem;
}

/* --- MINI INTEGRATED SELECTOR (DISCRETE BAR) --- */
.streaming-selector-panel.mini-selector {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.mini-selector-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.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: 50px; /* 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: 0.75rem;
  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: 0.75rem;
  margin-bottom: 1rem;
}

.streaming-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  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: 0.75rem;
  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: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.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: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

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

.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: 0.75rem;
}

.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: 0.75rem;
}

.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: 2rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

.catalog-search-row {
  display: flex;
  gap: 0.75rem;
  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: 1.5rem;
}

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

.movie-poster-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #0f0f15;
}

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

.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.85);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid var(--border-glass);
}

.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;
}

.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 --- */
.roulette-winner-card {
  width: 100%;
  max-width: 650px;
  margin: 2rem auto 0 auto;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.7) 0%, rgba(10, 10, 15, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.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: 50px;
  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: 1.5rem;
}

.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: 0.75rem;
  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;
  }
  
  .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: 1.5rem;
  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: 1.5rem;
}

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

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

.intro-visual {
  width: 100%;
  padding: 1.5rem 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: 1.5rem;
}

.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: 1.5rem;
  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: 1.5rem;
}

.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: 1.5rem;
  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: 1.5rem;
}

.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: 1.5rem;
  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: 0.75rem;
}

.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: 1.5rem;
}

.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: 0.75rem;
}

.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: 1.5rem;
  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 */
.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: 1.5rem;
  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: 1.5rem;
    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: 1.5rem;
  }
  
  .modal-poster-col {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .modal-title {
    font-size: 1.75rem;
  }
  
  .modal-scroll-area {
    padding: 1.5rem;
  }
  
  .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: 0.75rem;
  }

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

  .filter-pills-row {
    width: 100%;
    padding-bottom: 0.25rem;
  }
  
  .filter-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
  }

  /* --- RULETA --- */
  .roulette-container {
    gap: 1.25rem;
    padding: 0.75rem 0;
  }

  .canvas-wrapper {
    max-width: 280px;
    max-height: 280px;
    width: 100%;
    margin: 0 auto;
  }

  #roulette-canvas {
    max-width: 100%;
    height: auto !important;
  }

  .roulette-instructions button {
    width: 100%;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .roulette-subtext {
    font-size: 0.82rem;
    margin-top: 0.5rem;
  }

  /* --- TINDER SWIPE GAME --- */
  .swipe-setup-view {
    padding: 1.25rem;
    margin: 1rem auto;
  }
  
  .swipe-setup-grid {
    gap: 1rem;
  }

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

  .swipe-game-view {
    max-width: 100%;
    gap: 0.75rem;
    padding: 0 0.15rem;
  }

  /* Forzar que las tarjetas quepan de forma compacta y perfecta en vertical en teléfonos */
  .card-deck {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 2/2.7;
  }

  .card-info {
    padding: 0.75rem 1rem;
    gap: 0.2rem;
  }

  .card-movie-title {
    font-size: 1.05rem;
  }

  .card-rating {
    font-size: 0.8rem;
  }

  .card-meta {
    font-size: 0.72rem;
    gap: 0.4rem;
  }

  .card-synopsis {
    font-size: 0.75rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .card-platforms {
    margin-top: 0.15rem;
    font-size: 0.72rem;
  }

  .platform-list-inline {
    margin-top: 0.1rem;
  }

  .swipe-actions {
    gap: 1.5rem;
    margin-top: 0.25rem;
  }

  .btn-round {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .swipe-overlay {
    font-size: 1.35rem;
    padding: 0.3rem 0.6rem;
    top: 1.5rem;
  }

  .swipe-overlay.like {
    right: 1.5rem;
  }

  .swipe-overlay.nope {
    left: 1.5rem;
  }

  /* Tinder Results */
  .matches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .match-item-info {
    padding: 0.65rem;
  }

  .match-item-info h4 {
    font-size: 0.8rem;
  }

  .results-avatars {
    gap: 0.5rem;
  }

  .avatar-heartpulse {
    font-size: 1.2rem;
  }

  .results-subtitle {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  /* YouTube Grid & Gaming Grid */
  .youtube-grid,
  .gaming-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  /* --- CATÁLOGO EN CUADRÍCULA DE 2 COLUMNAS (Estilo Premium Netflix/Spotify) --- */
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .movie-card-info {
    padding: 0.65rem;
    gap: 0.35rem;
  }

  .movie-title {
    font-size: 0.88rem;
    line-height: 1.25;
    height: 2.2rem;
    -webkit-line-clamp: 2;
  }

  .movie-rating-row {
    font-size: 0.7rem;
  }

  .movie-genre-tag {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
  }

  .movie-duration-row {
    font-size: 0.7rem;
  }

  .movie-type-badge {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.62rem;
  }

  .movie-platforms-overlap {
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .plat-badge {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* ========================================================
   🔥 ESTILOS DE CELEBRACIÓN DE MATCH VIRAL (100% PREMIUM)
   ======================================================== */
.match-celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 998;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.25) 0%, rgba(6, 6, 8, 0.98) 80%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ajustes de visibilidad y accesibilidad para el menú lateral/inferior durante la celebración */
@media (min-width: 1025px) {
  .match-celebration-overlay {
    left: 260px;
    width: calc(100vw - 260px);
  }
}

@media (max-width: 1024px) {
  .match-celebration-overlay {
    z-index: 998; /* Justo debajo del z-index: 999 de la barra de navegación móvil */
  }
}


.match-celebration-overlay.active {
  opacity: 1;
}

.match-celebration-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.match-celebration-overlay.active .match-celebration-card {
  transform: scale(1) translateY(0);
}

.match-neon-ring {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: pulse-ring 2s infinite alternate;
}

@keyframes pulse-ring {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.5; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 0.9; }
}

.match-title-group h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  letter-spacing: -0.5px;
}

.match-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.match-poster-glow-container {
  position: relative;
  width: 170px;
  height: 250px;
  margin: 0 auto 1.5rem auto;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  z-index: 2;
}

.match-poster-glow-container::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: calc(var(--border-radius-md) + 4px);
  z-index: -1;
  opacity: 0.6;
  filter: blur(6px);
}

.match-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  background-color: #0d0d12;
}

.match-movie-info h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.match-meta-badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.match-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--border-radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}

.match-badge.dinner {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.match-badge.platform {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--primary-light);
  font-weight: 700;
  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: 0.75rem;
  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.05rem !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;
}

/* 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 ================= */
.seo-faq-section {
  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: 2.5rem;
  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;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s ease;
  overflow: hidden;
}

.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%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  outline: none;
  transition: color 0.2s ease;
}

.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 {
  color: var(--primary-light);
}

/* Mode Selector and premium active mode styling */
.roulette-mode-selector {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.roulette-mode-selector .btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
}

.roulette-mode-selector .btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  transform: translateY(-1px);
}

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

#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: 0.75rem;
  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 svg {
  width: 1.1rem;
  height: 1.1rem;
}

.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;
}

/* 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: 0.75rem;
  margin-top: 0.5rem;
}

.ing-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  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;
}

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

/* 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;
}

.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: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 40px;
  margin: 1.5rem auto 2.5rem;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  max-width: 500px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.catalog-tab-btn {
  flex: 1;
  border-radius: 30px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.6rem 1.2rem;
  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;
  justify-content: center;
  gap: 0.4rem;
}

.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.35);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  background: rgba(168, 85, 247, 0.05);
}

#btn-catalog-food.active {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
  background: rgba(236, 72, 153, 0.05);
}

/* --- 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);
}

