/* style/index-review-iwin-club.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, assuming it's dark */
}

/* Ensure content is visible below fixed header */
.page-index-review-iwin-club__hero-banner {
  padding-top: 180px; /* Desktop: Adjust based on actual fixed header height */
}

.page-index-review-iwin-club__section {
  padding: 60px 20px;
  text-align: center;
}

.page-index-review-iwin-club__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-review-iwin-club__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-light); /* Default for dark sections */
}

/* Hero Banner */
.page-index-review-iwin-club__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-index-review-iwin-club__hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-index-review-iwin-club__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index-review-iwin-club__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
  color: var(--text-light);
}

.page-index-review-iwin-club__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
  overflow: hidden;
}

.page-index-review-iwin-club__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index-review-iwin-club__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  border: none;
  cursor: pointer;
}

.page-index-review-iwin-club__cta-button:hover {
  background: #218838; /* Darker secondary color */
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

.page-index-review-iwin-club__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

/* Sections */
.page-index-review-iwin-club__introduction.page-index-review-iwin-club__light-bg,
.page-index-review-iwin-club__game-types.page-index-review-iwin-club__light-bg,
.page-index-review-iwin-club__faq.page-index-review-iwin-club__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-index-review-iwin-club__introduction .page-index-review-iwin-club__section-title,
.page-index-review-iwin-club__game-types .page-index-review-iwin-club__section-title,
.page-index-review-iwin-club__faq .page-index-review-iwin-club__section-title {
  color: var(--text-dark);
}

.page-index-review-iwin-club__features.page-index-review-iwin-club__dark-bg,
.page-index-review-iwin-club__promotions.page-index-review-iwin-club__dark-bg,
.page-index-review-iwin-club__conclusion.page-index-review-iwin-club__dark-bg {
  background-color: #212529; /* Darker background for contrast */
  color: var(--text-light);
}

.page-index-review-iwin-club__features .page-index-review-iwin-club__section-title,
.page-index-review-iwin-club__promotions .page-index-review-iwin-club__section-title,
.page-index-review-iwin-club__conclusion .page-index-review-iwin-club__section-title {
  color: var(--text-light);
}

.page-index-review-iwin-club__section p {
  font-size: 17px;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlight text */
.page-index-review-iwin-club__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Features Grid */
.page-index-review-iwin-club__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__feature-card {
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-iwin-club__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.page-index-review-iwin-club__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-index-review-iwin-club__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-index-review-iwin-club__feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0;
}

.page-index-review-iwin-club__cta-wrapper {
  margin-top: 50px;
}

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

.page-index-review-iwin-club__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--shadow-light);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-review-iwin-club__card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.page-index-review-iwin-club__game-image {
  width: 100%;
  max-width: 300px; /* Adjust max-width as needed */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__game-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index-review-iwin-club__game-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.page-index-review-iwin-club__game-card-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto; /* Push button to bottom */
}

.page-index-review-iwin-club__game-card-button:hover {
  background: #0056b3; /* Darker primary color */
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

/* Promotions */
.page-index-review-iwin-club__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-index-review-iwin-club__promotion-item {
  background: var(--bg-dark-card);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: var(--shadow-light);
  color: var(--text-light);
}

.page-index-review-iwin-club__promotion-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-index-review-iwin-club__promotion-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0;
}

/* FAQ */
.page-index-review-iwin-club__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-iwin-club__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-review-iwin-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--primary-color);
}

.page-index-review-iwin-club__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-iwin-club__faq-question:active {
  background: #eeeeee;
}

.page-index-review-iwin-club__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-index-review-iwin-club__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-index-review-iwin-club__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #f9f9f9;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  color: var(--text-dark);
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-index-review-iwin-club__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
  color: var(--text-dark);
}

/* Conclusion */
.page-index-review-iwin-club__conclusion p {
  color: var(--text-light);
}

.page-index-review-iwin-club__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-index-review-iwin-club__text-link:hover {
  color: #218838;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-iwin-club__hero-title {
    font-size: 40px;
  }

  .page-index-review-iwin-club__hero-description {
    font-size: 18px;
  }

  .page-index-review-iwin-club__section-title {
    font-size: 30px;
  }

  .page-index-review-iwin-club__grid,
  .page-index-review-iwin-club__game-grid,
  .page-index-review-iwin-club__promotion-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-index-review-iwin-club__hero-banner {
    padding-top: 140px !important; /* Mobile: Adjust based on actual fixed header height */
    padding-bottom: 60px;
  }

  .page-index-review-iwin-club__hero-title {
    font-size: 32px;
  }

  .page-index-review-iwin-club__hero-description {
    font-size: 16px;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-index-review-iwin-club__cta-button--large {
    padding: 15px 40px;
    font-size: 18px;
  }

  .page-index-review-iwin-club__section {
    padding: 40px 15px;
  }

  .page-index-review-iwin-club__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-index-review-iwin-club__section p {
    font-size: 15px;
  }

  .page-index-review-iwin-club__grid,
  .page-index-review-iwin-club__game-grid,
  .page-index-review-iwin-club__promotion-list {
    gap: 20px;
  }

  .page-index-review-iwin-club__feature-card,
  .page-index-review-iwin-club__game-card,
  .page-index-review-iwin-club__promotion-item {
    padding: 20px;
  }

  .page-index-review-iwin-club__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-index-review-iwin-club__feature-title,
  .page-index-review-iwin-club__promotion-title {
    font-size: 18px;
  }

  .page-index-review-iwin-club__game-image {
    height: 150px;
  }

  .page-index-review-iwin-club__game-card-title {
    font-size: 20px;
  }

  .page-index-review-iwin-club__game-card p {
    font-size: 14px;
  }

  .page-index-review-iwin-club__game-card-button {
    padding: 10px 25px;
    font-size: 14px;
  }

  .page-index-review-iwin-club__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-iwin-club__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-iwin-club__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-iwin-club__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image responsiveness */
  .page-index-review-iwin-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-iwin-club__section,
  .page-index-review-iwin-club__card,
  .page-index-review-iwin-club__container,
  .page-index-review-iwin-club__feature-card,
  .page-index-review-iwin-club__game-card,
  .page-index-review-iwin-club__promotion-item,
  .page-index-review-iwin-club__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}