/* style/hi88.css */

/* Base styles for the page-hi88 */
.page-hi88 {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-hi88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-hi88__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-hi88__section:nth-child(even) {
    background-color: #f1f3f5;
}

.page-hi88__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-hi88__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Accent color */
    border-radius: 2px;
}

.page-hi88__sub-title {
    font-size: 1.8em;
    color: #0056b3; /* Darker shade of primary */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-hi88 p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #495057;
}

.page-hi88 strong {
    color: #007bff;
}

/* Hero Section */
.page-hi88__hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Primary gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-hi88__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-hi88__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e9ecef;
}

/* Buttons */
.page-hi88__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-hi88__btn--primary {
    background-color: #ffc107; /* Accent color */
    color: #000000; /* Ensure high contrast */
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-hi88__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.6);
}

.page-hi88__btn--accent {
    background-color: #007bff; /* Primary color */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-hi88__btn--accent:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.6);
}

/* Content Layouts */
.page-hi88__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-hi88__text-content {
    flex: 2;
    min-width: 300px;
}

.page-hi88__image-content {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.page-hi88__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-hi88__img--small {
    max-width: 80%;
    margin: 20px auto;
    display: block;
}

/* Features Grid */
.page-hi88__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-hi88__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px 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(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-hi88__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-hi88__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
}

/* Step List (Registration) */
.page-hi88__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-hi88__step-list li {
    margin-bottom: 30px;
    padding-left: 70px;
    position: relative;
}

.page-hi88__step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #ffc107; /* Accent color */
    color: #000000; /* Ensure high contrast */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

.page-hi88__step-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 10px;
}

/* Game Grid */
.page-hi88__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-hi88__game-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hi88__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-hi88__game-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-hi88__game-title {
    font-size: 1.4em;
    color: #007bff;
    margin: 15px 0 10px;
    padding: 0 15px;
}

.page-hi88__game-item p {
    font-size: 0.95em;
    color: #555;
    padding: 0 15px 20px;
}

/* Lists */
.page-hi88__promo-list, .page-hi88__tips-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
}

.page-hi88__promo-list li, .page-hi88__tips-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #495057;
}

.page-hi88__promo-list li strong {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-hi88__hero-title {
        font-size: 2.8em;
    }
    .page-hi88__hero-description {
        font-size: 1.1em;
    }
    .page-hi88__section-title {
        font-size: 2em;
    }
    .page-hi88__sub-title {
        font-size: 1.5em;
    }
    .page-hi88__content-wrapper {
        flex-direction: column;
    }
    .page-hi88__text-content, .page-hi88__image-content {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-hi88__hero {
        padding: 80px 0;
    }
    .page-hi88__hero-title {
        font-size: 2.2em;
    }
    .page-hi88__hero-description {
        font-size: 1em;
    }
    .page-hi88__section {
        padding: 40px 0;
    }
    .page-hi88__section-title {
        font-size: 1.8em;
    }
    .page-hi88__sub-title {
        font-size: 1.3em;
    }
    .page-hi88 p {
        font-size: 1em;
    }
    .page-hi88__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-hi88__feature-item, .page-hi88__game-item {
        padding: 20px;
    }
    .page-hi88__step-list li {
        padding-left: 60px;
    }
    .page-hi88__step-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .page-hi88__step-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-hi88__hero {
        padding: 60px 0;
    }
    .page-hi88__hero-title {
        font-size: 1.8em;
    }
    .page-hi88__hero-description {
        font-size: 0.9em;
    }
    .page-hi88__section-title {
        font-size: 1.5em;
    }
    .page-hi88__sub-title {
        font-size: 1.2em;
    }
    .page-hi88__btn {
        width: 100%;
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .page-hi88__features-grid, .page-hi88__game-grid {
        grid-template-columns: 1fr;
    }
}