/*aapartado para numeros amigables */
.numeros-amigables-game {
    max-width: 600px;
    margin: 0 auto;
}

.numeros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.numeros-stats {
    display: flex;
    gap: 30px;
}

.numeros-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.numeros-stats .stat span:first-child {
    font-size: 0.8rem;
    color: var(--gray);
}

.numeros-stats .stat span:last-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

.game-area {
    display: grid;
    gap: 25px;
}

.target-section, .current-section {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.target-section h3, .current-section h3 {
    margin-bottom: 15px;
    color: var(--success);
}

.target-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--discalculia);
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.5);
}

.current-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--success);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.controls-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.controls-section h3 {
    margin-bottom: 15px;
    color: var(--success);
    text-align: center;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.number-card {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.number-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.number-card.selected {
    background: var(--discalculia);
    border-color: var(--warning);
    transform: scale(1.05);
}

.number-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.actions-section {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.actions-section .btn {
    min-width: 120px;
}

.numeros-feedback {
    text-align: center;
    min-height: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}

.numeros-feedback.success {
    background: rgba(76, 201, 240, 0.2);
    color: var(--success);
}

.numeros-feedback.warning {
    background: rgba(247, 37, 133, 0.2);
    color: var(--warning);
}

.numeros-feedback.info {
    background: rgba(67, 97, 238, 0.2);
    color: var(--primary);
}

@media (max-width: 768px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .target-number {
        font-size: 2.5rem;
    }
    
    .current-number {
        font-size: 1.5rem;
    }
    
    .numeros-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .numeros-stats {
        gap: 20px;
    }
    
    .actions-section {
        flex-direction: column;
    }
    
    .actions-section .btn {
        width: 100%;
    }
}