body {
  background: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Обгортка форми */
.lottery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 40px 20px;
  background-color: #f7f7f7;
}
.lottery-wrapper h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #212121;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Форма перевірки */
.lottery-form {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
}
.lottery-form input,
.lottery-form select,
.lottery-form button {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-sizing: border-box;
  margin-bottom: 1rem;
}
.lottery-form button {
  background-color: #90caf9;
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.lottery-form button:hover {
  background-color: #77b0db;
}

/* Результат перевірки */
#result-area {
  margin-top: 1.5rem;
  text-align: center;
  color: #333;
}
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Приховуємо стандартний хедер/футер WP */
#header, #footer {
  display: none !important;
}

/* ==============================
   Динамічна форма переможця
   ============================== */
#result-area #winner-form {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  max-width: 400px;
  margin: 1rem auto 0;
  text-align: center;
}
#result-area #winner-form label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}
#result-area #winner-form input,
#result-area #winner-form select {
  margin-bottom: 1rem;
}
#result-area #winner-form button {
  margin-top: 1rem;
}

/* Мобільна адаптація */
@media (max-width: 600px) {
  .lottery-wrapper { padding: 60px 10px; }
  .lottery-wrapper h1 { font-size: 1.8rem; }
  .lottery-form { padding: 1.5rem; max-width: 100%; }
  .lottery-form input,
  .lottery-form select,
  .lottery-form button { font-size: 1.1rem; }
  #result-area #winner-form { padding: 1.5rem 1rem; }
}