.flame {
            transition: all 0.3s ease;
            filter: drop-shadow(0 0 10px rgba(255, 100, 0, 0.7));
        }
        .flame:hover {
            transform: scale(1.1);
            filter: drop-shadow(0 0 15px rgba(255, 150, 0, 0.9));
        }
        .flame-extinguished {
            opacity: 0.3;
            filter: none;
        }
        .flame-tile {
            transition: all 0.3s ease;
        }
        .flame-tile:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px rgba(255, 165, 0, 0.7);
        }
        .progress-ring__circle {
  transition: stroke-dashoffset 0.35s ease-out, stroke 0.3s ease-in;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-linecap: round;         /* Bordes redondeados para suavidad visual */
  stroke-width: 6;
  fill: transparent;
}
        @keyframes flicker {
            0%, 100% { transform: scale(1) rotate(0deg); }
            25% { transform: scale(1.05) rotate(1deg); }
            50% { transform: scale(0.98) rotate(-1deg); }
            75% { transform: scale(1.02) rotate(0.5deg); }
        }
        .flame-animation {
            animation: flicker 3s infinite;
        }
        
        .logro-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contenedorBoton {
  text-align: center;
  margin-top: 20px;
}

/* Estilo visual para el botón */
#reiniciarBtn {
  display: none; /* Se muestra dinámicamente con JS */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  background-color: #facc15; /* Amarillo vibrante */
  color: #1f2937; /* Texto oscuro para contraste */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#reiniciarBtn:hover {
  background-color: #fbbf24; /* Un tono más cálido al pasar el mouse */
  transform: scale(1.05); /* Efecto de agrandamiento sutil */
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 360px;
  max-width: 85%;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #facc15;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.close-btn:hover {
  color: #fde047;
  transform: scale(1.2);
}

.contador-tiempo {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #facc15;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  display: none;
  z-index: 2;
}
