/* style/index-our-advantages.css */
.page-index-our-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css #0a0a0a */
}

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

.page-index-our-advantages__section {
  padding: 80px 0;
  text-align: center;
}

.page-index-our-advantages__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

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

/* Hero Section */
.page-index-our-advantages__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.2), rgba(10, 10, 10, 0.8));
  min-height: 70vh;
  overflow: hidden;
}

.page-index-our-advantages__hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-index-our-advantages__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

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

.page-index-our-advantages__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-our-advantages__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-index-our-advantages__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

/* Buttons */
.page-index-our-advantages__btn-primary,
.page-index-our-advantages__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-our-advantages__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-index-our-advantages__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-index-our-advantages__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-our-advantages__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  color: #FFFFFF;
}

.page-index-our-advantages__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.page-index-our-advantages__cta-buttons--center {
  justify-content: center;
}

/* Feature Grid */
.page-index-our-advantages__feature-grid,
.page-index-our-advantages__game-grid,
.page-index-our-advantages__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-our-advantages__feature-card,
.page-index-our-advantages__game-card,
.page-index-our-advantages__promotion-card,
.page-index-our-advantages__tech-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light background on dark body */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-index-our-advantages__feature-card:hover,
.page-index-our-advantages__game-card:hover,
.page-index-our-advantages__promotion-card:hover,
.page-index-our-advantages__tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-our-advantages__feature-icon,
.page-index-our-advantages__game-image {
  width: 100%; /* Ensure images are responsive within cards */
  height: auto;
  max-height: 250px; /* Limit height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-our-advantages__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-our-advantages__card-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

/* Support Section */
.page-index-our-advantages__support-content,
.page-index-our-advantages__responsible-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  text-align: left;
}

.page-index-our-advantages__support-content img,
.page-index-our-advantages__responsible-content img {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-index-our-advantages__support-list,
.page-index-our-advantages__responsible-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-our-advantages__support-list li,
.page-index-our-advantages__responsible-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  color: #f0f0f0;
}

.page-index-our-advantages__list-highlight {
  color: #26A9E0;
}

/* Technology Section */
.page-index-our-advantages__tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* CTA Section */
.page-index-our-advantages__cta-container {
  background: linear-gradient(45deg, #26A9E0, #1a7fb0);
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 80px;
}

.page-index-our-advantages__cta-container .page-index-our-advantages__section-title {
  color: #FFFFFF;
}

.page-index-our-advantages__cta-container .page-index-our-advantages__section-description {
  color: #e0e0e0;
}

/* FAQ Section */
.page-index-our-advantages__faq-list {
  margin-top: 50px;
  text-align: left;
}

.page-index-our-advantages__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-index-our-advantages__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.2);
}

.page-index-our-advantages__faq-title {
  font-size: 1.2em;
  color: #FFFFFF;
  margin: 0;
}

.page-index-our-advantages__faq-toggle {
  font-size: 1.8em;
  color: #26A9E0;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-index-our-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

.page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-our-advantages__hero-title {
    font-size: 3em;
  }
  .page-index-our-advantages__hero-description {
    font-size: 1.1em;
  }
  .page-index-our-advantages__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-our-advantages__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 60vh;
  }
  .page-index-our-advantages__hero-title {
    font-size: 2.5em;
  }
  .page-index-our-advantages__hero-description {
    font-size: 1em;
  }
  .page-index-our-advantages__section {
    padding: 60px 0;
  }
  .page-index-our-advantages__section-title {
    font-size: 1.8em;
  }
  .page-index-our-advantages__section-description {
    font-size: 0.95em;
  }
  .page-index-our-advantages__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-our-advantages__btn-primary,
  .page-index-our-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-our-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-our-advantages__cta-buttons > a {
    width: 100%;
  }

  .page-index-our-advantages__support-content,
  .page-index-our-advantages__responsible-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-index-our-advantages__support-content img,
  .page-index-our-advantages__responsible-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-index-our-advantages__support-content > div,
  .page-index-our-advantages__responsible-content > div {
    width: 100%;
  }
  .page-index-our-advantages__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure all images are responsive */
  .page-index-our-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important; /* Enforce minimum size */
  }
  
  /* Card images */
  .page-index-our-advantages__feature-icon,
  .page-index-our-advantages__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-index-our-advantages__faq-question,
  .page-index-our-advantages__faq-answer {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-index-our-advantages__faq-item.active .page-index-our-advantages__faq-answer {
    padding: 15px 15px 25px !important;
  }

  /* Buttons and their containers */
  .page-index-our-advantages__cta-button,
  .page-index-our-advantages__btn-primary,
  .page-index-our-advantages__btn-secondary,
  .page-index-our-advantages a[class*="button"],
  .page-index-our-advantages a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index-our-advantages__cta-buttons,
  .page-index-our-advantages__button-group,
  .page-index-our-advantages__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-our-advantages__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-index-our-advantages__hero-title {
    font-size: 2em;
  }
  .page-index-our-advantages__section-title {
    font-size: 1.5em;
  }
  .page-index-our-advantages__card-title {
    font-size: 1.3em;
  }
}