/* style/index-review-iwin-club.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #343a40;
  --border-color: #e0e0e0;
  --highlight-color: #ffc107;
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-index-review-iwin-club__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-index-review-iwin-club__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-index-review-iwin-club h1,
.page-index-review-iwin-club h2,
.page-index-review-iwin-club h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-index-review-iwin-club h1 {
  font-size: 2.8em;
  color: var(--text-color-light);
}

.page-index-review-iwin-club h2 {
  font-size: 2.2em;
  color: var(--primary-color);
}

.page-index-review-iwin-club h3 {
  font-size: 1.7em;
  color: var(--text-color-dark);
}

.page-index-review-iwin-club p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-index-review-iwin-club ul,
.page-index-review-iwin-club ol {
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-index-review-iwin-club li {
  margin-bottom: 8px;
}

.page-index-review-iwin-club a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-iwin-club a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Hero Section */
.page-index-review-iwin-club__hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Adjusted for contrast */
  color: var(--text-color-light);
  overflow: hidden;
}

.page-index-review-iwin-club__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index-review-iwin-club__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Constrain image width */
}

.page-index-review-iwin-club__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-index-review-iwin-club__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-iwin-club__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index-review-iwin-club__cta-button:hover {
  background: #218838; /* Darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

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

/* Feature Grid */
.page-index-review-iwin-club__features-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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-index-review-iwin-club__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index-review-iwin-club__feature-card img {
  max-width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__feature-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  text-align: center;
}

.page-index-review-iwin-club__feature-card p {
  font-size: 1em;
  color: var(--text-color-dark);
  flex-grow: 1;
  text-align: justify;
}

.page-index-review-iwin-club__button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-review-iwin-club__button:hover {
  background: #0056b3; /* Darker primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.page-index-review-iwin-club__button--primary {
  background: var(--primary-color);
}

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

.page-index-review-iwin-club__button--highlight:hover {
  background: #e0a800; /* Darker highlight color */
  color: var(--text-color-dark);
}

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

.page-index-review-iwin-club__step-card {
  background: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
}

.page-index-review-iwin-club__step-card h3 {
  color: var(--secondary-color);
  text-align: left;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__step-card ol {
  list-style-type: decimal;
  padding-left: 20px;
}

.page-index-review-iwin-club__step-card li {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Comparison Table */
.page-index-review-iwin-club__comparison-table {
  overflow-x: auto;
  margin-top: 40px;
}

.page-index-review-iwin-club__comparison-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.page-index-review-iwin-club__comparison-table th,
.page-index-review-iwin-club__comparison-table td {
  border: 1px solid var(--border-color);
  padding: 15px;
  text-align: left;
}

.page-index-review-iwin-club__comparison-table th {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  font-weight: bold;
  font-size: 1.1em;
}

.page-index-review-iwin-club__comparison-table tr:nth-child(even) {
  background-color: var(--background-light);
}

.page-index-review-iwin-club__comparison-table td {
  color: var(--text-color-dark);
}

/* FAQ Section */
.page-index-review-iwin-club__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: var(--background-light);
  border-radius: 0 0 8px 8px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
  padding-top: 15px;
}

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.faq-answer p {
  margin-bottom: 0;
  color: var(--text-color-dark);
  text-align: justify;
}

/* Images in content */
.page-index-review-iwin-club__section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-iwin-club h1 {
    font-size: 2.2em;
  }

  .page-index-review-iwin-club h2 {
    font-size: 1.8em;
  }

  .page-index-review-iwin-club h3 {
    font-size: 1.4em;
  }

  .page-index-review-iwin-club__hero-content p {
    font-size: 1.1em;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }

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

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

  .page-index-review-iwin-club__feature-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club__container {
    padding: 15px;
  }

  .page-index-review-iwin-club h1 {
    font-size: 1.8em;
  }

  .page-index-review-iwin-club h2 {
    font-size: 1.6em;
  }

  .page-index-review-iwin-club h3 {
    font-size: 1.3em;
  }

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

  .page-index-review-iwin-club__hero-image {
    margin-bottom: 20px;
  }

  .page-index-review-iwin-club__hero-content p {
    font-size: 1em;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-review-iwin-club__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-index-review-iwin-club__features-grid {
    grid-template-columns: 1fr;
  }

  .page-index-review-iwin-club__feature-card {
    padding: 20px;
  }

  .page-index-review-iwin-club__feature-card img {
    height: 180px;
  }

  .page-index-review-iwin-club__download-steps {
    grid-template-columns: 1fr;
  }

  .page-index-review-iwin-club__step-card {
    padding: 20px;
  }

  .page-index-review-iwin-club__comparison-table th,
  .page-index-review-iwin-club__comparison-table td {
    padding: 10px;
    font-size: 0.9em;
  }

  .faq-question {
    padding: 15px 18px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
    padding-top: 10px;
  }
}