/* style/gambling-safety-guide-legal-aspects.css */

:root {
    --page-gambling-safety-guide-legal-aspects-primary-color: #0A192F;
    --page-gambling-safety-guide-legal-aspects-accent-color: #FFD700;
    --page-gambling-safety-guide-legal-aspects-text-light: #F0F0F0; /* High contrast with primary */
    --page-gambling-safety-guide-legal-aspects-text-dark: #1A1A1A; /* High contrast with accent */
    --page-gambling-safety-guide-legal-aspects-background-light: #F8F8F8;
    --page-gambling-safety-guide-legal-aspects-background-dark: #0A192F;
    --page-gambling-safety-guide-legal-aspects-button-hover-dark: #b39700; /* Darker accent for hover */
    --page-gambling-safety-guide-legal-aspects-button-hover-light: #203A5A; /* Lighter primary for hover */
}

.page-gambling-safety-guide-legal-aspects {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-gambling-safety-guide-legal-aspects-text-dark);
    background-color: var(--page-gambling-safety-guide-legal-aspects-background-light);
}

.page-gambling-safety-guide-legal-aspects__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-gambling-safety-guide-legal-aspects__hero {
    background: linear-gradient(135deg, var(--page-gambling-safety-guide-legal-aspects-primary-color) 0%, #1a2a44 100%);
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-gambling-safety-guide-legal-aspects__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-gambling-safety-guide-legal-aspects__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-gambling-safety-guide-legal-aspects__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-gambling-safety-guide-legal-aspects__hero-button {
    display: inline-block;
    background-color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-gambling-safety-guide-legal-aspects__hero-button:hover {
    background-color: var(--page-gambling-safety-guide-legal-aspects-button-hover-dark);
    transform: translateY(-3px);
}

.page-gambling-safety-guide-legal-aspects__hero-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
    z-index: 1;
}

.page-gambling-safety-guide-legal-aspects__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* General Section Styling */
.page-gambling-safety-guide-legal-aspects__section-title {
    font-size: 2.5em;
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-gambling-safety-guide-legal-aspects__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    border-radius: 2px;
}

.page-gambling-safety-guide-legal-aspects__intro,
.page-gambling-safety-guide-legal-aspects__global-laws,
.page-gambling-safety-guide-legal-aspects__vietnam-context,
.page-gambling-safety-guide-legal-aspects__hb88-commitment,
.page-gambling-safety-guide-legal-aspects__user-responsibility,
.page-gambling-safety-guide-legal-aspects__faq,
.page-gambling-safety-guide-legal-aspects__cta-bottom {
    padding: 60px 0;
}

.page-gambling-safety-guide-legal-aspects__intro p,
.page-gambling-safety-guide-legal-aspects__global-laws p,
.page-gambling-safety-guide-legal-aspects__vietnam-context p,
.page-gambling-safety-guide-legal-aspects__hb88-commitment p,
.page-gambling-safety-guide-legal-aspects__user-responsibility p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-gambling-safety-guide-legal-aspects__global-laws {
    background-color: var(--page-gambling-safety-guide-legal-aspects-background-dark);
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
}

.page-gambling-safety-guide-legal-aspects__global-laws .page-gambling-safety-guide-legal-aspects__section-title {
    color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
}

.page-gambling-safety-guide-legal-aspects__global-laws .page-gambling-safety-guide-legal-aspects__section-title::after {
    background-color: var(--page-gambling-safety-guide-legal-aspects-text-light);
}

.page-gambling-safety-guide-legal-aspects__global-laws p {
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    opacity: 0.9;
}

/* Grid for Global Laws */
.page-gambling-safety-guide-legal-aspects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gambling-safety-guide-legal-aspects__grid-item {
    background-color: #1a2a44;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.page-gambling-safety-guide-legal-aspects__grid-item:hover {
    transform: translateY(-10px);
}

.page-gambling-safety-guide-legal-aspects__grid-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-gambling-safety-guide-legal-aspects__grid-item h3 {
    font-size: 1.5em;
    color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    margin-bottom: 15px;
}

.page-gambling-safety-guide-legal-aspects__grid-item p {
    font-size: 1em;
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    line-height: 1.7;
}

/* Vietnam Context */
.page-gambling-safety-guide-legal-aspects__vietnam-context {
    background-color: var(--page-gambling-safety-guide-legal-aspects-background-light);
}

.page-gambling-safety-guide-legal-aspects__content-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* HB88 Commitment */
.page-gambling-safety-guide-legal-aspects__hb88-commitment {
    background-color: #f0f4f8;
}

.page-gambling-safety-guide-legal-aspects__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gambling-safety-guide-legal-aspects__list li {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-gambling-safety-guide-legal-aspects-accent-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--page-gambling-safety-guide-legal-aspects-text-dark);
}

.page-gambling-safety-guide-legal-aspects__list li strong {
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
}

.page-gambling-safety-guide-legal-aspects__cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-gambling-safety-guide-legal-aspects__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    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-gambling-safety-guide-legal-aspects__button--primary {
    background-color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
}

.page-gambling-safety-guide-legal-aspects__button--primary:hover {
    background-color: var(--page-gambling-safety-guide-legal-aspects-button-hover-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gambling-safety-guide-legal-aspects__button--secondary {
    background-color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    border: 2px solid var(--page-gambling-safety-guide-legal-aspects-accent-color);
}

.page-gambling-safety-guide-legal-aspects__button--secondary:hover {
    background-color: var(--page-gambling-safety-guide-legal-aspects-button-hover-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* User Responsibility */
.page-gambling-safety-guide-legal-aspects__user-responsibility {
    background-color: var(--page-gambling-safety-guide-legal-aspects-background-light);
}

.page-gambling-safety-guide-legal-aspects__numbered-list {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding: 0;
    margin-top: 30px;
}

.page-gambling-safety-guide-legal-aspects__numbered-list li {
    counter-increment: my-awesome-counter;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
    font-size: 1.1em;
    color: var(--page-gambling-safety-guide-legal-aspects-text-dark);
}

.page-gambling-safety-guide-legal-aspects__numbered-list li::before {
    content: counter(my-awesome-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-gambling-safety-guide-legal-aspects__faq {
    background-color: #f0f4f8;
}

.page-gambling-safety-guide-legal-aspects__accordion {
    margin-top: 40px;
}

.page-gambling-safety-guide-legal-aspects__accordion-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-gambling-safety-guide-legal-aspects__accordion-header {
    background-color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    padding: 20px 30px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-gambling-safety-guide-legal-aspects__accordion-header:hover {
    background-color: var(--page-gambling-safety-guide-legal-aspects-button-hover-light);
}

.page-gambling-safety-guide-legal-aspects__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-gambling-safety-guide-legal-aspects__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-gambling-safety-guide-legal-aspects__accordion-content {
    padding: 0 30px;
    background-color: #ffffff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-gambling-safety-guide-legal-aspects__accordion-content.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 30px;
}

.page-gambling-safety-guide-legal-aspects__accordion-content p {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 10px;
}

/* Bottom CTA */
.page-gambling-safety-guide-legal-aspects__cta-bottom {
    background: linear-gradient(135deg, var(--page-gambling-safety-guide-legal-aspects-primary-color) 0%, #1a2a44 100%);
    color: var(--page-gambling-safety-guide-legal-aspects-text-light);
    text-align: center;
    padding: 80px 20px;
}

.page-gambling-safety-guide-legal-aspects__cta-bottom .page-gambling-safety-guide-legal-aspects__section-title {
    color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
}

.page-gambling-safety-guide-legal-aspects__cta-bottom .page-gambling-safety-guide-legal-aspects__section-title::after {
    background-color: var(--page-gambling-safety-guide-legal-aspects-text-light);
}

.page-gambling-safety-guide-legal-aspects__cta-bottom p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-gambling-safety-guide-legal-aspects__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: var(--page-gambling-safety-guide-legal-aspects-accent-color);
    color: var(--page-gambling-safety-guide-legal-aspects-primary-color);
}

.page-gambling-safety-guide-legal-aspects__button--large:hover {
    background-color: var(--page-gambling-safety-guide-legal-aspects-button-hover-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-gambling-safety-guide-legal-aspects__hero {
        flex-direction: row;
        text-align: left;
        padding: 100px 20px;
    }

    .page-gambling-safety-guide-legal-aspects__hero-content {
        flex: 1;
        padding-right: 40px;
    }

    .page-gambling-safety-guide-legal-aspects__hero-image-wrapper {
        flex: 1;
        margin-top: 0;
    }

    .page-gambling-safety-guide-legal-aspects__section-title {
        font-size: 3em;
    }

    .page-gambling-safety-guide-legal-aspects__hero-title {
        font-size: 4.5em;
    }

    .page-gambling-safety-guide-legal-aspects__grid-item {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .page-gambling-safety-guide-legal-aspects__hero-title {
        font-size: 2.5em;
    }
    .page-gambling-safety-guide-legal-aspects__hero-description {
        font-size: 1em;
    }
    .page-gambling-safety-guide-legal-aspects__section-title {
        font-size: 2em;
    }
    .page-gambling-safety-guide-legal-aspects__grid {
        grid-template-columns: 1fr;
    }
    .page-gambling-safety-guide-legal-aspects__numbered-list li {
        padding-left: 50px;
    }
    .page-gambling-safety-guide-legal-aspects__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .page-gambling-safety-guide-legal-aspects__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-gambling-safety-guide-legal-aspects__accordion-content {
        padding: 15px 20px;
    }
}