:root {
  --bg: #0a0a0b;
  --surface: #111114;
  --text: #e8e8ea;
  --muted: #a0a0aa;
  --border: #2a2a33;
  --accent: #b3a16e;
  --ring: #e0e0f8;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 70% -20%, rgba(255,255,255,0.06), transparent 60%),
              radial-gradient(900px 500px at -10% 120%, rgba(255,255,255,0.05), transparent 50%),
              var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
  line-height: 1.5;
}

.wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(720px, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  padding: clamp(20px, 3vw, 40px);
  backdrop-filter: blur(6px);
}

header { text-align: center; margin-bottom: 22px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.brand img {
  width: clamp(90px, 18vw, 150px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.brand h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 28px);
}

.subtitle { color: var(--muted); margin-top: 10px; font-size: 14px; }

.column {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: border-color .2s ease, box-shadow .2s ease, transform .08s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { border-color: #3a3a44; }
.btn:active { transform: translateY(1px); }

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  background: linear-gradient(120deg, rgba(255,255,255,0.35), rgba(255,255,255,0));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }

.btn span.label { font-size: clamp(16px, 2.2vw, 18px); }

.btn--image { padding: 10px 14px; }
.btn--image img {
  max-height: 36px;  /* Ajusta entre 32px y 42px según te convenga */
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.35));
}


.icon {
  width: 22px; height: 22px; display: inline-block; flex: 0 0 auto; color: var(--muted);
}
.btn:hover .icon { color: var(--text); }

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

footer {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

@media (min-width: 720px) {
  .column { gap: 16px; }
  .btn { min-height: 68px; }
  .btn--image img { max-height: 42px; }
}

/* Botón con texto reducido */
.btn--smalltext span.label {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.2; /* un poco más compacto para doble línea */
  text-align: center;
}
