/* style/index-review-tot88.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f1f3f5;
    --background-white: #ffffff;
    --border-light: #e0e0e0;
}

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

.page-index-review-tot88__main-content-wrapper {
    padding-top: 120px; /* Adjusted for fixed header on desktop */
}

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

.page-index-review-tot88__card {
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

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

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

.page-index-review-tot88__rating-summary {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: var(--primary-color);
}

.page-index-review-tot88__stars {
    color: var(--primary-color);
    letter-spacing: 2px;
}

.page-index-review-tot88__rating-number {
    font-weight: bold;
    margin-left: 10px;
    color: var(--secondary-color);
}

.page-index-review-tot88__cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto 40px auto;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), #FFA500);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
    border: none;
}

.page-index-review-tot88__cta-button:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index-review-tot88__intro-image-wrapper,
.page-index-review-tot88__about-image-wrapper,
.page-index-review-tot88__review-image-wrapper,
.page-index-review-tot88__games-image-wrapper,
.page-index-review-tot88__promotions-image-wrapper,
.page-index-review-tot88__blog-image-wrapper {
    margin-top: 30px;
    text-align: center;
}

.page-index-review-tot88__intro-image,
.page-index-review-tot88__about-image,
.page-index-review-tot88__review-image,
.page-index-review-tot88__games-image,
.page-index-review-tot88__promotions-image,
.page-index-review-tot88__blog-image,
.page-index-review-tot88__blog-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

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

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

.page-index-review-tot88__about-section p {
    font-size: 16px;
    margin-bottom: 15px;
}

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

.page-index-review-tot88__review-item {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index-review-tot88__review-item:hover {
    transform: translateY(-5px);
}

.page-index-review-tot88__item-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.page-index-review-tot88__item-title::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--primary-color);
}

.page-index-review-tot88__item-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.page-index-review-tot88__item-title + p {
    font-size: 15px;
}

.page-index-review-tot88__games-section {
    background-color: var(--background-light);
}

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

.page-index-review-tot88__game-category-item {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index-review-tot88__game-category-item:hover {
    transform: translateY(-5px);
}

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

.page-index-review-tot88__game-category-item p {
    font-size: 15px;
    margin-bottom: 20px;
}

.page-index-review-tot88__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-index-review-tot88__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-index-review-tot88__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-index-review-tot88__promo-list li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.page-index-review-tot88__promo-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: green;
}

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

.page-index-review-tot88__blog-card {
    background: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-index-review-tot88__blog-card:hover {
    transform: translateY(-5px);
}

.page-index-review-tot88__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.page-index-review-tot88__blog-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 15px;
    line-height: 1.4;
}

.page-index-review-tot88__blog-title a {
    color: inherit;
    text-decoration: none;
}

.page-index-review-tot88__blog-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-index-review-tot88__blog-summary {
    font-size: 15px;
    color: #555555;
    padding: 0 15px 15px;
}

.page-index-review-tot88__blog-date {
    font-size: 13px;
    color: #888888;
    padding: 0 15px 15px;
    display: block;
}

/* FAQ Styles */
.page-index-review-tot88__faq-section {
    background-color: var(--background-light);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-tot88__main-title {
        font-size: 32px;
    }
    .page-index-review-tot88__section-title {
        font-size: 28px;
    }
    .page-index-review-tot88__review-grid,
    .page-index-review-tot88__game-categories,
    .page-index-review-tot88__blog-articles {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-index-review-tot88__card {
        padding: 30px;
    }
    .page-index-review-tot88__intro-text {
        font-size: 16px;
    }
    .page-index-review-tot88__cta-button {
        padding: 12px 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88__main-content-wrapper {
        padding-top: 100px !important; /* Adjusted for fixed header on mobile */
    }
    .page-index-review-tot88__container,
    .page-index-review-tot88__card {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-tot88__main-title {
        font-size: 28px;
    }
    .page-index-review-tot88__section-title {
        font-size: 24px;
    }
    .page-index-review-tot88__intro-text,
    .page-index-review-tot88__about-section p,
    .page-index-review-tot88__item-title + p,
    .page-index-review-tot88__game-category-item p,
    .page-index-review-tot88__promo-list li,
    .page-index-review-tot88__blog-summary,
    .page-index-review-tot88__blog-date {
        font-size: 15px;
    }
    .page-index-review-tot88__cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }
    .page-index-review-tot88__item-title {
        font-size: 18px;
    }
    .page-index-review-tot88__game-category-title {
        font-size: 20px;
    }
    .page-index-review-tot88__blog-title {
        font-size: 18px;
    }
    .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;
    }
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}