/* style/responsible-gambling-tools-budget-management.css */

/* Biến CSS cho màu sắc */
:root {
    --page-responsible-gambling-tools-budget-management-primary-color: #1A237E;
    --page-responsible-gambling-tools-budget-management-secondary-color: #FFD700;
    --page-responsible-gambling-tools-budget-management-text-dark: #333333;
    --page-responsible-gambling-tools-budget-management-text-light: #FFFFFF;
    --page-responsible-gambling-tools-budget-management-background-light: #F8F8F8;
    --page-responsible-gambling-tools-budget-management-border-color: #E0E0E0;
}

.page-responsible-gambling-tools-budget-management {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-responsible-gambling-tools-budget-management-text-dark);
    background-color: var(--page-responsible-gambling-tools-budget-management-background-light);
}

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

.page-responsible-gambling-tools-budget-management__hero-section {
    background: linear-gradient(135deg, var(--page-responsible-gambling-tools-budget-management-primary-color) 0%, #3949AB 100%);
    color: var(--page-responsible-gambling-tools-budget-management-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling-tools-budget-management__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-responsible-gambling-tools-budget-management-text-light);
}

.page-responsible-gambling-tools-budget-management__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-responsible-gambling-tools-budget-management__highlight {
    color: var(--page-responsible-gambling-tools-budget-management-secondary-color);
}

.page-responsible-gambling-tools-budget-management__cta-button {
    display: inline-block;
    background-color: var(--page-responsible-gambling-tools-budget-management-secondary-color);
    color: var(--page-responsible-gambling-tools-budget-management-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;
    border: none;
    cursor: pointer;
}

.page-responsible-gambling-tools-budget-management__cta-button:hover {
    background-color: #e5c100; /* Darker gold */
    transform: translateY(-3px);
}

.page-responsible-gambling-tools-budget-management__cta-button--secondary {
    background-color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    color: var(--page-responsible-gambling-tools-budget-management-secondary-color);
    border: 2px solid var(--page-responsible-gambling-tools-budget-management-secondary-color);
}

.page-responsible-gambling-tools-budget-management__cta-button--secondary:hover {
    background-color: #0d124b; /* Darker primary */
    border-color: #e5c100;
}

.page-responsible-gambling-tools-budget-management__cta-button--tertiary {
    background-color: transparent;
    color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    border: 2px solid var(--page-responsible-gambling-tools-budget-management-primary-color);
}

.page-responsible-gambling-tools-budget-management__cta-button--tertiary:hover {
    background-color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    color: var(--page-responsible-gambling-tools-budget-management-text-light);
}

.page-responsible-gambling-tools-budget-management__section {
    padding: 60px 0;
    background-color: var(--page-responsible-gambling-tools-budget-management-text-light);
    margin-bottom: 20px;
}

.page-responsible-gambling-tools-budget-management__section:nth-of-type(even) {
    background-color: var(--page-responsible-gambling-tools-budget-management-background-light);
}

.page-responsible-gambling-tools-budget-management__section-title {
    font-size: 2.5em;
    color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-responsible-gambling-tools-budget-management__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-responsible-gambling-tools-budget-management__text-content {
    flex: 1;
    min-width: 300px;
}

.page-responsible-gambling-tools-budget-management__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-responsible-gambling-tools-budget-management__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling-tools-budget-management__image--small {
    max-width: 300px;
    margin-bottom: 20px;
}

.page-responsible-gambling-tools-budget-management__list {
    list-style: disc inside;
    padding-left: 20px;
    margin-top: 20px;
}

.page-responsible-gambling-tools-budget-management__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

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

.page-responsible-gambling-tools-budget-management__tool-card {
    background-color: var(--page-responsible-gambling-tools-budget-management-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-responsible-gambling-tools-budget-management-secondary-color);
}

.page-responsible-gambling-tools-budget-management__tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling-tools-budget-management__tool-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-responsible-gambling-tools-budget-management__tool-title {
    font-size: 1.5em;
    color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling-tools-budget-management__tool-description {
    font-size: 1em;
    color: var(--page-responsible-gambling-tools-budget-management-text-dark);
}

.page-responsible-gambling-tools-budget-management__numbered-list {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding-left: 0;
    margin-top: 20px;
}

.page-responsible-gambling-tools-budget-management__numbered-list li {
    counter-increment: my-awesome-counter;
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-left: 40px;
}

.page-responsible-gambling-tools-budget-management__numbered-list li::before {
    content: counter(my-awesome-counter);
    background-color: var(--page-responsible-gambling-tools-budget-management-primary-color);
    color: var(--page-responsible-gambling-tools-budget-management-text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9em;
}

.page-responsible-gambling-tools-budget-management__call-to-action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--page-responsible-gambling-tools-budget-management-primary-color);
}

.page-responsible-gambling-tools-budget-management__commitment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.page-responsible-gambling-tools-budget-management__conclusion {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-responsible-gambling-tools-budget-management__hero-title {
        font-size: 2.5em;
    }

    .page-responsible-gambling-tools-budget-management__hero-description {
        font-size: 1em;
    }

    .page-responsible-gambling-tools-budget-management__section-title {
        font-size: 2em;
    }

    .page-responsible-gambling-tools-budget-management__content-wrapper {
        flex-direction: column;
    }

    .page-responsible-gambling-tools-budget-management__image-wrapper {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }

    .page-responsible-gambling-tools-budget-management__tool-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling-tools-budget-management__numbered-list li {
        padding-left: 0;
        text-align: center;
    }

    .page-responsible-gambling-tools-budget-management__numbered-list li::before {
        position: static;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-tools-budget-management__hero-title {
        font-size: 2em;
    }

    .page-responsible-gambling-tools-budget-management__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling-tools-budget-management__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}