  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
  }

  header {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  header img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
  }

  h1 {
    margin: 0;
    font-size: 36px;
  }

  .title {
    color: #666;
    margin-top: 6px;
    font-size: 18px;
  }

  main {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
  }

    /* Outer box heading */
.outer-box h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  line-height: 0.6;
}

.header-wrapper {
  max-width: 1000px;
  margin: 20px auto;      /* same as outer-box */
  padding: 0 30px;        /* same padding as outer-box */
}

/* Flex layout for icon + text */
.title-with-icon {
  display: flex;
  align-items: center;        /* vertically center text block with icon */
  justify-content: flex-start; /* left-align everything */
  gap: 10px;                  /* space between icon and text */
  margin-left: -20px;
  margin-bottom: -10px;
}

.title-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;        /* optional rounding */
}

.text-block {
  display: flex;              /* horizontal layout */
  align-items: center;        /* vertically center title + year */
  gap: 8px;                   /* spacing between title and year */
}

.title-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
}

.year-text {
  font-size: 1rem;
  color: #666;
  font-weight: 700;
  transform: translateY(2px);  /* small vertical adjustment */
}

/* Outer box */
.outer-box {
  border-radius: 16px;
  padding: 30px;
  max-width: 1000px;
  margin: 20px auto;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.outer-box h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Stack sub-boxes vertically */
.sub-boxes {
  display: flex;
  text-align: center;
  flex-direction: column; /* vertical stack */
  gap: 10px;
}

/* Individual sub-box */
.sub-box {
  border-radius: 16px;
  padding: 20px;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Reduce spacing above the first h3 */
.sub-boxes h3:first-of-type {
  margin-top: 0;
}

.sub-box h3 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Grid inside sub-box */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

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

/* Individual game items (same as original) */
.item {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: black;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


.item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  display: block;      /* required for width/height to work */
  margin: 0 auto 10px; /* center horizontally + add spacing below */
}

.banner-item {
  justify-self: center;
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  color: black;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


.banner-item img {
  width: 256px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  display: block;      /* required for width/height to work */
  margin: 0 auto 10px; /* center horizontally + add spacing below */
}
