body {
    font-family: 'Roboto', sans-serif;
    background-color: #0a0014;
    color: #e0e0e0;
    align-items: center;
    height: 100vh;
    margin: 20;

}

.container {
    background: #1a0033;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    padding: 30px;
    max-width: 500px;
    text-align: center;
}

h1 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #bb86fc;
    text-shadow: 0 0 10px rgba(187, 134, 252, 0.7);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.game-option {
    border: 1px solid #4b0082;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.game-option img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.game-option p {
    font-weight: 500;
    color: #bb86fc;
}

.game-option:hover, .game-option.selected {
    transform: scale(1.05);
    border-color: #bb86fc;
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.7);
}

.main-container {
    background: #1a0033;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.selection-container {
    display: flex; 
    justify-content: center; 
}

.combo-container {
    background: #1a0033;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    flex-wrap: wrap; 
}

.combo-cards-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 20px;
}

.combo-card {
	flex: 1;
    border: 1px solid #4b0082;
    border-radius: 10px;
    padding: 2px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    max-width: calc(33.33% - 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    height: 160px;
	font-size: 11px;
}

.combo-card img {
    width: 50%; 
    border-radius: 8px; 
    margin-bottom: 10px; 
}

.combo-card p {
    font-weight: 250;
    color: #bb86fc;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.combo-card:hover {
    transform: scale(1.05); 
    border-color: #bb86fc; 
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.7); 
}

.last-updated {
    margin-top: 20px;
    font-style: italic;
    font-size: 14px;
    color: #7F8C8D;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #bb86fc;
}

.key-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #4b0082;
    outline: none;
    transition: background 0.3s;
}

.key-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #bb86fc;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 0 10px rgba(187, 134, 252, 0.7);
}

.key-slider input[type="range"]:hover::-webkit-slider-thumb {
    background: #9966cc;
}

#keyValue {
    font-size: 18px;
    font-weight: bold;
    color: #bb86fc;
}

button {
    background-color: #6200ee;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 20px;
}

button:hover {
    background-color: #bb86fc;
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.7);
}

.hidden {
    display: none;
}

.progress-bar {
    background-color: #2d004d;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 25px;
    height: 35px;
    position: relative;
}

.progress-bar div {
    height: 100%;
    background-color: #bb86fc;
    width: 0;
    transition: width 0.5s;
}

#progressText {
    margin-top: 15px;
    font-weight: 600;
    color: #bb86fc;
}

.key-item {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.key-item input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #4b0082;
    border-radius: 8px;
    margin-right: 12px;
    background-color: #2d004d;
    color: #e0e0e0;
}

.copyKeyBtn {
    background-color: #6200ee;
    border: none;
    padding: 12px 20px;
    color: #000000;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.copyKeyBtn:hover {
    background-color: #018786;
    box-shadow: 0 0 15px rgba(3, 218, 198, 0.7);
}

.footer {
    margin-top: 25px;
    font-size: 14px;
    color: #bb86fc;
}

#copyStatus {
    margin-top: 15px;
    color: #03dac6;
}

.modal {
    display: flex;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1a0033;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #bb86fc;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
