/* Custom styles for the creature evolution game */

.creature-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.creature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.game-container {
    min-height: 100vh;
}

.card {
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
}

.badge {
    font-size: 0.8em;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Evolution options styling */
.evolution-option {
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.evolution-option:hover {
    border-color: var(--bs-primary);
}

/* Game status panel styling */
#gameStatusPanel {
    position: sticky;
    top: 1rem;
}

/* Scenario display styling */
.scenario-card {
    border-left: 4px solid var(--bs-warning);
}

/* Result display styling */
.result-success {
    border-left: 4px solid var(--bs-success);
}

.result-death {
    border-left: 4px solid var(--bs-danger);
}

/* Button animations */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    #gameStatusPanel {
        position: relative;
        margin-bottom: 1rem;
    }
}

/* Custom scrollbar for mutations list */
#mutationsList::-webkit-scrollbar {
    width: 4px;
}

#mutationsList::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

#mutationsList::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 2px;
}

#mutationsList::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary-dark);
}
