* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  font-family: 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(ellipse at 50% -10%, #34205e 0%, #170d2e 55%, #080412 100%);
  color: #fff;
}
#stage { position: relative; width: 100%; height: 100%; }
#hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,.6), transparent);
}
#round-label { font-size: 16px; letter-spacing: 4px; color: #ffd54a; }
#score { font-size: 30px; font-weight: 900; text-shadow: 0 0 14px rgba(255,213,74,.8); }
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 70px 24px 24px;
}
.hidden { display: none !important; }
.host-frame {
  width: min(220px, 34vh); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid #ffd54a; box-shadow: 0 0 34px rgba(255,213,74,.45);
}
.host-frame.big { width: min(300px, 44vh); }
.host-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
h1 {
  font-size: clamp(34px, 7vw, 72px); letter-spacing: 6px;
  background: linear-gradient(180deg, #fff7d6, #ffd54a 55%, #ff9d2e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center;
}
.tagline { font-size: clamp(14px, 2vw, 20px); color: #cbb8ff; letter-spacing: 2px; }
.big-btn {
  margin-top: 10px; padding: 14px 46px; font-size: 22px; font-weight: 900; letter-spacing: 3px;
  color: #241500; background: linear-gradient(180deg, #ffe27a, #ffb62e);
  border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 0 #9a6a00, 0 0 26px rgba(255,182,46,.5);
}
.big-btn:hover { filter: brightness(1.08); }
#intro-caption { font-size: 18px; color: #cbb8ff; letter-spacing: 1px; }
#round-title {
  font-size: clamp(30px, 6vw, 64px); letter-spacing: 4px; text-align: center;
  color: #ffd54a; text-shadow: 0 0 24px rgba(255,213,74,.6);
}
#round-points { font-size: 22px; color: #fff; letter-spacing: 2px; }
#q-layout { display: flex; gap: 26px; width: min(1150px, 96vw); align-items: stretch; }
#q-image-wrap {
  flex: 0 0 40%; border-radius: 18px; overflow: hidden;
  border: 4px solid #ffd54a; box-shadow: 0 0 30px rgba(255,213,74,.35);
  min-height: 0;
}
#q-image { width: 100%; height: 100%; object-fit: cover; display: block; }
#q-side { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
#host-chip {
  display: flex; align-items: center; gap: 10px; width: fit-content;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,213,74,.5);
  border-radius: 999px; padding: 4px 14px 4px 4px;
}
#host-chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
#host-chip span { font-size: 13px; letter-spacing: 2px; color: #ffd54a; }
#q-text { font-size: clamp(18px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; }
#timer { height: 12px; background: rgba(255,255,255,.15); border-radius: 6px; overflow: hidden; }
#timer-bar { height: 100%; width: 100%; background: linear-gradient(90deg, #43e97b, #f9d423); }
#options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option {
  padding: 16px 18px; font-size: 17px; font-weight: 800; text-align: left;
  border-radius: 12px; border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
  transition: transform .08s, background .15s;
}
.option:hover:not(:disabled) { background: rgba(255,213,74,.25); transform: translateY(-2px); }
.option:disabled { cursor: default; }
.option.is-correct { background: #1f9d55; border-color: #43e97b; }
.option.is-wrong { background: #c0392b; border-color: #ff7675; }
#feedback-word { font-size: clamp(40px, 8vw, 84px); letter-spacing: 5px; }
#feedback-word.good { color: #43e97b; text-shadow: 0 0 30px rgba(67,233,123,.7); }
#feedback-word.bad { color: #ff7675; text-shadow: 0 0 30px rgba(255,118,117,.7); }
#feedback-detail { font-size: 20px; color: #cbb8ff; margin-bottom: 8px; }
#results-title { font-size: clamp(26px, 5vw, 52px); letter-spacing: 3px; color: #ffd54a; text-align: center; }
#results-score { font-size: clamp(22px, 4vw, 40px); font-weight: 900; }
#results-best { font-size: 18px; color: #cbb8ff; }
@media (max-width: 760px) {
  #q-layout { flex-direction: column; }
  #q-image-wrap { flex: 0 0 34vh; }
  #options { grid-template-columns: 1fr 1fr; }
}
