@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Playfair+Display:wght@700;900&display=swap');

#whrq-root, #whrq-root * { box-sizing: border-box; }
#whrq-root a { text-decoration: none; }

#whrq-root {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 20% 50%, #0d1b3e 0%, #050d1a 50%, #0a1628 100%);
  font-family: 'Crimson Pro', Georgia, serif;
  color: #e8dcc8;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

.whrq-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#whrq-content {
  position: relative;
  z-index: 1;
}

@keyframes whrq-twinkle { from { opacity: 0.15 } to { opacity: 0.85 } }
@keyframes whrq-fadeIn  { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: translateY(0) } }
@keyframes whrq-shake   { 0%,100% { transform: translateX(0) } 20%,60% { transform: translateX(-6px) } 40%,80% { transform: translateX(6px) } }
@keyframes whrq-pop     { 0% { transform: scale(1) } 50% { transform: scale(1.06) } 100% { transform: scale(1) } }
@keyframes whrq-scoreUp { from { opacity:0; transform: translateY(-20px) scale(0.8) } to { opacity:1; transform: translateY(0) scale(1) } }
@keyframes whrq-pulse   { 0%,100% { box-shadow: 0 0 0 0 rgba(255,215,100,0.3) } 50% { box-shadow: 0 0 20px 8px rgba(255,215,100,0.15) } }

#whrq-root .whrq-card-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(8px);
  color: #e8dcc8;
  font-family: inherit;
  font-size: 1rem;
}
#whrq-root .whrq-card-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255,215,100,0.08) 0%, rgba(255,215,100,0.03) 100%);
  border-color: rgba(255,215,100,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
#whrq-root .whrq-card-btn:disabled { cursor: default; }

#whrq-root .whrq-correct-btn {
  background: linear-gradient(135deg, rgba(80,200,120,0.18) 0%, rgba(80,200,120,0.08) 100%) !important;
  border-color: rgba(80,200,120,0.6) !important;
  animation: whrq-pop 0.4s ease;
}
#whrq-root .whrq-wrong-btn {
  background: linear-gradient(135deg, rgba(220,60,60,0.18) 0%, rgba(220,60,60,0.08) 100%) !important;
  border-color: rgba(220,60,60,0.5) !important;
}
#whrq-root .whrq-shake     { animation: whrq-shake 0.4s ease; }
#whrq-root .whrq-celebrate { animation: whrq-pulse 0.8s ease; }

.whrq-progress-bar {
  height: 3px;
  background: linear-gradient(90deg, #ffd764, #f0a840);
  border-radius: 2px;
  transition: width 0.5s ease;
}

#whrq-root .whrq-primary-btn {
  background: linear-gradient(135deg, #ffd764, #f0a840);
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-family: 'Crimson Pro', serif;
  font-weight: 700;
  color: #1a0e00;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(255,215,100,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
#whrq-root .whrq-primary-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(255,215,100,0.4);
}
