/* style/index-review-iwin-club.css */
:root {
    --primary-color: #8B0000; /* Deep Red */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #111;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

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

/* Fixed Nav Spacing */
.page-index-review-iwin-club__review-content-section {
    padding-top: 120px; /* Adjust based on actual header height */
}

/* General Section Styling */
.page-index-review-iwin-club__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-index-review-iwin-club__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.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(--card-background);
    color: var(--text-dark);
}

/* CTA Button Styling */
.page-index-review-iwin-club__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    border: none;
}

.page-index-review-iwin-club__btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #B22222);
    color: var(--text-light);
}

.page-index-review-iwin-club__btn-primary:hover {
    background: linear-gradient(135deg, #B22222, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #DAA520);
    color: var(--text-dark);
}

.page-index-review-iwin-club__btn-secondary:hover {
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Review Content Section (Module 1.5) */
.page-index-review-iwin-club__review-content-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-index-review-iwin-club__review-content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-index-review-iwin-club__review-content-card {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-dark);
}

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

.page-index-review-iwin-club__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.8;
}

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

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

.page-index-review-iwin-club__review-body h2.page-index-review-iwin-club__subtitle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.page-index-review-iwin-club__review-body p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

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

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

.page-index-review-iwin-club__rating-summary {
    text-align: center;
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-index-review-iwin-club__rating-summary .page-index-review-iwin-club__stars {
    color: var(--secondary-color);
    margin-right: 10px;
}

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

.page-index-review-iwin-club__introduction-section .page-index-review-iwin-club__container {
    padding: 40px;
    background-color: var(--card-background);
    color: var(--text-dark);
}

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

.page-index-review-iwin-club__intro-item {
    text-align: center;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fcfcfc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-iwin-club__intro-image {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-review-iwin-club__intro-item h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-review-iwin-club__intro-item p {
    font-size: 15px;
    line-height: 1.7;
}

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

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

/* Games Section (Module 3) */
.page-index-review-iwin-club__games-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-index-review-iwin-club__games-section .page-index-review-iwin-club__container {
    padding: 40px;
    background-color: var(--card-background);
    color: var(--text-dark);
}

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

.page-index-review-iwin-club__game-card {
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-iwin-club__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-index-review-iwin-club__game-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-review-iwin-club__game-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 15px;
}

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

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

.page-index-review-iwin-club__game-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--secondary-color), #DAA520);
    color: var(--text-dark);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-index-review-iwin-club__game-button:hover {
    background: linear-gradient(135deg, #DAA520, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Promotions Section (Module 4) */
.page-index-review-iwin-club__promotions-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-index-review-iwin-club__promotions-section .page-index-review-iwin-club__container {
    padding: 40px;
    background-color: var(--card-background);
    color: var(--text-dark);
}

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

.page-index-review-iwin-club__promo-card {
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-iwin-club__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.page-index-review-iwin-club__promo-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-review-iwin-club__promo-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 15px;
}

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

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

.page-index-review-iwin-club__promo-button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--primary-color), #B22222);
    color: var(--text-light);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-index-review-iwin-club__promo-button:hover {
    background: linear-gradient(135deg, #B22222, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-index-review-iwin-club__faq-section .page-index-review-iwin-club__container {
    padding: 40px;
    background-color: var(--card-background);
    color: var(--text-dark);
}

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

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

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

.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: #333;
  transform: rotate(45deg);
}

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

/* Latest Blog Section (Module 5) */
.page-index-review-iwin-club__latest-blog-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-index-review-iwin-club__latest-blog-section .page-index-review-iwin-club__container {
    padding: 40px;
    background-color: var(--card-background);
    color: var(--text-dark);
}

.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-post-card {
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-iwin-club__blog-image {
    width: 100%;
    height: 220px; 
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-index-review-iwin-club__blog-content {
    padding: 20px;
}

.page-index-review-iwin-club__blog-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-index-review-iwin-club__blog-content h3 a:hover {
    text-decoration: underline;
}

.page-index-review-iwin-club__blog-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

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

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

.page-index-review-iwin-club__read-more:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-review-iwin-club__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-iwin-club__main-title {
        font-size: 34px;
    }
    .page-index-review-iwin-club__review-body h2.page-index-review-iwin-club__subtitle {
        font-size: 26px;
    }
    .page-index-review-iwin-club__section-title {
        font-size: 28px;
    }
    .page-index-review-iwin-club__intro-grid, .page-index-review-iwin-club__games-carousel, .page-index-review-iwin-club__promotions-grid, .page-index-review-iwin-club__blog-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-index-review-iwin-club__review-content-section {
        padding-top: 100px !important; /* Mobile adjust */
        padding: 30px 15px;
    }
    .page-index-review-iwin-club__review-content-container, .page-index-review-iwin-club__container {
        padding: 0 15px !important; /* Ensure containers have padding on mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-iwin-club__review-content-card, .page-index-review-iwin-club__introduction-section .page-index-review-iwin-club__container, .page-index-review-iwin-club__games-section .page-index-review-iwin-club__container, .page-index-review-iwin-club__promotions-section .page-index-review-iwin-club__container, .page-index-review-iwin-club__faq-section .page-index-review-iwin-club__container, .page-index-review-iwin-club__latest-blog-section .page-index-review-iwin-club__container {
        padding: 25px 20px;
    }

    .page-index-review-iwin-club__main-title {
        font-size: 28px;
    }
    .page-index-review-iwin-club__intro-text {
        font-size: 16px;
    }
    .page-index-review-iwin-club__review-body h2.page-index-review-iwin-club__subtitle {
        font-size: 22px;
    }
    .page-index-review-iwin-club__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-iwin-club__intro-grid, .page-index-review-iwin-club__games-carousel, .page-index-review-iwin-club__promotions-grid, .page-index-review-iwin-club__blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-index-review-iwin-club__intro-image, .page-index-review-iwin-club__game-image, .page-index-review-iwin-club__promo-image, .page-index-review-iwin-club__blog-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-iwin-club__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .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__blog-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-index-review-iwin-club__main-title {
        font-size: 24px;
    }
    .page-index-review-iwin-club__review-body h2.page-index-review-iwin-club__subtitle {
        font-size: 20px;
    }
    .page-index-review-iwin-club__section-title {
        font-size: 22px;
    }
    .page-index-review-iwin-club__cta-button {
        font-size: 14px;
        padding: 10px 20px;
    }
    .page-index-review-iwin-club__intro-image {
        max-width: 200px;
    }
}