:root {
  color-scheme: dark;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --bg: #08111f;
  --bg-glow: #183153;
  --panel: rgba(13, 28, 48, 0.9);
  --border: #28476d;
  --text: #eaf2ff;
  --text-muted: #b7c8dc;
  --text-faint: #7890aa;
  --accent: #93c5fd;
  --accent-strong: #60a5fa;
  --ok: #22c55e;
  --ok-bg: rgba(16, 185, 129, 0.12);
  --ok-border: rgba(16, 185, 129, 0.4);
  --ok-text: #a7f3d0;
}

* {
  box-sizing: border-box;
}

/* Base rules = móvil. Los @media (min-width) van sumando estilos para pantallas grandes. */
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    radial-gradient(circle at top, var(--bg-glow) 0, transparent 45%), var(--bg);
  color: var(--text);
}

main {
  width: 100%;
  padding: 28px 20px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: linear-gradient(160deg, var(--accent-strong), var(--bg-glow));
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

@media (min-width: 480px) {
  body {
    padding: 24px;
  }

  main {
    width: min(620px, 100%);
    padding: 42px;
    border-radius: 20px;
  }

  .avatar {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    font-size: 2.2rem;
  }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  color: var(--ok-text);
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--ok);
}

h1 {
  margin: 24px 0 8px;
  font-size: clamp(2rem, 7vw, 3rem);
}

main h2 {
  margin: 0 0 20px;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 500;
  color: var(--text-muted);
}

.tagline {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  border-color: var(--accent-strong);
  background: rgba(96, 165, 250, 0.1);
}

nav.future {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 18px;
}

nav.future a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--bg-glow));
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

nav.future a::after {
  content: "→";
}

nav.future a:hover,
nav.future a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(96, 165, 250, 0.4);
}

footer {
  margin-top: 30px;
  color: var(--text-faint);
  font-size: 0.85rem;
}
