/* style/responsible-gaming.css */

/* Variables */
:root {
    --page-responsible-gaming-primary-color: #0A192F; /* Dark Blue */
    --page-responsible-gaming-secondary-color: #FFD700; /* Gold */
    --page-responsible-gaming-text-light: #F8F8F8; /* Near White */
    --page-responsible-gaming-text-dark: #333333;
    --page-responsible-gaming-background-alt: #1a2c42; /* Slightly lighter dark blue */
    --page-responsible-gaming-border-color: rgba(255, 215, 0, 0.3);
    --page-responsible-gaming-transition-speed: 0.3s ease;
}

/* Base styles for the page content */
.page-responsible-gaming {
    font-family: 'Arial', sans-serif;
    color: var(--page-responsible-gaming-text-dark);
    line-height: 1.6;
    background-color: var(--page-responsible-gaming-text-light);
}

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

.page-responsible-gaming__container--center-text {
    text-align: center;
}

/* Hero Section */
.page-responsible-gaming__hero {
    background: linear-gradient(135deg, var(--page-responsible-gaming-primary-color) 0%, var(--page-responsible-gaming-background-alt) 100%);
    color: var(--page-responsible-gaming-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-responsible-gaming__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-responsible-gaming-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-responsible-gaming__hero-subtitle {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.page-responsible-gaming__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Section Styles */
.page-responsible-gaming__section {
    padding: 60px 0;
    background-color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section--alt-bg {
    background-color: var(--page-responsible-gaming-background-alt);
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section-title {
    font-size: 2.8em;
    color: var(--page-responsible-gaming-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__section-title {
    color: var(--page-responsible-gaming-secondary-color);
}

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

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__section-title::after {
    background-color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__subsection-title {
    font-size: 2em;
    color: var(--page-responsible-gaming-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__subsection-title {
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__text {
    color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.page-responsible-gaming__btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--page-responsible-gaming-transition-speed);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

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

.page-responsible-gaming__btn--primary:hover {
    background-color: darken(var(--page-responsible-gaming-secondary-color), 10%); /* Gold slightly darker */
    border-color: darken(var(--page-responsible-gaming-secondary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-responsible-gaming__btn--secondary:hover {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn--details {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-secondary-color);
    border-color: var(--page-responsible-gaming-primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-responsible-gaming__btn--details:hover {
    background-color: var(--page-responsible-gaming-secondary-color);
    color: var(--page-responsible-gaming-primary-color);
    border-color: var(--page-responsible-gaming-secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Image Styles */
.page-responsible-gaming__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

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

/* Lists */
.page-responsible-gaming__list,
.page-responsible-gaming__numbered-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-responsible-gaming__list li,
.page-responsible-gaming__numbered-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-responsible-gaming-text-dark);
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__list li,
.page-responsible-gaming__section--alt-bg .page-responsible-gaming__numbered-list li {
    color: rgba(255, 255, 255, 0.9);
}

.page-responsible-gaming__list li::before {
    content: '▪'; /* Bullet point */
    position: absolute;
    left: 0;
    color: var(--page-responsible-gaming-secondary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__list li::before {
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__numbered-list li::before {
    content: counter(list-item) '.';
    counter-increment: list-item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--page-responsible-gaming-secondary-color);
    font-size: 1.2em;
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__numbered-list li::before {
    color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__list-highlight {
    color: var(--page-responsible-gaming-primary-color);
}

.page-responsible-gaming__section--alt-bg .page-responsible-gaming__list-highlight {
    color: var(--page-responsible-gaming-secondary-color);
}

/* Detail Cards for Responsible Gaming Tools */
.page-responsible-gaming__details-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-responsible-gaming__detail-card {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--page-responsible-gaming-transition-speed);
    border: 1px solid var(--page-responsible-gaming-border-color);
}

.page-responsible-gaming__detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-responsible-gaming__detail-title {
    font-size: 1.8em;
    color: var(--page-responsible-gaming-secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gaming__detail-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Call to Action Section */
.page-responsible-gaming__section--call-to-action {
    background-color: var(--page-responsible-gaming-primary-color);
    color: var(--page-responsible-gaming-text-light);
    text-align: center;
    padding: 80px 0;
}

.page-responsible-gaming__section--call-to-action .page-responsible-gaming__section-title {
    color: var(--page-responsible-gaming-secondary-color);
}

.page-responsible-gaming__section--call-to-action .page-responsible-gaming__section-title::after {
    background-color: var(--page-responsible-gaming-text-light);
}

.page-responsible-gaming__section--call-to-action .page-responsible-gaming__text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-responsible-gaming__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.page-responsible-gaming__contact-info {
    font-size: 1em;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.page-responsible-gaming__contact-link {
    color: var(--page-responsible-gaming-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color var(--page-responsible-gaming-transition-speed);
}

.page-responsible-gaming__contact-link:hover {
    color: var(--page-responsible-gaming-text-light);
    text-decoration: underline;
}

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

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

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

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

    .page-responsible-gaming__text,
    .page-responsible-gaming__list li,
    .page-responsible-gaming__numbered-list li,
    .page-responsible-gaming__detail-description {
        font-size: 1em;
    }

    .page-responsible-gaming__details-list {
        grid-template-columns: 1fr;
    }

    .page-responsible-gaming__hero-actions,
    .page-responsible-gaming__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-responsible-gaming__btn {
        width: 80%;
        margin: 0 auto;
    }
}

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

    .page-responsible-gaming__hero-subtitle {
        font-size: 1.1em;
    }

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

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

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

    .page-responsible-gaming__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-responsible-gaming__section,
    .page-responsible-gaming__hero,
    .page-responsible-gaming__section--call-to-action {
        padding: 40px 0;
    }
}

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

    .page-responsible-gaming__hero-subtitle {
        font-size: 0.95em;
    }

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

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

    .page-responsible-gaming__btn {
        width: 90%;
    }
}