/* style.css */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #eee;
}

header {
  background-color: #222;
  padding: 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

nav a {
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #66ffcc;
}

main {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

.hero {
  text-align: center;
}

.hero .banner {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.destaques h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.card h4 {
  margin-top: 0;
  color: #00ffcc;
}

.card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #00ffcc;
  text-decoration: underline;
}

footer {
  background-color: #222;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* Estilo para a grid dos mods */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card do mod */
.mod-card {
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mod-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}

/* Imagem do mod */
.mod-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #333; /* cor de fundo caso imagem não carregue */
  margin-bottom: 12px;
}

/* Descrição do mod */
.mod-description {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
  min-height: 40px;
}

/* Botão de download */
.mod-download {
  background: #4caf50;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
  text-align: center;
}

.mod-download:hover {
  background-color: #388e3c;
}
