/* Colores */
:root {
  --fondo-1: #1a1a1a;
  --fondo-2: #2a2a2a;
  --fondo-3: #3a3a3a;
  --texto: #f0f0f0;
  --boton-1: #444444;
  --boton-2: #111111;
  --accent: #0056b3;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--texto);
  background-color: var(--fondo-1);
  max-width: clamp(320px, 90%, 1200px);
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, var(--accent), #8baefa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent);
  border-bottom: 2px solid var(--fondo-2);
  padding-bottom: 0.5rem;
}

.categorySection {
  margin-bottom: 3rem;
}

.toolsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.toolCard {
  background-color: var(--fondo-2);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--texto);
  transition: transform 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.toolCard:hover {
  transform: translateY(-5px);
  background-color: var(--fondo-3);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.toolTitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.toolDescription {
  font-size: 0.9rem;
  color: #a0a0a0;
  line-height: 1.4;
}
