/* style/responsible-gambling.css */

/* --- General Styles --- */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #121212 requires light text */
    background-color: transparent; /* Body background from shared.css */
}

.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: 2.5em;
    color: #017439; /* Brand primary color */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-responsible-gambling__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-responsible-gambling__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

.page-responsible-gambling__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    text-align: left;
    color: #f0f0f0;
}

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

.page-responsible-gambling__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__image-content--center {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.page-responsible-gambling__btn-primary,
.page-responsible-gambling__btn-secondary,
.page-responsible-gambling__btn-link {
    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-gambling__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-responsible-gambling__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-responsible-gambling__btn-secondary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
    margin-left: 15px;
}

.page-responsible-gambling__btn-secondary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-responsible-gambling__btn-link {
    background: none;
    border: 2px solid #017439;
    color: #017439;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-responsible-gambling__btn-link:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-responsible-gambling__cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-responsible-gambling__cta-buttons--center {
    justify-content: center;
}

/* --- Hero Section --- */
.page-responsible-gambling__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-responsible-gambling__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-responsible-gambling__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-responsible-gambling__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* --- Features Grid (Tools Section) --- */
.page-responsible-gambling__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-responsible-gambling__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for dark body */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-responsible-gambling__feature-title {
    font-size: 1.5em;
    color: #017439; /* Brand primary color */
    margin-bottom: 15px;
}

.page-responsible-gambling__feature-description {
    color: #f0f0f0;
    font-size: 1em;
}

/* --- Signs Section --- */
.page-responsible-gambling__signs {
    background-color: rgba(0, 0, 0, 0.4); /* Slightly darker background for contrast */
}

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

.page-responsible-gambling__card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__card--dark-bg {
    background-color: rgba(1, 116, 57, 0.2); /* Transparent brand green */
    border: 1px solid #017439;
}

.page-responsible-gambling__card-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 20px;
}

/* --- Support Organizations Section --- */
.page-responsible-gambling__support-orgs {
    background-color: #1a1a1a; /* Darker background */
}

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

.page-responsible-gambling__card--light-bg {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-responsible-gambling__card--light-bg .page-responsible-gambling__card-title {
    color: #017439;
}

.page-responsible-gambling__card--light-bg .page-responsible-gambling__text-block {
    color: #333333;
}

.page-responsible-gambling__card--light-bg .page-responsible-gambling__btn-link {
    color: #017439;
    border-color: #017439;
}

.page-responsible-gambling__card--light-bg .page-responsible-gambling__btn-link:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-responsible-gambling__support-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: grayscale(100%); /* Grayscale for logos */
    transition: filter 0.3s ease;
}

.page-responsible-gambling__card--light-bg:hover .page-responsible-gambling__support-logo {
    filter: grayscale(0%); /* Color on hover */
}


/* --- Underage Protection Section --- */
.page-responsible-gambling__underage-protection {
    background-color: rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling__text-content {
    text-align: left;
}