/* style/index-core-advantages.css */
.page-index-core-advantages {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so text is light */
  line-height: 1.6;
  background-color: transparent; /* Inherit from body */
}

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

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

.page-index-core-advantages__hero-section {
  position: relative;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-index-core-advantages__hero-section .page-index-core-advantages__container {
  position: relative;
  z-index: 2;
}

.page-index-core-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.page-index-core-advantages__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

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

.page-index-core-advantages__btn-primary,
.page-index-core-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;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-core-advantages__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

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

.page-index-core-advantages__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-index-core-advantages__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-index-core-advantages__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 700;
  color: #26A9E0;
}

.page-index-core-advantages__intro-section,
.page-index-core-advantages__conclusion-section,
.page-index-core-advantages__faq-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  color: #ffffff;
}

.page-index-core-advantages__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
  color: #f0f0f0;
}

.page-index-core-advantages__highlight {
  color: #26A9E0;
  font-weight: bold;
}

.page-index-core-advantages__inline-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-index-core-advantages__inline-link:hover {
  text-decoration: underline;
}

.page-index-core-advantages__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-index-core-advantages__advantages-grid {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-index-core-advantages__advantage-item {
  background-color: rgba(255, 255, 255, 0.08); /* Card-like background */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: #ffffff;
}

.page-index-core-advantages__advantage-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-index-core-advantages__advantage-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-index-core-advantages__game-category {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 5px solid #26A9E0;
}

.page-index-core-advantages__game-subtitle {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-core-advantages__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-index-core-advantages__cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-core-advantages__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-index-core-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-index-core-advantages__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-core-advantages__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-index-core-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-index-core-advantages__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index-core-advantages__hero-title {
    font-size: 3em;
  }
  .page-index-core-advantages__hero-description {
    font-size: 1.2em;
  }
  .page-index-core-advantages__section-title {
    font-size: 2.2em;
  }
  .page-index-core-advantages__advantage-title {
    font-size: 1.8em;
  }
  .page-index-core-advantages__game-subtitle {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-core-advantages__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-index-core-advantages__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  .page-index-core-advantages__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index-core-advantages__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-core-advantages__btn-primary,
  .page-index-core-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-core-advantages__section {
    padding: 40px 0;
  }
  .page-index-core-advantages__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-index-core-advantages__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }
  
  .page-index-core-advantages__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-index-core-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-index-core-advantages__section,
  .page-index-core-advantages__card,
  .page-index-core-advantages__container,
  .page-index-core-advantages__advantage-item,
  .page-index-core-advantages__game-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-index-core-advantages__advantage-item {
    padding: 20px;
  }
  .page-index-core-advantages__advantage-title {
    font-size: 1.5em;
  }
  .page-index-core-advantages__game-subtitle {
    font-size: 1.2em;
  }
  .page-index-core-advantages__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-index-core-advantages__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-index-core-advantages__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
}

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