body { display: flex; justify-content: center; }
#app { width: 100%; max-width: 480px; min-height: 100vh; padding: 28px 20px 40px; position: relative; }

.screen { display: none; animation: fade-in 0.35s ease; }
.screen.active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.hero-hex {
  width: 96px; height: 96px; font-size: 42px; margin: 12px auto 20px;
  background: linear-gradient(160deg, var(--honey), var(--honey-dark));
}

.headline { text-align: center; font-size: 1.7rem; color: var(--cream); }
.subtitle { text-align: center; color: var(--cream-dim); margin-top: 0; margin-bottom: 28px; }
.eyebrow { color: var(--cream-dim); font-size: 0.8rem; margin: 0; }
.section-label { color: var(--cream-dim); font-size: 0.85rem; margin: 18px 0 10px; }

#login-form input {
  text-align: center; font-size: 1.2rem; letter-spacing: 2px; font-weight: 600;
}
#login-form button { width: 100%; padding: 14px; font-size: 1.05rem; border-radius: 12px; }

/* Waiting screen */
.team-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--forest-mid); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow); margin-bottom: 6px;
}
.team-hex { width: 56px; height: 56px; font-size: 1.4rem; flex-shrink: 0; }
#team-name { font-size: 1.3rem; margin: 2px 0 0; }

.honeycomb-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-bottom: 20px;
}
.teammate {
  width: 64px; text-align: center;
}
.teammate .hex {
  width: 56px; height: 56px; font-size: 1.1rem; margin: 0 auto 4px;
  border: 2px solid transparent;
}
.teammate.answered .hex { border-color: var(--honey); }
.teammate span { font-size: 0.68rem; color: var(--cream-dim); display: block; line-height: 1.1; }

.waiting-card {
  background: var(--forest-mid); border-radius: var(--radius);
  padding: 22px; text-align: center; box-shadow: var(--shadow); margin-bottom: 18px;
}
.pulse-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--honey);
  margin: 0 auto 12px; animation: pulse 1.4s infinite ease-in-out;
}
@keyframes pulse { 0%,100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }
.waiting-text-small { text-align: center; color: var(--cream-dim); font-size: 0.85rem; margin-top: 18px; }

.score-pill {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--honey); color: var(--ink); border-radius: 14px;
  padding: 14px 18px; font-weight: 600;
}
.score-pill strong { font-size: 1.4rem; font-family: 'Baloo 2'; }

/* Question screen */
.q-header {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--cream-dim); font-size: 0.85rem; margin-bottom: 10px;
}
.q-points-badge { background: var(--forest-mid); padding: 3px 10px; border-radius: 20px; }
.q-text {
  font-size: 1.35rem; line-height: 1.35; margin-bottom: 22px; min-height: 2.6em;
}

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-btn {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 16px 14px; border-radius: 14px; border: none; cursor: pointer;
  font-family: 'Work Sans'; font-weight: 600; font-size: 0.95rem; color: #fff;
  min-height: 84px;
}
.opt-letter {
  width: 30px; height: 30px; border-radius: 8px; background: rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: 'Baloo 2';
}
.opt-a { background: #C0562B; }
.opt-b { background: #2E6F95; }
.opt-c { background: #4C7A3D; }
.opt-d { background: #8A5FB0; }
.opt-btn:disabled { opacity: 0.45; cursor: default; }
.opt-btn.chosen { outline: 3px solid var(--honey); opacity: 1; }

.answer-status { text-align: center; color: var(--cream-dim); margin-top: 16px; min-height: 1.2em; }

/* Result screen */
.result-icon { font-size: 3.2rem; text-align: center; margin-bottom: 6px; }
#screen-result h2 { text-align: center; }

/* Final podium */
.podium-list { list-style: none; padding: 0; counter-reset: pos; }
.podium-list li {
  counter-increment: pos;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--forest-mid); border-radius: 12px; padding: 14px 16px;
  margin-bottom: 8px; border-left: 6px solid var(--honey);
}
.podium-list li::before {
  content: counter(pos) "º";
  font-family: 'Baloo 2'; font-weight: 800; font-size: 1.1rem;
  margin-right: 10px; color: var(--honey);
}
.podium-list li .p-name { flex: 1; font-weight: 600; }
