:root {
  --gold: #f5c16c;
  --green: #22c55e;
  --red: #ef4444;
}

/* RESET */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden; /* remove qualquer barra */
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #2b6cb0, #020617);
  font-family: "Segoe UI", system-ui;
  color: #fff;
}

/* CONTAINER PRINCIPAL */
.screen {
  height: 100%;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel {
  width: 100%;
  max-width: 420px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================= TÍTULO ================= */

.title-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 270px;
  background: linear-gradient(145deg, #102a5c, #051630);
  border: 3px solid var(--gold);
  border-radius: 20px;
  text-align: center;
  padding: 16px;
  box-shadow: 0 0 20px rgba(255, 215, 100, 0.4);
}

.title-box h3 {
  width: 55%;
  margin: 0;
  font-size: 1.8rem;
  padding: 15px;
  color: var(--gold);
}

.title-box span {
  font-weight: bold;
}

.title-box .doctor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: auto;
}
.logo {
  width: 100%;
  position: relative;
}

/* ================= PERGUNTA ================= */

.question-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 210px;
  background: linear-gradient(145deg, #1e3a8a, #020617);
  border: 2px solid #60a5fa;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}

.question-box h3 {
  width: 55%;
  font-size: 1.1rem;
  line-height: 1.4;
}

.question-box .doctor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: auto;
}

/* ================= FEEDBACK ================= */

.feedback {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 210px;
  background: linear-gradient(145deg, #020617, #1e3a8a);
  border: 2px solid var(--gold);
  border-radius: 18px;
  /* padding: 20px; */
  text-align: center;
}

.feedback h3,
.feedback h2,
.feedback p,
#final-message {
  width: 55%;
  font-size: 1.1rem;
  line-height: 1.4;
}
.feedback p {
  padding-bottom: 50px;
}

.feedback .doctor {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 160px;
  height: auto;
}

/* ================= BOTÕES ================= */

.buttons {
  display: flex;
  gap: 12px;
}

.btn-iniciar {
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  color: #3a2500;
  background: linear-gradient(180deg, #ffd700, #ffb300);
  box-shadow:
    0 5px 0 #c28f00,
    0 0 20px rgba(255, 215, 0, 0.6);
  transition: all 0.2s ease-in-out;
}

.btn {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c28f00;
}

.btn.true {
  background: linear-gradient(#22c55e, #15803d);
  color: #fff;
}

.btn.false {
  background: linear-gradient(#ef4444, #991b1b);
  color: #fff;
}

.btn.next {
  align-self: center;
  width: 55%;
  background: linear-gradient(var(--gold), #c0841a);
  color: #000;
}

.feedback .btn.next {
  position: absolute;
  bottom: 6px;
  padding: auto 70% 50px;
  left: 20px;
  /* width: 50px; */
  height: auto;
  
  width: 45%;
  background: linear-gradient(var(--gold), #c0841a);
  color: #000;
}

/* ================= UTIL ================= */

.hidden {
  display: none;
}
