.page-index-game-advantages {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so use light text */
  background-color: transparent;
}

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

.page-index-game-advantages__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-game-advantages__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-game-advantages__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-game-advantages__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-index-game-advantages__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-index-game-advantages__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 2;
}

.page-index-game-advantages__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-index-game-advantages__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
  font-weight: 900;
}

.page-index-game-advantages__hero-description {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.4;
}

.page-index-game-advantages__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-game-advantages__btn-primary,
.page-index-game-advantages__btn-secondary,
.page-index-game-advantages__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-index-game-advantages__btn-primary:hover,
.page-index-game-advantages__cta-button:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

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

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

/* Intro Section */
.page-index-game-advantages__intro-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Features Section */
.page-index-game-advantages__features-section {
  background-color: #017439; /* Brand primary color for dark background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-index-game-advantages__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.page-index-game-advantages__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-advantages__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-game-advantages__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
  font-weight: bold;
}

.page-index-game-advantages__card-description {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Game Types Section */
.page-index-game-advantages__game-types-section {
  background-color: #121212;
  color: #ffffff;
  padding: 80px 0;
}

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

.page-index-game-advantages__game-type-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-index-game-advantages__game-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-game-advantages__game-type-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-game-advantages__game-type-card .page-index-game-advantages__card-title a {
  color: #FFFF00; /* Link color for game type titles */
  text-decoration: none;
  font-weight: bold;
}

.page-index-game-advantages__game-type-card .page-index-game-advantages__card-title a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-index-game-advantages__cta-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-index-game-advantages__text-center {
  text-align: center;
}

.page-index-game-advantages__cta-button {
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

/* FAQ Section */
.page-index-game-advantages__faq-section {
  background-color: #121212;
  padding: 80px 0;
}

.page-index-game-advantages__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-game-advantages__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-index-game-advantages__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFF00;
  transition: background-color 0.3s ease;
}

.page-index-game-advantages__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-game-advantages__faq-item summary:hover {
  background-color: #2a2a2a;
}

.page-index-game-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFF00;
}

.page-index-game-advantages__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-game-advantages__hero-title {
    font-size: 3.2em;
  }
  .page-index-game-advantages__hero-description {
    font-size: 1.3em;
  }
  .page-index-game-advantages__section-title {
    font-size: 2.2em;
  }
  .page-index-game-advantages__features-grid,
  .page-index-game-advantages__game-type-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-game-advantages__hero-section {
    height: 70vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-index-game-advantages__hero-title {
    font-size: 2.5em;
  }
  .page-index-game-advantages__hero-description {
    font-size: 1.1em;
  }
  .page-index-game-advantages__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-game-advantages__btn-primary,
  .page-index-game-advantages__btn-secondary,
  .page-index-game-advantages__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1.1em;
    margin: 0 auto; /* Center buttons in column layout */
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-game-advantages__section {
    padding: 40px 0;
  }
  .page-index-game-advantages__section-title {
    font-size: 1.8em;
  }
  .page-index-game-advantages__paragraph {
    font-size: 1em;
  }
  .page-index-game-advantages__feature-card,
  .page-index-game-advantages__game-type-card {
    padding: 20px;
  }
  .page-index-game-advantages__card-title {
    font-size: 1.5em;
  }
  .page-index-game-advantages__faq-item summary {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-index-game-advantages__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image, video, button responsiveness */
  .page-index-game-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-advantages video,
  .page-index-game-advantages__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-game-advantages__section,
  .page-index-game-advantages__card,
  .page-index-game-advantages__container,
  .page-index-game-advantages__video-section,
  .page-index-game-advantages__video-container,
  .page-index-game-advantages__video-wrapper,
  .page-index-game-advantages__cta-buttons,
  .page-index-game-advantages__button-group,
  .page-index-game-advantages__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-index-game-advantages__hero-cta-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-index-game-advantages__hero-title {
    font-size: 2em;
  }
  .page-index-game-advantages__hero-description {
    font-size: 1em;
  }
  .page-index-game-advantages__section-title {
    font-size: 1.5em;
  }
  .page-index-game-advantages__btn-primary,
  .page-index-game-advantages__btn-secondary,
  .page-index-game-advantages__cta-button {
    font-size: 1em;
    padding: 10px 15px;
  }
}