/* style/responsible-gambling.css */

/* Base styles for the responsible gambling page */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1A202C; /* Dark text on light background */
    background-color: #F8F8F8; /* Light background for general sections */
}

/* Hero Section */
.page-responsible-gambling__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3A475C 100%); /* Dark gradient for hero */
    color: #F0F0F0; /* Light text on dark background */
    padding: 80px 20px;
    text-align: center;
    border-bottom: 5px solid #FFD700; /* Gold accent line */
}

.page-responsible-gambling__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
}

.page-responsible-gambling__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* General Section Styling */
.page-responsible-gambling__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
}

.page-responsible-gambling__section--dark {
    background-color: #1A202C;
    color: #F0F0F0; /* Light text on dark background */
}

.page-responsible-gambling__section--alt {
    background-color: #F0F0F0; /* Slightly off-white for contrast */
}

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

.page-responsible-gambling__heading {
    font-size: 2.5em;
    color: #1A202C;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-responsible-gambling__heading--white {
    color: #FFD700; /* Gold heading on dark background */
}

.page-responsible-gambling__sub-heading {
    font-size: 1.8em;
    color: #1A202C;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-responsible-gambling__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333;
}

.page-responsible-gambling__paragraph--white {
    color: #F0F0F0;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-responsible-gambling__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1.1em;
}

.page-responsible-gambling__list li {
    margin-bottom: 10px;
    color: #333;
}

.page-responsible-gambling__list--white li {
    color: #F0F0F0;
}

.page-responsible-gambling__list--white {
    list-style: circle inside;
}

.page-responsible-gambling__advice-list li {
    font-weight: 500;
    color: #1A202C;
}

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

.page-responsible-gambling__button--primary {
    background-color: #FFD700;
    color: #1A202C; /* Dark text on gold button */
    border: 2px solid #FFD700;
}

.page-responsible-gambling__button--primary:hover {
    background-color: #E6C200;
    color: #1A202C;
    transform: translateY(-2px);
}

.page-responsible-gambling__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background, or dark text on light background */
    border: 2px solid #FFD700;
}

.page-responsible-gambling__button--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-2px);
}

/* Image and Flexbox Layouts */
.page-responsible-gambling__flex-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-responsible-gambling__flex-content--reverse {
    flex-direction: row-reverse;
}

.page-responsible-gambling__text-content,
.page-responsible-gambling__image-content {
    flex: 1;
    min-width: 300px;
}

.page-responsible-gambling__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__image--left {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    max-width: 40%;
}

.page-responsible-gambling__image--center {
    display: block;
    margin: 40px auto;
    max-width: 70%;
}

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

.page-responsible-gambling__feature-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(10%) sepia(90%) saturate(1000%) hue-rotate(200deg) brightness(90%) contrast(90%); /* Example filter to tint icons */
}

.page-responsible-gambling__feature-title {
    font-size: 1.5em;
    color: #1A202C;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Call to Action Section */
.page-responsible-gambling__cta-section {
    background-color: #1A202C;
    color: #F0F0F0;
    text-align: center;
    padding: 80px 20px;
    border-top: 5px solid #FFD700;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__heading {
    color: #FFD700;
    margin-bottom: 25px;
}

.page-responsible-gambling__cta-section .page-responsible-gambling__paragraph {
    color: #F0F0F0;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.2em;
}

/* Scroll to top button specific styles */
.page-responsible-gambling__scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FFD700;
    color: #1A202C;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 0.9em;
    cursor: pointer;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.page-responsible-gambling__scroll-to-top:hover {
    transform: translateY(-3px);
    background-color: #E6C200;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling__title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__heading {
        font-size: 2em;
    }
    .page-responsible-gambling__flex-content {
        flex-direction: column;
    }
    .page-responsible-gambling__image--left {
        float: none;
        margin: 20px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling__title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__subtitle {
        font-size: 1.1em;
    }
    .page-responsible-gambling__heading {
        font-size: 1.8em;
    }
    .page-responsible-gambling__sub-heading {
        font-size: 1.5em;
    }
    .page-responsible-gambling__section {
        padding: 40px 15px;
    }
    .page-responsible-gambling__button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-responsible-gambling__features-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__image--center {
        max-width: 90%;
    }
    .page-responsible-gambling__scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 0.8em;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__subtitle {
        font-size: 1em;
    }
    .page-responsible-gambling__heading {
        font-size: 1.5em;
    }
    .page-responsible-gambling__list {
        padding-left: 10px;
        font-size: 1em;
    }
    .page-responsible-gambling__list li {
        margin-bottom: 8px;
    }
    .page-responsible-gambling__button {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    .page-responsible-gambling__scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 0.7em;
        bottom: 15px;
        right: 15px;
    }
}