/* ========================================
   EMBEDDED YOUTUBE PLAYER (Sidebar)
   ======================================== */
.video-player-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.video-player-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-md);
}

.video-player-embed .video-player__watermark {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

/* ========================================
   VIDEOS DESTACADOS SECTION
   ======================================== */
.videos-section {
  margin-top: var(--space-lg);
}

.videos-featured {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-md);
  min-height: 340px;
}

/* Featured Video Card (big player) */
.video-featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-base);
}

.video-featured-card:hover {
  border-color: var(--border-accent);
}

.video-featured-card__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-featured-card__player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-featured-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 51, 51, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.video-featured-card__info {
  padding: var(--space-md);
}

.video-featured-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-featured-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Compact Video List (sidebar of featured section) */
.videos-compact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  overflow-y: auto;
  max-height: 460px;
  padding-right: 4px;
}

.video-compact {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}

.video-compact:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateX(4px);
}

.video-compact--active {
  border-color: var(--accent-primary);
  background: var(--accent-primary-dim);
  box-shadow: var(--shadow-glow);
}

.video-compact__thumb {
  position: relative;
  width: 120px;
  min-width: 120px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.video-compact__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-compact:hover .video-compact__thumb img {
  transform: scale(1.08);
}

.video-compact__duration {
  position: absolute;
  bottom: 3px;
  right: 3px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.video-compact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.video-compact__title {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-compact__channel {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* Section link channel avatar */
.section-link__channel-avatar {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--border-accent);
}

/* Live badge as link */
a.live-badge {
  text-decoration: none;
  transition: var(--transition-fast);
}

a.live-badge:hover {
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-primary);
}

/* Footer YouTube button */
.footer__channel-link {
  margin-top: var(--space-md);
}

.footer__yt-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.footer__yt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 0, 0, 0.35);
  background: linear-gradient(135deg, #ff2222, #ee0000);
}

/* ========================================
   PARTICIPANTS / EL MAPA
   ======================================== */
.participants-section {
  margin-top: var(--space-lg);
}

.participants-counter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.participants-counter__active {
  color: var(--accent-primary);
}

.participants-counter__sep {
  color: var(--text-muted);
}

.participants-counter__eliminated {
  color: var(--accent-hot);
}

.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.participants-grid-wrapper {
  max-height: 480px; /* Muestra unas dos filas dependiendo del alto */
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.participants-grid-wrapper.expanded {
  max-height: 3000px; /* Altura suficiente para mostrar a todos */
}

.participants-grid-wrapper:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  pointer-events: none;
}

.participant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-md);
  align-items: center;
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.participant-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.participant-card--eliminated {
  opacity: 0.55;
  border-color: rgba(255, 51, 102, 0.15);
}

.participant-card--eliminated:hover {
  opacity: 0.8;
  border-color: rgba(255, 51, 102, 0.3);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.1);
}

.participant-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.participant-card__img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-color);
  transition: border-color var(--transition-base);
}

.participant-card:hover .participant-card__img {
  border-color: var(--accent-primary);
}

.participant-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 8px;
  border-radius: 8px;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.participant-badge--active {
  background: rgba(0, 255, 136, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.participant-badge--nominated {
  background: rgba(255, 170, 0, 0.2);
  color: var(--accent-warning);
  border: 1px solid rgba(255, 170, 0, 0.3);
  animation: nominatedPulse 2s ease-in-out infinite;
}

@keyframes nominatedPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 170, 0, 0.2); }
  50% { box-shadow: 0 0 12px rgba(255, 170, 0, 0.4); }
}

.participant-badge--eliminated {
  background: rgba(255, 51, 102, 0.2);
  color: var(--accent-hot);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.participant-badge--leader {
  background: rgba(0, 229, 255, 0.2);
  color: var(--accent-secondary);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.participant-badge--immune {
  background: rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.participant-badge--finalist {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.25), rgba(255, 51, 102, 0.25));
  color: var(--accent-warning);
  border: 1px solid rgba(255, 170, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 170, 0, 0.2);
}

.participant-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.participant-card__name {
  font-family: 'Orbitron', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.participant-card__apodo {
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-style: italic;
}

.participant-card__team {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.participant-card__team-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.participant-card__week-out {
  font-size: 0.6rem;
  color: var(--accent-hot);
  font-weight: 600;
  margin-top: 2px;
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Sidebar Panel */
.sidebar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.sidebar-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.sidebar-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md) var(--space-sm);
}

.sidebar-panel__title {
  font-family: 'Orbitron', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sidebar-panel__title span {
  color: var(--accent-primary);
}

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(255, 51, 51, 0.15);
  color: #ff3333;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 51, 51, 0.2); }
  50% { box-shadow: 0 0 15px rgba(255, 51, 51, 0.4); }
}

.live-badge__dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: #ff3333;
  animation: livePulse 1.5s ease-in-out infinite;
}

/* Video Player */
.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 0 var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-player__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-player__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-base);
}

.video-player__overlay:hover {
  background: rgba(0, 0, 0, 0.2);
}

.video-player__play {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-spring);
}

.video-player__overlay:hover .video-player__play {
  transform: scale(1.1);
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px var(--accent-primary-glow);
}

.video-player__watermark {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 4px;
}

.video-player__viewers {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 600;
  color: white;
}

.video-player__viewers .viewer-dot {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent-hot);
  animation: livePulse 1.5s ease-in-out infinite;
}

/* Chat Section */
.chat-section {
  padding: 0 var(--space-sm) var(--space-sm);
}

.chat-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-box__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-message {
  font-size: 0.75rem;
  line-height: 1.4;
  animation: chatFadeIn 0.3s ease-out;
}

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

.chat-message__user {
  font-weight: 700;
  margin-right: 6px;
}

.chat-message__user--mod {
  color: var(--accent-primary);
}

.chat-message__user--vip {
  color: var(--accent-warning);
}

.chat-message__user--sub {
  color: var(--accent-secondary);
}

.chat-message__user--normal {
  color: var(--accent-purple);
}

.chat-message__text {
  color: var(--text-secondary);
}

.chat-box__input {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-top: 1px solid var(--border-color);
}

.chat-box__input input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-box__input input::placeholder {
  color: var(--text-muted);
}

.chat-box__input input:focus {
  border-color: var(--accent-primary);
}

.chat-box__input button {
  padding: 8px 14px;
  background: var(--accent-primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-box__input button:hover {
  background: #00cc6a;
}

/* Spoilers */
.spoilers-list {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.spoiler-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
}

.spoiler-item:hover {
  background: var(--bg-card-hover);
  border-left-color: var(--accent-primary);
}

.spoiler-item__icon {
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.spoiler-item__content {
  flex: 1;
}

.spoiler-item__title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2px;
}

.spoiler-item__time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.spoiler-item--hot {
  border-left-color: var(--accent-hot);
}

/* ========================================
   SPA VIEWS (VIRTUAL ROUTER)
   ======================================== */
.spa-view {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
}
.spa-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   BOTTOM NAVIGATION BAR (MOBILE)
   ======================================== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border-color);
  z-index: 2000;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  padding: 4px;
}
.bottom-nav__icon {
  font-size: 1.2rem;
  margin-bottom: 2px;
  transition: transform var(--transition-fast);
}
.bottom-nav__label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bottom-nav__item.active {
  color: var(--accent-primary);
}
.bottom-nav__item.active .bottom-nav__icon {
  transform: scale(1.2) translateY(-2px);
  text-shadow: 0 0 10px var(--accent-primary-glow);
}

/* Hide header nav and show bottom nav on mobile */
@media (max-width: 768px) {
  #main-nav {
    display: none !important;
  }
  .bottom-nav {
    display: flex;
  }
  .main {
    padding-bottom: 80px; /* Space for bottom nav */
  }
}

/* ========================================
   CUSTOM REWARD MODAL
   ======================================== */
.reward-modal-content {
  background: linear-gradient(145deg, var(--bg-card) 0%, #11141c 100%);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 40px var(--accent-primary-dim);
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reward-modal-overlay.active .reward-modal-content {
  transform: scale(1);
  opacity: 1;
}
.reward-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reward-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 0 10px var(--accent-primary-glow);
}
.reward-message {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ========================================= */
/*  QUINIELA EXTENDIDA (SECCIONES Y BOTONES) */
/* ========================================= */
.q-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: 20px;
}
.q-section-title {
  font-size: 1rem;
  color: var(--accent-purple);
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 5px;
}
.q-select {
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}
.q-select:focus {
  border-color: var(--accent-purple);
}
.q-select option {
  background: var(--bg-primary);
}
.q-budget-btns {
  display: flex;
  gap: 15px;
}
.q-budget-btn {
  flex: 1;
  padding: 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}
.q-budget-btn.selected {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-purple);
  color: var(--text-primary);
  font-weight: bold;
}

/* ========================================
   AUTH MODAL
   ======================================== */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  background: linear-gradient(145deg, #1e2433 0%, #11141c 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.auth-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple), var(--accent-secondary));
}

.auth-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.auth-modal__close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transform: scale(1.1);
}

.auth-modal__header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  text-align: center;
}

.auth-modal__logo-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  animation: pulseGlow 2s infinite;
}

.auth-modal__section {
  padding: 0 var(--space-xl) var(--space-md);
}

.auth-modal__divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: var(--space-md) var(--space-xl);
}
.auth-modal__divider::before,
.auth-modal__divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-modal__divider span {
  padding: 0 10px;
}

.auth-input-group {
  margin-bottom: 15px;
}

.auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}
.auth-input:focus {
  border-color: var(--accent-purple);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.auth-btn-group {
  display: flex;
  gap: 10px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-btn-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.auth-btn--google {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
}
.auth-btn--google:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.auth-btn--email {
  background: var(--accent-primary);
  color: white;
  flex: 1.2;
}
.auth-btn--email:hover {
  background: #00cc6a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.auth-btn--register {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0.8;
}
.auth-btn--register:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.auth-btn--anon {
  background: linear-gradient(135deg, var(--accent-purple), #6320d9);
  color: white;
  border: 1px solid rgba(168, 85, 247, 0.5);
}
.auth-btn--anon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

