/* Base Styles & Global Resets for .page-index-game-types-overview */
.page-index-game-types-overview {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Default body background */
}

.page-index-game-types-overview__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-index-game-types-overview h1,
.page-index-game-types-overview h2,
.page-index-game-types-overview h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #017439; /* Brand color for headings */
}

.page-index-game-types-overview h1 {
  text-align: center;
  margin-bottom: 25px;
  max-width: 900px; /* Prevent H1 from being too wide */
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.2em);
}

.page-index-game-types-overview h2 {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

.page-index-game-types-overview h3 {
  font-size: 1.5em;
  color: #017439;
}

.page-index-game-types-overview p {
  margin-bottom: 15px;
  color: #333333;
}

.page-index-game-types-overview a {
  color: #017439;
  text-decoration: none;
}

.page-index-game-types-overview a:hover {
  text-decoration: underline;
}

/* Image Reset */
.page-index-game-types-overview img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Section Specific Styles */
.page-index-game-types-overview__hero-section {
  padding: 10px 0 60px; /* 10px top padding for first section */
  background-color: #f8fcfb; /* Light background for contrast */
  text-align: center;
}

.page-index-game-types-overview__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555555;
}

.page-index-game-types-overview__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-index-game-types-overview__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-index-game-types-overview__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-index-game-types-overview__btn-primary:hover {
  background-color: #e01010;
  border-color: #e01010;
  color: #ffffff;
}

.page-index-game-types-overview__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-game-types-overview__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-index-game-types-overview__game-types-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* White text for dark background */
}

.page-index-game-types-overview__game-types-section .page-index-game-types-overview__section-title {
  color: #ffffff;
}

.page-index-game-types-overview__game-types-section .page-index-game-types-overview__section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #f0f0f0;
}

.page-index-game-types-overview__game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-game-types-overview__game-card {
  background-color: #ffffff; /* Light background for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-game-types-overview__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-game-types-overview__game-card-image {
  width: 100%;
  height: 200px; /* Ensure minimum height for images */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-index-game-types-overview__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-index-game-types-overview__game-card-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-index-game-types-overview__game-card-title a {
  color: #017439;
}

.page-index-game-types-overview__game-card-title a:hover {
  text-decoration: underline;
}

.page-index-game-types-overview__game-card-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
}

.page-index-game-types-overview__read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-index-game-types-overview__read-more-btn:hover {
  background-color: #005a2e;
  text-decoration: none;
}

.page-index-game-types-overview__why-choose-section {
  padding: 60px 0;
  background-color: #f8fcfb;
}

.page-index-game-types-overview__why-choose-section .page-index-game-types-overview__section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555555;
}

.page-index-game-types-overview__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-game-types-overview__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-index-game-types-overview__feature-item h3 {
  color: #017439;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-game-types-overview__promotions-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* White text for dark background */
}

.page-index-game-types-overview__promotions-section .page-index-game-types-overview__section-title {
  color: #ffffff;
}

.page-index-game-types-overview__promotions-section .page-index-game-types-overview__section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #f0f0f0;
}

.page-index-game-types-overview__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-index-game-types-overview__promotion-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-game-types-overview__promo-title {
  color: #017439;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-index-game-types-overview__promo-description {
  color: #555555;
  flex-grow: 1;
}

.page-index-game-types-overview__promo-banner {
  position: relative;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-game-types-overview__promo-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Ensure minimum height */
  min-width: 200px;
  object-fit: cover;
}

.page-index-game-types-overview__promo-cta {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  padding: 12px 25px;
  font-size: 1.05em;
  border-radius: 8px;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-game-types-overview__promo-cta:hover {
  background-color: #e01010;
  border-color: #e01010;
  color: #ffffff;
}

.page-index-game-types-overview__getting-started-section {
  padding: 60px 0;
  background-color: #f8fcfb;
}

.page-index-game-types-overview__getting-started-section .page-index-game-types-overview__section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #555555;
}

.page-index-game-types-overview__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-game-types-overview__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-game-types-overview__step-title {
  color: #017439;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-game-types-overview__app-download-section {
  padding: 60px 0;
  background-color: #017439; /* Dark background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

.page-index-game-types-overview__app-download-section .page-index-game-types-overview__section-title {
  color: #ffffff;
}

.page-index-game-types-overview__app-download-section .page-index-game-types-overview__section-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-index-game-types-overview__conclusion-section {
  padding: 60px 0;
  background-color: #f8fcfb;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-index-game-types-overview__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-index-game-types-overview h2 {
    font-size: 2em;
  }
  .page-index-game-types-overview__game-card-grid,
  .page-index-game-types-overview__feature-list,
  .page-index-game-types-overview__promo-grid,
  .page-index-game-types-overview__step-list {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section Padding */
  .page-index-game-types-overview__hero-section {
    padding: 10px 0 40px;
  }

  /* 2. Landing page dual-column modules */
  .page-index-game-types-overview__game-card-grid,
  .page-index-game-types-overview__feature-list,
  .page-index-game-types-overview__promo-grid,
  .page-index-game-types-overview__step-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* General content area padding */
  .page-index-game-types-overview__container {
    padding: 0 15px;
  }

  .page-index-game-types-overview__main-title {
    font-size: 2em;
  }

  .page-index-game-types-overview h2 {
    font-size: 1.8em;
  }

  .page-index-game-types-overview h3 {
    font-size: 1.3em;
  }

  .page-index-game-types-overview__description,
  .page-index-game-types-overview__section-intro {
    font-size: 1em;
    padding: 0 5px;
  }

  .page-index-game-types-overview__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 4. Buttons */
  .page-index-game-types-overview__cta-button,
  .page-index-game-types-overview__read-more-btn,
  .page-index-game-types-overview__promo-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-index-game-types-overview__promo-cta {
    position: static;
    transform: none;
    margin-top: 20px;
  }

  /* 3. Universal Images & Containers */
  .page-index-game-types-overview img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-game-types-overview__section,
  .page-index-game-types-overview__card,
  .page-index-game-types-overview__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-game-types-overview__game-card-image {
    height: 180px; /* Adjust height for mobile card images */
  }
}