:root {
  --bg: #000428;
  --accent: #00bfff;
  --accent-2: #0099cc;
  --card-bg: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text-dim: #d6e2fb;
  --border: rgba(255,255,255,0.18);
}
* { box-sizing: border-box; }
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  filter: blur(1px);
  animation: rise linear forwards;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.95; }
  80%  { transform: translateY(-95vh) scale(1.1); opacity: 0.85; }
  100% { transform: translateY(-115vh) scale(1.2); opacity: 0; }
}
.wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 100dvh;
}
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.logo-img {
  height: 130px;
}
.card {
  width: min(880px, 100%);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  padding: 28px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}
h1 {
  margin: 0 0 16px 0;
  text-align: center;
}
.question p {
  margin: 0 0 10px 0;
  text-align: center;
}
.input-container {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- INPUT MODERNO --- */
.input-container input {
  width: 120px;
  padding: 14px 16px;
  font-size: 1.4rem;
  border-radius: 20px;
  border: 2px solid var(--accent);
  text-align: center;
  background: rgba(255,255,255,0.15);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}
.input-container input:focus {
  border-color: var(--accent-2);
  background: rgba(255,255,255,0.25);
  outline: none;
  transform: scale(1.05);
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  background: var(--accent);
  color: #00131a;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 16px rgba(0,191,255,0.25);
  letter-spacing: .2px;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }

#progress {
  margin-top: 10px;
  text-align: center;
  color: var(--text-dim);
}
#results {
  margin-top: 20px;
  display: none;
  width: 100%;
}
.bar-container {
  margin-bottom: 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}
.bar {
  height: 28px;
  line-height: 28px;
  color: #00131a;
  font-weight: 600;
  padding-left: 12px;
  border-radius: 8px;
  transition: width 0.5s ease;
}
