:root {
    --col-primary: #ff9d00;
    --col-inactive: #666666;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #2c2f33;
    color: #ffffff;
    text-align: center;
}

h1 {
    font-family: "Times New Roman", Times, serif;
}

.civ-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.civ {
    cursor: pointer;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    transition: all 0.3s ease-in-out;
}

.civ:hover {
    transform: scale(1.05);
}

.dlc-controls {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.toggle-switch-container {
    display: flex;
    align-items: center;
}

.dlc-controls label {
    cursor: pointer;
    user-select: none;
    padding-left: 50px;
    position: relative;
}

.civ.excluded {
    filter: grayscale(100%);
    opacity: 0.3;
    cursor: not-allowed;
    border-color: #666;
}

.civ.excluded:hover {
    transform: none;
}

.civ.banned {
    background-color: #ff0000;
    opacity: 0.5;
}

.civ img {
    width: 100%;
    border-radius: 5px;
}



.controls {
    margin-top: 20px;
}

#pick-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: var(--col-primary);
    border: none;
    border-radius: 5px;
}

.result-container .civ {
    margin: 40px auto;
    transform: scale(1.2);
    animation: fadeIn 0.5s ease-in-out, wobble-glow 2s ease-in-out 0.5s infinite;
}

@keyframes wobble-glow {
    0%, 100% {
        box-shadow: 0 0 0;
    }
    50% {
        box-shadow: 0 0 25px var(--col-primary);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Toggle Switch Styles */
.toggle-switch-container input[type="checkbox"] {
    display: none;
}

.toggle-switch-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 20px;
    background-color: var(--col-inactive);
    border-radius: 10px;
    transition: background-color 0.3s;
}

.toggle-switch-container label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: all 0.3s;
}

.toggle-switch-container input[type="checkbox"]:checked + label::before {
    background-color: var(--col-primary);
}

.toggle-switch-container input[type="checkbox"]:checked + label::after {
    left: 22px;
}