/* ===================== ESTILOS ESPECÍFICOS VIEW-YONUNCA-FINAL-JUGADOR ===================== */
/* Nota: Estilos base (fonts, reset, body, animaciones comunes) están en yonunca_base.css */

/* ===================== LAYOUT ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
/* Asegurar que los elementos empiecen desde arriba, no centrados */
#view-yonunca-final-jugador.spa-view {
  justify-content: flex-start !important;
  align-items: center;
  padding-top: 0;
  margin-top: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Ocultar scrollbar pero permitir scroll */
#view-yonunca-final-jugador.spa-view::-webkit-scrollbar {
  display: none;
}

/* ===================== BODY ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador body {
  height: 100vh;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: 'Arial', sans-serif;
  background: none;
}


/* ===================== LOGO CONTAINER ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
/* Logo container único para yonunca-final-jugador - sin herencia */
.logo-container_yonunca_final_jugador {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-top: 3vh;
  margin-bottom: 0;
  padding-top: 0;
  /* La animación moveUpDown se controla desde spa_transitions.css */
}

/* Logo único para yonunca-final-jugador - sin herencia */
.logo_yonunca_final_jugador {
  font-size: 8vw;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  width: 90vw;
  height: auto;
  margin-top: 2vh;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: block;
}

/* ===================== HEADINGS ESPECÍFICOS YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador h1 {
  font-size: 10vw;
  font-weight: bold;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3vh;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  letter-spacing: 0.3vw;
  color: #ffffff !important;
  text-align: center !important; /* Centrar el texto "Estadísticas de jugador" */
  text-shadow: 
    0.3vw 0.3vw 0.6vw rgba(0, 0, 0, 0.8),
    0 0 1vw rgba(255, 255, 255, 0.4),
    -0.1vw -0.1vw 0.3vw rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  padding: 2vh 3vw;
  border-radius: 2vh;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

#view-yonunca-final-jugador h2 {
  font-size: 25vw;
  font-weight: bold;
  margin-top: 4vh;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  letter-spacing: 0.3vw;
  text-shadow: 
    0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.8),
    0 0 0.8vw rgba(255, 224, 102, 0.6);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

@keyframes pulse-result {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 224, 102, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 1.5vw rgba(255, 224, 102, 0.1);
  }
}

#view-yonunca-final-jugador h3 {
  font-size: 7vw;
  font-weight: bold;
  margin-bottom: 4vh;
  margin-top: 4vh;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  letter-spacing: 0.3vw;
  color: white;
  text-shadow: 0.1vw 0.1vw 0.2vw rgb(244, 29, 29), -0.1vw -0.1vw 0.2vw rgb(0, 255, 255);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* ===================== CORE CONTAINER ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .core-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vh;
  margin-bottom: 2vh;
}

/* ===================== LOTTIE CONTAINER ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador #lottie-container {
  width: 50vw;
  height: auto;
  background-color: rgba(240, 240, 240, 0);
  border-radius: 1.5vh;
  margin: 1vh auto; 
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ===================== FRASES PULSADAS ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .frases-pulsadas {
  color: #4CAF50 !important;
  font-size: 25vw;
  font-weight: bold;
  text-shadow: 
    0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.8),
    0 0 0.8vw rgba(76, 175, 80, 0.6);
}

/* ===================== BUTTONS ESPECÍFICOS YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .close-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2vh 4vw;
  font-size: 2.2rem;
  text-decoration: none;
  border-radius: 6vh;
  transition: all 0.3s ease;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  width: auto;
  height: auto;
  border: none;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#view-yonunca-final-jugador .close-button:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#view-yonunca-final-jugador .close-button:active {
  background: linear-gradient(135deg, #4e5bc6 0%, #5e377e 100%);
  transform: translateY(0);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

#view-yonunca-final-jugador .actions-grid {
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

#view-yonunca-final-jugador .actions-top {
  display: flex;
  gap: 3vw;
  flex-wrap: nowrap;
  align-items: stretch;
}

#view-yonunca-final-jugador .opina-button {
  background: linear-gradient(135deg, #ff8a00 0%, #ff3d00 100%);
  color: white;
  margin-top: 2vh;
  margin-bottom: 4vh;
  padding: 2vh 4vw;
  font-size: 2.2rem;
  text-decoration: none;
  border-radius: 6vh;
  transition: all 0.3s ease;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  width: auto;
  height: auto;
  border: none;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#view-yonunca-final-jugador .actions-top .opina-button,
#view-yonunca-final-jugador .actions-top .instagram-button {
  flex: 1 1 0;
  min-height: 64px;
  min-width: 0;
  white-space: nowrap;
}

#view-yonunca-final-jugador .ig-icon { 
  font-size: 2.2rem; 
}

@media (max-width: 420px) {
  #view-yonunca-final-jugador .actions-top { 
    flex-direction: row; 
    gap: 2vw; 
  }
}

#view-yonunca-final-jugador .instagram-button {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  margin-top: 2vh;
  margin-bottom: 4vh;
  padding: 2vh 4vw;
  font-size: 1.6rem;
  text-decoration: none;
  border-radius: 6vh;
  transition: all 0.3s ease;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
}

#view-yonunca-final-jugador .ig-img {
  height: 2.4rem;
  width: auto;
  display: block;
}

#view-yonunca-final-jugador .instagram-button:hover {
  transform: translateY(-2px);
}

#view-yonunca-final-jugador .actions-grid .close-button {
  width: 100%;
}

#view-yonunca-final-jugador .opina-button:hover {
  transform: translateY(-2px);
}

/* ===================== MODAL ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .opina-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#view-yonunca-final-jugador .opina-modal.show { 
  display: flex; 
}

#view-yonunca-final-jugador .opina-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(2px);
  animation: fadeIn 200ms ease-out;
}

#view-yonunca-final-jugador .opina-modal-content {
  position: relative;
  width: 88vw;
  max-width: 520px;
  background: linear-gradient(135deg, rgba(1, 74, 173, 0.8) 0%, rgba(201, 108, 230, 0.7) 100%);
  border: 2px solid rgba(255,255,255,0.28);
  border-radius: 2rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  padding: 3vh 4vw;
  text-align: center;
  animation: popIn 240ms ease-out;
}

#view-yonunca-final-jugador .opina-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

#view-yonunca-final-jugador .opina-subtitle {
  color: #fff;
  opacity: 0.95;
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

#view-yonunca-final-jugador .stars {
  display: flex;
  justify-content: center;
  gap: 2vw;
  margin: 2vh 0 1vh 0;
}

#view-yonunca-final-jugador .star {
  background: transparent;
  border: none;
  font-size: 12vw;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  transition: transform 120ms ease, color 120ms ease;
}

#view-yonunca-final-jugador .star:hover { 
  transform: scale(1.1); 
}

#view-yonunca-final-jugador .star.active { 
  color: #ffe066; 
  text-shadow: 0 0 16px rgba(255, 224, 102, 0.6); 
}

#view-yonunca-final-jugador .opina-text {
  width: 100%;
  min-height: 18vh;
  border-radius: 1rem;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 1rem;
  font-size: 1.2rem;
  outline: none;
}

#view-yonunca-final-jugador .opina-text::placeholder { 
  font-size: 1.1rem; 
}

#view-yonunca-final-jugador .opina-send {
  margin-top: 1.2rem;
  background: linear-gradient(135deg, #34ce57, #28a745);
  color: #fff;
  border: none;
  border-radius: 6vh;
  padding: 1.3rem 2.4rem;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

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

@keyframes popIn { 
  from { opacity: 0; transform: translateY(10px) scale(0.98); } 
  to { opacity: 1; transform: translateY(0) scale(1); } 
}

/* ===================== TOAST ESPECÍFICO YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .toast {
  position: fixed;
  left: 50%;
  bottom: 10vh;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 3000;
}

#view-yonunca-final-jugador .toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================== BADGES ESPECÍFICOS YONUNCA-FINAL-JUGADOR ===================== */
#view-yonunca-final-jugador .likes-badge {
  display: inline-flex;
  align-items: center;
  gap: 2vw;
  margin-top: 2vh;
  padding: 1.4vh 4vw;
  border-radius: 7vh;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

#view-yonunca-final-jugador .likes-icon {
  color: #ff6b6b;
  font-size: 14vw;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#view-yonunca-final-jugador .likes-count {
  color: #ffe066;
  font-weight: bold;
  font-size: 14vw;
  text-shadow: 0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.8);
}

#view-yonunca-final-jugador .badges-row {
  display: flex;
  gap: 5vw;
  justify-content: center;
  align-items: center;
}

#view-yonunca-final-jugador .beer-badge {
  display: inline-flex;
  align-items: center;
  gap: 2vw;
  padding: 1.4vh 4vw;
  border-radius: 7vh;
  background: rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

#view-yonunca-final-jugador .beer-icon {
  font-size: 14vw;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

#view-yonunca-final-jugador .beer-count {
  color: #ffffff;
  font-weight: bold;
  font-size: 14vw;
  text-shadow: 0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.8);
}

