:root {
  --bg-start:#f3f5f8;
  --bg-end:#ffffff;
  --card-bg:#ffffff;
  --card-border:#e8ebf0;
  --text-main:#121a2b;
  --text-muted:#6b7485;
  --shadow-soft:0 10px 24px rgba(15,24,40,.08);
  --shadow-card:0 8px 20px rgba(15,24,40,.06);
  --shadow-featured:0 14px 28px rgba(15,24,40,.14);
  --radius-lg:24px;
  --radius-md:16px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:sans-serif;
  color:var(--text-main);
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.9), transparent 50%),
    linear-gradient(165deg,var(--bg-start),var(--bg-end));
  display:flex;
  justify-content:center;
  padding:10px 14px 36px;
}

.page{
  width:100%;
  max-width:430px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(233,237,244,.95);
  box-shadow:var(--shadow-soft);
  border-radius:28px;
  padding:30px 18px 28px;
  backdrop-filter:blur(2px);
  text-align:center;
}

.profile-photo{
  width:190px;
  height:190px;
  border-radius:34px;
  object-fit:cover;
  box-shadow:0 10px 22px rgba(15,24,40,.12);
  margin:0 auto 16px;
  display:block;
}

h1{
  margin:0;
  font-size:2rem;
  font-weight:800;
  letter-spacing:-.02em;
}

.social-hint{
  margin:10px 0 26px;
  font-size:.95rem;
  color:var(--text-muted);
}

.links{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.card{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
  border-radius:var(--radius-md);
  border:1px solid var(--card-border);
  background:var(--card-bg);
  padding:22px 18px;
  padding-left:95px;
  padding-right:18px;
  text-decoration:none;
  color:var(--text-main);
  box-shadow:var(--shadow-card);
  transition:.18s ease;
  min-height:72px;
  font-weight:600;
  position:relative;
}

.card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,24,40,.12);
}

.social-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  margin:20px 0;
}

.social-btn{
  width:56px;
  height:56px;
  border-radius:14px;
  border:1px solid var(--card-border);
  background:var(--card-bg);
  box-shadow:var(--shadow-card);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.18s ease;
  text-decoration:none;
}

.social-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,24,40,.12);
}

.social-btn img{
  width:52px;
  height:52px;
  object-fit:contain;
  aspect-ratio:1;
}

.card-icon{
  width:50px;
  height:50px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid #e9edf3;
  background:#eef2f8;
}

.whatsapp-icon{
  background:#ffffff;
}

.featured{
  min-height:92px;
  border:2px solid #25D366;
  background:#f0fff4;
  color:#128C7E;
  box-shadow:var(--shadow-featured);
  font-size:1.15rem;
  line-height:1.3;
}

.card-styled{
  min-height:92px;
  border:2px solid var(--card-border);
  background:var(--card-bg);
  color:var(--text-main);
  box-shadow:var(--shadow-card);
  font-size:1rem;
  line-height:1.3;
  padding-left:85px;
  font-size:.98rem;
}

.featured-text{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  margin:0;
  max-width:100%;
}

.featured-line{
  display:block;
}

.featured-line-strong{
  font-weight:800;
}

.featured .card-icon,
.card-styled .card-icon{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
}

/* ───────── OVERLAY PREMIUM ───────── */

#overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:1000;
  place-items:center;
  padding:20px;
  background:rgba(255,255,255,.65);
  backdrop-filter:blur(6px);
}

#overlay.visible{display:grid}

.alerta-box{
  width:100%;
  max-width:380px;
  border-radius:26px;
  padding:28px 24px 22px;
  text-align:center;
  background:#ffffff;
  border:1px solid #e8ebf0;
  box-shadow:0 30px 60px rgba(15,24,40,.18);
  animation:fadeIn .25s ease-out;
}

.icono{
  width:64px;
  height:64px;
  border-radius:20px;
  margin:0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#e8f7ee;
  color:#1fa855;
  font-size:1.8rem;
  box-shadow:0 10px 20px rgba(37,211,102,.25);
  animation:pulse 1.5s infinite;
}

.alerta-box h2{
  margin:0;
  font-size:1.15rem;
  font-weight:700;
}

.subtexto{
  margin:6px 0 18px;
  color:var(--text-muted);
  font-size:.9rem;
}

.tip{
  margin:0 0 20px;
  padding:14px;
  border-radius:14px;
  border:1px solid #e8ebf0;
  background:#f7f9fc;
  color:#5d6677;
  font-size:.88rem;
  line-height:1.5;
}

.barra-progreso{
  height:8px;
  background:#edf1f6;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:10px;
}

.barra-fill{
  height:100%;
  width:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#25D366 0%,#1fa855 100%);
  transition:width 3s linear;
}

.contador{
  font-size:.82rem;
  color:var(--text-muted);
  font-weight:600;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(12px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

@keyframes pulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.08)}
}
