.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Màu chữ chính, tương phản tốt với nền tối */
    background-color: #1A202C; /* Màu nền chính */
    line-height: 1.6;
}

.page-responsible-gambling h1, .page-responsible-gambling h2, .page-responsible-gambling h3 {
    color: #FFD700; /* Màu vàng phụ đạo cho tiêu đề */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-responsible-gambling h1 {
    font-size: 3em;
    text-align: center;
    padding-top: 20px;
}

.page-responsible-gambling h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
}

.page-responsible-gambling h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-responsible-gambling h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFD700;
}

.page-responsible-gambling p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-responsible-gambling a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gambling a:hover {
    color: #FFA500;
    text-decoration: underline;
}

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

/* Hero Banner */
.page-responsible-gambling .hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1A202C 0%, #3a475a 100%);
    padding: 60px 20px;
    gap: 40px;
}

.page-responsible-gambling .hero-content {
    max-width: 800px;
}

.page-responsible-gambling .hero-content h1 {
    color: #FFD700;
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-responsible-gambling .hero-content p {
    font-size: 1.2em;
    color: #E0E0E0;
    margin-bottom: 30px;
}

.page-responsible-gambling .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling .cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .cta-button:hover {
    background-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Section Intro */
.page-responsible-gambling .section-intro {
    padding: 60px 0;
    background-color: #282F3B;
}

.page-responsible-gambling .section-intro p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-responsible-gambling .grid-item {
    background-color: #1A202C;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.page-responsible-gambling .grid-item:hover {
    transform: translateY(-5px);
}

/* Section Tools */
.page-responsible-gambling .section-tools {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-responsible-gambling .section-tools p {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-responsible-gambling .tool-card {
    background-color: #282F3B;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.page-responsible-gambling .tool-card:hover {
    transform: translateY(-5px);
}

.page-responsible-gambling .tool-card .card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Làm sáng biểu tượng để nổi bật trên nền tối, không thay đổi màu sắc cơ bản */
}

.page-responsible-gambling .tool-card h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-responsible-gambling .tool-card p {
    color: #CCCCCC;
    font-size: 1em;
    margin-bottom: 25px;
}

.page-responsible-gambling .tool-card .card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling .tool-card .card-button:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Section Protection */
.page-responsible-gambling .section-protection {
    padding: 60px 0;
    background-color: #282F3B;
}

.page-responsible-gambling .section-protection ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-responsible-gambling .section-protection li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-responsible-gambling .full-width-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Section Support Resources */
.page-responsible-gambling .section-support-resources {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-responsible-gambling .support-links ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-responsible-gambling .support-links li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-responsible-gambling .support-links li a {
    font-weight: bold;
}

/* Section Commitment */
.page-responsible-gambling .section-commitment {
    padding: 60px 0;
    background-color: #282F3B;
    text-align: center;
}

.page-responsible-gambling .section-commitment ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-responsible-gambling .section-commitment li {
    background-color: #1A202C;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    font-weight: 500;
    color: #FFD700;
    border: 1px solid #333;
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
    text-align: left;
}

/* FAQ Section */
.page-responsible-gambling .section-faq {
    padding: 60px 0;
    background-color: #1A202C;
}

.page-responsible-gambling .faq-list {
    margin-top: 40px;
}

.page-responsible-gambling .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #282F3B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #3A475A;
    color: #FFD700;
    cursor: pointer;
    border-bottom: 1px solid #444;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling .faq-question:hover {
    background-color: #4C5A6E;
}

.page-responsible-gambling .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: #FFD700;
}

.page-responsible-gambling .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-responsible-gambling .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-responsible-gambling .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #282F3B;
    color: #E0E0E0;
}

.page-responsible-gambling .faq-item.active .faq-answer {
    max-height: 500px; /* Đủ cao để chứa nội dung */
    padding: 20px 25px;
}

.page-responsible-gambling .faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling .hero-content h1 {
        font-size: 2.8em;
    }
    .page-responsible-gambling h2 {
        font-size: 2em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.5em;
    }
    .page-responsible-gambling .content-grid, .page-responsible-gambling .tools-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling .section-commitment li {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling .hero-banner {
        padding: 40px 15px;
    }
    .page-responsible-gambling .hero-content h1 {
        font-size: 2.2em;
    }
    .page-responsible-gambling .hero-content p {
        font-size: 1em;
    }
    .page-responsible-gambling h2 {
        font-size: 1.8em;
    }
    .page-responsible-gambling h3 {
        font-size: 1.3em;
    }
    .page-responsible-gambling p {
        font-size: 0.95em;
    }
    .page-responsible-gambling .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling .faq-question {
        padding: 15px 20px;
    }
    .page-responsible-gambling .faq-question h3 {
        font-size: 1.1em;
    }
    .page-responsible-gambling .faq-toggle {
        font-size: 1.5em;
    }
    .page-responsible-gambling .faq-answer {
        padding: 0 20px;
    }
    .page-responsible-gambling .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}