/* style/responsible-gaming.css */

:root {
    --f8bet50-primary-color: #11A84E;
    --f8bet50-secondary-color: #22C768;
    --f8bet50-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --f8bet50-card-bg: #11271B;
    --f8bet50-background: #08160F;
    --f8bet50-text-main: #F2FFF6;
    --f8bet50-text-secondary: #A7D9B8;
    --f8bet50-border-color: #2E7A4E;
    --f8bet50-glow-color: #57E38D;
    --f8bet50-gold-color: #F2C14E;
    --f8bet50-divider-color: #1E3A2A;
    --f8bet50-deep-green: #0A4B2C;
}

.page-responsible-gaming {
    font-family: Arial, sans-serif;
    color: var(--f8bet50-text-main);
    background-color: var(--f8bet50-background);
    line-height: 1.6;
}

.page-responsible-gaming__section {
    padding: 60px 0;
    position: relative;
}

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

.page-responsible-gaming__hero-section {
    padding-top: 10px; /* Aligns with body padding-top from shared.css */
    background-color: var(--f8bet50-deep-green);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gaming__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-responsible-gaming__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-responsible-gaming__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-responsible-gaming__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--f8bet50-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__lead-paragraph {
    font-size: 1.1em;
    color: var(--f8bet50-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--f8bet50-button-gradient);
    color: var(--f8bet50-text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-responsible-gaming__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-responsible-gaming__section-title {
    font-size: 2.2em;
    color: var(--f8bet50-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__subsection-title {
    font-size: 1.6em;
    color: var(--f8bet50-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-responsible-gaming__text-block {
    font-size: 1em;
    color: var(--f8bet50-text-main);
    margin-bottom: 20px;
}

.page-responsible-gaming__text-secondary {
    color: var(--f8bet50-text-secondary);
}

.page-responsible-gaming__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-responsible-gaming__list-item {
    margin-bottom: 10px;
    color: var(--f8bet50-text-main);
}

.page-responsible-gaming__dark-section {
    background-color: var(--f8bet50-card-bg);
}

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

.page-responsible-gaming__tool-card,
.page-responsible-gaming__support-card {
    background-color: var(--f8bet50-background);
    border: 1px solid var(--f8bet50-border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__tool-card:hover,
.page-responsible-gaming__support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__tool-icon,
.page-responsible-gaming__support-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-responsible-gaming__tool-title,
.page-responsible-gaming__support-title {
    font-size: 1.4em;
    color: var(--f8bet50-primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-responsible-gaming__tool-description,
.page-responsible-gaming__support-description {
    font-size: 0.95em;
    color: var(--f8bet50-text-secondary);
    margin-bottom: 20px;
}

.page-responsible-gaming__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.page-responsible-gaming__btn-primary {
    background: var(--f8bet50-button-gradient);
    color: var(--f8bet50-text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__btn-secondary {
    background-color: transparent;
    color: var(--f8bet50-primary-color);
    border-color: var(--f8bet50-primary-color);
}

.page-responsible-gaming__btn-secondary:hover {
    background-color: rgba(var(--f8bet50-primary-color), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(var(--f8bet50-primary-color), 0.2);
}

.page-responsible-gaming__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-responsible-gaming__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__faq-list {
    margin-top: 40px;
}

.page-responsible-gaming__faq-item {
    background-color: var(--f8bet50-background);
    border: 1px solid var(--f8bet50-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-responsible-gaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--f8bet50-text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question::-webkit-details-marker {
    display: none;
}

.page-responsible-gaming__faq-question:hover {
    background-color: rgba(var(--f8bet50-primary-color), 0.1);
}

.page-responsible-gaming__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

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

.page-responsible-gaming__faq-item[open] .page-responsible-gaming__faq-toggle {
    transform: rotate(45deg);
}

.page-responsible-gaming__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: var(--f8bet50-text-secondary);
}

/* --- Mobile Responsive Styles --- */

@media (max-width: 1024px) {
    .page-responsible-gaming__main-title {
        font-size: 2.5em;
    }

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

    .page-responsible-gaming__subsection-title {
        font-size: 1.4em;
    }

    .page-responsible-gaming__tool-grid,
    .page-responsible-gaming__support-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-responsible-gaming__section {
        padding: 40px 0;
    }

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

    .page-responsible-gaming__hero-section {
        padding-top: 10px !important;
    }

    .page-responsible-gaming__hero-image-wrapper {
        max-height: 300px;
    }

    .page-responsible-gaming__hero-image {
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-responsible-gaming__hero-content {
        padding: 30px 15px;
    }

    .page-responsible-gaming__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-responsible-gaming__lead-paragraph {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-responsible-gaming__cta-button,
    .page-responsible-gaming__btn-primary,
    .page-responsible-gaming__btn-secondary,
    .page-responsible-gaming a[class*="button"],
    .page-responsible-gaming a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: center;
    }

    .page-responsible-gaming__button-group {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-responsible-gaming__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-responsible-gaming__subsection-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-responsible-gaming__text-block,
    .page-responsible-gaming__list-item,
    .page-responsible-gaming__tool-description,
    .page-responsible-gaming__support-description,
    .page-responsible-gaming__faq-answer p {
        font-size: 0.95em;
    }

    .page-responsible-gaming__tool-grid,
    .page-responsible-gaming__support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-responsible-gaming__tool-icon,
    .page-responsible-gaming__support-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .page-responsible-gaming__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-responsible-gaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

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

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