/* style/responsible-gambling.css */
.page-responsible-gambling {
    color: #ffffff; /* Light text for dark body background */
    padding-top: var(--header-offset, 120px);
}

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

.page-responsible-gambling__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    background-color: rgba(0, 0, 0, 0.8);
}

.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-responsible-gambling__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-responsible-gambling__hero-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__hero-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-responsible-gambling__commitment-section,
.page-responsible-gambling__tools-section,
.page-responsible-gambling__problem-gambling-section,
.page-responsible-gambling__seeking-help-section,
.page-responsible-gambling__minors-protection-section,
.page-responsible-gambling__faqs-section,
.page-responsible-gambling__cta-section {
    padding: 60px 0;
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__commitment-section h2,
.page-responsible-gambling__tools-section h2,
.page-responsible-gambling__problem-gambling-section h2,
.page-responsible-gambling__seeking-help-section h2,
.page-responsible-gambling__minors-protection-section h2,
.page-responsible-gambling__faqs-section h2,
.page-responsible-gambling__cta-section h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    color: #FCBC45;
}

.page-responsible-gambling__commitment-text,
.page-responsible-gambling__tools-intro,
.page-responsible-gambling__problem-gambling-intro,
.page-responsible-gambling__seeking-help-intro,
.page-responsible-gambling__minors-protection-text,
.page-responsible-gambling__local-support-text,
.page-responsible-gambling__cta-text {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-responsible-gambling__commitment-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__commitment-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

.page-responsible-gambling__tool-card,
.page-responsible-gambling__resource-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-responsible-gambling__tool-card:hover,
.page-responsible-gambling__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__tool-image,
.page-responsible-gambling__resource-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

.page-responsible-gambling__tool-card-title,
.page-responsible-gambling__resource-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FCBC45;
}

.page-responsible-gambling__tool-card-text,
.page-responsible-gambling__resource-card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-responsible-gambling__resource-link {
    display: inline-block;
    margin-top: 20px;
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-responsible-gambling__resource-link:hover {
    background-color: #e0a53b;
}

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

.page-responsible-gambling__sign-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #FCBC45;
    padding: 25px;
    border-radius: 8px;
    color: #ffffff;
}

.page-responsible-gambling__sign-item-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FCBC45;
}

.page-responsible-gambling__sign-item-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-responsible-gambling__seeking-help-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-responsible-gambling__seeking-help-button:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-responsible-gambling__minors-protection-section {
    text-align: center;
}

.page-responsible-gambling__minors-protection-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    object-fit: cover;
    min-height: 200px;
    min-width: 200px;
}

.page-responsible-gambling__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    color: #ffffff;
}

.page-responsible-gambling__faq-question {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FCBC45;
}

.page-responsible-gambling__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

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

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

.page-responsible-gambling__cta-button--register {
    background-color: #FFFFFF;
    color: #000000;
}

.page-responsible-gambling__cta-button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-responsible-gambling__cta-button--login {
    background-color: #FCBC45;
    color: #000000;
}

.page-responsible-gambling__cta-button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

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

    .page-responsible-gambling__commitment-section h2,
    .page-responsible-gambling__tools-section h2,
    .page-responsible-gambling__problem-gambling-section h2,
    .page-responsible-gambling__seeking-help-section h2,
    .page-responsible-gambling__minors-protection-section h2,
    .page-responsible-gambling__faqs-section h2,
    .page-responsible-gambling__cta-section h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling {
        padding-top: var(--header-offset, 120px);
    }

    .page-responsible-gambling__hero-section {
        padding: 60px 20px;
        min-height: 500px;
    }

    .page-responsible-gambling__hero-title {
        font-size: 2.5em;
    }

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

    .page-responsible-gambling__commitment-section h2,
    .page-responsible-gambling__tools-section h2,
    .page-responsible-gambling__problem-gambling-section h2,
    .page-responsible-gambling__seeking-help-section h2,
    .page-responsible-gambling__minors-protection-section h2,
    .page-responsible-gambling__faqs-section h2,
    .page-responsible-gambling__cta-section h2 {
        font-size: 1.8em;
    }

    .page-responsible-gambling__commitment-text,
    .page-responsible-gambling__tools-intro,
    .page-responsible-gambling__problem-gambling-intro,
    .page-responsible-gambling__seeking-help-intro,
    .page-responsible-gambling__minors-protection-text,
    .page-responsible-gambling__local-support-text,
    .page-responsible-gambling__cta-text {
        font-size: 0.95em;
    }

    .page-responsible-gambling__tools-grid,
    .page-responsible-gambling__resources-grid,
    .page-responsible-gambling__signs-list {
        grid-template-columns: 1fr;
    }

    .page-responsible-gambling__tool-card,
    .page-responsible-gambling__resource-card,
    .page-responsible-gambling__sign-item,
    .page-responsible-gambling__faq-item {
        padding: 20px;
    }

    .page-responsible-gambling__tool-card-title,
    .page-responsible-gambling__resource-card-title {
        font-size: 1.5em;
    }

    .page-responsible-gambling__sign-item-title {
        font-size: 1.3em;
    }

    .page-responsible-gambling__faq-question {
        font-size: 1.4em;
    }

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

    .page-responsible-gambling__cta-button {
        width: 100%;
    }

    /* Ensure content images do not overflow */
    .page-responsible-gambling img {
        max-width: 100%;
        height: auto;
    }
}

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

    .page-responsible-gambling__commitment-section h2,
    .page-responsible-gambling__tools-section h2,
    .page-responsible-gambling__problem-gambling-section h2,
    .page-responsible-gambling__seeking-help-section h2,
    .page-responsible-gambling__minors-protection-section h2,
    .page-responsible-gambling__faqs-section h2,
    .page-responsible-gambling__cta-section h2 {
        font-size: 1.5em;
    }

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