:root {
  --primary: #2563eb;
  --secondary: #06b6d4;
  --dark: #020617;
  --card: rgba(15,23,42,0.85);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --line: rgba(255,255,255,0.08);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(37,99,235,0.35), transparent 40%),
    linear-gradient(160deg, #020617, #0f172a, #1e293b);
  color: var(--text);
  min-height: 100vh;
}

/* CONTENEDOR CENTRAL */
.container {
  width: 92%;
  max-width: 900px;
  margin: auto;
}

/* CARD PRINCIPAL */
.card {
  background: var(--card);
  padding: 40px;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}

/* TITULOS */
h1 {
  font-size: 34px;
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  margin-top: 30px;
}

/* BOTONES */
.btn {
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 10px 30px rgba(37,99,235,.4);
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* ESCALA */
.scale {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  margin: 30px 0;
}

.scale button {
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.scale button.active {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  transform: scale(1.1);
}

/* RESULTADOS */
.score-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin: 20px 0;
}

.score-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-name {
  font-weight: bold;
  font-size: 18px;
}

.score-number {
  font-size: 26px;
  color: #38bdf8;
  font-weight: bold;
}

/* BARRA */
.bar {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  margin: 10px 0;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border-radius: 999px;
}

/* TAGS */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

/* BLOQUES */
.insight-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-top: 15px;
}

/* PREMIUM */
.premium-box {
  margin-top: 30px;
  padding: 25px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  text-align: center;
}

.premium-box h2 {
  margin: 0;
  color: white;
}

.premium-box p {
  color: #e0f2fe;
}