/* style/support.css */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Inherited from shared, ensuring contrast */
}

.page-support__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background-color: #017439; /* Primary brand color */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: #ffffff;
}

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

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-support__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-inline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login button color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-support__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-support__btn-inline {
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-support__btn-inline:hover {
    background-color: #005a2a;
    border-color: #005a2a;
}

.page-support__section-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-support__why-us-section,
.page-support__contact-section,
.page-support__resources-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-support__why-us-section .page-support__section-title,
.page-support__why-us-section .page-support__section-intro,
.page-support__why-us-section .page-support__feature-title,
.page-support__why-us-section .page-support__feature-description,
.page-support__contact-section .page-support__section-title,
.page-support__contact-section .page-support__section-intro,
.page-support__contact-section .page-support__method-title,
.page-support__contact-section .page-support__method-description,
.page-support__resources-section .page-support__section-title,
.page-support__resources-section .page-support__section-intro,
.page-support__resources-section .page-support__resource-title,
.page-support__resources-section .page-support__resource-description {
    color: #333333; /* Ensure dark text on light background */
}

.page-support__dark-bg {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-support__light-bg {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-support__features-grid,
.page-support__contact-methods,
.page-support__resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__feature-card,
.page-support__method-card,
.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark sections */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__why-us-section .page-support__feature-card,
.page-support__contact-section .page-support__method-card,
.page-support__resources-section .page-support__resource-card {
    background-color: #f9f9f9; /* Light background for cards in light sections */
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-support__feature-card:hover,
.page-support__method-card:hover,
.page-support__resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-support__feature-title,
.page-support__method-title,
.page-support__resource-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #017439;
}

.page-support__faq-section {
    padding: 80px 0;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 50px auto;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-item summary {
    list-style: none;
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #017439;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #005a2a;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-support__faq-answer {
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

.page-support__responsible-gambling-section {
    padding: 80px 0;
}

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

.page-support__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.page-support__feature-item-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__feature-item-description {
    color: #f0f0f0;
}

.page-support__resource-card {
    text-decoration: none;
    color: #333333; /* Dark text for light background */
}

.page-support__resource-card .page-support__resource-title {
    color: #017439;
}

.page-support__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__image-full-width {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 50px;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
        min-height: 400px;
    }

    .page-support__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-support__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-inline {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-support__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-support__features-grid,
    .page-support__contact-methods,
    .page-support__resources-grid,
    .page-support__responsible-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__feature-card,
    .page-support__method-card,
    .page-support__resource-card,
    .page-support__feature-item {
        padding: 25px;
    }

    .page-support__feature-title,
    .page-support__method-title,
    .page-support__resource-title,
    .page-support__feature-item-title {
        font-size: 1.5em;
    }

    .page-support__faq-list {
        margin: 30px auto;
    }

    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-support__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .page-support__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Enforce minimum size */
        min-height: 200px; /* Enforce minimum size */
    }

    .page-support__why-us-section,
    .page-support__contact-section,
    .page-support__resources-section,
    .page-support__faq-section,
    .page-support__responsible-gambling-section,
    .page-support__cta-final-section {
        padding: 40px 0;
    }
}

/* Ensure images within content areas are not too small */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Global image size constraint for content area images */
.page-support__why-us-section img,
.page-support__faq-section img,
.page-support__contact-section img,
.page-support__responsible-gambling-section img {
    min-width: 200px;
    min-height: 200px;
}