body {
  font-family: 'Hind Siliguri', sans-serif;
  background: radial-gradient(circle at center, #000814, #001d3d, #000814);
  animation: bgMove 10s ease-in-out infinite alternate;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
@keyframes bgMove { 0% { background-position: 0 0; } 100% { background-position: 100% 100%; } }
.container {
  width: 95%;
  max-width: 1100px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
  margin: 20px 0;
  max-height: 90vh;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}
h1 {
  text-align: center;
  font-size: 28px;
  color: #ffffff;
  animation: titleGlow 3s infinite alternate;
}
@keyframes titleGlow { 0% { text-shadow: 0 0 10px #FFD700; } 100% { text-shadow: 0 0 25px #00FFFF; } }
.logo {
  display: block;
  margin: 10px auto;
  width: 120px;
  filter: drop-shadow(0 0 10px #ffffff);
}
.input-container {
  max-width: 600px;
  margin: 0 auto 20px;
}
.input-group {
  position: relative;
  margin-bottom: 15px;
}
input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #00FFFF;
  border-radius: 10px;
  background: #001d3d;
  color: #fff;
  font-size: 17px;
  box-sizing: border-box;
}
.mic-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #FFD700;
  font-size: 22px;
  cursor: pointer;
}
.start {
  background: linear-gradient(45deg, #4CAF50, #2E7D32);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 14px 25px;
  margin: 10px auto;
  cursor: pointer;
  display: block;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.start:hover {
  background: linear-gradient(45deg, #388E3C, #1B5E20);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.section {
  margin-top: 25px;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  display: none;
  scroll-behavior: smooth;
  margin-bottom: 20px;
}
.section.active { display: block; }
.section h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 0 0 4px #FFD700;
}
.options-zone {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 3px solid #FFD700 !important;
  border-radius: 15px;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  padding: 15px;
  margin-bottom: 20px;
  max-height: 200px;
  overflow-y: auto;
  scroll-behavior: smooth;
  transition: all 0.3s ease;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  position: sticky;
  top: 10px;
  z-index: 100;
}
.options-zone.drag-over {
  background: rgba(255, 215, 0, 0.4) !important;
  border-color: #FF6B35 !important;
  transform: scale(1.02);
}
.drag-option {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #000;
  padding: 10px 16px;
  border-radius: 25px;
  margin: 6px;
  cursor: grab;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
  user-select: none;
  touch-action: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 2px solid #fff;
}
.drag-option:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8);
}
.drag-option:active {
  cursor: grabbing;
  transform: scale(0.98);
}
.question-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  font-size: 17px;
}
.drop-target {
  margin-top: 8px;
  width: 100%;
  min-height: 60px;
  border: 3px dashed #00FFFF;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 255, 255, 0.08);
  color: #ccc;
  padding: 12px;
  box-sizing: border-box;
  transition: all 0.4s ease;
  position: relative;
  font-size: 16px;
}
.drop-target.drag-over { 
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.2)) !important; 
  border-color: #FFD700 !important;
  transform: scale(1.02);
  animation: pulse 0.6s ease;
}
@keyframes pulse {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.05); }
}
.drop-target.success {
  background: linear-gradient(45deg, #00FF99, #32CD32) !important;
  border-color: #00FF99 !important;
  animation: successPulse 1s ease;
}
@keyframes successPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px #00FF99; }
  50% { transform: scale(1.08); box-shadow: 0 0 30px #00FF99; }
}
.drop-target.empty-drop {
  background: rgba(255, 69, 0, 0.2) !important;
  border-color: #FF6B35 !important;
  animation: shake 0.5s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.drop-target .drag-option { 
  margin: 0; 
  cursor: grab; 
  transform: scale(1.05);
}
button.next {
  background: linear-gradient(45deg, #FFD700, #00FFFF);
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  margin: 15px auto;
  display: block;
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
}
#validate-btn {
  background: linear-gradient(45deg, #FFD700, #00FFFF);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  cursor: pointer;
  display: block;
  margin: 25px auto;
  font-size: 18px;
}
@media (max-width: 768px) {
  .container { padding: 15px; margin: 10px; max-height: 95vh; }
  .options-zone { max-height: 180px; }
  .drag-option { padding: 8px 12px; font-size: 14px; }
  .question-item { font-size: 16px; }
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.5); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 255, 0.8); }