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

/* Base styles for the page content */
.page-index-game-types {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text is light */
  background-color: transparent; /* Inherit from body or shared.css */
}

/* Section styling */
.page-index-game-types__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-game-types__dark-bg {
  background-color: #1A202C; /* Main brand color for dark sections */
  color: #ffffff;
}

.page-index-game-types__light-bg {
  background-color: #0a0a0a; /* Ensure it's not pure white, but still dark enough for light text */
  color: #ffffff;
}

/* Container for content width */
.page-index-game-types__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Consistent padding */
}

/* Hero Section */
.page-index-game-types__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-index-game-types__hero-content {
  max-width: 600px;
  z-index: 1;
  text-align: left;
  margin-right: 40px;
}

.page-index-game-types__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for main title */
  line-height: 1.2;
}

.page-index-game-types__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-game-types__cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-game-types__hero-image-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 50%; /* Adjust width for image */
  overflow: hidden;
}

.page-index-game-types__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Titles */
.page-index-game-types__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  color: #FFD700; /* Auxiliary color for section titles */
}

.page-index-game-types__section-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-index-game-types__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-game-types__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-game-types__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-types__game-card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-game-types__game-card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

/* Feature Grid */
.page-index-game-types__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-game-types__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-game-types__feature-card:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-index-game-types__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-game-types__feature-text {
  font-size: 0.95em;
  color: #cccccc;
}

/* Guide Steps */
.page-index-game-types__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-game-types__guide-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-game-types__guide-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-game-types__guide-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Info Image */
.page-index-game-types__image-wrapper {
  margin-top: 50px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-game-types__info-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Buttons */
.page-index-game-types__btn-primary,
.page-index-game-types__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-index-game-types__btn-primary {
  background-color: #FFD700; /* Auxiliary color for primary action */
  color: #1A202C; /* Dark text on light background for contrast */
  border: 2px solid #FFD700;
}

.page-index-game-types__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

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

.page-index-game-types__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-index-game-types__final-cta {
  margin-top: 40px;
  font-size: 1.2em;
  padding: 18px 40px;
}

/* FAQ Section */
.page-index-game-types__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index-game-types__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-game-types__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-game-types__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-game-types__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}

.page-index-game-types__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-index-game-types__faq-item.active .page-index-game-types__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-index-game-types__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1em;
}

.page-index-game-types__faq-item.active .page-index-game-types__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content, !important for override */
  padding: 15px 25px 25px 25px; /* Adjust padding when active */
}

.page-index-game-types__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* General image styling for content areas */
.page-index-game-types img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-game-types__hero-section .page-index-game-types__container {
    flex-direction: column;
    text-align: center;
  }

  .page-index-game-types__hero-content {
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .page-index-game-types__hero-image-wrapper {
    max-width: 80%;
    justify-content: center;
  }

  .page-index-game-types__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-index-game-types__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-game-types__main-title {
    font-size: 2em;
    text-align: center;
  }

  .page-index-game-types__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-index-game-types__cta-group {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}