body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
}

#game-container {
    margin-top: 50px;
}

input {
    padding: 10px;
    font-size: 18px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.gender-btn {
    padding: 10px 20px;
    margin: 10px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gender-btn.selected {
    border: 2px solid black;
}

.male { background-color: #4A90E2; color: white; }
.female { background-color: #E94E77; color: white; }
.neutral { background-color: #50C878; color: white; }

#start-game {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 20px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

#start-game:hover {
    background-color: #e64a19;
}

#cat_sprite {
    width: 256px; /* Ancho de un solo frame */
    height: 256px; /* Alto de un solo frame */
    background: url('cat_spritesheet.png') no-repeat;
    background-size: 2048px 256px; /* 8 frames en una fila */
    display:block;
    margin: 0 auto;
}

/* Estilos mejorados para el botón */
button {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.1s ease;
}

button:hover {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    transform: scale(1.05);
}

#progress_container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
}

.progress_bar_wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.progress_label {
    width: 20px;
    text-align: right;
    font-weight: bold;
    margin-right: 10px;
}

.progress_bar {
    width: 80px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress_fill {
    height: 100%;
    background: linear-gradient(90deg, red, yellow, green);
    transition: width 0.3s ease-in-out;
}
