/* style/index-review-tot88.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-light: #e0e0e0;
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light background sections */
    background-color: #f1f3f5; /* Light background for the main content area */
    padding-top: 120px; /* Ensures content is not hidden by fixed header */
}

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

/* Hero Banner Section */
.page-index-review-tot88__hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding-top: 180px; /* Desktop: Adjust for fixed header */
}

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

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

.page-index-review-tot88__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-light);
}

.page-index-review-tot88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88__cta-button:hover {
    background: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index-review-tot88__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-review-tot88__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Intro Section */
.page-index-review-tot88__intro-section {
    padding: 60px 0;
    background-color: var(--text-light);
}

.page-index-review-tot88__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-index-review-tot88__image-left {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 50%;
    height: auto;
    display: block;
}

.page-index-review-tot88__text-content {
    flex: 1;
}

.page-index-review-tot88__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-index-review-tot88__text-cta-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-index-review-tot88__text-cta-button:hover {
    background: #0056b3;
}

/* Detailed Review Section */
.page-index-review-tot88__detailed-review {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.page-index-review-tot88__review-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: var(--text-dark);
}

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

.page-index-review-tot88__review-item {
    background: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__review-heading {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-index-review-tot88__rating-stars {
    color: var(--accent-color);
    font-size: 0.9em;
}

.page-index-review-tot88__review-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-index-review-tot88__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Game Showcase Section */
.page-index-review-tot88__game-showcase {
    padding: 60px 0;
    background-color: #e9ecef; /* A medium-light background */
    color: var(--text-dark);
}

.page-index-review-tot88__game-category {
    margin-bottom: 50px;
}

.page-index-review-tot88__category-heading {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-index-review-tot88__game-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Added padding to ensure button is not cut off */
}

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

.page-index-review-tot88__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-index-review-tot88__game-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-review-tot88__game-description {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
}

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

.page-index-review-tot88__game-button:hover {
    background: #218838;
}

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

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

.page-index-review-tot88__promotion-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Added padding to ensure button is not cut off */
}

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

.page-index-review-tot88__promotion-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-index-review-tot88__promotion-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-index-review-tot88__promotion-description {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
}

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

.page-index-review-tot88__promotion-button:hover {
    background: #e0a800;
}

.page-index-review-tot88__promotion-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-index-review-tot88__promotion-note a:hover {
    text-decoration: underline;
}

/* Blog Section */
.page-index-review-tot88__blog-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.page-index-review-tot88__blog-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px; /* Added padding to ensure button is not cut off */
}

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

.page-index-review-tot88__blog-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-index-review-tot88__blog-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    padding: 0 15px;
}

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

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

.page-index-review-tot88__blog-excerpt {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-index-review-tot88__blog-date {
    font-size: 0.85em;
    color: #6c757d;
    padding: 0 15px;
    display: block;
}

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

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

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

.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, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-index-review-tot88__faq-item.active .page-index-review-tot88__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
    color: var(--text-dark);
}

.page-index-review-tot88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--text-light);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    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: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-index-review-tot88__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: #f1f1f1;
}

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

.page-index-review-tot88__faq-answer p {
    font-size: 1em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.page-index-review-tot88__faq-answer p:last-child {
    margin-bottom: 0;
}

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

.page-index-review-tot88__faq-answer a:hover {
    text-decoration: underline;
}

/* Utility Classes for Contrast */
.page-index-review-tot88__dark-bg {
    color: var(--text-light);
}

.page-index-review-tot88__light-bg {
    color: var(--text-dark);
}

.page-index-review-tot88__medium-bg {
    color: var(--text-dark);
}

.page-index-review-tot88__card {
    background: var(--text-light);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-tot88__hero-title {
        font-size: 2.8em;
    }
    .page-index-review-tot88__section-title {
        font-size: 2em;
    }
    .page-index-review-tot88__category-heading {
        font-size: 1.8em;
    }
    .page-index-review-tot88__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-index-review-tot88__image-left {
        max-width: 80%;
    }
}

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

    .page-index-review-tot88__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-review-tot88__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-index-review-tot88__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-index-review-tot88__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-index-review-tot88__container {
        padding: 15px;
    }

    .page-index-review-tot88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-index-review-tot88__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-index-review-tot88__image-text-block {
        gap: 20px;
    }

    .page-index-review-tot88__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-index-review-tot88__text-content {
        padding: 0 10px;
    }

    .page-index-review-tot88__review-grid,
    .page-index-review-tot88__game-cards-grid,
    .page-index-review-tot88__promotion-cards-grid,
    .page-index-review-tot88__blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-index-review-tot88__review-item,
    .page-index-review-tot88__game-card,
    .page-index-review-tot88__promotion-card,
    .page-index-review-tot88__blog-card {
        padding: 20px;
    }

    .page-index-review-tot88__review-heading {
        font-size: 1.2em;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-index-review-tot88__rating-stars {
        margin-top: 5px;
        font-size: 1em;
    }

    .page-index-review-tot88__game-image,
    .page-index-review-tot88__promotion-image,
    .page-index-review-tot88__blog-image {
        height: 180px;
    }

    .page-index-review-tot88__game-title,
    .page-index-review-tot88__promotion-title,
    .page-index-review-tot88__blog-title {
        font-size: 1.2em;
    }

    .page-index-review-tot88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-tot88__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-review-tot88__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .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;
    }
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-tot88__section,
    .page-index-review-tot88__card,
    .page-index-review-tot88__container,
    .page-index-review-tot88__hero-banner,
    .page-index-review-tot88__intro-section,
    .page-index-review-tot88__detailed-review,
    .page-index-review-tot88__game-showcase,
    .page-index-review-tot88__promotions-section,
    .page-index-review-tot88__blog-section,
    .page-index-review-tot88__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}