/* style/responsible-gambling-self-assessment.css */

/* Biến CSS */
:root {
    --page-responsible-gambling-self-assessment-primary-color: #0A2463;
    --page-responsible-gambling-self-assessment-secondary-color: #E3B23C;
    --page-responsible-gambling-self-assessment-text-light: #F8F8F8;
    --page-responsible-gambling-self-assessment-text-dark: #1A1A1A;
    --page-responsible-gambling-self-assessment-background-light: #FFFFFF;
    --page-responsible-gambling-self-assessment-background-dark: #071A43;
    --page-responsible-gambling-self-assessment-border-color: #CCCCCC;
    --page-responsible-gambling-self-assessment-accent-color: #546692; /* Lightened primary for contrast */
    --page-responsible-gambling-self-assessment-highlight-color: #ebc977; /* Lightened secondary for contrast */
}

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

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

/* Hero Section */
.page-responsible-gambling-self-assessment-hero-section {
    background: linear-gradient(135deg, var(--page-responsible-gambling-self-assessment-primary-color) 0%, var(--page-responsible-gambling-self-assessment-accent-color) 100%);
    color: var(--page-responsible-gambling-self-assessment-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling-self-assessment-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-responsible-gambling-self-assessment-hero-section .page-responsible-gambling-self-assessment-container {
    position: relative;
    z-index: 1;
}

.page-responsible-gambling-self-assessment-main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-responsible-gambling-self-assessment-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.page-responsible-gambling-self-assessment-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-responsible-gambling-self-assessment-cta-text {
    font-size: 1.1em;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-responsible-gambling-self-assessment-primary-button,
.page-responsible-gambling-self-assessment-secondary-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
}

.page-responsible-gambling-self-assessment-primary-button {
    background-color: var(--page-responsible-gambling-self-assessment-secondary-color);
    color: var(--page-responsible-gambling-self-assessment-primary-color);
    border: 2px solid var(--page-responsible-gambling-self-assessment-secondary-color);
}

.page-responsible-gambling-self-assessment-primary-button:hover {
    background-color: var(--page-responsible-gambling-self-assessment-highlight-color);
    border-color: var(--page-responsible-gambling-self-assessment-highlight-color);
    transform: translateY(-3px);
}

.page-responsible-gambling-self-assessment-secondary-button {
    background-color: transparent;
    color: var(--page-responsible-gambling-self-assessment-secondary-color);
    border: 2px solid var(--page-responsible-gambling-self-assessment-secondary-color);
}

.page-responsible-gambling-self-assessment-secondary-button:hover {
    background-color: var(--page-responsible-gambling-self-assessment-secondary-color);
    color: var(--page-responsible-gambling-self-assessment-primary-color);
    transform: translateY(-3px);
}

/* Content Sections */
.page-responsible-gambling-self-assessment-content-section {
    padding: 60px 0;
}

.page-responsible-gambling-self-assessment-section-assessment {
    background-color: var(--page-responsible-gambling-self-assessment-background-light);
}

.page-responsible-gambling-self-assessment-section-tools {
    background-color: var(--page-responsible-gambling-self-assessment-background-dark);
    color: var(--page-responsible-gambling-self-assessment-text-light);
}

.page-responsible-gambling-self-assessment-section-advice {
    background-color: var(--page-responsible-gambling-self-assessment-background-light);
}

.page-responsible-gambling-self-assessment-section-support {
    background-color: var(--page-responsible-gambling-self-assessment-background-dark);
    color: var(--page-responsible-gambling-self-assessment-text-light);
}

.page-responsible-gambling-self-assessment-section-final-cta {
    background-color: var(--page-responsible-gambling-self-assessment-background-light);
    text-align: center;
    padding-bottom: 100px;
}

.page-responsible-gambling-self-assessment-section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-responsible-gambling-self-assessment-primary-color);
}

.page-responsible-gambling-self-assessment-section-tools .page-responsible-gambling-self-assessment-section-title,
.page-responsible-gambling-self-assessment-section-support .page-responsible-gambling-self-assessment-section-title {
    color: var(--page-responsible-gambling-self-assessment-secondary-color);
}

.page-responsible-gambling-self-assessment-section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* Assessment Form */
.page-responsible-gambling-self-assessment-assessment-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--page-responsible-gambling-self-assessment-background-light);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--page-responsible-gambling-self-assessment-border-color);
}

.page-responsible-gambling-self-assessment-question-block {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 5px solid var(--page-responsible-gambling-self-assessment-secondary-color);
    border-radius: 5px;
}

.page-responsible-gambling-self-assessment-question-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--page-responsible-gambling-self-assessment-primary-color);
}

.page-responsible-gambling-self-assessment-question-block label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
    cursor: pointer;
    color: var(--page-responsible-gambling-self-assessment-text-dark);
}

.page-responsible-gambling-self-assessment-question-block input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: var(--page-responsible-gambling-self-assessment-secondary-color);
}

.page-responsible-gambling-self-assessment-assessment-results {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--page-responsible-gambling-self-assessment-highlight-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--page-responsible-gambling-self-assessment-primary-color);
}

.page-responsible-gambling-self-assessment-results-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-responsible-gambling-self-assessment-primary-color);
}

.page-responsible-gambling-self-assessment-assessment-results p {
    font-size: 1.1em;
    line-height: 1.8;
}

/* Tools Grid */
.page-responsible-gambling-self-assessment-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gambling-self-assessment-tool-card {
    background-color: var(--page-responsible-gambling-self-assessment-background-dark);
    border: 1px solid var(--page-responsible-gambling-self-assessment-accent-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--page-responsible-gambling-self-assessment-text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-responsible-gambling-self-assessment-tool-card:hover {
    transform: translateY(-10px);
    background-color: var(--page-responsible-gambling-self-assessment-primary-color);
}

.page-responsible-gambling-self-assessment-tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(1) brightness(1.5) sepia(1) hue-rotate(20deg) saturate(5); /* Make icons golden */
}

.page-responsible-gambling-self-assessment-tool-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-responsible-gambling-self-assessment-secondary-color);
}

.page-responsible-gambling-self-assessment-tool-description {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
    opacity: 0.9;
}

.page-responsible-gambling-self-assessment-tool-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--page-responsible-gambling-self-assessment-secondary-color);
    color: var(--page-responsible-gambling-self-assessment-primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.page-responsible-gambling-self-assessment-tool-link:hover {
    background-color: var(--page-responsible-gambling-self-assessment-highlight-color);
    transform: translateY(-2px);
}

/* Advice Section */
.page-responsible-gambling-self-assessment-advice-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-responsible-gambling-self-assessment-advice-list li {
    background-color: #f0f4f8;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 6px solid var(--page-responsible-gambling-self-assessment-secondary-color);
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--page-responsible-gambling-self-assessment-text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-responsible-gambling-self-assessment-list-icon {
    color: var(--page-responsible-gambling-self-assessment-secondary-color);
    font-size: 1.2em;
    margin-right: 10px;
    font-weight: bold;
}

.page-responsible-gambling-self-assessment-illustration {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Support Section */
.page-responsible-gambling-self-assessment-support-links {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--page-responsible-gambling-self-assessment-background-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--page-responsible-gambling-self-assessment-text-light);
}

.page-responsible-gambling-self-assessment-support-links p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.9;
}

.page-responsible-gambling-self-assessment-support-links ul {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-responsible-gambling-self-assessment-support-links li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-responsible-gambling-self-assessment-external-link {
    color: var(--page-responsible-gambling-self-assessment-secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-responsible-gambling-self-assessment-external-link:hover {
    color: var(--page-responsible-gambling-self-assessment-highlight-color);
}

/* Final CTA */
.page-responsible-gambling-self-assessment-final-cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-responsible-gambling-self-assessment-app-info {
    font-size: 1.1em;
    max-width: 700px;
    margin: 30px auto 0 auto;
    line-height: 1.7;
    color: var(--page-responsible-gambling-self-assessment-text-dark);
}

/* Sticky CTA Button */
.page-responsible-gambling-self-assessment-sticky-cta-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-responsible-gambling-self-assessment-sticky-cta-button {
    background-color: var(--page-responsible-gambling-self-assessment-secondary-color);
    color: var(--page-responsible-gambling-self-assessment-primary-color);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-responsible-gambling-self-assessment-sticky-cta-button:hover {
    background-color: var(--page-responsible-gambling-self-assessment-highlight-color);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-self-assessment-sticky-cta-icon {
    margin-right: 10px;
    font-size: 1.5em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling-self-assessment-main-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling-self-assessment-subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gambling-self-assessment-section-title {
        font-size: 2em;
    }
    .page-responsible-gambling-self-assessment-tool-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling-self-assessment-hero-section {
        padding: 80px 0;
    }
    .page-responsible-gambling-self-assessment-main-title {
        font-size: 2em;
    }
    .page-responsible-gambling-self-assessment-subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling-self-assessment-content-section {
        padding: 40px 0;
    }
    .page-responsible-gambling-self-assessment-section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-self-assessment-primary-button,
    .page-responsible-gambling-self-assessment-secondary-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling-self-assessment-question-title {
        font-size: 1.1em;
    }
    .page-responsible-gambling-self-assessment-sticky-cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    .page-responsible-gambling-self-assessment-sticky-cta-icon {
        font-size: 1.2em;
    }
    .page-responsible-gambling-self-assessment-final-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-self-assessment-main-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-self-assessment-section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling-self-assessment-question-block label {
        font-size: 0.95em;
    }
    .page-responsible-gambling-self-assessment-sticky-cta-button {
        right: 10px;
        bottom: 10px;
        padding: 10px 15px;
        font-size: 0.8em;
    }
    .page-responsible-gambling-self-assessment-sticky-cta-icon {
        font-size: 1em;
    }
}