/* style/responsible-gaming.css */

/* Base styles for responsible gaming page */
.page-responsible-gaming {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-responsible-gaming__hero-section {
    position: relative;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    min-height: 600px; /* Ensure hero section has a decent height */
    color: #ffffff; /* Default text color for hero section */
}

.page-responsible-gaming__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Below content and overlay */
    overflow: hidden;
}

.page-responsible-gaming__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Add an overlay for better text readability on video */
.page-responsible-gaming__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text contrast */
    z-index: -1;
}

.page-responsible-gaming__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(1, 116, 57, 0.85); /* Primary color with transparency */
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
}

.page-responsible-gaming__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

.page-responsible-gaming__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-responsible-gaming__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-responsible-gaming__dark-section {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
    padding: 60px 20px;
}

.page-responsible-gaming__section-title {
    font-size: 2.2em;
    color: #017439; /* Primary color for titles on light background */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-responsible-gaming__section-title--light {
    color: #ffffff; /* White for titles on dark background */
}

.page-responsible-gaming__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #ffffff; /* Default text color for dark body */
}

.page-responsible-gaming__text-block--light {
    color: #ffffff; /* Text color for dark sections */
}

/* Card Styles */
.page-responsible-gaming__commitment-grid,
.page-responsible-gaming__tool-grid,
.page-responsible-gaming__symptoms-list,
.page-responsible-gaming__help-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-responsible-gaming__card {
    background: #ffffff; /* White background for cards */
    color: #333333; /* Dark text for cards on white background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.page-responsible-gaming__card-title {
    font-size: 1.5em;
    color: #017439; /* Primary color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-responsible-gaming__card-text {
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-responsible-gaming__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-responsible-gaming__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-responsible-gaming__image-center {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Button Styles */
.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-responsible-gaming__btn-primary {
    background-color: #C30808; /* Red for primary action */
    color: #FFFF00; /* Yellow text for primary button */
    border: 2px solid #C30808;
}

.page-responsible-gaming__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-responsible-gaming__btn-secondary {
    background-color: transparent;
    color: #ffffff; /* White text for secondary button */
    border: 2px solid #ffffff;
}

.page-responsible-gaming__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439; /* Primary color text on hover */
}