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

body {
  font-family: Arial, sans-serif;
  background-image: url('img/bg-main.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;  /* Creates parallax effect */
  background-position: center;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* Container styling */
main {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Heading */
main h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Form styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

input[type="number"],
select {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Checkbox alignment */
input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

label:has(input[type="checkbox"]) {
  flex-direction: row;
  align-items: center;
}

/* Submit button */
button[type="submit"] {
  padding: 0.75rem;
  background-color: #6A0DAD;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Result section */
#result {
  margin-top: 1.5rem;
  background: #f0f0f0;
  padding: 1rem;
  border-radius: 5px;
}

#result h2 {
  margin-bottom: 0.5rem;
  color: #333;
}

#result p {
  font-size: 0.95rem;
  color: #555;
}

.sponsor {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #777;
}

.sponsor-logo {
  width: 120px;
  height: auto;
  margin-top: 0.5rem;
  opacity: 0.9;
}

#disclaimer-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

.disclaimer-message {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;              
  font-size: 1.4rem;
  color: #444;                   
  text-align: center;
  padding: 1.5em 2em;
  line-height: 1.4;
  font-style: italic;            
  letter-spacing: 0.05em;       
  text-transform: capitalize;    
  max-width: 90vw;
  box-sizing: border-box;
  user-select: none;             
}

#disclaimer-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

