/* style/hi88.css */

/* Variables for color scheme */
:root {
    --page-hi88-primary-color: #003366; /* Deep Ocean Blue */
    --page-hi88-secondary-color: #FFD700; /* Luxury Gold */
    --page-hi88-accent-color: #DC143C; /* Crimson Red for CTAs */
    --page-hi88-text-dark: #333333;
    --page-hi88-text-light: #FFFFFF;
    --page-hi88-bg-light: #F8F8F8;
    --page-hi88-bg-dark: #002244; /* Darker shade of primary */
}

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

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

/* Hero Section */
.page-hi88-hero {
    background: linear-gradient(135deg, var(--page-hi88-primary-color) 0%, var(--page-hi88-bg-dark) 100%);
    color: var(--page-hi88-text-light);
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hi88-hero-content {
    z-index: 1;
    max-width: 900px;
}

.page-hi88-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-hi88-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hi88-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--page-hi88-text-light);
}

.page-hi88-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-hi88-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-hi88-btn-primary {
    background-color: var(--page-hi88-accent-color);
    color: var(--page-hi88-text-light);
    border-color: var(--page-hi88-accent-color);
}

.page-hi88-btn-primary:hover {
    background-color: #A00B2B;
    border-color: #A00B2B;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-hi88-btn-secondary {
    background-color: transparent;
    color: var(--page-hi88-secondary-color);
    border-color: var(--page-hi88-secondary-color);
}

.page-hi88-btn-secondary:hover {
    background-color: var(--page-hi88-secondary-color);
    color: var(--page-hi88-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-hi88-hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-hi88-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

/* General Section Styling */
.page-hi88-introduction, .page-hi88-features, .page-hi88-how-to, .page-hi88-game-types, .page-hi88-why-us, .page-hi88-faq, .page-hi88-final-cta {
    padding: 60px 0;
    text-align: center;
}

.page-hi88-section-title {
    font-size: 2.5em;
    color: var(--page-hi88-primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-hi88-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-hi88-text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-hi88-introduction .page-hi88-text, .page-hi88-why-us .page-hi88-text, .page-hi88-final-cta .page-hi88-text {
    text-align: center;
}

.page-hi88-image-full {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.keyword-emphasis {
    color: var(--page-hi88-primary-color);
    font-weight: bold;
}

.highlight {
    color: var(--page-hi88-accent-color);
    font-weight: bold;
}

/* Features Section */
.page-hi88-features {
    background-color: var(--page-hi88-bg-light);
}

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

.page-hi88-feature-item {
    background-color: var(--page-hi88-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-hi88-feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.page-hi88-feature-title {
    font-size: 1.6em;
    color: var(--page-hi88-primary-color);
    margin-bottom: 15px;
}

.page-hi88-feature-description {
    font-size: 1em;
    color: var(--page-hi88-text-dark);
}

/* How-To Section */
.page-hi88-how-to {
    background-color: var(--page-hi88-primary-color);
    color: var(--page-hi88-text-light);
}

.page-hi88-how-to .page-hi88-section-title {
    color: var(--page-hi88-secondary-color);
}

.page-hi88-how-to .page-hi88-text {
    color: var(--page-hi88-text-light);
}

.page-hi88-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-hi88-step-item {
    background-color: var(--page-hi88-bg-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    padding-top: 60px;
}

.page-hi88-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--page-hi88-secondary-color);
    color: var(--page-hi88-primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    border: 4px solid var(--page-hi88-primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-hi88-step-title {
    font-size: 1.5em;
    color: var(--page-hi88-secondary-color);
    margin-bottom: 15px;
}

.page-hi88-step-description {
    font-size: 1em;
    color: var(--page-hi88-text-light);
}

.page-hi88-cta-bottom {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Game Types Section */
.page-hi88-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.page-hi88-game-item {
    background-color: var(--page-hi88-text-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-hi88-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-hi88-game-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.page-hi88-game-title {
    font-size: 1.3em;
    color: var(--page-hi88-primary-color);
    margin-bottom: 10px;
}

.page-hi88-game-description {
    font-size: 0.9em;
    color: var(--page-hi88-text-dark);
}

/* Benefits List */
.page-hi88-benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-hi88-benefits-list li {
    background-color: var(--page-hi88-text-light);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    padding-left: 50px;
    font-size: 1.1em;
    color: var(--page-hi88-text-dark);
}

.page-hi88-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--page-hi88-accent-color);
    font-size: 1.5em;
    font-weight: bold;
}

/* FAQ Section */
.page-hi88-faq {
    background-color: var(--page-hi88-bg-light);
}

.page-hi88-accordion {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.page-hi88-accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--page-hi88-text-light);
}

.page-hi88-accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: var(--page-hi88-primary-color);
    color: var(--page-hi88-text-light);
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-hi88-accordion-header:hover {
    background-color: var(--page-hi88-bg-dark);
}

.page-hi88-accordion-header::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-hi88-accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-hi88-accordion-content {
    padding: 0 25px;
    background-color: var(--page-hi88-bg-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-hi88-accordion-content.active {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-hi88-accordion-content p {
    margin: 0;
    color: var(--page-hi88-text-dark);
    font-size: 1.05em;
}

/* Final CTA Section */
.page-hi88-final-cta {
    background: linear-gradient(45deg, var(--page-hi88-bg-dark), var(--page-hi88-primary-color));
    color: var(--page-hi88-text-light);
    padding: 80px 0;
}

.page-hi88-final-cta .page-hi88-section-title {
    color: var(--page-hi88-secondary-color);
}

.page-hi88-final-cta .page-hi88-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--page-hi88-text-light);
}

.page-hi88-btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-hi88-title {
        font-size: 2.8em;
    }
    .page-hi88-subtitle {
        font-size: 1.3em;
    }
    .page-hi88-hero-image-wrapper {
        width: 80%;
        height: 80%;
    }
    .page-hi88-feature-grid, .page-hi88-step-grid, .page-hi88-game-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hi88-hero {
        padding: 60px 0;
    }
    .page-hi88-title {
        font-size: 2.2em;
    }
    .page-hi88-subtitle {
        font-size: 1.1em;
    }
    .page-hi88-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-hi88-btn {
        width: 80%;
        max-width: 300px;
    }
    .page-hi88-hero-image-wrapper {
        display: none; /* Hide image on smaller screens */
    }
    .page-hi88-section-title {
        font-size: 2em;
    }
    .page-hi88-text {
        font-size: 1em;
    }
    .page-hi88-feature-grid, .page-hi88-step-grid, .page-hi88-game-grid {
        grid-template-columns: 1fr;
    }
    .page-hi88-cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-hi88-hero {
        padding: 40px 0;
    }
    .page-hi88-title {
        font-size: 1.8em;
    }
    .page-hi88-subtitle {
        font-size: 0.95em;
    }
    .page-hi88-section-title {
        font-size: 1.8em;
    }
    .page-hi88-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-hi88-btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-hi88-accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-hi88-accordion-content {
        padding: 15px 20px;
    }
}