.page-index-gioi-thieu-nen-tang {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F3F8FF); /* Default text color for dark background */
    background-color: var(--card-bg, #10233F); /* Body background is dark */
}

.page-index-gioi-thieu-nen-tang__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-index-gioi-thieu-nen-tang__hero-section {
    padding-top: 10px; /* Specific top padding */
    position: relative;
    overflow: hidden;
    color: var(--text-main, #F3F8FF);
    background-color: var(--deep-navy, #08162B); /* Dark background for hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-index-gioi-thieu-nen-tang__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

.page-index-gioi-thieu-nen-tang__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-index-gioi-thieu-nen-tang__hero-content {
    max-width: 900px;
    margin-top: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.page-index-gioi-thieu-nen-tang__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold, #F2C14E); /* Gold for main title */
    line-height: 1.2;
}

.page-index-gioi-thieu-nen-tang__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #AFC4E8);
}

.page-index-gioi-thieu-nen-tang__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-index-gioi-thieu-nen-tang__btn-primary,
.page-index-gioi-thieu-nen-tang__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-index-gioi-thieu-nen-tang__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: var(--text-main, #F3F8FF);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-gioi-thieu-nen-tang__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-index-gioi-thieu-nen-tang__btn-secondary {
    background: transparent;
    color: var(--glow, #4FA8FF);
    border: 2px solid var(--glow, #4FA8FF);
}

.page-index-gioi-thieu-nen-tang__btn-secondary:hover {
    background: var(--glow, #4FA8FF);
    color: var(--deep-navy, #08162B);
}

/* General Section Styles */
.page-index-gioi-thieu-nen-tang__intro-section,
.page-index-gioi-thieu-nen-tang__features-games-section,
.page-index-gioi-thieu-nen-tang__betting-experience-section,
.page-index-gioi-thieu-nen-tang__benefits-commitment-section,
.page-index-gioi-thieu-nen-tang__guide-cta-section {
    padding: 60px 0;
    background-color: var(--card-bg, #10233F); /* Consistent dark background */
    color: var(--text-main, #F3F8FF);
}

.page-index-gioi-thieu-nen-tang__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold, #F2C14E);
}

.page-index-gioi-thieu-nen-tang__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    color: var(--glow, #4FA8FF);
}

.page-index-gioi-thieu-nen-tang__content-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.page-index-gioi-thieu-nen-tang__content-block p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary, #AFC4E8);
}

.page-index-gioi-thieu-nen-tang__content-image {
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-index-gioi-thieu-nen-tang__image-full-width {
    max-width: 100%;
}

/* Features Grid */
.page-index-gioi-thieu-nen-tang__grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-index-gioi-thieu-nen-tang__feature-card {
    background-color: var(--deep-navy, #08162B);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #244D84);
}

.page-index-gioi-thieu-nen-tang__feature-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
}

.page-index-gioi-thieu-nen-tang__feature-card p {
    color: var(--text-secondary, #AFC4E8);
}

/* Other Games Grid */
.page-index-gioi-thieu-nen-tang__grid-games-other {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-index-gioi-thieu-nen-tang__game-card {
    background-color: var(--deep-navy, #08162B);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #244D84);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-gioi-thieu-nen-tang__game-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
}

.page-index-gioi-thieu-nen-tang__game-card p {
    color: var(--text-secondary, #AFC4E8);
    margin-bottom: 20px;
}

.page-index-gioi-thieu-nen-tang__btn-link {
    display: inline-block;
    color: var(--glow, #4FA8FF);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-index-gioi-thieu-nen-tang__btn-link:hover {
    color: var(--gold, #F2C14E);
}

/* Benefits Grid */
.page-index-gioi-thieu-nen-tang__grid-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-index-gioi-thieu-nen-tang__benefit-item {
    background-color: var(--deep-navy, #08162B);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #244D84);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-gioi-thieu-nen-tang__benefit-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
}

.page-index-gioi-thieu-nen-tang__benefit-item p {
    color: var(--text-secondary, #AFC4E8);
    margin-bottom: 20px;
}

/* Guide Grid */
.page-index-gioi-thieu-nen-tang__grid-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-index-gioi-thieu-nen-tang__guide-step {
    background-color: var(--deep-navy, #08162B);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border, #244D84);
}

.page-index-gioi-thieu-nen-tang__guide-title {
    font-size: 1.5rem;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
}

.page-index-gioi-thieu-nen-tang__guide-step p {
    color: var(--text-secondary, #AFC4E8);
}

.page-index-gioi-thieu-nen-tang__final-call {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 40px;
    color: var(--glow, #4FA8FF);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-gioi-thieu-nen-tang__cta-center {
    justify-content: center;
    margin-top: 30px;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-index-gioi-thieu-nen-tang__container {
        padding: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO Section */
    .page-index-gioi-thieu-nen-tang__hero-section {
        padding-top: 10px !important; /* Ensure 10px top padding */
        padding-bottom: 30px;
    }

    .page-index-gioi-thieu-nen-tang__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-index-gioi-thieu-nen-tang__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-index-gioi-thieu-nen-tang__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100%;
        padding: 0 15px;
    }

    .page-index-gioi-thieu-nen-tang__btn-primary,
    .page-index-gioi-thieu-nen-tang__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* General Section Titles */
    .page-index-gioi-thieu-nen-tang__section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 30px;
    }

    .page-index-gioi-thieu-nen-tang__sub-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-top: 40px;
        margin-bottom: 20px;
    }

    /* Content Images */
    .page-index-gioi-thieu-nen-tang img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-index-gioi-thieu-nen-tang__content-image {
        margin: 20px auto !important;
    }

    /* Grid Layouts */
    .page-index-gioi-thieu-nen-tang__grid-features,
    .page-index-gioi-thieu-nen-tang__grid-games-other,
    .page-index-gioi-thieu-nen-tang__grid-benefits,
    .page-index-gioi-thieu-nen-tang__grid-guide {
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 20px;
        margin-bottom: 30px;
    }

    .page-index-gioi-thieu-nen-tang__feature-card,
    .page-index-gioi-thieu-nen-tang__game-card,
    .page-index-gioi-thieu-nen-tang__benefit-item,
    .page-index-gioi-thieu-nen-tang__guide-step {
        padding: 20px;
    }

    .page-index-gioi-thieu-nen-tang__final-call {
        font-size: 1rem;
        margin-top: 20px;
        margin-bottom: 30px;
    }
}