/* style/index-diverse-game-types.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-index-diverse-game-types {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-index-diverse-game-types__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-index-diverse-game-types__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, so only small top padding here */
  text-align: center;
  overflow: hidden;
  background-color: #08160F;
}

.page-index-diverse-game-types__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio without excessive height */
  overflow: hidden;
}

.page-index-diverse-game-types__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 400px; /* Ensure a minimum visual presence */
}

.page-index-diverse-game-types__hero-content {
  max-width: 800px;
  margin-top: 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-diverse-game-types__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-index-diverse-game-types__subtitle {
  font-size: 1.25rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-index-diverse-game-types__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-index-diverse-game-types__btn-primary,
.page-index-diverse-game-types__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-diverse-game-types__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-index-diverse-game-types__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-index-diverse-game-types__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* A lighter shade of green for contrast */
  border: 2px solid #2AD16F;
}

.page-index-diverse-game-types__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

/* General Section Styles */
.page-index-diverse-game-types__section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-index-diverse-game-types__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-diverse-game-types__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2AD16F, #13994A);
  border-radius: 2px;
}

.page-index-diverse-game-types__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Game Grid / Card Styles */
.page-index-diverse-game-types__game-grid,
.page-index-diverse-game-types__advantages-grid,
.page-index-diverse-game-types__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-diverse-game-types__game-card,
.page-index-diverse-game-types__advantage-item,
.page-index-diverse-game-types__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E; /* Border */
}

.page-index-diverse-game-types__game-card:hover,
.page-index-diverse-game-types__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(34, 199, 104, 0.5);
}

.page-index-diverse-game-types__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Enforce min image size */
}

.page-index-diverse-game-types__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  padding: 20px 25px 10px 25px;
  margin: 0;
}

.page-index-diverse-game-types__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-diverse-game-types__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-index-diverse-game-types__card-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 25px 20px 25px;
  flex-grow: 1;
}

.page-index-diverse-game-types__card-link {
  display: inline-block;
  margin: 0 25px 25px 25px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  max-width: calc(100% - 50px);
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-diverse-game-types__card-link:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Platform Advantages Section */
.page-index-diverse-game-types__advantage-item {
  text-align: center;
  padding: 30px;
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-diverse-game-types__advantage-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-index-diverse-game-types__advantage-text {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-index-diverse-game-types__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-index-diverse-game-types__faq-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

.page-index-diverse-game-types__faq-section .page-index-diverse-game-types__section-title::after {
  background: linear-gradient(90deg, #F2C14E, #F2FFF6); /* Gold gradient for dark background */
}

.page-index-diverse-game-types__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-index-diverse-game-types__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-index-diverse-game-types__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  list-style: none;
  outline: none;
}

.page-index-diverse-game-types__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-diverse-game-types__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-index-diverse-game-types__faq-qtext {
  flex-grow: 1;
}

.page-index-diverse-game-types__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
}

.page-index-diverse-game-types__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

/* Final CTA Section */
.page-index-diverse-game-types__final-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-diverse-game-types__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-index-diverse-game-types__subtitle {
    font-size: 1.1rem;
  }
  .page-index-diverse-game-types__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-index-diverse-game-types__hero-section {
    padding-bottom: 40px;
  }
  .page-index-diverse-game-types__hero-content {
    margin-top: 20px;
  }
  .page-index-diverse-game-types__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-index-diverse-game-types__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-index-diverse-game-types__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-diverse-game-types__btn-primary,
  .page-index-diverse-game-types__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-diverse-game-types__section {
    padding: 60px 0;
  }
  .page-index-diverse-game-types__section-title {
    font-size: 1.8rem;
  }
  .page-index-diverse-game-types__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-index-diverse-game-types__game-grid,
  .page-index-diverse-game-types__advantages-grid,
  .page-index-diverse-game-types__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-diverse-game-types__card-image {
    min-height: 200px !important; /* Ensure minimum size */
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-index-diverse-game-types__game-card,
  .page-index-diverse-game-types__advantage-item,
  .page-index-diverse-game-types__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-diverse-game-types__card-link {
    max-width: calc(100% - 50px) !important;
    width: calc(100% - 50px) !important;
  }
  .page-index-diverse-game-types__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }
  .page-index-diverse-game-types__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Ensure all image containers are responsive */
  .page-index-diverse-game-types img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-diverse-game-types__section,
  .page-index-diverse-game-types__card,
  .page-index-diverse-game-types__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-diverse-game-types__hero-section {
    padding-top: 10px !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-diverse-game-types__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}