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

/* ===================== LOGO CONTAINER ESPECÍFICO STATS ===================== */
/* Logo container único para stats - sin herencia */
.logo-container_stats {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  /* La animación moveUpDown se controla desde spa_transitions.css */
}

/* ===================== CONTAINER ESPECÍFICO STATS ===================== */
#view-stats .container {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    padding: 2vh;
    border-radius: 5vh;
    background-color: rgba(179, 136, 43, 0);
  width: 90%;
  height: 85vh;
    margin: 0 auto 2vh auto;
  position: relative;
}

/* ===================== GRÁFICO ESPECÍFICO STATS ===================== */
#view-stats #myChart {
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    margin: 0 auto;
    margin-top: 2vh;
    display: block;
    width: 100%;
  height: 70vh;
}

/* ===================== BOTÓN PAUSE/PLAY ESPECÍFICO STATS ===================== */
#view-stats .pause-play-button {
    position: absolute;
  top: 5vh;
  right: 60px;
    background-color: #10b9813e;
    color: white;
    border: none;
    border-radius: 5vh;
    padding: 1vw 2vh;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

#view-stats .pause-play-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
  filter: brightness(0) invert(1);
}

#view-stats .pause-play-button:hover {
    background: linear-gradient(90deg, #059669 60%, #10b981 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}

/* ===================== LOGO ESPECÍFICO STATS ===================== */
/* Logo único para stats - sin herencia */
.logo_stats {
    margin-top: 3vh;
  width: 80vw;
  margin-bottom: 0vh;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  display: block;
    font-size: 8vw;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

/* ===================== TÍTULO ESPECÍFICO STATS ===================== */
#view-stats .title {
    display: none;
}

/* ===================== FRASE ESPECÍFICA STATS ===================== */
#view-stats .phrase p {
    font-size: 4vw;
    font-weight: bold;
    color: white;
    margin-bottom: 4vh;
    margin-top: 4vh;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    letter-spacing: 0.3vw;
    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;
}

/* ===================== ICONO ESPECÍFICO STATS ===================== */
#view-stats .icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

#view-stats .icon img {
    width: 5vw;
    height: auto;
}

/* ===================== BOTÓN GO ESPECÍFICO STATS ===================== */
#view-stats .button-container {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    width: 20%;
    height: 4vh;
    align-items: flex-end;
}

#view-stats .btn-go {
    margin-top: 6vh;
    background-color: #29211d;
    color: white;
    font-size: 4vw;
    text-decoration: none;
    border-radius: 4vh;
    transition: background-color 0.3s ease;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    width: 100%;
    border: none;
    cursor: pointer;
}

#view-stats .btn-go:hover {
    background-color: #4b3810;
    transform: translateY(-0.5vh);
    box-shadow: 1vw 1vw 2vw rgba(0, 0, 0, 0.4);
}

/* ===================== BADGE ESPECÍFICO STATS ===================== */
#view-stats .plan-badge {
  position: absolute;
    top: 0;
    left: 0;
  width: 56px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-family: 'ChauPhilomeneOne-Regular', sans-serif;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
    isolation: isolate;
    pointer-events: none;
}

#view-stats .plan-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 95% 18%, 95% 58%, 50% 100%, 5% 58%, 5% 18%);
  border-radius: 10px;
    z-index: -1;
    box-shadow: inset 0 -8px 12px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.15);
}

#view-stats .plan-badge::after {
    content: '';
    position: absolute;
    inset: 3px;
    clip-path: polygon(50% 2%, 90% 20%, 84% 36%, 50% 52%, 16% 36%, 10% 20%);
    background: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 55%, rgba(255,255,255,0) 100%);
    opacity: .9;
}

#view-stats .plan-badge .rank { 
  font-size: 0.65em;
  line-height: 1; 
  position: relative;
  z-index: 1;
}

#view-stats .plan-badge .rank-icon {
  width: 60%;
  height: 60%;
  max-width: 60%;
  max-height: 60%;
    object-fit: contain;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,.35));
}

#view-stats .badge-basic::before { 
  background: linear-gradient(90deg, rgb(1, 74, 173), rgb(201, 108, 230)); 
}

#view-stats .badge-premium::before { 
  background: linear-gradient(90deg, #1AF0A2, #4B8FE5); 
}

#view-stats .badge-ultra::before { 
  background: linear-gradient(90deg, #d645ff, #0b0a0b); 
}

