/* style/index-review-iwin-club.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --dark-bg-1: #0d0d0d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for page content, assuming body is dark */
  background-color: var(--dark-bg-1); /* Inherit from shared.css, ensure contrast */
  line-height: 1.6;
  padding-top: 120px; /* Space for fixed header */
}

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

.page-index-review-iwin-club__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-index-review-iwin-club__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-index-review-iwin-club__strong-keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

/* HERO Review Banner Section */
.page-index-review-iwin-club__hero-review-banner {
  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, #007bff, #0056b3);
  overflow: hidden;
}

.page-index-review-iwin-club__hero-review-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-review-image {
  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);
  margin-bottom: 30px;
}

.page-index-review-iwin-club__hero-review-content {
  color: var(--text-light);
  max-width: 800px;
}

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

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

.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: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* Introduction Section */
.page-index-review-iwin-club__introduction-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__introduction-section .page-index-review-iwin-club__text-block {
  color: var(--text-light);
}

/* Review Details Section */
.page-index-review-iwin-club__review-details-section {
  padding: 60px 20px;
  background-color: #f1f3f5; /* Lighter background for cards */
}

.page-index-review-iwin-club__review-details-section .page-index-review-iwin-club__section-title {
  color: var(--text-dark);
}

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

.page-index-review-iwin-club__review-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark); /* Dark text for light card background */
}

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

.page-index-review-iwin-club__card-image {
  width: 100%;
  max-width: 300px; /* Ensure images are large enough */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-index-review-iwin-club__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

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

.page-index-review-iwin-club__card-text a:hover {
  text-decoration: underline;
}

/* Highlights Section */
.page-index-review-iwin-club__highlights-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__highlights-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-index-review-iwin-club__highlights-content .page-index-review-iwin-club__text-block {
  flex: 1;
  color: var(--text-light);
}

.page-index-review-iwin-club__highlights-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Registration Guide Section */
.page-index-review-iwin-club__registration-guide-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
}

.page-index-review-iwin-club__registration-guide-section .page-index-review-iwin-club__section-title {
  color: var(--text-dark);
}

.page-index-review-iwin-club__registration-guide-section .page-index-review-iwin-club__text-block {
  color: var(--text-dark);
}

.page-index-review-iwin-club__registration-steps {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.8;
}

.page-index-review-iwin-club__registration-steps strong {
  color: var(--primary-color);
}

.page-index-review-iwin-club__registration-steps a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-iwin-club__registration-steps a:hover {
  text-decoration: underline;
}

.page-index-review-iwin-club__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

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

.page-index-review-iwin-club__cta-button--primary:hover {
  background: #0056b3;
}

.page-index-review-iwin-club__cta-button--secondary {
  background: #6c757d; /* Grey for secondary action */
}

.page-index-review-iwin-club__cta-button--secondary:hover {
  background: #5a6268;
}

.page-index-review-iwin-club__registration-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* FAQ Section */
.page-index-review-iwin-club__faq-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__faq-section .page-index-review-iwin-club__section-title {
  color: var(--text-light);
}

.page-index-review-iwin-club__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.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-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: #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: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f0f0f0;
}

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

.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-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; /* Sufficiently large to show content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-index-review-iwin-club__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-dark);
}

.page-index-review-iwin-club__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-iwin-club__faq-answer p a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-index-review-iwin-club__conclusion-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  text-align: center;
}

.page-index-review-iwin-club__conclusion-section .page-index-review-iwin-club__text-block {
  color: var(--text-light);
}

.page-index-review-iwin-club__cta-button--final {
  background: var(--primary-color);
  margin-top: 30px;
}

.page-index-review-iwin-club__cta-button--final:hover {
  background: #0056b3;
}

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

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

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

  .page-index-review-iwin-club__highlights-content {
    flex-direction: column;
  }

  .page-index-review-iwin-club__highlights-image {
    max-width: 100%;
  }

  .page-index-review-iwin-club__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-review-iwin-club__cta-button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club {
    padding-top: 100px !important; /* Mobile space for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-review-iwin-club__container {
    padding: 0 15px;
  }

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

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

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

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

  .page-index-review-iwin-club__text-block {
    font-size: 16px;
  }

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

  .page-index-review-iwin-club__review-card {
    padding: 25px;
  }

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

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

  .page-index-review-iwin-club__highlights-content {
    gap: 30px;
  }

  .page-index-review-iwin-club__registration-steps {
    font-size: 16px;
    padding-left: 20px;
  }

  .page-index-review-iwin-club__faq-question {
    padding: 15px 20px;
  }

  .page-index-review-iwin-club__faq-question h3 {
    font-size: 16px;
  }

  .page-index-review-iwin-club__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-index-review-iwin-club__faq-answer {
    padding: 0 20px;
  }

  .page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
    padding: 15px 20px !important;
  }

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

  /* Ensure all images are responsive and do not overflow */
  .page-index-review-iwin-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index-review-iwin-club__hero-review-image,
  .page-index-review-iwin-club__card-image,
  .page-index-review-iwin-club__highlights-image,
  .page-index-review-iwin-club__registration-image {
    border-radius: 8px;
  }

  .page-index-review-iwin-club__hero-review-banner,
  .page-index-review-iwin-club__introduction-section,
  .page-index-review-iwin-club__review-details-section,
  .page-index-review-iwin-club__highlights-section,
  .page-index-review-iwin-club__registration-guide-section,
  .page-index-review-iwin-club__faq-section,
  .page-index-review-iwin-club__conclusion-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-iwin-club__hero-review-title {
    font-size: 28px;
  }

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

  .page-index-review-iwin-club__cta-button {
    width: 95%;
    max-width: none;
  }

  .page-index-review-iwin-club__faq-question h3 {
    font-size: 15px;
  }
}