/* ================================
   Time Telling Practice Theme
   ================================ */

/* Reset and base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(180deg, #cc99cc 0%, #ffffff 100%);
  font-family: "Comic Neue", "Poppins", sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Layout containers */
.section {
  width: 100%;
  max-width: 1000px;
  padding: 40px 20px;
  text-align: center;
}

.board {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 40px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px;
}

.board__title {
  font-size: 2.5rem;
  color: #4d224d;
  font-weight: bold;
  margin-bottom: 10px;
}

.board__subtext {
  color: #4d224d;
  font-size: 1rem;
  margin-bottom: 25px;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #4d224d;
  color: #fff;
  border-radius: 15px;
  padding: 15px 25px;
  font-size: 1.2rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.button:hover {
  background-color: #4d224d;
  transform: scale(1.05);
}

.button--large {
  padding: 20px 35px;
  font-size: 1.3rem;
}

/* ✅ FIX: Button layout */
.home__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.home__buttons .button {
  flex: 1 1 calc(45% - 20px);
  min-width: 200px;
  text-align: center;
}

/* Footer text */
.text-muted {
  color: #777;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .board {
    padding: 25px;
  }
  .home__buttons .button {
    flex: 1 1 100%;
  }
  .board__title {
    font-size: 2rem;
  }
}
