/* General Styling */
body {
  background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

#tools {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  transition: transform 0.3s ease;
  margin-top: 80px; /* Ensure it doesn't overlap with the header */
}

#tools:hover {
  transform: translateY(-10px);
}

h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}

form {
  margin-top: 20px;
}

label {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

input[type='number'],
button {
  font-size: 18px;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  border: none;
  width: calc(100% - 30px);
  display: block;
  background-color: #1c1c1c;
  color: #fff;
  transition: background-color 0.3s ease;
}

input[type='number']:focus,
button:focus {
  outline: none;
  background-color: #333;
}

/* Improved Checkbox Styling */
input[type='checkbox'] {
  display: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin: 10px 0;
  position: relative;
  cursor: pointer; /* Add cursor pointer to indicate interactivity */
}

.checkbox-group input[type='checkbox'] + label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 6px; /* Increased border radius for a more rounded look */
  margin-right: 10px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease; /* Smooth transition for background and border color */
}

.checkbox-group input[type='checkbox']:checked + label::before {
  background-color: #ff5733;
  border-color: #ff5733; /* Change border color when checked */
}

.checkbox-group label {
  cursor: pointer; /* Ensure label shows pointer cursor */
  display: flex;
  align-items: center;
  user-select: none; /* Prevent text selection on click */
}

.checkbox-group label::after {
  content: '✔';
  display: none;
  color: #fff;
  font-size: 18px;
  position: absolute;
  left: 6px;
  top: 2px;
  transition: opacity 0.3s ease;
}

.checkbox-group input[type='checkbox']:checked + label::after {
  display: block;
}

/* Button Styling */
button {
  background-color: #ff5733;
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

button:hover {
  background-color: #c70039;
  transform: scale(1.05);
}

#exp-per-hour {
  font-size: 24px;
  margin-top: 30px;
}

#seo-content {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
}

#seo-content h2 {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

#seo-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 500;
}

#seo-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

#seo-content .tip {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

#seo-content .tip:hover {
  transform: translateY(-5px);
}

#seo-content ul {
  list-style: disc;
  padding-left: 20px;
}

#seo-content li {
  font-size: 18px;
  margin-bottom: 10px;
}

#seo-content .community img {
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
}
