/* style/responsible-gambling.css */

/* Base styles for the responsible gambling page */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light backgrounds */
    background-color: #f9f9f9;
}

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

/* Hero Section */
.page-responsible-gambling__hero {
    background: linear-gradient(135deg, #0A2239, #1a3a5a); /* Dark blue gradient */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E0B44B; /* Gold for emphasis */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-responsible-gambling__hero-cta {
    display: inline-block;
    background-color: #E0B44B; /* Gold button */
    color: #0A2239; /* Dark blue text on gold */
    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;
    border: 2px solid #E0B44B;
}

.page-responsible-gambling__hero-cta:hover {
    background-color: #d1a540; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

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

.page-responsible-gambling__section--dark {
    background-color: #0A2239; /* Dark blue background */
    color: #e0e0e0; /* Light text for dark background */
}

.page-responsible-gambling__section--dark .page-responsible-gambling__section-title {
    color: #E0B44B; /* Gold title on dark background */
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #0A2239; /* Dark blue title */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-responsible-gambling__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #555555;
}

.page-responsible-gambling__section--dark .page-responsible-gambling__section-description {
    color: #cccccc;
}

/* Content Wrapper with Image */
.page-responsible-gambling__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-responsible-gambling__text-content {
    flex: 2;
    min-width: 300px;
}

.page-responsible-gambling__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333333;
}

.page-responsible-gambling__section--dark .page-responsible-gambling__text-content p {
    color: #e0e0e0;
}

.page-responsible-gambling__image-content {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

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

/* Grid for Signs of Problem Gambling */
.page-responsible-gambling__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-responsible-gambling__grid-item {
    background-color: #1a3a5a; /* Slightly lighter dark blue for cards */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-responsible-gambling__grid-item:hover {
    transform: translateY(-5px);
    background-color: #2b4e70;
}

.page-responsible-gambling__grid-item h3 {
    color: #E0B44B; /* Gold for subheadings */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-responsible-gambling__grid-item p {
    color: #e0e0e0;
    font-size: 1em;
}

.page-responsible-gambling__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(20%) saturate(1500%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Make icons gold-ish */
}

.page-responsible-gambling__cta-text {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #E0B44B; /* Gold text for CTA */
    font-weight: bold;
}

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

.page-responsible-gambling__feature-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    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.15);
}

.page-responsible-gambling__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: invert(10%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(50%) contrast(100%); /* Dark blue icon for light background */
}

.page-responsible-gambling__feature-item h3 {
    color: #0A2239;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-responsible-gambling__feature-item p {
    color: #555555;
    font-size: 1em;
}

.page-responsible-gambling__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-responsible-gambling__cta-center p {
    color: #0A2239;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Detail Page List */
.page-responsible-gambling__section--details {
    background-color: #f0f5f9; /* Light blue-ish background */
}

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

.page-responsible-gambling__detail-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-responsible-gambling__detail-title {
    color: #0A2239;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gambling__detail-description {
    color: #555555;
    font-size: 1em;
    flex-grow: 1; /* Make description take up available space */
    margin-bottom: 20px;
}

/* Buttons */
.page-responsible-gambling__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-align: center;
    margin-top: auto; /* Push button to bottom */
}

.page-responsible-gambling__btn--primary {
    background-color: #E0B44B;
    color: #0A2239;
    border: 2px solid #E0B44B;
}

.page-responsible-gambling__btn--primary:hover {
    background-color: #d1a540;
    color: #0A2239;
    transform: translateY(-2px);
}

.page-responsible-gambling__btn--secondary {
    background-color: transparent;
    color: #0A2239;
    border: 2px solid #0A2239;
}

.page-responsible-gambling__btn--secondary:hover {
    background-color: #0A2239;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Final CTA Section */
.page-responsible-gambling__section--final-cta {
    background-color: #0A2239;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-responsible-gambling__final-cta-content .page-responsible-gambling__section-title {
    color: #E0B44B;
    margin-bottom: 20px;
}

.page-responsible-gambling__final-cta-content .page-responsible-gambling__section-description {
    color: #e0e0e0;
    margin-bottom: 40px;
}

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

.page-responsible-gambling__cta-buttons .page-responsible-gambling__btn {
    min-width: 200px;
}

.page-responsible-gambling__cta-buttons .page-responsible-gambling__btn--secondary {
    color: #ffffff;
    border-color: #E0B44B;
}

.page-responsible-gambling__cta-buttons .page-responsible-gambling__btn--secondary:hover {
    background-color: #E0B44B;
    color: #0A2239;
}


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

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

    .page-responsible-gambling__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-responsible-gambling__image-content {
        order: -1; /* Image above text on smaller screens */
    }

    .page-responsible-gambling__grid,
    .page-responsible-gambling__features-grid,
    .page-responsible-gambling__detail-list {
        grid-template-columns: 1fr;
    }
}

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

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

    .page-responsible-gambling__hero-subtitle {
        font-size: 1.2em;
    }

    .page-responsible-gambling__section {
        padding: 40px 0;
    }

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

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

    .page-responsible-gambling__grid-item,
    .page-responsible-gambling__feature-item,
    .page-responsible-gambling__detail-item {
        padding: 20px;
    }

    .page-responsible-gambling__grid-item h3,
    .page-responsible-gambling__feature-item h3 {
        font-size: 1.3em;
    }

    .page-responsible-gambling__detail-title {
        font-size: 1.5em;
    }

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

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

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

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

    .page-responsible-gambling__hero-cta {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }

    .page-responsible-gambling__icon,
    .page-responsible-gambling__feature-icon {
        width: 50px;
        height: 50px;
    }
}