:root{
  --bg:#0b0f19;
  --card:#121a2a;
  --text:#e6e9f2;
  --muted:#a0a7bd;
  --accent:#6c5ce7;
  --accent2:#00d2d3;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter', sans-serif;
}

body{
  background: radial-gradient(circle at top, #111a2e, var(--bg));
  color:var(--text);
}

/* HEADER */
header{
  text-align:center;
  padding:60px 20px 30px;
}

header h1{
  font-size:3rem;
  font-weight:800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

header p{
  color:var(--muted);
  margin-top:10px;
}

/* CONTENEDOR */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:30px 20px;
}

/* SECCIONES */
.section{
  margin-bottom:40px;
  background: rgba(18,26,42,0.6);
  border:1px solid rgba(255,255,255,0.05);
  border-radius:16px;
  padding:20px;
  backdrop-filter: blur(10px);
}

.section h2{
  margin-bottom:15px;
  font-size:1.3rem;
}

/* 🔥 LISTA EN COLUMNAS DINÁMICAS */
.list{
  list-style:none;

  display:grid;

  /* clave del sistema */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap:12px;
  align-items:start;
}

/* ITEMS */
.list li a{
  display:block;
  padding:12px 14px;
  background:#0f1626;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  border:1px solid rgba(255,255,255,0.06);
  transition:0.25s;

  /* evita alturas raras */
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.list li a:hover{
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(108,92,231,0.25);
}

/* FOOTER */
footer{
  text-align:center;
  padding:40px;
  color:var(--muted);
  font-size:0.9rem;
}

/* 📱 RESPONSIVE AJUSTES FINOS */
@media (max-width: 900px){
  header h1{
    font-size:2.5rem;
  }
}

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

.tool{
  display:flex;
  align-items:center;
  gap:10px;
}

.tool img{
  width:20px;
  height:20px;
  border-radius:5px;
}