
    /* General styles for the page-8-y-ng-nh-p scope */
.page-8-y-ng-nh-p {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f7fa;
    padding-bottom: 40px; /* Ensure space before footer */
}

.page-8-y-ng-nh-p__section-title {
    text-align: center;
    font-size: 2.5em;
    color: #0a4f8f; /* Dark blue */
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
}

.page-8-y-ng-nh-p__section-title strong {
    color: #e03a3a; /* Red for emphasis */
}

/* Hero Section */
.page-8-y-ng-nh-p__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* Gradient background */
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small decorative top padding as per instruction */
}

.page-8-y-ng-nh-p__hero-content {
    max-width: 900px;
    margin-bottom: 30px;
    z-index: 2;
}

.page-8-y-ng-nh-p__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-8-y-ng-nh-p__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-8-y-ng-nh-p__hero-button {
    display: inline-block;
    background-color: #fdbb2d; /* Yellow */
    color: #1a2a6c; /* Dark blue */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-8-y-ng-nh-p__hero-button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
}

.page-8-y-ng-nh-p__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    z-index: 1;
}

.page-8-y-ng-nh-p__hero-image {
    max-width: 80%; /* Smaller on desktop */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.page-8-y-ng-nh-p__hero-image:hover {
    transform: scale(1.02);
}

/* Features Section */
.page-8-y-ng-nh-p__features-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-8-y-ng-nh-p__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-8-y-ng-nh-p__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Important for list items */
}

.page-8-y-ng-nh-p__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-8-y-ng-nh-p__feature-icon {
    width: 200px; /* Minimum display size */
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    border-radius: 10px;
}

.page-8-y-ng-nh-p__feature-title {
    font-size: 1.8em;
    color: #0a4f8f;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-8-y-ng-nh-p__feature-description {
    font-size: 1.05em;
    color: #555;
}

/* Games Section */
.page-8-y-ng-nh-p__games-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #eef3f7;
    border-radius: 15px;
    margin-top: 50px;
}

.page-8-y-ng-nh-p__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-8-y-ng-nh-p__game-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Important for list items */
}

.page-8-y-ng-nh-p__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-8-y-ng-nh-p__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-8-y-ng-nh-p__game-title {
    font-size: 1.6em;
    color: #0a4f8f;
    margin: 15px 10px 5px;
    font-weight: bold;
}

.page-8-y-ng-nh-p__game-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 10px 15px;
}

/* How-to-Login Section */
.page-8-y-ng-nh-p__how-to-login-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
}

.page-8-y-ng-nh-p__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-8-y-ng-nh-p__step-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    box-sizing: border-box; /* Important for list items */
}

.page-8-y-ng-nh-p__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #e03a3a; /* Red */
    color: #fff;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #f5f7fa;
}

.page-8-y-ng-nh-p__step-title {
    font-size: 1.5em;
    color: #0a4f8f;
    margin-top: 35px; /* Space for number */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-8-y-ng-nh-p__step-description {
    font-size: 1em;
    color: #555;
}

/* FAQ Section */
.page-8-y-ng-nh-p__faq-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 50px auto 0;
}

.page-8-y-ng-nh-p__faq-container {
    margin-top: 30px;
}

.page-8-y-ng-nh-p__faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-sizing: border-box; /* Important for list items */
}

.page-8-y-ng-nh-p__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-8-y-ng-nh-p__faq-question:hover {
    background-color: #f9f9f9;
}

.page-8-y-ng-nh-p__faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #0a4f8f;
    font-weight: bold;
    pointer-events: none; /* Crucial for click event on parent */
}

.page-8-y-ng-nh-p__faq-toggle {
    font-size: 1.8em;
    color: #e03a3a; /* Red */
    font-weight: bold;
    transition: transform 0.3s ease;
    pointer-events: none; /* Crucial for click event on parent */
    line-height: 1; /* Adjust line-height for better centering */
}

.page-8-y-ng-nh-p__faq-item.active .page-8-y-ng-nh-p__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or -) */
}

.page-8-y-ng-nh-p__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    background-color: #fcfcfc;
    color: #444;
}

.page-8-y-ng-nh-p__faq-item.active .page-8-y-ng-nh-p__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-8-y-ng-nh-p__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Call to Action Section */
.page-8-y-ng-nh-p__cta-section {
    background: linear-gradient(90deg, #1a2a6c, #e03a3a); /* Gradient background */
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-top: 50px;
    border-radius: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-8-y-ng-nh-p__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-8-y-ng-nh-p__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-8-y-ng-nh-p__cta-button {
    display: inline-block;
    background-color: #fdbb2d; /* Yellow */
    color: #1a2a6c; /* Dark blue */
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-8-y-ng-nh-p__cta-button:hover {
    background-color: #ffcc00;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-8-y-ng-nh-p__hero-title {
        font-size: 2.8em;
    }

    .page-8-y-ng-nh-p__section-title {
        font-size: 2em;
    }

    .page-8-y-ng-nh-p__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-8-y-ng-nh-p__hero-section {
        padding: 40px 15px;
    }

    .page-8-y-ng-nh-p__hero-title {
        font-size: 2.2em;
    }

    .page-8-y-ng-nh-p__hero-description {
        font-size: 1em;
    }

    .page-8-y-ng-nh-p__hero-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    .page-8-y-ng-nh-p__hero-image {
        max-width: 90%;
    }

    .page-8-y-ng-nh-p__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-8-y-ng-nh-p__features-section,
    .page-8-y-ng-nh-p__games-section,
    .page-8-y-ng-nh-p__how-to-login-section,
    .page-8-y-ng-nh-p__faq-section,
    .page-8-y-ng-nh-p__cta-section {
        padding: 30px 15px;
    }

    /* List item specific mobile styles */
    .page-8-y-ng-nh-p__feature-item,
    .page-8-y-ng-nh-p__game-card,
    .page-8-y-ng-nh-p__step-item,
    .page-8-y-ng-nh-p__faq-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    .page-8-y-ng-nh-p__features-grid,
    .page-8-y-ng-nh-p__games-grid,
    .page-8-y-ng-nh-p__steps-container,
    .page-8-y-ng-nh-p__faq-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-8-y-ng-nh-p__feature-icon {
        width: 200px; /* Still >= 200px */
    }

    .page-8-y-ng-nh-p__feature-title {
        font-size: 1.5em;
    }

    .page-8-y-ng-nh-p__game-image {
        height: 180px;
    }

    .page-8-y-ng-nh-p__game-title {
        font-size: 1.4em;
    }

    .page-8-y-ng-nh-p__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.5em;
        top: -22px;
    }

    .page-8-y-ng-nh-p__step-title {
        font-size: 1.3em;
        margin-top: 30px;
    }

    .page-8-y-ng-nh-p__faq-question {
        padding: 15px 20px;
    }

    .page-8-y-ng-nh-p__faq-question h3 {
        font-size: 1.1em;
    }

    .page-8-y-ng-nh-p__faq-toggle {
        font-size: 1.5em;
    }

    .page-8-y-ng-nh-p__faq-item.active .page-8-y-ng-nh-p__faq-answer {
        padding: 15px 20px !important;
    }

    .page-8-y-ng-nh-p__cta-title {
        font-size: 1.8em;
    }

    .page-8-y-ng-nh-p__cta-description {
        font-size: 1em;
    }

    .page-8-y-ng-nh-p__cta-button {
        padding: 12px 25px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-8-y-ng-nh-p__hero-title {
        font-size: 1.8em;
    }
    .page-8-y-ng-nh-p__section-title {
        font-size: 1.5em;
    }
    .page-8-y-ng-nh-p__cta-title {
        font-size: 1.6em;
    }
    .page-8-y-ng-nh-p__feature-icon {
        width: 200px; /* Force minimum 200px display width */
    }
}
  