body {
  background-color: #121212;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.content-wrapper {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

#wait-container {
  background-color: #1e1e1e;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  width: 90%;
  max-width: 450px;
  margin: 20px 0;
}

#timer {
  font-size: 2.5em;
  font-weight: bold;
  color: #4CAF50;
}

#wait-message, #scroll-message {
  font-size: 1.2em;
  margin-bottom: 20px;
}

button, #verify-button, #next-page-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 15px 30px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.1s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#verify-button:hover, #next-page-button:hover, button:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

#verify-button:active, #next-page-button:active, button:active {
  transform: translateY(0);
}

.ad-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    width: 100%;
}

footer {
  width: 100%;
  padding: 20px 0;
  background-color: #1a1a1a;
  border-top: 1px solid #333;
}

@media (max-width: 768px) {
  .ad-container {
    margin: 15px 0;
  }

  #wait-container {
    padding: 30px;
  }
}
