/* style/responsible-gaming.css */
.page-responsible-gaming {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #FFFFFF;
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-responsible-gaming__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    text-align: center;
}

.page-responsible-gaming__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-responsible-gaming__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-responsible-gaming__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-responsible-gaming__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

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

.page-responsible-gaming__hero-button--register {
    background-color: #FCBC45;
    color: #000000;
}

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

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-responsible-gaming__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-responsible-gaming__section-text--cta {
    text-align: center;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 30px;
    color: #000000;
}

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

.page-responsible-gaming__tool-card,
.page-responsible-gaming__sign-card,
.page-responsible-gaming__help-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-responsible-gaming__tool-icon,
.page-responsible-gaming__help-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too small */
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-responsible-gaming__tool-title,
.page-responsible-gaming__sign-title,
.page-responsible-gaming__help-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
}

.page-responsible-gaming__tool-description,
.page-responsible-gaming__sign-description,
.page-responsible-gaming__help-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-responsible-gaming__button--login {
    background-color: #FCBC45;
    color: #000000;
    margin-top: 20px;
}

.page-responsible-gaming__button--login:hover {
    background-color: #e0a73d;
    transform: translateY(-2px);
}

.page-responsible-gaming__button--external {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 20px;
}

.page-responsible-gaming__button--external:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-responsible-gaming__button--support {
    background-color: #000000;
    color: #FFFFFF;
    margin-top: 40px;
}

.page-responsible-gaming__button--support:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-responsible-gaming__fair-security-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    min-width: 200px;
    min-height: 200px;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__button--join {
    background-color: #FCBC45;
    color: #000000;
    margin-top: 40px;
}

.page-responsible-gaming__button--join:hover {
    background-color: #e0a73d;
    transform: translateY(-2px);
}

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

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

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

    .page-responsible-gaming__section-text {
        font-size: 0.95em;
    }

    .page-responsible-gaming__hero-section {
        min-height: 400px;
    }

    .page-responsible-gaming__tools-grid,
    .page-responsible-gaming__signs-grid,
    .page-responsible-gaming__help-grid {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming__tool-card,
    .page-responsible-gaming__sign-card,
    .page-responsible-gaming__help-card {
        padding: 20px;
    }

    .page-responsible-gaming__tool-icon,
    .page-responsible-gaming__help-image,
    .page-responsible-gaming__fair-security-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }
}

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

    .page-responsible-gaming__hero-description {
        font-size: 0.9em;
    }

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

    .page-responsible-gaming__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gaming__content-wrapper {
        padding: 0 15px;
    }
}