/* style/index-review-tot88.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --light-bg-color: #f1f3f5;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: var(--light-bg-color);
}

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

.page-index-review-tot88__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-index-review-tot88__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

.page-index-review-tot88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index-review-tot88__btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.page-index-review-tot88__btn-primary:hover {
    background-color: #004488;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-index-review-tot88__btn-secondary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-review-tot88__btn-link:hover {
    background-color: #004488;
}

.page-index-review-tot88__mt-40 {
    margin-top: 40px;
}

/* Intro Section */
.page-index-review-tot88__intro-section {
    padding: 120px 0 60px 0; /* Adjusted for fixed header */
    background: linear-gradient(135deg, var(--primary-color), #00509e);
    color: var(--light-text-color);
    text-align: center;
}

.page-index-review-tot88__main-title {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-index-review-tot88__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-tot88__intro-image-wrapper {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88__intro-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-index-review-tot88__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Why Choose Section */
.page-index-review-tot88__why-choose-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-index-review-tot88__feature-card {
    background-color: var(--light-bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-tot88__feature-text {
    font-size: 16px;
    color: #555555;
}

.page-index-review-tot88__image-full-width {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-index-review-tot88__section-footer-text {
    font-size: 18px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Games Section */
.page-index-review-tot88__games-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

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

.page-index-review-tot88__game-category-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__game-category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-index-review-tot88__game-category-text {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index-review-tot88__promotions-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-index-review-tot88__promo-card {
    background-color: var(--light-bg-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-index-review-tot88__promo-text {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
}

/* Register Guide Section */
.page-index-review-tot88__register-guide-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

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

.page-index-review-tot88__step-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-review-tot88__step-card::before {
    content: attr(data-step-number);
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    font-size: 40px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 0 0 10px 0;
    opacity: 0.1;
}

.page-index-review-tot88__step-card:nth-child(1)::before { content: '1'; }
.page-index-review-tot88__step-card:nth-child(2)::before { content: '2'; }
.page-index-review-tot88__step-card:nth-child(3)::before { content: '3'; }
.page-index-review-tot88__step-card:nth-child(4)::before { content: '4'; }

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

.page-index-review-tot88__step-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 20px;
}

.page-index-review-tot88__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* Blog Section */
.page-index-review-tot88__blog-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
}

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

.page-index-review-tot88__blog-card {
    background-color: var(--light-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-tot88__blog-content {
    padding: 25px;
}

.page-index-review-tot88__blog-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-index-review-tot88__blog-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-tot88__blog-title a:hover {
    color: #004488;
    text-decoration: underline;
}

.page-index-review-tot88__blog-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 15px;
}

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

.page-index-review-tot88__read-more:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* FAQ Section */
.page-index-review-tot88__faq-section {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

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

.page-index-review-tot88__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-index-review-tot88__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-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-index-review-tot88__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-tot88__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-index-review-tot88__faq-question:active {
    background: #eeeeee;
}

.page-index-review-tot88__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--dark-text-color);
}

.page-index-review-tot88__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-tot88__faq-item.active .page-index-review-tot88__faq-toggle {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-tot88__section-title {
        font-size: 28px;
    }
    .page-index-review-tot88__intro-section {
        padding-top: 100px; /* Adjust for tablet fixed header */
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88 {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-review-tot88__container {
        padding: 0 15px;
    }
    .page-index-review-tot88__intro-section {
        padding-top: 100px !important; /* Adjust for mobile fixed header */
        padding-bottom: 40px;
    }
    .page-index-review-tot88__main-title {
        font-size: 32px;
    }
    .page-index-review-tot88__intro-text {
        font-size: 17px;
    }
    .page-index-review-tot88__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-tot88__cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }
    .page-index-review-tot88__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-index-review-tot88__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-index-review-tot88__why-choose-section, 
    .page-index-review-tot88__games-section, 
    .page-index-review-tot88__promotions-section, 
    .page-index-review-tot88__register-guide-section, 
    .page-index-review-tot88__blog-section, 
    .page-index-review-tot88__faq-section {
        padding: 40px 0;
    }
    .page-index-review-tot88__features-grid,
    .page-index-review-tot88__game-categories,
    .page-index-review-tot88__promo-grid,
    .page-index-review-tot88__steps-grid,
    .page-index-review-tot88__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-tot88__feature-card, 
    .page-index-review-tot88__game-category-card, 
    .page-index-review-tot88__promo-card, 
    .page-index-review-tot88__step-card, 
    .page-index-review-tot88__blog-card {
        padding: 20px;
    }
    .page-index-review-tot88__feature-title, 
    .page-index-review-tot88__game-category-title, 
    .page-index-review-tot88__promo-title, 
    .page-index-review-tot88__step-title, 
    .page-index-review-tot88__blog-title {
        font-size: 18px;
    }
    .page-index-review-tot88__feature-text, 
    .page-index-review-tot88__game-category-text, 
    .page-index-review-tot88__promo-text, 
    .page-index-review-tot88__step-text, 
    .page-index-review-tot88__blog-excerpt {
        font-size: 14px;
    }
    .page-index-review-tot88__game-category-image, 
    .page-index-review-tot88__promo-image, 
    .page-index-review-tot88__step-image, 
    .page-index-review-tot88__blog-image {
        height: 150px;
    }
    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-tot88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-tot88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-tot88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
        padding: 15px !important;
    }
    
    /* Ensure all images are responsive and prevent horizontal scroll */
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
      
    .page-index-review-tot88__intro-image-wrapper,
    .page-index-review-tot88__image-full-width,
    .page-index-review-tot88__feature-card,
    .page-index-review-tot88__game-category-card,
    .page-index-review-tot88__promo-card,
    .page-index-review-tot88__step-card,
    .page-index-review-tot88__blog-card,
    .page-index-review-tot88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}