* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #dbeafe,
    #e0f2fe
  ); /* Light blue gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Floating circles for style */
body::before,
body::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.2;
}

body::before {
  width: 400px;
  height: 400px;
  background: #60a5fa;
  top: -100px;
  left: -100px;
}

body::after {
  width: 300px;
  height: 300px;
  background: #93c5fd;
  bottom: -100px;
  right: -100px;
}

/* Poll Container */
.container {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1;
  position: relative;
  overflow-y: auto;
  max-height: 95vh;
}

h1 {
  color: #1e3a8a;
  margin-bottom: 20px;
  font-size: 26px;
}

/* Questions Section */
.question {
  margin-bottom: 25px;
  text-align: left;
}

.question h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1e40af;
}

label {
  display: block;
  background: #f1f5f9;
  padding: 10px 12px;
  margin: 5px 0;
  border-radius: 8px;
  transition: background 0.3s ease;
  cursor: pointer;
}

label:hover {
  background: #e2e8f0;
}

input[type="radio"] {
  margin-right: 10px;
}

/* Buttons */
button {
  margin-top: 20px;
  padding: 12px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #2563eb;
}

/* Results Section */
#result {
  margin-top: 30px;
  text-align: left;
}

#resultList h4 {
  margin-top: 16px;
  color: #1e40af;
}

#resultList li {
  margin-bottom: 6px;
  color: #1e293b;
}

.hidden {
  display: none;
}

/* Scrollbar for mobile if height exceeds */
.container::-webkit-scrollbar {
  width: 6px;
}
.container::-webkit-scrollbar-thumb {
  background: #93c5fd;
  border-radius: 3px;
}
