/* style/responsible-gambling.css */

/* Base styles for the responsible gambling page */
.page-responsible-gambling {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-responsible-gambling__container--center {
    text-align: center;
}

/* Hero Section */
.page-responsible-gambling__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #007bff; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-responsible-gambling__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-responsible-gambling__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffc107; /* Auxiliary brand color for emphasis */
}

.page-responsible-gambling__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.page-responsible-gambling__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-responsible-gambling__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.2s ease;
    cursor: pointer;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-responsible-gambling__button--primary {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #0056b3; /* Darker shade of primary for contrast */
    border: 2px solid #ffc107;
}

.page-responsible-gambling__button--primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.page-responsible-gambling__button--secondary {
    background-color: transparent;
    color: #ffc107; /* Auxiliary brand color */
    border: 2px solid #ffc107;
}

.page-responsible-gambling__button--secondary:hover {
    background-color: #ffc107;
    color: #0056b3; /* Darker shade of primary for contrast */
    transform: translateY(-2px);
}

.page-responsible-gambling__button--contact {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-responsible-gambling__button--contact:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


.page-responsible-gambling__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background */
    z-index: 1;
}

/* Content Sections */
.page-responsible-gambling__content-section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-responsible-gambling__content-section:last-of-type {
    border-bottom: none;
}

.page-responsible-gambling__content-section--commitment {
    background-color: #f8f9fa; /* Light background for contrast */
}

.page-responsible-gambling__section-title {
    font-size: 2.5em;
    color: #007bff; /* Primary brand color */
    margin-bottom: 30px;
    text-align: center;
}

.page-responsible-gambling__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__image-inline {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
    object-fit: cover;
}

/* Lists */
.page-responsible-gambling__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0; /* Reset default padding */
}

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

.page-responsible-gambling__list-item strong {
    color: #007bff;
}

.page-responsible-gambling__list-item a {
    color: #007bff;
    text-decoration: none;
}

.page-responsible-gambling__list-item a:hover {
    text-decoration: underline;
}

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

.page-responsible-gambling__card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

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

.page-responsible-gambling__card-text {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-responsible-gambling__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-responsible-gambling__faq-question {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-responsible-gambling__faq-answer {
    font-size: 1.1em;
    color: #555555;
    display: block; /* Ensure it's always visible for this context */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Floating Buttons */
.page-responsible-gambling__floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.page-responsible-gambling__floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 150px;
}

.page-responsible-gambling__floating-button--register {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #0056b3; /* Darker shade of primary for contrast */
}

.page-responsible-gambling__floating-button--register:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-responsible-gambling__floating-button--login {
    background-color: #007bff; /* Primary brand color */
    color: #ffffff;
}

.page-responsible-gambling__floating-button--login:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-responsible-gambling__hero-title {
        font-size: 2.5em;
    }
    .page-responsible-gambling__section-title {
        font-size: 2em;
    }
    .page-responsible-gambling__cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-responsible-gambling {
        padding-top: var(--header-offset, 120px); /* Keep for mobile too */
    }
    .page-responsible-gambling__hero-section {
        padding: 60px 20px;
    }
    .page-responsible-gambling__hero-title {
        font-size: 2em;
    }
    .page-responsible-gambling__hero-description {
        font-size: 1.1em;
    }
    .page-responsible-gambling__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-responsible-gambling__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__text-block,
    .page-responsible-gambling__list-item,
    .page-responsible-gambling__card-text,
    .page-responsible-gambling__faq-question,
    .page-responsible-gambling__faq-answer {
        font-size: 1em;
    }
    .page-responsible-gambling__cards-grid {
        grid-template-columns: 1fr;
    }
    .page-responsible-gambling__floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    /* Ensure images in content area are responsive and not too small */
    .page-responsible-gambling__content-section img,
    .page-responsible-gambling__card-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce minimum size */
        min-height: 200px; /* Still enforce minimum size */
        object-fit: cover;
    }
    /* Specific rule to prevent image overflow on mobile */
    .page-responsible-gambling img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-responsible-gambling__hero-title {
        font-size: 1.8em;
    }
    .page-responsible-gambling__section-title {
        font-size: 1.5em;
    }
    .page-responsible-gambling__floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    .page-responsible-gambling__floating-button {
        font-size: 0.9em;
        padding: 12px 20px;
    }
}