:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #1a1a2e; /* A darker shade for contrast */
    --card-background: #ffffff;
    --button-hover: #e6c200; /* Slightly darker gold */
    --border-color: #e0e0e0;
}

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

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

.page-index-review-tot88-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-index-review-tot88-section:nth-of-type(even) {
    background-color: #e9ecef; /* Slightly different background for alternating sections */
}

.page-index-review-tot88 h1,
.page-index-review-tot88 h2,
.page-index-review-tot88 h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-index-review-tot88 h1 {
    font-size: 2.8em;
    color: var(--text-light); /* For hero section */
}

.page-index-review-tot88 h2 {
    font-size: 2.2em;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-review-tot88 h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
}

.page-index-review-tot88 p {
    margin-bottom: 15px;
    text-align: justify;
}

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

.page-index-review-tot88 a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.page-index-review-tot88-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333399 100%); /* Darker gradient for text contrast */
    color: var(--text-light);
}

.page-index-review-tot88-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-index-review-tot88-hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-index-review-tot88-hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-tot88-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-tot88-hero-content h1 {
    color: var(--primary-color); /* Gold title on dark background */
    margin-bottom: 20px;
}

.page-index-review-tot88-hero-content p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-index-review-tot88-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color); /* Dark blue text on gold button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

/* --- General Card Styles --- */
.page-index-review-tot88-card,
.page-index-review-tot88-game-card,
.page-index-review-tot88-promo-card,
.page-index-review-tot88-info-card,
.page-index-review-tot88-blog-card {
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 10px 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;
    justify-content: space-between;
    height: 100%;
}

.page-index-review-tot88-card:hover,
.page-index-review-tot88-game-card:hover,
.page-index-review-tot88-promo-card:hover,
.page-index-review-tot88-info-card:hover,
.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-card img,
.page-index-review-tot88-game-card img,
.page-index-review-tot88-promo-card img,
.page-index-review-tot88-info-card img,
.page-index-review-tot88-blog-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum image size */
}

.page-index-review-tot88-card h3,
.page-index-review-tot88-game-card h3,
.page-index-review-tot88-promo-card h3,
.page-index-review-tot88-info-card h3,
.page-index-review-tot88-blog-card h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-index-review-tot88-card h3 a,
.page-index-review-tot88-game-card h3 a,
.page-index-review-tot88-promo-card h3 a,
.page-index-review-tot88-info-card h3 a,
.page-index-review-tot88-blog-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-index-review-tot88-card h3 a:hover,
.page-index-review-tot88-game-card h3 a:hover,
.page-index-review-tot88-promo-card h3 a:hover,
.page-index-review-tot88-info-card h3 a:hover,
.page-index-review-tot88-blog-card h3 a:hover {
    color: var(--primary-color);
}


.page-index-review-tot88-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: auto; /* Push button to bottom of card */
    transition: all 0.3s ease;
}

.page-index-review-tot88-button:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

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

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

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

/* --- Introduction Section --- */
.page-index-review-tot88-intro img {
    display: block;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-height: 300px; /* Larger image for intro */
}

/* --- FAQ Section --- */
.page-index-review-tot88-faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--card-background);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
    text-align: left;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.faq-question:hover .faq-toggle {
    color: var(--secondary-color); /* Change toggle color on hover for better feedback */
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.faq-item.active .faq-question:hover .faq-toggle {
    color: var(--primary-color); /* Keep it consistent when active and hovered */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: #fdfdfd;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    text-align: left;
    color: var(--text-dark);
}

/* --- Blog Section --- */
.page-index-review-tot88-blog-card img {
    min-height: 200px; /* Ensure blog images are not small icons */
    max-height: 250px;
    width: 100%;
    object-fit: cover;
}

.page-index-review-tot88-blog-card h3 {
    margin-bottom: 5px;
    text-align: left;
}

.page-index-review-tot88-blog-card p {
    font-size: 0.95em;
    color: #666;
    text-align: left;
    flex-grow: 1;
}

.page-index-review-tot88-blog-date {
    font-size: 0.85em;
    color: #999;
    text-align: left;
    display: block;
    margin-top: 10px;
}

.page-index-review-tot88-view-all {
    text-align: center;
    margin-top: 40px;
}

.page-index-review-tot88-promo-note {
    font-style: italic;
    color: #555;
    text-align: center;
    margin-top: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-index-review-tot88 h1 {
        font-size: 2.2em;
    }
    .page-index-review-tot88 h2 {
        font-size: 1.8em;
    }
    .page-index-review-tot88 h3 {
        font-size: 1.3em;
    }
    .page-index-review-tot88-section {
        padding: 40px 0;
    }
    .page-index-review-tot88-hero-content p {
        font-size: 1em;
    }
    .page-index-review-tot88-cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-index-review-tot88-container {
        padding: 15px;
    }
    .page-index-review-tot88 h1 {
        font-size: 1.8em;
    }
    .page-index-review-tot88 h2 {
        font-size: 1.6em;
    }
    .page-index-review-tot88 h3 {
        font-size: 1.2em;
    }
    .page-index-review-tot88-grid-2,
    .page-index-review-tot88-grid-3,
    .page-index-review-tot88-game-grid,
    .page-index-review-tot88-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }
    .faq-question h3 {
        margin-bottom: 8px;
        font-size: 1.1em;
    }
    .faq-toggle {
        align-self: flex-end;
        margin-top: -30px; /* Adjust to position correctly */
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 15px;
    }
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-review-tot88 h1 {
        font-size: 1.5em;
    }
    .page-index-review-tot88-cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
}