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

/* ===================== SCROLL EN .CONTAINER (MÓVIL ANDROID/iOS) ===================== */
/* La vista no hace scroll; el .container es el área scrollable para correcto comportamiento en móvil */
#view-yonunca-jugador {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

/* ===================== CONTAINER = ÁREA SCROLLABLE ===================== */
#view-yonunca-jugador .container {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  text-align: center;
  padding-bottom: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

#view-yonunca-jugador .container::-webkit-scrollbar {
  display: none;
}
  
/* ===================== LOGO CONTAINER ESPECÍFICO YONUNCA-JUGADOR ===================== */
/* Logo container único para yonunca-jugador - sin herencia */
.logo-container_yonunca_jugador {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  margin-top: 8vh !important;
}

/* ===================== LOTTIE DE CARGA DE FRASE ===================== */
#lottie-carga-frase,
.lottie-carga-frase {
  width: 100px;
  height: 100px;
  margin: 0vh auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}


/* Logo único para yonunca-jugador - sin herencia */
.logo_yonunca_jugador {
  font-size: 8vw;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  width: 90vw;
  height: auto;
  margin-bottom: 2vh;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: block;
  }
  
/* ===================== HEADINGS ESPECÍFICOS YONUNCA-JUGADOR ===================== */
#view-yonunca-jugador h1 {
    color: white;
    font-size: 9vw;
    font-weight: bold;
    margin-bottom: 2vh;
    margin-left: 1vw;
    margin-right: 1vw;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    letter-spacing: 0.3vw;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
  -webkit-text-stroke: 0.05vw black;
}

#view-yonunca-jugador h2 {
  color: rgb(0, 0, 0);
    font-size: 10vw;
    margin-bottom: 2vh;
    margin-top: 3vh;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    letter-spacing: 0.3vw;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: zoomInOut 3s ease-in-out infinite;
}

#view-yonunca-jugador .main-heading {
  color: #ffffff;
  font-size: 10vw;
  font-weight: bold;
  margin-bottom: 2vh;
  margin-top: 2vh;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  letter-spacing: 0.2vw;
  text-shadow: 
    0.2vw 0.2vw 0.4vw rgba(0, 0, 0, 0.8),
     -0.1vw -0.1vw 0.2vw rgba(255, 255, 255, 0.3);
  text-align: center;
  line-height: 1.2;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2vw;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  }

#view-yonunca-jugador .second-heading {
    color: white !important;
    font-size: 8vw;
    font-weight: bold;
    margin-bottom: 2vh;
    margin-top: 2vh;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    letter-spacing: 0.2vw;
    text-shadow: 
      -2px -2px 0 #000,
      2px -2px 0 #000,
      -2px 2px 0 #000,
      2px 2px 0 #000,
      0 0 10px rgba(0, 0, 0, 0.8);
    text-align: center;
    line-height: 1.1;
  }

/* ===================== FORM ELEMENTS ESPECÍFICOS YONUNCA-JUGADOR ===================== */
#view-yonunca-jugador .core-container {
    display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vh;
    margin-bottom: 2vh;
  }

#view-yonunca-jugador .input-container {
    display: flex;
    flex-direction: row;
  justify-content: center;
    align-items: center;
    margin-bottom: 1vh;
    background-color: #f2f2f2;
    border-radius: 4vh;
    padding: 1vw 2vh;
    width: 90%;
    height: 8vh;
  }
  
#view-yonunca-jugador .icon {
    width: 5vw;
    height: auto;
    margin-right: 1vw;
  }
  
#view-yonunca-jugador .input-field {
    border: none;
    background-color: transparent;
    outline: none;
    font-size: 5vw;
    width: 100%;
    padding: 1vw;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  }
  
/* ===================== BUTTONS ESPECÍFICOS YONUNCA-JUGADOR ===================== */
#view-yonunca-jugador .button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vh;
    width: 100%;
    height: auto;
  margin-bottom: 6vh;
    padding-bottom: 2vh;
  }
  
#view-yonunca-jugador button.active {
  background-color: #888;
  opacity: 0.6;
}

#view-yonunca-jugador .btn-Si {
  background: linear-gradient(to bottom, #34ce57, #28a745);
  color: white;
  padding: 1.5vw 3vw;
  font-size: 18vw;
  text-decoration: none;
  border-radius: 6vh;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  width: 40%;
  border: 2px solid #1e7e34;
  box-shadow: inset 0 0.2vw 0.3vw rgba(255, 255, 255, 0.4),
              0.3vw 0.3vw 1vw rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

#view-yonunca-jugador .btn-Si:hover {
  background: linear-gradient(to bottom, #28a745, #1e7e34);
  box-shadow: inset 0 0.2vw 0.3vw rgba(255, 255, 255, 0.2), 
              0.5vw 0.5vw 1.5vw rgba(0, 0, 0, 0.5);
  transform: translateY(-0.2vw);
}

#view-yonunca-jugador .btn-Si:active {
  background-color: #1e7e34;
  transform: translateY(0.5vh);
  box-shadow: 0.5vw 0.5vw 1vw rgba(0, 0, 0, 0.3);
}

/* Estilos para botones deshabilitados - dorado bonito con efecto desactivado */
#view-yonunca-jugador .btn-Si:disabled,
#view-yonunca-jugador .btn-No:disabled {
  opacity: 0.7;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 50%, #9d7a15 100%) !important;
  border-color: #8b6914 !important;
  cursor: not-allowed;
  filter: grayscale(0.2) brightness(0.95);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(212, 175, 55, 0.3),
    0 0 20px rgba(212, 175, 55, 0.2);
  position: relative;
  animation: goldenPulse 2s ease-in-out infinite;
}

/* Animación sutil para el efecto dorado deshabilitado */
@keyframes goldenPulse {
  0%, 100% {
    box-shadow: 
      inset 0 2px 6px rgba(0, 0, 0, 0.3),
      0 4px 12px rgba(212, 175, 55, 0.3),
      0 0 20px rgba(212, 175, 55, 0.2);
    filter: grayscale(0.2) brightness(0.95);
  }
  50% {
    box-shadow: 
      inset 0 2px 6px rgba(0, 0, 0, 0.3),
      0 6px 16px rgba(212, 175, 55, 0.4),
      0 0 30px rgba(212, 175, 55, 0.3);
    filter: grayscale(0.15) brightness(1);
  }
}

/* Animación hover para botones deshabilitados - efecto dorado más pronunciado */
#view-yonunca-jugador .btn-Si:disabled:hover,
#view-yonunca-jugador .btn-No:disabled:hover {
  opacity: 0.8;
  filter: grayscale(0.1) brightness(1.05);
  transform: scale(1.02);
  box-shadow: 
    inset 0 2px 6px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(212, 175, 55, 0.5),
    0 0 40px rgba(212, 175, 55, 0.4);
  animation: goldenPulse 1.5s ease-in-out infinite;
}

#view-yonunca-jugador .btn-No {
  background: linear-gradient(to bottom, #dc3545, #9f323d);
  color: white;
  padding: 1.5vw 3vw;
  font-size: 18vw;
  text-decoration: none;
  border-radius: 6vh;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  width: 40%;
  border: 3px solid #8b2d35;
  box-shadow: inset 0 0.2vw 0.3vw rgba(255, 255, 255, 0.4),
              0.3vw 0.3vw 1vw rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

#view-yonunca-jugador .btn-No:hover {
  background: linear-gradient(to bottom, #9f323d, #7b2a32);
  box-shadow: inset 0 0.2vw 0.3vw rgba(255, 255, 255, 0.2), 
              0.5vw 0.5vw 1.5vw rgba(0, 0, 0, 0.5);
  transform: translateY(-0.2vw);
}

#view-yonunca-jugador .btn-No:active {
  background-color: #bd2130;
  transform: translateY(0.5vh);
  box-shadow: 0.5vw 0.5vw 1vw rgba(0, 0, 0, 0.3);
}

#view-yonunca-jugador .apodo-left {
  text-align: center;
  margin: 0 auto;
}

/* ===================== POPUP DE LIKE - DISEÑO SIMPLE Y ELEGANTE ===================== */
#view-yonunca-jugador .like-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeInPopup 0.4s ease-out;
}

#view-yonunca-jugador .like-popup-container {
  background: linear-gradient(145deg, 
    rgba(1, 74, 173, 0.95) 0%, 
    rgba(201, 108, 230, 0.95) 100%);
  border-radius: 3.5vh;
  padding: 5vh 10vw;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  max-width: 85vw;
  animation: slideUpPopup 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo animado en el fondo del popup */
#view-yonunca-jugador .like-popup-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotateGlow 8s linear infinite;
  pointer-events: none;
}

#view-yonunca-jugador .like-popup-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3.5vh;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

#view-yonunca-jugador .like-popup-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4vh;
  position: relative;
  z-index: 1;
}

#view-yonunca-jugador .like-popup-title {
  color: #ffffff;
  font-size: 8vw;
  font-family: 'ChauPhilomeneOne-Regular', sans-serif;
  margin: 0;
  letter-spacing: 0.2vw;
  font-weight: bold;
  /*text-shadow: 
    0 0 20px rgba(255, 255, 255, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 255, 255, 0.3);*/
  animation: titlePulse 2s ease-in-out infinite;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: titleShine 3s linear infinite;
}

#view-yonunca-jugador .like-popup-buttons {
  display: flex;
  gap: 6vw;
  justify-content: center;
  align-items: center;
}


#view-yonunca-jugador .like-popup-btn {
  width: 25vw;
  height: 25vw;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5vh;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#view-yonunca-jugador .like-popup-btn-icon {
  font-size: 12vw;
  line-height: 1;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Botón Like (verde) - Más llamativo */
#view-yonunca-jugador .like-popup-btn-heart {
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 50%, #10b981 100%);
  box-shadow: 
    0 8px 25px rgba(34, 197, 94, 0.5),
    0 0 40px rgba(34, 197, 94, 0.3),
    inset 0 2px 10px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

#view-yonunca-jugador .like-popup-btn-heart::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  animation: buttonShine 2s ease-in-out infinite;
}

#view-yonunca-jugador .like-popup-btn-heart:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 
    0 12px 35px rgba(34, 197, 94, 0.6),
    0 0 60px rgba(34, 197, 94, 0.4),
    inset 0 2px 15px rgba(255, 255, 255, 0.3);
  animation: heartBeat 0.6s ease-in-out;
}

#view-yonunca-jugador .like-popup-btn-heart:active {
  transform: scale(1.08) rotate(2deg);
}

/* Botón Dislike (rojo/oscuro) - Más llamativo */
#view-yonunca-jugador .like-popup-btn-close {
  background: linear-gradient(145deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  box-shadow: 
    0 8px 25px rgba(239, 68, 68, 0.5),
    0 0 40px rgba(239, 68, 68, 0.3),
    inset 0 2px 10px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

#view-yonunca-jugador .like-popup-btn-close::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: buttonShine 2.5s ease-in-out infinite;
}

#view-yonunca-jugador .like-popup-btn-close:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 
    0 12px 35px rgba(239, 68, 68, 0.6),
    0 0 60px rgba(239, 68, 68, 0.4),
    inset 0 2px 15px rgba(255, 255, 255, 0.3);
  animation: shakeButton 0.5s ease-in-out;
}

#view-yonunca-jugador .like-popup-btn-close:active {
  transform: scale(1.08) rotate(-2deg);
}

/* Animaciones mejoradas */
@keyframes fadeInPopup {
  from { 
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to { 
    opacity: 1;
    backdrop-filter: blur(15px);
  }
}

@keyframes slideUpPopup {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

@keyframes titleShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes buttonShine {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
    opacity: 0.6;
  }
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1.15) rotate(5deg);
  }
  25% {
    transform: scale(1.2) rotate(7deg);
  }
  50% {
    transform: scale(1.15) rotate(5deg);
  }
  75% {
    transform: scale(1.18) rotate(6deg);
  }
}

@keyframes shakeButton {
  0%, 100% {
    transform: scale(1.15) rotate(-5deg);
  }
  25% {
    transform: scale(1.15) rotate(-7deg) translateX(-2px);
  }
  50% {
    transform: scale(1.15) rotate(-5deg);
  }
  75% {
    transform: scale(1.15) rotate(-3deg) translateX(2px);
  }
}

html[lang="en"] .logo_yonunca_jugador {
  margin-top: 5vh;
}

