/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: black;
  transition: background 0.5s ease;
  padding: 1rem;
  text-align: center;
}

body.bg-animated {
  background: linear-gradient(-45deg, red, #000033, purple, darkblue);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Overlay styles */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  padding: 1rem;
}

.overlay-content {
  text-align: center;
  color: #fff;
}

#enter-button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

#enter-button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Main Content */
#main-content {
  display: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: center;
  flex: 1;
}

.headline {
  font-size: 6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.subline {
  font-size: 3rem;
  color: #ddd;
}

.separator {
  width: 60%;
  max-width: 400px;
  border: none;
  border-top: 2px solid #ccc;
  margin: 2rem 0;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 1rem;
  font-size: 1rem;
  color: #ccc;
  text-align: center;
}

/* ✅ Responsive Design */

/* Tablets & below (max-width: 1024px) */
@media (max-width: 1024px) {
  .headline {
    font-size: 4rem;
  }

  .subline {
    font-size: 2rem;
  }

  #enter-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Smartphones (max-width: 600px) */
@media (max-width: 600px) {
  .headline {
    font-size: 2.5rem;
  }

  .subline {
    font-size: 1.5rem;
  }

  #enter-button {
    font-size: 1rem;
    padding: 10px 16px;
  }

  .separator {
    width: 80%;
  }

  footer {
    font-size: 0.9rem;
    padding-bottom: 1.5rem;
  }
}