/* style/resources-safe-responsible-gaming.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #0a0a0a; /* From shared.css body background */
    --button-login-color: #EA7C07;
}

.page-resources-safe-responsible-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Dark body background, so light text */
    background-color: var(--background-dark);
}

.page-resources-safe-responsible-gaming__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-safe-responsible-gaming__hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a7bb0);
    color: var(--text-light);
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-safe-responsible-gaming__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-resources-safe-responsible-gaming__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-safe-responsible-gaming__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-safe-responsible-gaming__btn-primary,
.page-resources-safe-responsible-gaming__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-safe-responsible-gaming__btn-primary {
    background-color: var(--button-login-color); /* Using login color for primary action */
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-resources-safe-responsible-gaming__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-resources-safe-responsible-gaming__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-safe-responsible-gaming__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-resources-safe-responsible-gaming__content-section,
.page-resources-safe-responsible-gaming__features-section,
.page-resources-safe-responsible-gaming__problem-gambling-section,
.page-resources-safe-responsible-gaming__help-section,
.page-resources-safe-responsible-gaming__tips-section,
.page-resources-safe-responsible-gaming__faq-section,
.page-resources-safe-responsible-gaming__promo-section {
    padding: 80px 0;
}

.page-resources-safe-responsible-gaming__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with body */
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__text-block {
    margin-bottom: 40px;
}

.page-resources-safe-responsible-gaming__text-block p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-light);
}

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

.page-resources-safe-responsible-gaming__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-safe-responsible-gaming__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__card p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-resources-safe-responsible-gaming__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-resources-safe-responsible-gaming__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-resources-safe-responsible-gaming__list-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 5px;
    flex-shrink: 0;
}

.page-resources-safe-responsible-gaming__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-safe-responsible-gaming__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-safe-responsible-gaming__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-resources-safe-responsible-gaming__faq-item.active .page-resources-safe-responsible-gaming__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-safe-responsible-gaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-resources-safe-responsible-gaming__faq-item.active .page-resources-safe-responsible-gaming__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px;
}

.page-resources-safe-responsible-gaming__image {
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.page-resources-safe-responsible-gaming__image--full-width {
    width: 100%;
    max-width: 100%;
}

.page-resources-safe-responsible-gaming__image--large {
    max-width: 100%;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-safe-responsible-gaming__main-title {
        font-size: 2.2em;
    }

    .page-resources-safe-responsible-gaming__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-resources-safe-responsible-gaming__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

    .page-resources-safe-responsible-gaming__main-title {
        font-size: 1.8em;
    }

    .page-resources-safe-responsible-gaming__intro-text {
        font-size: 1em;
    }

    .page-resources-safe-responsible-gaming__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-safe-responsible-gaming__btn-primary,
    .page-resources-safe-responsible-gaming__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-resources-safe-responsible-gaming__content-section,
    .page-resources-safe-responsible-gaming__features-section,
    .page-resources-safe-responsible-gaming__problem-gambling-section,
    .page-resources-safe-responsible-gaming__help-section,
    .page-resources-safe-responsible-gaming__tips-section,
    .page-resources-safe-responsible-gaming__faq-section,
    .page-resources-safe-responsible-gaming__promo-section {
        padding: 40px 0;
    }

    .page-resources-safe-responsible-gaming__section-title {
        font-size: 1.5em;
    }

    .page-resources-safe-responsible-gaming__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-resources-safe-responsible-gaming__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-resources-safe-responsible-gaming__card {
        padding: 20px;
    }

    .page-resources-safe-responsible-gaming__card-title {
        font-size: 1.3em;
    }

    .page-resources-safe-responsible-gaming__list {
        padding: 0 15px;
    }

    .page-resources-safe-responsible-gaming__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-resources-safe-responsible-gaming__faq-list {
        padding: 0 15px;
    }

    .page-resources-safe-responsible-gaming__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

    .page-resources-safe-responsible-gaming__faq-answer {
        padding: 0 20px;
    }

    .page-resources-safe-responsible-gaming__faq-item.active .page-resources-safe-responsible-gaming__faq-answer {
        padding: 10px 20px;
    }

    .page-resources-safe-responsible-gaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto 0 auto;
    }

    .page-resources-safe-responsible-gaming__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Ensure content sections don't overflow */
    .page-resources-safe-responsible-gaming__content-section,
    .page-resources-safe-responsible-gaming__features-section,
    .page-resources-safe-responsible-gaming__problem-gambling-section,
    .page-resources-safe-responsible-gaming__help-section,
    .page-resources-safe-responsible-gaming__tips-section,
    .page-resources-safe-responsible-gaming__faq-section,
    .page-resources-safe-responsible-gaming__promo-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-safe-responsible-gaming__main-title {
        font-size: 1.5em;
    }

    .page-resources-safe-responsible-gaming__section-title {
        font-size: 1.3em;
    }
}