/* style/index-review-iwin-club.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #FFD700;
    --dark-bg-1: #0d0d0d;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-iwin-club {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1);
}

/* --- Fixed Header Padding --- */
.page-index-review-iwin-club__introduction-section {
    padding-top: 120px; /* Desktop: Adjust for fixed header */
    padding-bottom: 40px;
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

.page-index-review-iwin-club__review-section,
.page-index-review-iwin-club__promotions-section,
.page-index-review-iwin-club__conclusion-section,
.page-index-review-iwin-club__faq-section {
    padding: 40px 0;
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

.page-index-review-iwin-club__games-section,
.page-index-review-iwin-club__transactions-support-section,
.page-index-review-iwin-club__blog-section {
    padding: 40px 0;
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

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

.page-index-review-iwin-club__main-title {
    font-size: 38px;
    font-weight: bold;
    color: var(--light-text-color);
    text-align: center;
    margin-bottom: 30px;
}

.page-index-review-iwin-club__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--light-text-color);
    text-align: center;
    margin-bottom: 30px;
}

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

.page-index-review-iwin-club__overview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    gap: 25px;
}

.page-index-review-iwin-club__overview-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-review-iwin-club__overview-content p {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.page-index-review-iwin-club__content-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-top: 25px;
    color: var(--light-text-color);
}

.page-index-review-iwin-club__content-card p {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.page-index-review-iwin-club__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px auto;
    display: block;
    object-fit: cover;
}

.page-index-review-iwin-club__cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    text-align: center;
}

.page-index-review-iwin-club__btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.page-index-review-iwin-club__btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.page-index-review-iwin-club__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-review-iwin-club__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-index-review-iwin-club__link-in-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-iwin-club__link-in-text:hover {
    color: #ffd000;
    text-decoration: underline;
}

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

.page-index-review-iwin-club__game-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--light-text-color);
}

.page-index-review-iwin-club__game-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-index-review-iwin-club__promo-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-index-review-iwin-club__promo-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--light-text-color);
}

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

.page-index-review-iwin-club__blog-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-index-review-iwin-club__blog-link {
    color: var(--light-text-color);
    text-decoration: none;
}

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

.page-index-review-iwin-club__blog-excerpt {
    font-size: 15px;
    color: #cccccc;
    margin: 0 15px 15px;
    flex-grow: 1;
}

.page-index-review-iwin-club__read-more {
    display: inline-block;
    margin: 0 15px 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-iwin-club__read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

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

.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, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.05);
  color: #cccccc;
}

.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-color: rgba(255, 255, 255, 0.05);
  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-color: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  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-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-index-review-iwin-club {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-review-iwin-club__introduction-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 30px;
    }

    .page-index-review-iwin-club__review-section,
    .page-index-review-iwin-club__promotions-section,
    .page-index-review-iwin-club__conclusion-section,
    .page-index-review-iwin-club__faq-section,
    .page-index-review-iwin-club__games-section,
    .page-index-review-iwin-club__transactions-support-section,
    .page-index-review-iwin-club__blog-section {
        padding: 30px 0;
    }

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

    .page-index-review-iwin-club__main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

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

    .page-index-review-iwin-club__sub-title {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

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

    .page-index-review-iwin-club__overview-content p,
    .page-index-review-iwin-club__content-card p,
    .page-index-review-iwin-club__game-list li,
    .page-index-review-iwin-club__promo-list li,
    .page-index-review-iwin-club__blog-excerpt {
        font-size: 15px;
    }

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

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

    .page-index-review-iwin-club__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-iwin-club__blog-title {
        font-size: 18px;
        margin: 10px 15px;
    }

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

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

    /* Ensure all images are responsive */
    .page-index-review-iwin-club img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-iwin-club__introduction-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__transactions-support-section,
    .page-index-review-iwin-club__conclusion-section,
    .page-index-review-iwin-club__blog-section,
    .page-index-review-iwin-club__faq-section,
    .page-index-review-iwin-club__container,
    .page-index-review-iwin-club__overview-card,
    .page-index-review-iwin-club__content-card,
    .page-index-review-iwin-club__blog-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}