/* ── BASE COMPARTILHADO ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
}

:root {
  --px: 16px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 60% 0%, #1a2a6c 0%, #0d1b4b 40%, #05103a 100%);
  font-family: 'Nunito', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  -webkit-text-size-adjust: 100%;
  /* Respeita notch/home-bar no iOS e status/nav bar no Android */
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  overflow-x: hidden;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stars span {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--d, 3s) ease-in-out infinite;
  opacity: 0;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0
  }

  50% {
    opacity: var(--o, .6)
  }
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb1 {
  width: 300px;
  height: 300px;
  background: rgba(100, 80, 200, .18);
  top: -80px;
  right: -80px;
}

.orb2 {
  width: 250px;
  height: 250px;
  background: rgba(50, 120, 220, .15);
  bottom: 100px;
  left: -60px;
}

.screen {
  display: flex;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 14px 0 28px;
  flex-direction: column;
  align-items: center;
  animation: fadeIn .12s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* .header e .alert-banner removidos do layout (ocultos como defensa) */
.header,
.alert-banner {
  display: none !important;
}

.hero {
  width: 100%;
  padding: 14px var(--px) 10px;
  text-align: center;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 0 30px rgba(100, 160, 255, .5), 0 2px 8px rgba(0, 0, 0, .6);
  margin-bottom: 10px;
}

.hero-sub {
  font-size: clamp(13px, 3.8vw, 15px);
  font-weight: 600;
  color: #c8d8ff;
  line-height: 1.5;
}

.progress-wrap {
  width: 100%;
  padding: 12px var(--px) 0;
}

.progress-label {
  font-size: 11px;
  color: #8faad4;
  text-align: center;
  margin-bottom: 5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, .1);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4fc3f7, #a78bfa);
  border-radius: 99px;
  box-shadow: 0 0 10px #a78bfa88;
  transition: width .5s;
}

.back-btn {
  margin: 20px var(--px) 0;
  background: rgba(79, 195, 247, .13);
  border: 1.5px solid rgba(79, 195, 247, .38);
  border-radius: 50px;
  padding: 14px 0;
  width: calc(100% - var(--px) * 2);
  font-size: 15px;
  font-weight: 700;
  color: #c8d8ff;
  cursor: pointer;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  text-decoration: none;
  display: block;
}

.back-btn:active {
  background: rgba(79, 195, 247, .25);
  color: #fff;
  transform: scale(.97);
}

.question-box {
  width: calc(100% - var(--px) * 2);
  margin: 18px var(--px) 16px;
  background: linear-gradient(90deg, rgba(79, 195, 247, .22), rgba(167, 139, 250, .22));
  border: 0.5px solid rgba(120, 180, 255, .35);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 5vw, 20px);
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(100, 180, 255, .4);
}

@media (hover:hover) {
  .back-btn:hover {
    background: rgba(79, 195, 247, .25);
    color: #fff;
    transform: translateY(-2px);
  }
}
