/* style/responsible-gambling-healthy-habits.css */

:root {
    --primary-bg: #1A202C;
    --secondary-bg: #2D3748;
    --accent-color: #E53E3E;
    --text-color-light: #F7FAFC;
    --text-color-dark: #A0AEC0;
    --button-hover-bg: #C53030;
    --card-bg: #2D3748;
    --border-color: #4A5568;
}

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

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

.page-responsible-gambling-healthy-habits__hero-section {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #3a0d0d 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling-healthy-habits__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-weight: bold;
    line-height: 1.2;
}

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

.page-responsible-gambling-healthy-habits__cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-responsible-gambling-healthy-habits__cta-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-2px);
}

.page-responsible-gambling-healthy-habits__section-title {
    font-size: 2.5em;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
    font-weight: bold;
}

.page-responsible-gambling-healthy-habits__introduction-section,
.page-responsible-gambling-healthy-habits__principles-section,
.page-responsible-gambling-healthy-habits__platform-support-section,
.page-responsible-gambling-healthy-habits__cta-bottom-section,
.page-responsible-gambling-healthy-habits__resources-section {
    padding: 60px 0;
    background-color: var(--secondary-bg);
    margin-top: 20px;
    border-radius: 10px;
}

.page-responsible-gambling-healthy-habits__introduction-section {
    background-color: var(--primary-bg);
}

.page-responsible-gambling-healthy-habits__text-content {
    font-size: 1.1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    text-align: justify;
}

.page-responsible-gambling-healthy-habits__image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling-healthy-habits__image--left {
    float: left;
    margin-right: 30px;
}

.page-responsible-gambling-healthy-habits__image--right {
    float: right;
    margin-left: 30px;
}

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

.page-responsible-gambling-healthy-habits__grid-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--accent-color);
}

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

.page-responsible-gambling-healthy-habits__grid-title {
    font-size: 1.8em;
    color: var(--text-color-light);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling-healthy-habits__list {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-color-dark);
    margin-top: 15px;
}

.page-responsible-gambling-healthy-habits__list li {
    margin-bottom: 10px;
}

.page-responsible-gambling-healthy-habits__list--large li {
    font-size: 1.1em;
}

.page-responsible-gambling-healthy-habits__platform-support-section .page-responsible-gambling-healthy-habits__list {
    list-style-type: decimal;
}

.page-responsible-gambling-healthy-habits__cta-bottom-section {
    text-align: center;
    background-color: var(--primary-bg);
    padding: 80px 0;
}

.page-responsible-gambling-healthy-habits__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-responsible-gambling-healthy-habits__secondary-cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    margin-left: 20px;
}

.page-responsible-gambling-healthy-habits__secondary-cta-button:hover {
    color: var(--text-color-light);
    background-color: var(--accent-color);
}

.page-responsible-gambling-healthy-habits__resources-section {
    background-color: var(--secondary-bg);
}

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

.page-responsible-gambling-healthy-habits__resource-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-responsible-gambling-healthy-habits__resource-title {
    font-size: 1.5em;
    color: var(--text-color-light);
    margin-bottom: 10px;
}

.page-responsible-gambling-healthy-habits__resource-description {
    color: var(--text-color-dark);
    margin-bottom: 20px;
    font-size: 0.95em;
}

.page-responsible-gambling-healthy-habits__resource-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-responsible-gambling-healthy-habits__resource-link:hover {
    color: var(--text-color-light);
}

.page-responsible-gambling-healthy-habits .highlight {
    color: var(--accent-color);
}

/* Clearfix for floated images */
.page-responsible-gambling-healthy-habits__introduction-section::after,
.page-responsible-gambling-healthy-habits__platform-support-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-responsible-gambling-healthy-habits__hero-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling-healthy-habits__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling-healthy-habits__image--left,
    .page-responsible-gambling-healthy-habits__image--right {
        float: none;
        margin: 30px auto;
    }
    .page-responsible-gambling-healthy-habits__text-content {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling-healthy-habits__hero-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling-healthy-habits__hero-subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gambling-healthy-habits__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-healthy-habits__cta-button,
    .page-responsible-gambling-healthy-habits__cta-button--large,
    .page-responsible-gambling-healthy-habits__secondary-cta-button {
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0;
        margin-right: 0;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    .page-responsible-gambling-healthy-habits__secondary-cta-button {
        margin-top: 15px;
    }
    .page-responsible-gambling-healthy-habits__grid-item,
    .page-responsible-gambling-healthy-habits__resource-card {
        padding: 20px;
    }
    .page-responsible-gambling-healthy-habits__grid-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling-healthy-habits__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling-healthy-habits__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling-healthy-habits__container {
        padding: 0 15px;
    }
    .page-responsible-gambling-healthy-habits__hero-section,
    .page-responsible-gambling-healthy-habits__introduction-section,
    .page-responsible-gambling-healthy-habits__principles-section,
    .page-responsible-gambling-healthy-habits__platform-support-section,
    .page-responsible-gambling-healthy-habits__cta-bottom-section,
    .page-responsible-gambling-healthy-habits__resources-section {
        padding: 40px 0;
    }
}