.page-responsible-gaming {
    background-color: #B71C1C;
    color: #FFF5E1;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for main content */
}

.page-responsible-gaming__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    background-color: #7A0E0E; /* Deep Red for hero section background */
}

.page-responsible-gaming__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
    margin-bottom: 20px; /* Space between image and content */
}

.page-responsible-gaming__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.page-responsible-gaming__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F4D34D; /* Gold color for main title */
}

.page-responsible-gaming__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gaming__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E; /* Deep Red for button text */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #F2B544; /* Border color */
    box-shadow: 0 0 10px #FFCC66; /* Glow color */
}

.page-responsible-gaming__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 102, 0.7); /* Enhanced glow */
}

.page-responsible-gaming__cta-button--secondary {
    background: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    border: 2px solid #F2B544;
    box-shadow: none;
}

.page-responsible-gaming__cta-button--secondary:hover {
    background: #E53935; /* Auxiliary color */
    transform: translateY(-3px);
    box-shadow: 0 0 10px #FFCC66;
}

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

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #F4D34D; /* Gold color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.page-responsible-gaming__content-wrapper p,
.page-responsible-gaming__content-wrapper ul {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-responsible-gaming__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-responsible-gaming__card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #7A0E0E; /* Deep Red border for cards */
}

.page-responsible-gaming__card-image {
    width: 100%;
    height: 200px; /* Min height 200px for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Ensure min width for card images */
}

.page-responsible-gaming__card-title {
    font-size: 1.4em;
    color: #FFD86A; /* Lighter gold for card titles */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-responsible-gaming__card-text {
    font-size: 0.95em;
    color: #FFF5E1;
}

.page-responsible-gaming__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-responsible-gaming__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-responsible-gaming__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #7A0E0E;
}

.page-responsible-gaming__faq-question {
    padding: 18px 25px;
    background-color: #E53935; /* Auxiliary color for FAQ question background */
    color: #FFF5E1;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
    background-color: #C91F17; /* Main color on hover */
}

.page-responsible-gaming__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-responsible-gaming__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-responsible-gaming__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #D32F2F; /* Card BG */
    color: #FFF5E1;
}

.page-responsible-gaming__faq-answer p {
    padding: 15px 0;
    margin: 0;
}

/* Ensure images in content areas are not too small */
.page-responsible-gaming img:not(.page-responsible-gaming__hero-image) {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width for responsive scaling */
    height: auto; /* Allow auto height for responsive scaling */
    max-width: 100%; /* Ensure images don't overflow */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-responsible-gaming__hero-image {
        max-height: 300px;
    }

    .page-responsible-gaming__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-responsible-gaming__intro-text {
        font-size: 1em;
    }

    .page-responsible-gaming__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

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

    .page-responsible-gaming__card-image {
        height: auto; /* Allow height to adjust for smaller screens */
    }

    .page-responsible-gaming__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-responsible-gaming__faq-answer p {
        padding: 10px 0;
    }

    /* Important: Mobile content images must not overflow */
    .page-responsible-gaming img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-responsible-gaming__hero-image {
        max-height: 250px;
    }

    .page-responsible-gaming__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-responsible-gaming__section {
        padding: 40px 15px;
    }

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

    .page-responsible-gaming__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}