/* style/responsible-gaming.css */
.page-responsible-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#121212), so text should be light */
    background-color: transparent; /* Main content background will be transparent to show body background */
}

/* Hero Section */
.page-responsible-gaming__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #1a1a1a; /* Darker background for hero to contrast with body */
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden; /* For image */
}

.page-responsible-gaming__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
    margin-bottom: 40px;
}

.page-responsible-gaming__hero-title {
    font-size: 3.2em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-responsible-gaming__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-responsible-gaming__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    white-space: normal; /* Allow button text to wrap */
    word-wrap: break-word; /* Allow button text to wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-responsible-gaming__cta-button--primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-responsible-gaming__cta-button--primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-responsible-gaming__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
}

.page-responsible-gaming__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.page-responsible-gaming__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-responsible-gaming__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark body background */
}

.page-responsible-gaming__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-responsible-gaming__dark-section {
    background-color: #1e1e1e; /* Slightly lighter dark background for contrast */
    padding: 60px 0;
    color: #ffffff;
}

.page-responsible-gaming__introduction-section {
    padding: 60px 0;
    background-color: #121212; /* Matches body background */
}

/* Feature Grid (Tools Section) */
.page-responsible-gaming__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark bg */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff; /* Light text for card */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-responsible-gaming__feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-responsible-gaming__feature-icon {
    width: 100%; /* Full width for content images */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-responsible-gaming__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-responsible-gaming__feature-description {
    font-size: 1em;
    color: #e0e0e0;
}

/* Identify Problem Section */
.page-responsible-gaming__identify-problem-section {
    padding: 60px 0;
    background-color: #121212;
}

.page-responsible-gaming__checklist {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-responsible-gaming__checklist-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* Support Section */
.page-responsible-gaming__support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gaming__support-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-responsible-gaming__support-icon {
    width: 100%; /* Full width for content images */
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-responsible-gaming__support-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

.page-responsible-gaming__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    white-space: normal; /* Allow button text to wrap */
    word-wrap: break-word; /* Allow button text to wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
}

.page-responsible-gaming__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Minor Protection Section */
.page-responsible-gaming__minor-protection-section {
    padding: 60px 0;
    background-color: #121212;
}

.page-responsible-gaming__tips-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    color: #f0f0f0;
}

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

/* FAQ Section */
.page-responsible-gaming__faq-section {
    padding: 60px 0;
    background-color: #1e1e1e;
}

.page-responsible-gaming__faq-list {
    margin-top: 40px;
}

.page-responsible-gaming__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-responsible-gaming__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
    background-color: #1e87c0;
}

.page-responsible-gaming__faq-title {
    margin: 0;
    color: #ffffff;
}

.page-responsible-gaming__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-responsible-gaming__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #e0e0e0;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content, !important for JS override */
    padding: 20px 25px;
}

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

/* Contact CTA Section */
.page-responsible-gaming__contact-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Strong brand color for CTA */
    color: #ffffff;
}

.page-responsible-gaming__contact-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-responsible-gaming__contact-cta-section .page-responsible-gaming__section-title {
    color: #ffffff;
    padding-top: 0;
}
}