/* ============================================================
   sdk.dll — copia adaptada de fsploit.xyz
   Estética minimalista, fondo nocturno con lluvia, header píldora
   ============================================================ */

:root {
  --bg: #0a0a0f;
  --bg-secondary: #12121a;

  --text: #ffffff;
  --text-dim: #a1a1aa;
  --text-dim2: #71717a;

  --accent: #a855f7;   /* púrpura fsploit */
  --accent-dark: #7e22ce;
  --accent-glass: rgba(167, 139, 250, 0.10);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-hover: rgba(255, 255, 255, 0.05);

  --radius: 12px;
  --radius-pill: 999px;

  /* Margen y ancho del contenido */
  --container-max: 760px;
  --container-pad: 32px;

  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Fondo relajante (canvas lluvia) ---------- */
#canvas-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Header flotante tipo píldora, centrado ---------- */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin-inline: auto;                  /* centrado real */
  width: min(900px, calc(100% - 32px)); /* nunca más ancho que la ventana */
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 52px;
  padding: 0 36px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
  transform: translateY(-6px);          /* ya sin translateX */
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.6);
}

.nav:hover {
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  color: var(--text);
  text-decoration: none;
  filter: drop-shadow(0 0 12px var(--accent-glass));
}

.brand emoji,
.brand .emoji {
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  min-width: 0;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%; width: 0%;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  border-radius: 2px;
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* Indicador "En vivo" en el nav */
.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim2);
  white-space: nowrap;
}

.nav-live .status-dot {
  width: 8px; height: 8px;
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
    gap: 20px;
  }
  .nav-links { gap: 20px; }
}

/* ---------- Layout principal ---------- */
.page {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 110px var(--container-pad) 90px;
  text-align: center;
}

section {
  margin-bottom: 56px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent-glass);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--accent-glass);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000;
}

.btn.primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ---------- Hero centrado (Home) ---------- */
.hero {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeUp 900ms ease both;
}

.hey {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 10px;
  display: block;
  font-weight: 700;
}

.name {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 12px;
  color: #fff;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 26px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Now Playing & Discord (abajo del Home) ---------- */
.nowplaying {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(24px);
  animation: fadeUp 900ms ease 150ms both;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero "Now Playing & Discord" (página Music) */
.hero .np-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
}

.hero .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  margin: 0 auto;
  border-radius: 2px;
}

.np-section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim2);
  margin-bottom: 22px;
  font-weight: 600;
  text-align: center;
}

/* Perfil Discord */
.discord-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.avatar-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 2px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discord-info { flex: 1; min-width: 0; text-align: left; }

.discord-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.discord-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.discord-tag {
  font-size: 0.8rem;
  color: var(--text-dim2);
}

.discord-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.status-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* Badge de estado (esquina de la tarjeta) */
.discord-status-badge {
  margin-left: auto;
}

.badge-dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* Estado personalizado (ej: "tired") */
.custom-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  max-width: 420px;
}

.status-icon {
  font-size: 1rem;
  line-height: 1;
}

/* Chips de datos extra (KV de Lanyard) */
.kv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.kv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Tarjeta Now Playing */
.now-playing-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

/* Cabecera de la tarjeta (label + botón Spotify) */
.now-playing-card .np-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.np-spotify-btn {
  width: 32px; height: 32px;
  background: #1ed760;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.np-spotify-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.np-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #22c55e;
  font-weight: 800;
}

.np-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.np-cover {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.np-track-info {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.np-track-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-track-artist {
  font-size: 0.82rem;
  color: var(--text-dim2);
}

.np-progress-wrap {
  width: 100%;
}

.np-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.np-progress-bar {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 999px;
}

.np-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim2);
}

/* ---------- Cards de proyectos y herramientas ---------- */
.grid-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim2);
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: rgba(10, 10, 15, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s ease;
  display: block;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.card-thumb {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--text-dim2);
}

.card-body {
  padding: 18px;
  text-align: center;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text);
}

.card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-link:hover {
  border-color: var(--accent);
  background: var(--accent-glass);
  color: var(--text);
}

/* ---------- Bio (replica de fsploit.xyz/bio) ---------- */
.bio-page {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 140px var(--container-pad) 100px;
  text-align: center;
}

.bio-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  padding: 40px 0 50px;
  animation: fadeUp 800ms ease both;
}

.bio-avatar-img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.bio-hero h1 {
  font-size: 49px;
  font-weight: 700;
  letter-spacing: -3px;
  color: #f7f5fa;
  margin-bottom: 8px;
  line-height: 1.05;
}

.bio-tagline {
  font-size: 16px;
  color: rgba(247, 245, 250, 0.68);
  font-weight: 400;
  margin-bottom: 0;
}

.bio-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0.8px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px var(--accent-glass);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.8px solid rgba(255, 255, 255, 0.1);
  color: #f7f5fa;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.bio-section {
  margin-top: 70px;
  animation: fadeUp 800ms ease both;
  text-align: center;
}

.bio-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #f7f5fa;
  margin-bottom: 18px;
}

.bio-section p {
  font-size: 15px;
  color: rgba(247, 245, 250, 0.68);
  line-height: 27px;
  margin-bottom: 15px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.bio-section p b {
  color: #f7f5fa;
  font-weight: 600;
}

/* Tags de skills */
.skill-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-tags span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.043);
  border: 0.8px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 245, 250, 0.68);
  font-size: 13px;
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  border-color: var(--accent);
  background: var(--accent-glass);
  color: #f7f5fa;
}

/* Separador entre secciones de la bio */
.bio-divider {
  width: 100%;
  height: 1px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  margin: 22px 0 24px;
}

/* Label superior del bloque de skills */
.skills-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim2);
  margin-bottom: 14px;
  text-align: left;
}

/* Grid de tecnologias (2 columnas) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tech-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-align: left;
  transition: all 0.3s ease;
}

.tech-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tech-item:hover {
  border-color: var(--accent);
  background: var(--accent-glass);
  transform: translateY(-2px);
}

.tech-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--c, var(--accent));
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px currentColor);
}

.tech-icon svg {
  width: 100%;
  height: 100%;
}

.tech-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f7f5fa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tooltip emergente (hover / focus) */
.tech-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  min-width: 215px;
  max-width: 260px;
  padding: 11px 14px;
  background: rgba(12, 12, 18, 0.97);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.tech-tip strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f7f5fa;
  margin-bottom: 4px;
}

.tech-tip > span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(247, 245, 250, 0.68);
}

/* Flechita del tooltip */
.tech-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(12, 12, 18, 0.97);
}

.tech-item:hover .tech-tip,
.tech-item:focus-visible .tech-tip,
.tech-item:focus-within .tech-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 420px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* Iconos de redes sociales */
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.043);
  border: 0.8px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 245, 250, 0.68);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--accent);
  background: var(--accent-glass);
  color: #f7f5fa;
  transform: translateY(-3px);
}

/* ---------- Music ---------- */
.music-hero {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeUp 800ms ease both;
}

.music-hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.music-hero p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.music-player {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(20px);
  margin-bottom: 40px;
  animation: fadeUp 800ms ease 150ms both;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.player-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.player-cover {
  width: 110px; height: 110px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.player-info h3 { font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.player-info p { color: var(--text-dim); font-size: 0.85rem; }
.player-actions { display: flex; gap: 10px; justify-content: flex-end; }

.btn-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

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

.tracklist {
  animation: fadeUp 800ms ease 300ms both;
}

.tracklist h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim2);
  margin-bottom: 16px;
  font-weight: 600;
  text-align: center;
}

.track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.track:last-child { border-bottom: none; }
.track:hover { color: var(--accent); }

.track-num {
  font-size: 0.82rem;
  color: var(--text-dim2);
  min-width: 22px;
}

.track-cover {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.track-info strong { display: block; font-size: 0.9rem; }
.track-info span { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Tools ---------- */
.tools-intro {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeUp 800ms ease both;
}

.tools-intro h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.tools-intro p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 50px 24px;
  color: var(--text-dim2);
  font-size: 0.85rem;
  animation: fadeUp 800ms ease 400ms both;
}

footer emoji,
footer .emoji { color: var(--accent); margin: 0 4px; }

/* ---------- Utils ---------- */
.hidden { display: none !important; }

/* Colores de los iconos de skills (evita estilos inline) */
.c-purple  { --c: #a855f7; }
.c-cyan    { --c: #22d3ee; }
.c-blue    { --c: #60a5fa; }
.c-green   { --c: #34d399; }
.c-orange  { --c: #f59e0b; }
.c-yellow  { --c: #fbbf24; }
.c-pink    { --c: #f472b6; }
.c-indigo  { --c: #818cf8; }
.c-violet  { --c: #c084fc; }

/* ---------- Animaciones ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { top: 12px; padding: 0 18px; height: 40px; gap: 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.82rem; }
  .page { padding-top: 95px; padding-left: 18px; padding-right: 18px; }
  .name { font-size: 2.6rem; }
  .nowplaying { padding: 20px; margin: 0 auto; }
  .now-playing-card { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  #canvas-bg { display: none; }
}