/* style/index-review-iwin-club.css */
:root {
  --primary-color: #FF4500;
  --secondary-color: #1E90FF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --background-dark: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark color if var is not defined */
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-dark); /* Assume body is dark-bg-1 */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

@media (max-width: 768px) {
  .page-index-review-iwin-club {
    padding-top: 100px; /* Mobile: Ensure content is not hidden by fixed header */
  }
}

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

@media (max-width: 768px) {
  .page-index-review-iwin-club__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Text colors based on background */
.page-index-review-iwin-club__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index-review-iwin-club__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-index-review-iwin-club__dark-bg h1,
.page-index-review-iwin-club__dark-bg h2,
.page-index-review-iwin-club__dark-bg h3 {
  color: var(--text-light);
}

.page-index-review-iwin-club__light-bg h1,
.page-index-review-iwin-club__light-bg h2,
.page-index-review-iwin-club__light-bg h3 {
  color: var(--text-dark);
}

.page-index-review-iwin-club__main-title,
.page-index-review-iwin-club__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-review-iwin-club__lead-text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-review-iwin-club__cta-button:hover {
  background: #E63900;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__small-button {
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 15px;
}

.page-index-review-iwin-club__call-to-action {
  text-align: center;
  margin-top: 40px;
  font-size: 20px;
  font-weight: bold;
}

/* Intro Section */
.page-index-review-iwin-club__intro-section .page-index-review-iwin-club__container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-index-review-iwin-club__intro-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Review Section */
.page-index-review-iwin-club__review-card {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

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

.page-index-review-iwin-club__feature-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Games Section */
.page-index-review-iwin-club__full-width-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-iwin-club__game-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

/* Promotions Section */
.page-index-review-iwin-club__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-review-iwin-club__promo-list li {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__promo-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index-review-iwin-club__promo-list p {
  margin-bottom: 0;
}

/* User Experience Section */
.page-index-review-iwin-club__experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__experience-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-index-review-iwin-club__app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 20px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Pros and Cons Section */
.page-index-review-iwin-club__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__pros-card,
.page-index-review-iwin-club__cons-card {
  background: var(--card-background);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-index-review-iwin-club__list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-index-review-iwin-club__pros-card li::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #28a745;
}

.page-index-review-iwin-club__cons-card li::before {
  content: '❌';
  position: absolute;
  left: 0;
  color: #dc3545;
}

/* How to Join Section */
.page-index-review-iwin-club__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-index-review-iwin-club__step-list li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-review-iwin-club__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* FAQ Section */
.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: rgba(255, 255, 255, 0.05); /* Slightly lighter for contrast */
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

.page-index-review-iwin-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-index-review-iwin-club__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-index-review-iwin-club__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.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-light);
}

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

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

.page-index-review-iwin-club__blog-card {
  background: var(--card-background);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.page-index-review-iwin-club__blog-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px;
  line-height: 1.4;
}

.page-index-review-iwin-club__blog-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-review-iwin-club__blog-card h3 a:hover {
  color: var(--primary-color);
}

.page-index-review-iwin-club__blog-excerpt {
  padding: 0 20px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-review-iwin-club__read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.page-index-review-iwin-club__read-more:hover {
  background: #1A7DD9;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-review-iwin-club__main-title,
  .page-index-review-iwin-club__section-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .page-index-review-iwin-club__lead-text {
    font-size: 16px;
  }

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

  .page-index-review-iwin-club__card-title {
    font-size: 22px;
  }

  .page-index-review-iwin-club__game-grid,
  .page-index-review-iwin-club__experience-grid,
  .page-index-review-iwin-club__grid-2-cols,
  .page-index-review-iwin-club__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-iwin-club__experience-item,
  .page-index-review-iwin-club__game-item,
  .page-index-review-iwin-club__review-card,
  .page-index-review-iwin-club__promo-list li,
  .page-index-review-iwin-club__step-list li,
  .page-index-review-iwin-club__blog-card {
    padding: 20px;
  }

  .page-index-review-iwin-club__blog-image {
    height: 180px;
  }

  .page-index-review-iwin-club__app-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club__main-title,
  .page-index-review-iwin-club__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-index-review-iwin-club__lead-text {
    font-size: 15px;
  }

  .page-index-review-iwin-club__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }

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

  .page-index-review-iwin-club__promo-title,
  .page-index-review-iwin-club__game-item-title,
  .page-index-review-iwin-club__item-title,
  .page-index-review-iwin-club__step-title {
    font-size: 18px;
  }

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

  /* Mobile image scaling */
  .page-index-review-iwin-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-iwin-club__intro-section,
  .page-index-review-iwin-club__review-section,
  .page-index-review-iwin-club__games-section,
  .page-index-review-iwin-club__promotions-section,
  .page-index-review-iwin-club__user-experience-section,
  .page-index-review-iwin-club__pros-cons-section,
  .page-index-review-iwin-club__how-to-join-section,
  .page-index-review-iwin-club__conclusion-section,
  .page-index-review-iwin-club__faq-section,
  .page-index-review-iwin-club__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ Mobile adjustments */
  .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;
  }
}