:root {
  --bg: #111;
  --card: #1a1a1a;
  --text: #fff;
  --muted: #aaa;
  --border: #222;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}


/* El estilo del logo DT de la barra superior 
.logo {
 ... estilos para el logo DT ... 
}
 */


.categories a {
  margin-left: 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.categories a:hover {
  color: white;
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

.subtitle {
  color: var(--muted);
}

.grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* Estilo unificado para todos los botones de la cuadrícula */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
  background-color: var(--card); 
  border: 1px solid var(--border); /* Borde añadido */
  border-radius: 8px; /* Bordes redondeados */
  text-decoration: none; /* Elimina el subrayado de los links */
  color: var(--text); /* Asegura que el texto sea blanco */
}

/* Elimina el contorno al hacer foco */
.card:focus,
.card:focus-visible {
    outline: none;
    box-shadow: none; 
}

.card:hover {
  background: #222;
}

/* Estilo para las imágenes dentro de cualquier tarjeta */
.card img {
  max-width: 100%;   /* Ancho máximo 100% del contenedor */
  max-height: 140px;   /* Alto máximo 100% del contenedor */
  width: auto;
  height: auto;
  object-fit: cover; /* Recorta la imagen para llenar el espacio */
  border-radius: 8px; /* Opcional: para que la imagen también tenga bordes redondeados */
}

/*hacer mas chico el grid */ 

/* GRID COMPACTO (2 filas de 6) */
.grid-compact {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

/* BOTONES MÁS CHICOS SOLO EN MODO COMPACTO */
.card-compact {
  min-height: 90px;
  padding: 8px;
}

/* IMÁGENES MÁS CONTROLADAS */
.card-compact img {
  max-height: 80px;
  object-fit: contain;
}



/* --------- FOOTER --------- */
.footer {
  width: 100%;
  margin-top: 60px;
  padding: 30px 10px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius: 0;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-content h2 {
  color: var(--accent);
  margin-bottom: 6px;
}

.footer-content p {
  color: var(--muted);
  font-size: 14px;
  margin: 6px auto 14px auto;
  max-width: 700px;
}
.footer-link {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}


.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.social a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 32px; /* tamaño de los íconos o texto */
  transition: color .2s ease, transform .2s ease;
}

.social a:hover {
  color: var(--accent);
  transform: scale(1.15);
}
.cafecito-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;   /* Ko-fi suele ir a la derecha */
  z-index: 9999;
}

.cafecito-btn img {
  width: 160px; /* ajustá tamaño si querés */
}
.about {
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.support-box {
  margin-top: 28px;
  padding: 24px;
  background: #151515;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.support-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--text);
}

.highlight {
  color: var(--text);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .about {
    padding: 24px;
  }

  .about h2 {
    font-size: 26px;
  }
}



@media (max-width: 600px) {
  .social a {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .cafecito-btn img {
    width: 120px;
  }
}

