/* Estilos para el contenedor principal del juego */
.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
}

/* Barra de estadísticas rediseñada */
.stats-bar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    border: 1px solid #e5e7eb;
}
.dark .stats-bar {
    background-color: #1f2937;
    border-color: #374151;
}
.stat-item {
    text-align: center;
}
.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280; /* gray-500 */
}
.dark .stat-label {
    color: #9ca3af; /* gray-400 */
}
.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #F97316; /* brand-orange */
}

/* Selector de dificultad */
#difficulty-selector .difficulty-button {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #e5e7eb;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s ease;
}
.dark #difficulty-selector .difficulty-button {
    background-color: #374151;
    color: #e5e7eb;
}
#difficulty-selector .difficulty-button:hover {
    background-color: #d1d5db;
}
.dark #difficulty-selector .difficulty-button:hover {
    background-color: #4b5563;
}
#difficulty-selector .difficulty-button.active {
    background-color: #F97316;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Rejilla del juego */
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.hole {
    aspect-ratio: 1 / 1;
    background-color: #e5e7eb; /* gris claro */
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 8px solid #9ca3af; /* gris medio */
    box-shadow: inset 5px 5px 10px rgba(0,0,0,0.1);
}
.dark .hole {
    background-color: #374151;
    border-color: #1f2937;
}

.hole::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: #d1d5db; /* gris un poco más oscuro */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dark .hole::after {
    background: #111827;
}

.mole {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    z-index: 10;
    transition: transform 0.2s ease-out;
    transform: translateY(110%);
    cursor: pointer;
}

.mole.up {
    transform: translateY(0);
}

.mole.whacked {
    transform: translateY(110%);
    filter: saturate(0);
    transition: transform 0.1s ease-in;
}

/* Botón de empezar */
.start-button {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: #F97316; /* brand-orange */
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transform: scale(1);
    transition: all 0.2s;
}
.start-button:hover {
    background-color: #ea580c; /* orange-600 */
    transform: scale(1.05);
}