/* style/responsible-gaming.css */

/* Body background is handled by shared.css, which sets var(--background-color) to #08160F (dark). */
/* Therefore, text in the main content area should be light. */

.page-responsible-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-responsible-gaming__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
}

.page-responsible-gaming__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Match hero image width */
    margin-bottom: 30px;
}

.page-responsible-gaming__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-responsible-gaming__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-responsible-gaming__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
}

.page-responsible-gaming__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-responsible-gaming__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
}

.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-responsible-gaming__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-responsible-gaming__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-responsible-gaming__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button color for text */
    border: 2px solid #2AD16F; /* Border color */
}

.page-responsible-gaming__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #F2FFF6; /* Text Main */
}

/* General Section Styling */
.page-responsible-gaming__commitment-section,
.page-responsible-gaming__warning-signs-section,
.page-responsible-gaming__tools-section,
.page-responsible-gaming__support-section,
.page-responsible-gaming__faq-section,
.page-responsible-gaming__contact-section {
    padding: 80px 0;
}

.page-responsible-gaming__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
}

.page-responsible-gaming__section-intro {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-responsible-gaming__content-block {
    margin-bottom: 40px;
    background-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2E7A4E; /* Border */
}

.page-responsible-gaming__content-block.page-responsible-gaming__card {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border */
}

.page-responsible-gaming__content-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #57E38D; /* Glow */
    margin-bottom: 20px;
}

.page-responsible-gaming p {
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming ul,
.page-responsible-gaming ol {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming ul li,
.page-responsible-gaming ol li {
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming a {
    color: #2AD16F; /* Primary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-responsible-gaming a:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-responsible-gaming__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* FAQ Section */
.page-responsible-gaming__faq-list {
    margin-top: 50px;
}

.page-responsible-gaming__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: #57E38D; /* Glow */
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-responsible-gaming__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Border color with opacity */
}

.page-responsible-gaming__faq-qtext {
    flex-grow: 1;
}

.page-responsible-gaming__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F; /* Primary color */
}

.page-responsible-gaming__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Contact Section */
.page-responsible-gaming__contact-methods {
    text-align: center;
    margin-top: 30px;
}

.page-responsible-gaming__contact-methods p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-responsible-gaming__contact-methods ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-responsible-gaming__contact-methods ul li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-responsible-gaming {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-responsible-gaming__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-responsible-gaming__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-responsible-gaming__main-title {
        font-size: 2.2rem;
    }

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

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

    .page-responsible-gaming__btn-primary,
    .page-responsible-gaming__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-responsible-gaming__commitment-section,
    .page-responsible-gaming__warning-signs-section,
    .page-responsible-gaming__tools-section,
    .page-responsible-gaming__support-section,
    .page-responsible-gaming__faq-section,
    .page-responsible-gaming__contact-section {
        padding: 40px 0;
    }

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

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

    .page-responsible-gaming__content-block {
        padding: 20px;
        margin-bottom: 30px;
    }

    .page-responsible-gaming__content-subtitle {
        font-size: 1.3rem;
    }
    
    /* Mobile image responsive */
    .page-responsible-gaming img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure image containers are also responsive */
    .page-responsible-gaming__hero-image-wrapper,
    .page-responsible-gaming__content-block,
    .page-responsible-gaming__container,
    .page-responsible-gaming__commitment-section,
    .page-responsible-gaming__warning-signs-section,
    .page-responsible-gaming__tools-section,
    .page-responsible-gaming__support-section,
    .page-responsible-gaming__faq-section,
    .page-responsible-gaming__contact-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow from children */
    }

    .page-responsible-gaming__video-section { /* If video existed */
        padding-top: 10px !important;
    }
    
    /* FAQ toggle for mobile */
    .page-responsible-gaming__faq-item summary {
        padding: 15px;
        font-size: 1em;
    }

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