/* style/responsible-gambling.css */

/* Biến CSS */
:root {
    --page-responsible-gambling-primary-color: #FFD700; /* Gold */
    --page-responsible-gambling-secondary-color: #8B0000; /* Dark Red */
    --page-responsible-gambling-dark-background: #1a1a1a; /* Very Dark Grey */
    --page-responsible-gambling-light-text: #f0f0f0; /* Light Grey for text */
    --page-responsible-gambling-medium-text: #cccccc; /* Medium Grey for subtitles */
    --page-responsible-gambling-border-color: #333333;
    --page-responsible-gambling-hover-color: #b39700;
}

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

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

.page-responsible-gambling__hero {
    background: linear-gradient(135deg, var(--page-responsible-gambling-primary-color), var(--page-responsible-gambling-secondary-color));
    color: var(--page-responsible-gambling-dark-background);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-responsible-gambling-dark-background);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.page-responsible-gambling__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: var(--page-responsible-gambling-dark-background);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__hero-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: var(--page-responsible-gambling-dark-background);
    color: var(--page-responsible-gambling-primary-color);
    border: 2px solid var(--page-responsible-gambling-primary-color);
}

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

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: var(--page-responsible-gambling-primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gambling__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-responsible-gambling-secondary-color);
    border-radius: 2px;
}

.page-responsible-gambling__intro, 
.page-responsible-gambling__principles, 
.page-responsible-gambling__risk-assessment, 
.page-responsible-gambling__support, 
.page-responsible-gambling__prevention, 
.page-responsible-gambling__tips, 
.page-responsible-gambling__final-cta {
    padding: 60px 0;
    background-color: var(--page-responsible-gambling-dark-background);
}

.page-responsible-gambling__intro p, 
.page-responsible-gambling__principles p, 
.page-responsible-gambling__risk-assessment p, 
.page-responsible-gambling__support p, 
.page-responsible-gambling__prevention p, 
.page-responsible-gambling__tips p, 
.page-responsible-gambling__final-cta p {
    font-size: 1.1em;
    color: var(--page-responsible-gambling-medium-text);
    margin-bottom: 20px;
}

.page-responsible-gambling__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-responsible-gambling__list li {
    background-color: #2a2a2a;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--page-responsible-gambling-primary-color);
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--page-responsible-gambling-light-text);
}

.page-responsible-gambling__list li strong {
    color: var(--page-responsible-gambling-primary-color);
}

.page-responsible-gambling__list--checklist li {
    border-left: none;
    position: relative;
    padding-left: 40px;
    background-color: transparent;
}

.page-responsible-gambling__list--checklist li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.page-responsible-gambling__list--numbered {
    list-style: decimal;
    padding-left: 30px;
}

.page-responsible-gambling__list--numbered li {
    border-left: none;
    background-color: transparent;
    padding: 10px 0;
}

.page-responsible-gambling__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-responsible-gambling__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-responsible-gambling__tool-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-responsible-gambling-border-color);
}

.page-responsible-gambling__tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--page-responsible-gambling-primary-color);
}

.page-responsible-gambling__tool-card h3 {
    color: var(--page-responsible-gambling-primary-color);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-responsible-gambling__tool-card p {
    color: var(--page-responsible-gambling-medium-text);
    font-size: 1em;
}

.page-responsible-gambling__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--page-responsible-gambling-primary-color));
}

.page-responsible-gambling__cta-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2em;
    color: var(--page-responsible-gambling-light-text);
}

.page-responsible-gambling__link {
    color: var(--page-responsible-gambling-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-responsible-gambling__link:hover {
    color: var(--page-responsible-gambling-hover-color);
    text-decoration: underline;
}

.page-responsible-gambling__detail-pages {
    background-color: #222222;
    padding: 80px 0;
}

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

.page-responsible-gambling__detail-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--page-responsible-gambling-secondary-color);
    transition: transform 0.3s ease;
}

.page-responsible-gambling__detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--page-responsible-gambling-primary-color);
}

.page-responsible-gambling__detail-card h3 {
    color: var(--page-responsible-gambling-primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-responsible-gambling__detail-card p {
    color: var(--page-responsible-gambling-medium-text);
    font-size: 1em;
    margin-bottom: 25px;
}

.page-responsible-gambling__detail-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--page-responsible-gambling-secondary-color);
    color: var(--page-responsible-gambling-light-text);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__detail-button:hover {
    background-color: #a00000;
}

.page-responsible-gambling__final-cta {
    text-align: center;
    padding: 80px 0;
    background-color: var(--page-responsible-gambling-dark-background);
}

.page-responsible-gambling__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-responsible-gambling__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.btn--primary {
    background-color: var(--page-responsible-gambling-primary-color);
    color: var(--page-responsible-gambling-dark-background);
    border: 2px solid var(--page-responsible-gambling-primary-color);
}

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

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

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

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

    .page-responsible-gambling__hero-subtitle {
        font-size: 1.2em;
    }

    .page-responsible-gambling__section-title {
        font-size: 2em;
    }

    .page-responsible-gambling__grid, .page-responsible-gambling__detail-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling__list li {
        padding: 10px 15px;
    }

    .page-responsible-gambling__list--checklist li {
        padding-left: 30px;
    }

    .page-responsible-gambling__list--checklist li::before {
        font-size: 1.2em;
    }

    .page-responsible-gambling__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-responsible-gambling__hero-button, .page-responsible-gambling__cta-button {
        width: 80%;
        margin: 0 auto;
    }
}

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

    .page-responsible-gambling__hero-subtitle {
        font-size: 1em;
    }

    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }

    .page-responsible-gambling__intro p, 
    .page-responsible-gambling__principles p, 
    .page-responsible-gambling__risk-assessment p, 
    .page-responsible-gambling__support p, 
    .page-responsible-gambling__prevention p, 
    .page-responsible-gambling__tips p, 
    .page-responsible-gambling__final-cta p {
        font-size: 0.95em;
    }

    .page-responsible-gambling__hero-button, .page-responsible-gambling__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}