:root {
    --primary-color: #4A148C; /* Deep Purple */
    --secondary-color: #FFD700; /* Golden Yellow */
    --text-dark: #2c3e50; /* Dark text for light backgrounds */
    --text-light: #ffffff; /* Light text for dark backgrounds */
    --background-light: #f8f8f8;
    --background-dark: #333333;
    --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-index-review-hi-88-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(--primary-color) 0%, #6A1B9A 100%); /* Gradient with primary color */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-index-review-hi-88-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any background effects */
}

.page-index-review-hi-88-hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi-88-hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-index-review-hi-88-hero-content {
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

.page-index-review-hi-88-hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Golden yellow for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.page-index-review-hi-88-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-index-review-hi-88-cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color); /* Golden yellow button */
    color: var(--primary-color); /* Deep purple text on button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-index-review-hi-88-cta-button:hover {
    background: #FFC107; /* Slightly darker yellow on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-index-review-hi-88-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-index-review-hi-88-section:last-of-type {
    border-bottom: none;
}

.page-index-review-hi-88-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-review-hi-88-section h2::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-hi-88-section h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-index-review-hi-88-section p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-index-review-hi-88-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-index-review-hi-88-section ul li {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.7;
}

.page-index-review-hi-88-section ul li strong {
    color: var(--primary-color);
}

/* Game Grid */
.page-index-review-hi-88-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-review-hi-88-game-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px 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;
    align-items: center;
}

.page-index-review-hi-88-game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi-88-game-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
    min-width: 200px;
}

.page-index-review-hi-88-game-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-index-review-hi-88-game-item p {
    font-size: 1em;
    color: #555555;
    flex-grow: 1; /* Allow paragraph to take available space */
}

.page-index-review-hi-88-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-review-hi-88-button:hover {
    background: #6A1B9A; /* Lighter primary color on hover */
    transform: translateY(-2px);
}

/* Promotions Grid */
.page-index-review-hi-88-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-review-hi-88-promo-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px 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;
    align-items: center;
}

.page-index-review-hi-88-promo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index-review-hi-88-promo-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
    min-width: 200px;
}

.page-index-review-hi-88-promo-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-index-review-hi-88-promo-item p {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

/* Payment Details */
.page-index-review-hi-88-payment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-review-hi-88-payment-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-index-review-hi-88-payment-item h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-index-review-hi-88-payment-item p {
    font-size: 1.1em;
    color: #555555;
}

/* Mobile App Section */
.page-index-review-hi-88-mobile-app {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-review-hi-88-mobile-app h2 {
    color: var(--secondary-color);
}

.page-index-review-hi-88-mobile-app h2::after {
    background-color: var(--secondary-color);
}

.page-index-review-hi-88-app-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-index-review-hi-88-app-text {
    flex: 1;
    min-width: 300px;
}

.page-index-review-hi-88-app-text ul {
    list-style: none;
    padding: 0;
}

.page-index-review-hi-88-app-text ul li {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-left: 5px solid var(--secondary-color);
}

.page-index-review-hi-88-app-text ul li strong {
    color: var(--secondary-color);
}

.page-index-review-hi-88-app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-review-hi-88-app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Ensure minimum size */
    min-width: 200px;
}

/* FAQ Section */
.page-index-review-hi-88-faq .faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
    text-align: left;
}

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

/* FAQ default state - answer hidden */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px; /* Initial padding, will expand */
    background: #f9f9f9;
    color: var(--text-dark);
}

/* FAQ active state */
.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

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

.page-index-review-hi-88-button-small {
    display: inline-block;
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-index-review-hi-88-button-small:hover {
    background: #6A1B9A;
}


/* Conclusion Section */
.page-index-review-hi-88-conclusion {
    text-align: center;
    background-color: #f0f0f0;
    padding: 80px 0;
}

.page-index-review-hi-88-conclusion h2 {
    color: var(--primary-color);
}

.page-index-review-hi-88-conclusion p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-index-review-hi-88-hero-content h1 {
        font-size: 2.8em;
    }
    .page-index-review-hi-88-hero-content p {
        font-size: 1.1em;
    }
    .page-index-review-hi-88-cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-index-review-hi-88-section h2 {
        font-size: 2em;
    }
    .page-index-review-hi-88-section h3 {
        font-size: 1.6em;
    }
    .page-index-review-hi-88-app-content {
        flex-direction: column;
    }
    .page-index-review-hi-88-app-image {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi-88-hero-content h1 {
        font-size: 2.2em;
    }
    .page-index-review-hi-88-hero-content p {
        font-size: 1em;
    }
    .page-index-review-hi-88-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-index-review-hi-88-section {
        padding: 40px 0;
    }
    .page-index-review-hi-88-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-review-hi-88-section h3 {
        font-size: 1.4em;
    }
    .page-index-review-hi-88-game-grid,
    .page-index-review-hi-88-promo-grid,
    .page-index-review-hi-88-payment-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    .page-index-review-hi-88-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-review-hi-88-button-small {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .page-index-review-hi-88-hero-content h1 {
        font-size: 1.8em;
    }
    .page-index-review-hi-88-hero-content p {
        font-size: 0.9em;
    }
    .page-index-review-hi-88-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-index-review-hi-88-section h2 {
        font-size: 1.5em;
    }
    .page-index-review-hi-88-section p,
    .page-index-review-hi-88-section ul li {
        font-size: 0.95em;
    }
}