html, body {
  height: 100%;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  color: #a432e7;

  /* Background image with subtle overlay */
  background: 
    linear-gradient(rgba(16, 24, 32, 0.4), rgba(16, 24, 32, 0.4)),
    url('https://res.cloudinary.com/dd3qowqb7/image/upload/v1769305025/buffetclubbackground_fvfbpb.jpg') 
    no-repeat center center fixed;
  background-size: cover;
}

/* Headings & paragraphs */
h1, p {
  text-align: center;
  text-transform: uppercase;
  color: #a432e7;
}

/* ===============================
   Form Styles
=============================== */
form {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  position: relative; /* ensures form sits above background */
  z-index: 1; /* make sure background is behind */
}

fieldset {
  border: none;
  border-bottom: 2px solid #fbad37;
  margin-bottom: 20px;
  padding-bottom: 15px;
}

label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 2px solid #a432e7;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  transition: 0.3s ease-in-out;
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding-right: 35px; /* space for validation icons */
}

input[type="submit"] {
  width: 40%;
  display: block;
  margin: 20px auto 0 auto;
  background-color: #a432e7;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #8f2fcf;
}

legend {
  color: #ffffff;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

/* ===============================
   Validation States
=============================== */
input.valid {
  background-color: #28a745;
  border-color: #28a745;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/27/Green_check.svg');
}

input.invalid {
  background-color: #dc3545;
  border-color: #dc3545;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/b/b2/X_mark.svg');
}

/* ===============================
   Focus / Accessibility
=============================== */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid #ff9800;
  outline-offset: 2px;
  background-color: #fff8e1;
}

/* ===============================
   Carousel
=============================== */
.match-carousel {
  width: 90%;
  margin: 0 auto 40px auto;
}

.match-slide {
  text-align: center;
  padding: 10px;
}

.match-slide img {
  width: 100%;
  border-radius: 10px;
}

.match-slide p {
  color: #fff;
  font-size: 14px;
  margin-top: 5px;
}

/* ===============================
   Responsive
=============================== */
@media (max-width: 600px) {
  form {
    width: 95%;
  }

  input[type="submit"] {
    width: 60%;
  }
}