/* style/hi88-download.css */

/* Base styles for the page content */
.page-hi88-download {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light text on dark background */
    background-color: #0A192F; /* Main dark blue background */
    line-height: 1.6;
    padding-bottom: 50px; /* Space for footer */
}

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

.page-hi88-download__section {
    padding: 60px 0;
    text-align: center;
}

.page-hi88-download__section:nth-child(even) {
    background-color: #1a2c42; /* Slightly lighter dark blue for contrast */
}

.page-hi88-download__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hi88-download__subtitle {
    font-size: 1.3em;
    color: #E0E0E0;
    margin-bottom: 40px;
}

.page-hi88-download__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

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

.page-hi88-download__sub-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold for sub-titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-hi88-download__description {
    font-size: 1.1em;
    color: #D0D0D0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-hi88-download__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
    border: none;
    gap: 10px;
}

.page-hi88-download__btn img {
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

.page-hi88-download__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A192F; /* Dark blue text */
}

.page-hi88-download__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-hi88-download__btn--secondary {
    background-color: transparent;
    border: 2px solid #FFD700; /* Gold border */
    color: #FFD700; /* Gold text */
}

.page-hi88-download__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-hi88-download__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.page-hi88-download__text-link {
    color: #FFD700; /* Gold for inline links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-hi88-download__text-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Hero Section */
.page-hi88-download__hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #1a2c42 100%);
    padding: 80px 0 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hi88-download__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_geometric_pattern,dark_blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-hi88-download__hero-section .page-hi88-download__container {
    position: relative;
    z-index: 1;
}

.page-hi88-download__download-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-hi88-download__hero-image-wrapper {
    margin-top: 50px;
    max-width: 700px;
    width: 100%;
    height: auto;
}

.page-hi88-download__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Why Download Section */
.page-hi88-download__why-download {
    background-color: #0A192F;
}

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

.page-hi88-download__feature-item {
    background-color: #1a2c42;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-hi88-download__feature-item:hover {
    transform: translateY(-8px);
    background-color: #273e5a;
}

.page-hi88-download__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-hi88-download__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-hi88-download__feature-item p {
    color: #C0C0C0;
    font-size: 0.95em;
}

/* Download Guide Section */
.page-hi88-download__download-guide {
    background-color: #1a2c42;
}

.page-hi88-download__tab-container {
    margin-top: 40px;
    background-color: #0A192F;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.page-hi88-download__tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #334a6d;
}

.page-hi88-download__tab-btn {
    background-color: transparent;
    color: #E0E0E0;
    padding: 18px 25px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-grow: 1;
    max-width: 200px;
}

.page-hi88-download__tab-btn:hover {
    color: #FFD700;
    background-color: #1a2c42;
}

.page-hi88-download__tab-btn--active {
    background-color: #FFD700;
    color: #0A192F;
    border-radius: 0;
}

.page-hi88-download__tab-btn--active:hover {
    background-color: #e6c200;
    color: #0A192F;
}

.page-hi88-download__tab-content {
    padding: 30px 40px;
    text-align: left;
    display: none;
}

.page-hi88-download__tab-content--active {
    display: block;
}

.page-hi88-download__step-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-top: 20px;
    color: #C0C0C0;
}

.page-hi88-download__step-list li {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-hi88-download__step-list li strong {
    color: #FFD700;
}

.page-hi88-download__image-container {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.page-hi88-download__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Key Features Section */
.page-hi88-download__key-features {
    background-color: #0A192F;
}

.page-hi88-download__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.page-hi88-download__feature-list li {
    background-color: #1a2c42;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hi88-download__feature-list li img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.page-hi88-download__feature-list li strong {
    color: #FFD700;
    font-size: 1.1em;
}

.page-hi88-download__feature-list li span {
    color: #C0C0C0;
}

/* Promotions Section */
.page-hi88-download__promotions {
    background-color: #1a2c42;
}

.page-hi88-download__promo-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}

.page-hi88-download__promo-list li {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hi88-download__promo-list li img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.page-hi88-download__promo-list li strong {
    color: #FFD700;
    font-size: 1.1em;
}

.page-hi88-download__cta-buttons {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Detail Pages Section */
.page-hi88-download__detail-pages {
    background-color: #0A192F;
}

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

.page-hi88-download__detail-item {
    background-color: #1a2c42;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-hi88-download__detail-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-hi88-download__detail-title a {
    color: inherit;
    text-decoration: none;
}

.page-hi88-download__detail-title a:hover {
    text-decoration: underline;
    color: #e6c200;
}

.page-hi88-download__detail-description {
    color: #C0C0C0;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-hi88-download__faq {
    background-color: #1a2c42;
}

.page-hi88-download__accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-hi88-download__accordion-item {
    background-color: #0A192F;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hi88-download__accordion-header {
    width: 100%;
    background-color: #0A192F;
    color: #FFD700;
    padding: 20px 25px;
    border: none;
    text-align: left;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-hi88-download__accordion-header:hover {
    background-color: #1a2c42;
    color: #e6c200;
}

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

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

.page-hi88-download__accordion-content {
    padding: 0 25px;
    background-color: #1a2c42;
    color: #C0C0C0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-hi88-download__accordion-content p {
    padding-bottom: 20px;
    font-size: 1em;
}

.page-hi88-download__accordion-content a {
    color: #FFD700;
    text-decoration: none;
}

.page-hi88-download__accordion-content a:hover {
    text-decoration: underline;
}

/* Conclusion Section */
.page-hi88-download__conclusion {
    background-color: #0A192F;
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hi88-download__main-title {
        font-size: 2.5em;
    }

    .page-hi88-download__section-title {
        font-size: 2em;
    }

    .page-hi88-download__subtitle,
    .page-hi88-download__description {
        font-size: 1em;
    }

    .page-hi88-download__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-hi88-download__download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-hi88-download__features-grid,
    .page-hi88-download__feature-list,
    .page-hi88-download__promo-list,
    .page-hi88-download__detail-list {
        grid-template-columns: 1fr;
    }

    .page-hi88-download__tab-btn {
        padding: 15px 15px;
        font-size: 0.9em;
    }

    .page-hi88-download__tab-content {
        padding: 20px;
    }

    .page-hi88-download__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-hi88-download__main-title {
        font-size: 2em;
    }

    .page-hi88-download__section-title {
        font-size: 1.8em;
    }

    .page-hi88-download__sub-title {
        font-size: 1.5em;
    }

    .page-hi88-download__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-hi88-download__tab-btn {
        font-size: 0.8em;
        padding: 12px 10px;
    }
}