body {
  margin: 0;
}

.container {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.
);
  padding: 0px;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

h1 {
  margin-bottom: 0px;
  font-size: 24px;
  color: #007bff;
}

.grid-container {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 10px;
}

.game-option {
  border: 2px solid #2F0909;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

.game-option img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.game-option p {
  font-weight: 300;
  color: #555;
}

.game-option:hover,
.game-option.selected {
  transform: scale(1.05);
  border-color: #007bff;
}

.form-group {
  margin-bottom: 20px;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.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: #ddd;
  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: #007bff;
  cursor: pointer;
  transition: background 0.3s;
}

.key-slider input[type="range"]:hover::-webkit-slider-thumb {
  background: #0056b3;
}

#keyValue {
  font-size: 18px;
  font-weight: bold;
  color: #007bff;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

button:hover {
  background-color: #0056b3;
}

.hidden {
  display: none;
}

.progress-bar {
  background-color: #f5f7fa;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 25px;
  height: 35px;
  position: relative;
}

.progress-bar div {
  height: 100%;
  background-color: #007bff;
  width: 0;
  transition: width 0.5s;
}

#progressText {
  margin-top: 15px;
  font-weight: 600;
}

.key-item {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.key-item input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-right: 12px;
}

.copyKeyBtn {
  background-color: none;
  border: none;
  padding: 12px 20px;
  color: white;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.copyKeyBtn:hover {
  background-color: #218838;
}

.footer {
  margin-top: 25px;
  font-size: 14px;
  color: #777;
}

#copyStatus {
  margin-top: 15px;
  color: green;
}