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

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Ensure main content clears fixed header */
.page-index-review-iwin-club__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on actual header height */
}

.page-index-review-iwin-club {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-color-dark);
  background-color: var(--background-light); /* Assuming shared.css body background is dark, this section will be light */
}

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

.page-index-review-iwin-club__main-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-index-review-iwin-club__section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color-dark);
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-index-review-iwin-club__intro-text {
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-index-review-iwin-club__main-image,
.page-index-review-iwin-club__card-image,
.page-index-review-iwin-club__article-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-color);
  margin: 0 auto;
  object-fit: cover;
}

.page-index-review-iwin-club__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 40px auto;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-iwin-club__cta-button--primary {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-index-review-iwin-club__cta-button--primary:hover {
  background: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--text-color-dark);
}

.page-index-review-iwin-club__cta-button--secondary:hover {
  background: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__review-section,
.page-index-review-iwin-club__guide-section,
.page-index-review-iwin-club__pros-cons-section,
.page-index-review-iwin-club__conclusion-section,
.page-index-review-iwin-club__faq-section,
.page-index-review-iwin-club__related-articles-section {
  padding: 40px 0;
  background-color: var(--background-light);
}

.page-index-review-iwin-club__main-review-section {
    padding: 40px 0;
    background-color: var(--background-light);
}

.page-index-review-iwin-club__review-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow-color);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: left;
}

.page-index-review-iwin-club__review-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

.page-index-review-iwin-club__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-review-iwin-club__guide-list li {
  background: var(--card-background);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 17px;
  line-height: 1.6;
}

.page-index-review-iwin-club__guide-list li strong {
  color: var(--primary-color);
}

.page-index-review-iwin-club__grid {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.page-index-review-iwin-club__pros-card,
.page-index-review-iwin-club__cons-card {
  flex: 1;
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow-color);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__pros-card .page-index-review-iwin-club__card-title {
  color: #28a745;
}

.page-index-review-iwin-club__cons-card .page-index-review-iwin-club__card-title {
  color: #dc3545;
}

.page-index-review-iwin-club__list {
  list-style-type: disc;
  padding-left: 20px;
}

.page-index-review-iwin-club__list li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-index-review-iwin-club__list-highlight {
  color: var(--text-color-dark);
}

/* FAQ Styles */
.page-index-review-iwin-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-iwin-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.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: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark);
}

.page-index-review-iwin-club__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X */
}

.page-index-review-iwin-club__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-review-iwin-club__article-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--shadow-color);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-color-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-index-review-iwin-club__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-review-iwin-club__article-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 15px;
  margin-bottom: 0;
}

.page-index-review-iwin-club__article-excerpt {
  font-size: 15px;
  line-height: 1.6;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-index-review-iwin-club__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-index-review-iwin-club__link:hover {
  text-decoration: underline;
  color: darken(var(--primary-color), 10%);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-iwin-club__main-title {
    font-size: 32px;
  }
  .page-index-review-iwin-club__section-title {
    font-size: 28px;
  }
  .page-index-review-iwin-club__review-card,
  .page-index-review-iwin-club__pros-card,
  .page-index-review-iwin-club__cons-card {
    padding: 25px;
  }
  .page-index-review-iwin-club__grid {
    flex-direction: column;
    gap: 20px;
  }
  .page-index-review-iwin-club__article-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on actual header height */
  }
  .page-index-review-iwin-club__container {
    padding: 15px;
  }
  .page-index-review-iwin-club__main-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-index-review-iwin-club__section-title {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index-review-iwin-club__intro-text,
  .page-index-review-iwin-club__review-card p,
  .page-index-review-iwin-club__guide-list li,
  .page-index-review-iwin-club__list li,
  .page-index-review-iwin-club__article-excerpt {
    font-size: 15px;
    line-height: 1.7;
  }
  .page-index-review-iwin-club__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index-review-iwin-club__review-card,
  .page-index-review-iwin-club__pros-card,
  .page-index-review-iwin-club__cons-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-index-review-iwin-club__card-title {
    font-size: 20px;
  }
  .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;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}