:root { 
  --bg: #0b0b0b;
  --card: #151515;
  --text: #eaeaea;
  --muted: #b6b6b6;
  --accent: #8b5cf6;
  --accent-2: #22c55e;
  --border: #2a2a2a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans";
  background: radial-gradient(60% 50% at 50% 0%, #131313 0%, #0b0b0b 60%);
  color: var(--text);
}
.container { max-width: 880px; margin: 48px auto; padding: 0 16px; }
.lead { color: var(--muted); margin-bottom: 24px; }

h1 { font-size: 2.2rem; margin: 0 0 8px; }
h2 { font-size: 1.2rem; margin: 0 0 16px; }

/* ── Tarjetas rectas (sin esquinas redondeadas) ───────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0;         /* recto */
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  overflow: visible;        /* evita clipping del texto largo */
}
.card.muted { opacity: .85; }

/* ── Formularios ─────────────────────────────────────────────────────── */
label { display: block; font-size: .9rem; margin-bottom: 8px; }
input, select, button {
  width: 100%;
  border-radius: 0;         /* recto */
  border: 1px solid var(--border);
  background: #0f0f0f;
  color: var(--text);
  padding: 12px 14px;
}
input::placeholder { color: #777; }
input:focus, select:focus, button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.row  { display: grid; grid-template-columns: 1fr 1fr 1fr 80px; gap: 8px; align-items: center; }

/* ── Botones ─────────────────────────────────────────────────────────── */
.btn { background: var(--accent); border: none; cursor: pointer; font-weight: 600; }
.btn:hover { filter: brightness(1.1); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--accent-2); }

/* ── Resultados básicos (Sol / Luna / Asc) ───────────────────────────── */
.results { display: grid; gap: 10px; }

.astro-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: #121212;
  padding: 10px 14px;
  margin: 0;                /* cada item ya tiene su propio padding */
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.astro-row__ico {
  width: 24px;
  display: grid;
  place-items: center;
  font-size: 18px;
  opacity: .95;
}
.astro-row__label { font-weight: 600; }

/* Párrafo de interpretación (bloque ancho) */
.results .pill--text {
  display: block;
  border: 1px solid var(--border);
  background: #141414;
  padding: 14px 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mensajes genéricos (éxito/errores) siguen usando .pill */
.results .pill {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #0f0f0f;
  border-radius: 0;         /* recto */
}

/* Bloques <pre> (si llegaran a mostrarse) */
pre {
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px;
  overflow: auto;
}

/* ── Premium: listado de posiciones ──────────────────────────────────── */
#premiumResult ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}
#premiumResult li {
  border: 1px solid var(--border);
  background: #121212;
  padding: 8px 10px;
}

/* ===== Testimonios mejorados ===== */
#testimonios .t-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:8px;
}
#testimonios .t-card{
  position:relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  border:1px solid rgba(255,255,255,0.10);
  border-radius:0; /* coherente con estilo recto del sitio */
  padding:18px 16px 14px;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#testimonios .t-card:hover{
  transform: translateY(-2px);
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
/* comillas decorativas */
#testimonios .t-card::before{
  content:"“";
  position:absolute;
  top:-8px; left:12px;
  font-size:80px; line-height:1;
  color: rgba(139,92,246,.22); /* var(--accent) tenue */
  pointer-events:none;
}

/* avatar por iniciales */
#testimonios .t-avatar{
  width:36px; height:36px;
  border-radius:50%;
  display:grid; place-items:center;
  font-weight:700; letter-spacing:.3px;
  background: radial-gradient(circle at 30% 30%, var(--accent), #4c2fb3);
  color:#fff; margin-bottom:10px;
}

/* cita */
#testimonios .t-quote{
  margin:0 0 12px;
  line-height:1.6;
  color: var(--text);
  position:relative;
  text-indent: 14px; /* corre la primera línea por la comilla grande */
}
#testimonios .t-quote::after{
  content:"”";
  position:absolute; right:8px; bottom:-8px;
  font-size:54px; line-height:1; opacity:.12;
}

/* meta (nombre, ciudad, verificado) */
#testimonios .t-meta{
  display:flex; align-items:center; gap:8px;
  justify-content:space-between; flex-wrap:wrap;
  font-size:13px; color:var(--muted);
  margin-top:4px;
}
#testimonios .t-name{ font-weight:600; color:#fff; }
#testimonios .t-loc{ opacity:.9; }

/* badge verificado */
#testimonios .t-verified{
  display:inline-flex; align-items:center; gap:6px;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.18);
  color:#c9fbd9;
  font-size:12px;
}
#testimonios .t-check{
  width:14px; height:14px; fill:#86efac;
}

/* ── Privacidad / toggle ─────────────────────────────────────────────── */
.small-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cfd3d8;
  margin-top: 8px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
#faq details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;         /* recto */
  padding: 10px 12px;
  margin: 8px 0;
}
#faq summary { cursor: pointer; font-weight: 600; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  #testimonios .t-grid{ grid-template-columns:1fr; }
  .row { grid-template-columns: 1fr 1fr; }
}
.field-hint {
  display: block;
  margin-top: 6px;
  color: #c2c6cc;
  font-size: 12px;
}

/* === Fondo “cosmos” con estrellas suaves y orbes === */
.bg-cosmos{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* capa de estrellas (SVG embebido) + tu gradiente oscuro */
  background:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'>\
<g fill='%23ffffff' opacity='.12'>\
<circle cx='20' cy='30' r='1.2'/>\
<circle cx='200' cy='100' r='1'/>\
<circle cx='120' cy='260' r='1.4'/>\
<circle cx='360' cy='340' r='1.1'/>\
<circle cx='280' cy='40' r='1.2'/>\
<circle cx='80' cy='180' r='1.1'/>\
<circle cx='330' cy='210' r='1.3'/>\
</g></svg>") repeat,
    radial-gradient(60% 50% at 50% 0%, #131313 0%, #0b0b0b 60%);
  background-size: 400px 400px, cover;
  filter: saturate(1.05);
}

/* Dos orbes de color muy suaves (arriba izq. y abajo der.) */
.bg-cosmos::before,
.bg-cosmos::after{
  content:"";
  position:absolute;
  width:55vmin; height:55vmin;
  border-radius:50%;
  filter: blur(60px);
  opacity:.25;
}
.bg-cosmos::before{
  left:-10vmin; top:-8vmin;
  background: radial-gradient(closest-side, #8b5cf6 0%, transparent 70%);
}
.bg-cosmos::after{
  right:-10vmin; bottom:-12vmin;
  background: radial-gradient(closest-side, #22c55e 0%, transparent 70%);
}

/* “Planetas” decorativos opcionales (poné tus SVG/PNG) */
.bg-planet{
  position: absolute;
  width: 120px;
  opacity: .18;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.6));
  user-select: none;
}
.planet--moon{ top: 12%; left: 6%; }
.planet--sun{ bottom: 6%; right: 8%; width: 160px; opacity:.15; }
.planet--const{ top: 34%; right: 14%; width: 140px; opacity:.12; }

@media (max-width:900px){
  .planet--moon{ top:8%; left:2%; width:90px;}
  .planet--sun{ bottom:2%; right:2%; width:120px;}
  .planet--const{ display:none;}
}
