.page-index-about-iwin {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Assume shared.css provides this dark background */
}

.page-index-about-iwin__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  text-align: center;
  background: linear-gradient(135deg, #017439, #005a2d); /* Brand color gradient */
  color: #ffffff;
}

.page-index-about-iwin__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-about-iwin__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-about-iwin__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-about-iwin__btn-primary,
.page-index-about-iwin__btn-secondary,
.page-index-about-iwin__btn-register,
.page-index-about-iwin__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-index-about-iwin__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-index-about-iwin__btn-primary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-index-about-iwin__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-about-iwin__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
  border-color: #005a2d;
}

.page-index-about-iwin__btn-register,
.page-index-about-iwin__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-index-about-iwin__btn-register:hover,
.page-index-about-iwin__btn-login:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-index-about-iwin__section {
  padding: 60px 0;
}

.page-index-about-iwin__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-index-about-iwin__dark-bg {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-index-about-iwin__content-area {
  padding: 0 15px;
}

.page-index-about-iwin__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: inherit; /* Inherit color from parent section (light/dark bg) */
}

.page-index-about-iwin__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-index-about-iwin__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-index-about-iwin__grid-layout.--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-index-about-iwin__grid-layout.--reverse .page-index-about-iwin__image-wrapper {
  order: 2;
}

.page-index-about-iwin__grid-layout.--reverse .page-index-about-iwin__text-block {
  order: 1;
}

.page-index-about-iwin__image-wrapper {
  text-align: center;
}

.page-index-about-iwin__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

.page-index-about-iwin__text-block h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: inherit;
}

.page-index-about-iwin__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-index-about-iwin__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-index-about-iwin__text-block a:hover {
  color: #005a2d;
}

.page-index-about-iwin__values-grid,
.page-index-about-iwin__products-grid,
.page-index-about-iwin__promotions-grid,
.page-index-about-iwin__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-about-iwin__card,
.page-index-about-iwin__product-card,
.page-index-about-iwin__promotion-card,
.page-index-about-iwin__step-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-iwin__card:hover,
.page-index-about-iwin__product-card:hover,
.page-index-about-iwin__promotion-card:hover,
.page-index-about-iwin__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-about-iwin__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-about-iwin__product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-iwin__product-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index-about-iwin__product-title a {
  color: #017439;
  text-decoration: none;
}

.page-index-about-iwin__product-title a:hover {
  color: #005a2d;
  text-decoration: underline;
}

.page-index-about-iwin__support-list {
  list-style-type: disc;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-index-about-iwin__support-list li {
  margin-bottom: 10px;
}

.page-index-about-iwin__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-index-about-iwin__responsible-gaming-content {
  max-width: 900px;
  margin: 0 auto;
  color: inherit;
}

.page-index-about-iwin__responsible-list {
  list-style-type: decimal;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-index-about-iwin__responsible-list li {
  margin-bottom: 10px;
}

.page-index-about-iwin__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-index-about-iwin__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-index-about-iwin__faq-item {
  background-color: var(--dark-bg-1);
  color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-about-iwin__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-about-iwin__faq-question:hover {
  background-color: #005a2d;
}

.page-index-about-iwin__faq-title {
  margin: 0;
  color: inherit;
}

.page-index-about-iwin__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-about-iwin__faq-item.active .page-index-about-iwin__faq-toggle {
  transform: rotate(0deg);
}

.page-index-about-iwin__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-index-about-iwin__faq-item.active .page-index-about-iwin__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px;
}

.page-index-about-iwin__faq-answer p {
  margin-bottom: 15px;
  color: inherit;
}

.page-index-about-iwin__faq-answer a {
  color: #FFFF00; /* Yellow for links in dark background */
  text-decoration: underline;
}

.page-index-about-iwin__faq-answer a:hover {
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-about-iwin__main-title {
    font-size: 2.8em;
  }
  .page-index-about-iwin__section-title {
    font-size: 2em;
  }
  .page-index-about-iwin__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-index-about-iwin__grid-layout.--reverse .page-index-about-iwin__image-wrapper {
    order: unset;
  }
  .page-index-about-iwin__grid-layout.--reverse .page-index-about-iwin__text-block {
    order: unset;
  }
  .page-index-about-iwin__text-block {
    text-align: center;
  }
  .page-index-about-iwin__support-list,
  .page-index-about-iwin__responsible-list {
    text-align: center;
    margin-left: 0;
    list-style-position: inside;
  }
}

@media (max-width: 768px) {
  .page-index-about-iwin {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-about-iwin__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }
  .page-index-about-iwin__main-title {
    font-size: 2.2em;
  }
  .page-index-about-iwin__intro-text {
    font-size: 1.1em;
  }
  .page-index-about-iwin__section {
    padding: 40px 0;
  }
  .page-index-about-iwin__section-title {
    font-size: 1.8em;
  }
  .page-index-about-iwin__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-about-iwin__btn-primary,
  .page-index-about-iwin__btn-secondary,
  .page-index-about-iwin__btn-register,
  .page-index-about-iwin__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-about-iwin img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-about-iwin__section,
  .page-index-about-iwin__card,
  .page-index-about-iwin__container,
  .page-index-about-iwin__product-card,
  .page-index-about-iwin__promotion-card,
  .page-index-about-iwin__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-about-iwin__cta-buttons,
  .page-index-about-iwin__button-group,
  .page-index-about-iwin__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }
  .page-index-about-iwin__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-index-about-iwin__faq-answer {
    padding: 0 15px;
  }
  .page-index-about-iwin__faq-item.active .page-index-about-iwin__faq-answer {
    padding: 15px;
  }
}