/* ======== RESET ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: #070708;
  color: #f5f5f5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======== PANTALLAS ======== */
.screen {
  max-width: 480px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 26px 20px 24px;
  background: #121214;
  border-radius: 16px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.55);
}

.hidden {
  display: none !important;
}

.subtitle {
  text-align: center;
  margin-bottom: 14px;
  opacity: 0.85;
  font-size: 15px;
}

/* ======== HEADER ======== */
.header-premium {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  margin-top: 10px;
}

.logo-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-premium {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #4c8dff;
  margin-bottom: 8px;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: #f1f1f1;
  opacity: 0.9;
}

/* ======== PROGRESO ======== */
.progress-wrapper {
  width: 100%;
  max-width: 480px;
  background: #18181a;
  border-radius: 999px;
  margin-bottom: 8px;
  height: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4c8dff, #7fa8ff);
  transition: width 0.35s ease;
}

.progress-number {
  font-size: 14px;
  color: #b4b4b4;
  margin-bottom: 16px;
  text-align: center;
}

/* ======== TITULOS ======== */
h1, h2, h3, h4 {
  text-align: center;
  margin-bottom: 14px;
}

/* ======== BOTONES ======== */
.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 13px 18px;
  margin-top: 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  border: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4c8dff, #6fa0ff);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(76, 141, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(76, 141, 255, 0.45);
}

.btn-secondary {
  background: #222327;
  color: #e7e7e7;
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

.btn-secondary:hover {
  background: #2b2c31;
  transform: translateY(-1px);
}

/* ======== OPCIONES ======== */
.options {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  padding: 12px 13px;
  background: #19191c;
  border: 1px solid #26272b;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  color: #dddddd;
  transition: 0.16s ease;
}

.option-btn:hover {
  background: #202126;
  border-color: #34353b;
}

.option-btn.selected {
  background: #4c8dff;
  color: #ffffff;
  border-color: #4c8dff;
  transform: scale(1.02);
}

/* ======== RESULT BOX ======== */
.result-box {
  padding: 20px 16px 18px;
  background: #18181b;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.55);
}

#resultScreen ul {
  margin-top: 12px;
  padding-left: 18px;
}

#resultScreen li {
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ======== CTA FINAL ======== */
.cta-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ======== BOTÓN MÚSICA ======== */
.btn-music {
  position: fixed;
  top: 16px;
  right: 16px;
  background: transparent;
  padding: 7px 9px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 22px;
  z-index: 9999;
  color: #9fc5ff;
  opacity: 0.8;
  transition: 0.22s ease;
}

.btn-music:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* ======== FOOTER PREMIUM ======== */
.footer-premium {
  width: 100%;
  max-width: 480px;
  text-align: center;
  opacity: 0.55;
  font-size: 12px;
  padding: 16px 0 30px;
}

/* ======== LOADER PREMIUM ======== */
.super-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top, rgba(76,141,255,0.24), transparent 45%), #050506;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.loader-circle {
  width: 56px;
  height: 56px;
  border: 5px solid #2b2c31;
  border-top-color: #4c8dff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ======== ANIMACIONES ======== */
.fade {
  animation: fade 0.3s ease;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

