/* style/index-review-iwin-club.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-light-grey: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --button-hover-dark: #ccaa00;
    --button-hover-light: #000066;
}

.page-index-review-iwin-club {
    color: var(--text-color-dark); /* Default text color for light background */
    background: var(--background-light-grey); /* Assuming body background is light grey or similar */
    padding-top: 120px; /* Spacing for fixed header */
}

@media (max-width: 768px) {
    .page-index-review-iwin-club {
        padding-top: 100px; /* Adjusted spacing for mobile */
    }
}

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

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

.page-index-review-iwin-club__section:nth-of-type(even) {
    background-color: #f8f8f8; /* Slightly different background for visual separation */
}

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

.page-index-review-iwin-club__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

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

/* Hero Banner Section */
.page-index-review-iwin-club__hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a40 100%); /* Dark blue gradient */
    color: var(--text-color-light);
    gap: 40px;
    flex-wrap: wrap;
}

.page-index-review-iwin-club__hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: left;
}

.page-index-review-iwin-club__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color); /* Gold color for main title */
}

.page-index-review-iwin-club__subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-color-light);
}

.page-index-review-iwin-club__hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    text-align: center;
}

.page-index-review-iwin-club__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.page-index-review-iwin-club__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-index-review-iwin-club__cta-button:hover {
    background: var(--button-hover-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-iwin-club__cta-button--center {
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
    max-width: 300px;
}

/* Game Grid */
.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-card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-index-review-iwin-club__game-image {
    width: 100%;
    max-width: 300px; /* Ensure images are not too small */
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

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

.page-index-review-iwin-club__game-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color-dark);
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Detailed Review */
.page-index-review-iwin-club__detailed-review .page-index-review-iwin-club__container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.page-index-review-iwin-club__review-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background: var(--card-background);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-index-review-iwin-club__review-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-index-review-iwin-club__review-heading {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    width: 100%;
}

.page-index-review-iwin-club__review-item > div {
    flex: 1;
}

.page-index-review-iwin-club__review-image {
    max-width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 250px; /* Minimum size for content images */
    min-height: 200px;
}

/* Registration Guide */
.page-index-review-iwin-club__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-review-iwin-club__list-item {
    background: var(--card-background);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-review-iwin-club__list-heading {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Pros and Cons */
.page-index-review-iwin-club__pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.page-index-review-iwin-club__pros-card {
    border-top: 5px solid #28a745; /* Green for pros */
}

.page-index-review-iwin-club__cons-card {
    border-top: 5px solid #dc3545; /* Red for cons */
}

.page-index-review-iwin-club__card-heading {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

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

.page-index-review-iwin-club__pros-card .page-index-review-iwin-club__list-item::before {
    content: '✅';
    margin-right: 10px;
}

.page-index-review-iwin-club__cons-card .page-index-review-iwin-club__list-item::before {
    content: '❌';
    margin-right: 10px;
}

.page-index-review-iwin-club__pros-card .page-index-review-iwin-club__list-item, 
.page-index-review-iwin-club__cons-card .page-index-review-iwin-club__list-item {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

/* 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, 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 var(--border-color);
    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: 17px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.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: var(--primary-color);
    transform: rotate(45deg);
}

/* Conclusion */
.page-index-review-iwin-club__conclusion .page-index-review-iwin-club__text-block {
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-index-review-iwin-club__hero-banner {
        flex-direction: column;
        text-align: center;
    }

    .page-index-review-iwin-club__hero-content {
        text-align: center;
    }

    .page-index-review-iwin-club__main-title {
        font-size: 40px;
    }

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

    .page-index-review-iwin-club__review-item {
        flex-direction: column;
        text-align: center;
    }

    .page-index-review-iwin-club__review-item:nth-child(even) {
        flex-direction: column;
    }

    .page-index-review-iwin-club__review-image {
        max-width: 80%;
        margin-top: 20px;
    }

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

@media (max-width: 768px) {
    .page-index-review-iwin-club__section {
        padding: 40px 0;
    }

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

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

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

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

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

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

    .page-index-review-iwin-club__game-grid {
        gap: 20px;
    }

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

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

    .page-index-review-iwin-club__review-item {
        padding: 20px;
        gap: 20px;
    }

    .page-index-review-iwin-club__review-heading {
        font-size: 22px;
    }

    .page-index-review-iwin-club__list-item {
        padding: 20px;
    }

    .page-index-review-iwin-club__list-heading {
        font-size: 18px;
    }

    .page-index-review-iwin-club__pros-card, .page-index-review-iwin-club__cons-card {
        padding: 20px;
    }

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

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