  @font-face {
    font-family: 'BoldsPixels';
    src: url('../fonts/BoldsPixels.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

    body {
      margin: 0;
      font-family: 'Archivo Black', Arial, sans-serif;
      color: #ddd;
	  text-align: center;

      /* Grass image background */
      background-image: url('../images/math-striker-pitch-bg.jpg');
      background-repeat: repeat-y;   /* repeat vertically */
      background-size: 100% auto;    /* full width */
      background-position: top center;
    }

    header {
      padding: 30px 20px 10px;
      text-align: center;
      background: transparent;
    }

    header img {
      max-width: 180px;
      width: 100%;
      height: auto;
      display: inline-block;
    }

    .container {
      width: 90%;
      max-width: 1100px;
      margin: 30px auto;
    }



.card {
  background: #0C1013;
  border: 13px solid #C2CDD9;
  border-radius: 0;
  margin-bottom: 20px;
  padding: 20px;

  box-shadow:
    5px 5px 0 #6E7A86,   /* darker version */
    -3px -3px 0 #E4ECF5; /* lighter version */
}


.card img {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid #C2CDD9;
  display: block;
}

	
.card-image {
  padding: 0;
  overflow: hidden;
  margin: 0 0 20px 0;
  display: flex;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.card.card-image img {
  margin-top: 0;
  border: 0;
  border-radius: 0;
}

  h1, h2, h3 {
    font-family: 'BoldsPixels', Arial, sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin-top: 0;
  }

    p, li {
      color: #ccc;
    }
	
	p a {
  color: #FFD700;
  text-decoration: none; /* optional: removes underline */
}

p a:hover {
  text-decoration: underline;
}

    .row {
      display: grid;
      gap: 20px;
      margin-bottom: 20px;
    }

    .row-2 {
      grid-template-columns: repeat(2, 1fr);
    }

    .row-3 {
      grid-template-columns: repeat(3, 1fr);
    }

    .row-4 {
      grid-template-columns: repeat(4, 1fr);
    }

    @media (max-width: 900px) {
      .row-3,
      .row-4 {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .row-2,
      .row-3,
      .row-4 {
        grid-template-columns: 1fr;
      }
    }
	

 .gameplay-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.gameplay-gallery img {
  width: 100%;
  display: block;
  border-radius: 8px;
  border: 1px solid #666;
}

/* tablet */
@media (max-width: 1000px) {
  .gameplay-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobile */
@media (max-width: 640px) {
  .gameplay-gallery {
    display: flex;
    overflow-x: auto;
    gap: 10px;
  }

  .gameplay-gallery img {
    width: 175px;      /* smaller images */
    flex-shrink: 0;    /* prevents shrinking */
  }
}

.gameplay-gallery::-webkit-scrollbar {
  display: none;
}

.cta-buttons {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-buttons {
  margin-top: 15px;
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: center;      /* center everything */
  gap: 15px;
}

/* Store buttons row */
.store-row {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-gold {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;

  color: #FFD700;
  background: #0C1013;

  border: 6px solid #FFD700; /* slightly thinner than card */
  border-radius: 0; /* important for voxel */

  box-shadow:
    4px 4px 0 #8C6B00,   /* dark gold shadow */
    -2px -2px 0 #FFF3A0; /* light gold highlight */

  transition: all 0.1s ease;
}

.btn-gold:hover {
  background: #FFD700;
  color: #000;

  transform: translate(-2px, -2px);

  box-shadow:
    6px 6px 0 #8C6B00,
    -2px -2px 0 #FFF3A0;
}

/* Store buttons */
.store-btn {
  height: 40px;
  display: block;
}

    footer {
      text-align: center;
      padding: 20px;
      background: #111;
      color: #aaa;
      margin-top: 40px;
      border-top: 2px solid #555;
    }
