/* Reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Courier New', sans-serif;
  background: url("bg3.gif") no-repeat center center fixed;
  background-size: cover;
  color: #f0f0f0;
  padding: 2rem;
  position: relative;
  z-index: 0;
}

/* Semi-transparent overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 21, 0.5); /* adjust opacity here */
  z-index: -1;
}

/* Page header */
header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #90ee90;
}

p {
  color: #ccc;
}

/* Grid container */
.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

/* Fully clickable card */
.card {
  display: block;
  background: #1a1d23;
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 255, 128, 0.3);
}

.card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #66ffcc;
}

.card p {
  font-size: 0.95rem;
  color: #aaa;
}
