.page-index-game-diversity {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: #f8f8f8; /* Light background for the main content area */
}

.page-index-game-diversity__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-game-diversity__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-index-game-diversity__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Hero Section */
.page-index-game-diversity__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  background-color: #26A9E0; /* Brand color background for hero */
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
  padding-bottom: 50px;
  color: #FFFFFF;
}

.page-index-game-diversity__hero-image {
  width: 100%;
  max-width: 1920px; /* Ensure image doesn't stretch too wide */
  height: auto;
  object-fit: cover;
  display: block;
}

.page-index-game-diversity__hero-content {
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  max-width: 900px;
}

.page-index-game-diversity__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* H1 font size clamp */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-index-game-diversity__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-game-diversity__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width for responsive */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index-game-diversity__btn-primary,
.page-index-game-diversity__btn-secondary,
.page-index-game-diversity__btn-link,
.page-index-game-diversity__btn-readmore,
.page-index-game-diversity__btn-download {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-game-diversity__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-index-game-diversity__btn-primary:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

.page-index-game-diversity__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-index-game-diversity__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Access Links Section (Three links) */
.page-index-game-diversity__access-links {
  background-color: #FFFFFF;
  padding: 50px 0;
  margin-top: -30px; /* Slightly overlap hero for visual effect */
  position: relative;
  z-index: 2;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-index-game-diversity__links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.page-index-game-diversity__access-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: #26A9E0;
  border-radius: 10px;
  text-decoration: none;
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-index-game-diversity__access-card:hover {
  transform: translateY(-5px);
  background-color: #1f8ec7;
}

/* Category Lobby Section (Five entries - gameshow:strict) */
.page-index-game-diversity__category-lobby {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index-game-diversity__category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.page-index-game-diversity__category-card-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-index-game-diversity__category-card-link:hover {
  transform: scale(1.05);
}

.page-index-game-diversity__category-image {
  width: 100%;
  height: auto; 
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1; /* Enforce square for gameshow:strict */
  border: none; /* No border for gameshow:strict */
  box-shadow: none; /* No box-shadow for gameshow:strict */
  min-width: 200px; /* Enforce minimum 200px */
  min-height: 200px; /* Enforce minimum 200px */
}

/* Feature Games Section */
.page-index-game-diversity__feature-games {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index-game-diversity__game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-diversity__game-card {
  display: flex;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-index-game-diversity__game-card:hover {
  transform: translateY(-5px);
}

.page-index-game-diversity__game-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-index-game-diversity__game-content {
  padding: 25px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-game-diversity__game-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-index-game-diversity__game-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-game-diversity__btn-link {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-game-diversity__btn-link:hover {
  background-color: #1f8ec7;
  border-color: #1f8ec7;
}

/* Promotions Section */
.page-index-game-diversity__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-index-game-diversity__promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-diversity__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease;
}

.page-index-game-diversity__promo-card:hover {
  transform: translateY(-5px);
}

.page-index-game-diversity__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-index-game-diversity__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-game-diversity__promo-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Blog Section (Module 5 - Slider) */
.page-index-game-diversity__blog-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-index-game-diversity__blog-slider {
  position: relative;
  margin-top: 40px;
  overflow: hidden; /* Hide scrollbar for the track */
  padding: 0 50px; /* Space for arrows */
}

.page-index-game-diversity__blog-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.page-index-game-diversity__blog-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.page-index-game-diversity__post-item {
  flex: 0 0 auto;
  width: calc(33.333% - 13.333px); /* 3 items per row with gap */
  scroll-snap-align: start;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  min-width: 300px; /* Ensure cards don't get too small on wider mobiles */
}

.page-index-game-diversity__post-item:hover {
  transform: translateY(-5px);
}

.page-index-game-diversity__post-image {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

.page-index-game-diversity__post-content {
  padding: 20px;
}

.page-index-game-diversity__post-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-game-diversity__post-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-index-game-diversity__post-title a:hover {
  text-decoration: underline;
}

.page-index-game-diversity__post-meta {
  font-size: 14px;
  color: #888888;
  margin-bottom: 15px;
}

.page-index-game-diversity__post-excerpt {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-game-diversity__btn-readmore {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-game-diversity__btn-readmore:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}