:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212; /* From shared.css body background */
    --bg-light: #f9f9f9;
    --border-color: #333333;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --card-bg-light: #ffffff;
}

/* Base styles for the responsible gambling page */
.page-responsible-gambling {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    line-height: 1.6;
    padding-top: 120px; /* Ensure content is not hidden by fixed header */
}

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

.page-responsible-gambling__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-responsible-gambling__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-responsible-gambling__hero-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
    border-bottom: 2px solid var(--primary-color);
}

.page-responsible-gambling__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__hero-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-responsible-gambling__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-responsible-gambling__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-responsible-gambling__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.page-responsible-gambling__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-responsible-gambling__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
    color: #e0e0e0;
}

/* Specific section styles */
.page-responsible-gambling__commitment-section .page-responsible-gambling__section-title {
  color: var(--primary-color);
}

.page-responsible-gambling__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-responsible-gambling__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-responsible-gambling__text-block {
    flex: 1;
}

.page-responsible-gambling__text-block p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-responsible-gambling__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-responsible-gambling__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-responsible-gambling__list-item {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-responsible-gambling__list-item strong {
    color: var(--primary-color);
}

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

.page-responsible-gambling__signs-section .page-responsible-gambling__section-description,
.page-responsible-gambling__tips-section .page-responsible-gambling__section-description {
    color: var(--text-dark);
}

.page-responsible-gambling__checklist {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-responsible-gambling__checklist-item {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 1.05em;
}

.page-responsible-gambling__checklist-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
}

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

.page-responsible-gambling__card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-responsible-gambling__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

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

.page-responsible-gambling__card-text {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-responsible-gambling__card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gambling__card-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.page-responsible-gambling__cta-text {
    font-size: 1.1em;
    margin-top: 40px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-responsible-gambling__underage-section .page-responsible-gambling__section-title {
    color: var(--primary-color);
}

.page-responsible-gambling__underage-section .page-responsible-gambling__text-block p,
.page-responsible-gambling__underage-section .page-responsible-gambling__list-item {
    color: #f0f0f0;
}

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

.page-responsible-gambling__tips-item {
    background-color: var(--card-bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: var(--text-dark);
}

.page-responsible-gambling__tips-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-responsible-gambling__tips-text {
    color: var(--text-dark);
}

.page-responsible-gambling__external-resources-section .page-responsible-gambling__section-title {
    color: var(--primary-color);
}

.page-responsible-gambling__external-resources-section .page-responsible-gambling__section-description {
    color: #e0e0e0;
}

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

.page-responsible-gambling__resource-card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-responsible-gambling__resource-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-responsible-gambling__resource-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-responsible-gambling__resource-text {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-responsible-gambling__resource-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gambling__resource-link:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.page-responsible-gambling__final-cta-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-responsible-gambling__main-title {
        font-size: 2.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__hero-description,
    .page-responsible-gambling__section-description,
    .page-responsible-gambling__cta-text,
    .page-responsible-gambling__text-block p,
    .page-responsible-gambling__list-item,
    .page-responsible-gambling__checklist-item,
    .page-responsible-gambling__card-text,
    .page-responsible-gambling__tips-text,
    .page-responsible-gambling__resource-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling {
        padding-top: 100px !important; /* Mobile padding for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-responsible-gambling__container {
        padding: 0 15px;
    }
    .page-responsible-gambling__hero-section {
        padding: 60px 15px;
    }
    .page-responsible-gambling__main-title {
        font-size: 2.2em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-responsible-gambling__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-responsible-gambling__section {
        padding: 40px 0;
    }
    .page-responsible-gambling__content-wrapper,
    .page-responsible-gambling__content-wrapper--reverse {
        flex-direction: column;
        gap: 30px;
    }
    .page-responsible-gambling__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-responsible-gambling__image-wrapper,
    .page-responsible-gambling__text-block,
    .page-responsible-gambling__grid,
    .page-responsible-gambling__tips-list,
    .page-responsible-gambling__resource-grid,
    .page-responsible-gambling__card,
    .page-responsible-gambling__tips-item,
    .page-responsible-gambling__resource-card,
    .page-responsible-gambling__checklist {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-responsible-gambling__card-icon,
    .page-responsible-gambling__resource-icon {
        width: 60px;
        height: 60px;
    }
    .page-responsible-gambling__checklist-item {
        font-size: 0.95em;
        padding: 12px 15px;
    }
    .page-responsible-gambling__tips-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__main-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling__hero-description,
    .page-responsible-gambling__section-description {
        font-size: 0.9em;
    }
}