:root {
    --primary-color: #017439; /* Dark Green */
    --secondary-color: #FFFFFF; /* White */
    --accent-color-register: #C30808; /* Red for Register */
    --accent-color-login: #C30808; /* Red for Login */
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --text-color-login-register: #FFFF00; /* Yellow for login/register text */
    --border-color: #e0e0e0;
    --card-bg-light: #f9f9f9;
}

.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark); /* Default text color for light body background */
    line-height: 1.6;
    padding-top: 0; /* Handled by shared.css body padding-top or hero section */
}

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

.page-responsible-gambling__section {
    padding: 60px 0;
    text-align: center;
}

.page-responsible-gambling__section-title {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-responsible-gambling__section-description {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.page-responsible-gambling__paragraph {
    font-size: 16px;
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.7;
}

/* Hero Section */
.page-responsible-gambling__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* White background for hero */
    /* Fixed header spacing - if shared.css doesn't add padding-top to body */
    padding-top: var(--header-offset, 120px);
}

.page-responsible-gambling__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-responsible-gambling__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-responsible-gambling__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-responsible-gambling__hero-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-responsible-gambling__hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-color-dark);
}

.page-responsible-gambling__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-responsible-gambling__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-responsible-gambling__cta-button--register {
    background: var(--accent-color-register);
    color: var(--text-color-light); /* Yellow for register text */
    border: 2px solid var(--accent-color-register);
}

.page-responsible-gambling__cta-button--register:hover {
    background: #a80707;
    border-color: #a80707;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-responsible-gambling__cta-button--support {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
}

.page-responsible-gambling__cta-button--support:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-responsible-gambling__cta-button--contact {
    background: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}
.page-responsible-gambling__cta-button--contact:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Dark Section Styling */
.page-responsible-gambling__dark-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-title {
    color: var(--secondary-color);
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-description {
    color: var(--secondary-color);
}

.page-responsible-gambling__dark-section .page-responsible-gambling__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-responsible-gambling__dark-section .page-responsible-gambling__card-title {
    color: var(--secondary-color);
}

/* Grid Layouts */
.page-responsible-gambling__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-responsible-gambling__grid--features {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-responsible-gambling__card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-responsible-gambling__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gambling__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-responsible-gambling__card-text {
    font-size: 16px;
    color: var(--text-color-dark);
    line-height: 1.7;
}