/* style/index-review-tot88.css */
:root {
    --primary-color: #1A2A44;
    --secondary-color: #FFCC00;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light-gray: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-index-review-tot88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Assuming body is dark from shared.css */
    background-color: transparent; /* Main content background will be handled by sections */
}

/* Fixed navigation bar spacing */
.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: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust based on actual nav bar height */
    background: linear-gradient(135deg, var(--primary-color), rgba(26, 42, 68, 0.8));
    color: var(--text-light);
    overflow: hidden;
}

.page-index-review-tot88__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-index-review-tot88__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

.page-index-review-tot88__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-review-tot88__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-tot88__hero-description {
    font-size: 18px;
    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(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-tot88__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
}

.page-index-review-tot88__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
}

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

.page-index-review-tot88__review-section,
.page-index-review-tot88__game-highlights-section,
.page-index-review-tot88__promotion-section,
.page-index-review-tot88__faq-section,
.page-index-review-tot88__related-articles-section {
    padding: 60px 0;
    background-color: var(--bg-light-gray);
    color: var(--text-dark);
}

.page-index-review-tot88__review-section .page-index-review-tot88__review-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.page-index-review-tot88__section-title {
    font-size: 34px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-index-review-tot88__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-index-review-tot88__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

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

.page-index-review-tot88__game-card-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__game-card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

.page-index-review-tot88__game-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

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

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

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

.page-index-review-tot88__promo-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-tot88__promo-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    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-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

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

.page-index-review-tot88__promo-button:hover {
    background: #0f1c2f;
}

.page-index-review-tot88__faq-list {
    margin-top: 30px;
}

.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, opacity 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 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-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(--text-dark);
}

.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(180deg);
}

.page-index-review-tot88__faq-answer p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

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

.page-index-review-tot88__related-articles-section .page-index-review-tot88__section-title {
    color: var(--secondary-color);
}

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

.page-index-review-tot88__article-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
}

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

.page-index-review-tot88__article-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

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

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

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

.page-index-review-tot88__article-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.page-index-review-tot88__article-readmore {
    display: inline-block;
    padding: 8px 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.page-index-review-tot88__article-readmore:hover {
    background: #e6b800;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-tot88__main-title {
        font-size: 36px;
    }
    .page-index-review-tot88__hero-description {
        font-size: 16px;
    }
    .page-index-review-tot88__section-title {
        font-size: 30px;
    }
    .page-index-review-tot88__sub-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile nav bar height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-tot88__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-index-review-tot88__hero-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-index-review-tot88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-index-review-tot88__cta-button--large {
        padding: 15px 40px;
        font-size: 18px;
    }
    .page-index-review-tot88__review-section,
    .page-index-review-tot88__game-highlights-section,
    .page-index-review-tot88__promotion-section,
    .page-index-review-tot88__faq-section,
    .page-index-review-tot88__related-articles-section {
        padding: 40px 0;
    }
    .page-index-review-tot88__container {
        padding: 0 15px;
    }
    .page-index-review-tot88__review-section .page-index-review-tot88__review-card {
        padding: 25px;
    }
    .page-index-review-tot88__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-index-review-tot88__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-index-review-tot88__text-block,
    .page-index-review-tot88__game-card-description,
    .page-index-review-tot88__promo-description,
    .page-index-review-tot88__article-excerpt {
        font-size: 15px;
    }
    .page-index-review-tot88__game-grid,
    .page-index-review-tot88__promo-list,
    .page-index-review-tot88__article-grid {
        gap: 20px;
    }
    .page-index-review-tot88__game-card-image,
    .page-index-review-tot88__promo-image,
    .page-index-review-tot88__article-image {
        height: 160px;
    }
    .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 and containers are fully responsive and don't overflow */
    .page-index-review-tot88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-tot88__hero-image-wrapper,
    .page-index-review-tot88__container,
    .page-index-review-tot88__review-section,
    .page-index-review-tot88__game-highlights-section,
    .page-index-review-tot88__promotion-section,
    .page-index-review-tot88__faq-section,
    .page-index-review-tot88__related-articles-section,
    .page-index-review-tot88__review-card,
    .page-index-review-tot88__game-card-item,
    .page-index-review-tot88__promo-item,
    .page-index-review-tot88__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-index-review-tot88__review-section,
    .page-index-review-tot88__game-highlights-section,
    .page-index-review-tot88__promotion-section,
    .page-index-review-tot88__faq-section,
    .page-index-review-tot88__related-articles-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-index-review-tot88__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-review-tot88__main-title {
        font-size: 24px;
    }
    .page-index-review-tot88__section-title {
        font-size: 20px;
    }
    .page-index-review-tot88__sub-title {
        font-size: 18px;
    }
    .page-index-review-tot88__cta-button--large {
        padding: 12px 30px;
        font-size: 16px;
    }
}