/* style/support.css */

/* --- Base Styles --- */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Ensure consistency with body background */
    line-height: 1.6;
}

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

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

.page-support__section-title--light {
    color: #FFFFFF;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-support__section-description--light {
    color: #f0f0f0;
}

.page-support__link-inline {
    color: #017439;
    text-decoration: underline;
}

.page-support__link-inline:hover {
    color: #005a2d;
    text-decoration: none;
}

/* --- Buttons --- */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-support__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-support__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
    color: #FFFF00; 
}

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

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    border-color: #005a2d;
    color: #005a2d;
}

/* Specific button colors for Register/Login if present */
.page-support__btn-register {
    background-color: #C30808; /* Red for Register */
    color: #FFFF00; /* Yellow font for Register */
    border: 2px solid #C30808;
}
.page-support__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}
.page-support__btn-login {
    background-color: #C30808; /* Red for Login */
    color: #FFFF00; /* Yellow font for Login */
    border: 2px solid #C30808;
}
.page-support__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}


/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #f5f5f5;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-right: 40px;
    text-align: left;
}

.page-support__main-title {
    font-size: 3.5em;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.25em;
    color: #555555;
    margin-bottom: 30px;
}

.page-support__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.page-support__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 600px; /* Adjust based on hero image size */
    height: auto;
}

.page-support__hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-support__faq-category {
    margin-bottom: 60px;
}

.page-support__category-title {
    font-size: 2em;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-support__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fdfdfd;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change to '−' visual */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FFFFFF;
    color: #555555;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}
.page-support__faq-answer p:last-child {
    padding-bottom: 0;
}


/* --- Contact Section --- */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Distribute content */
}

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.page-support__contact-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-support__contact-cta {
    text-align: center;
    font-size: 1.1em;
    color: #f0f0f0;
    margin-top: 40px;
}

.page-support__contact-cta .page-support__link-inline {
    color: #FFFF00; /* Yellow for links in dark section */
}

.page-support__contact-cta .page-support__link-inline:hover {
    color: #ffcc00;
}


/* --- Responsible Gaming Section --- */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.page-support__responsible-gaming-text {
    font-size: 1.1em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-support__responsible-gaming-buttons {
    margin-top: 30px;
}


/* --- Download App Section --- */
.page-support__download-app-section {
    padding: 80px 0;
    background-color: #017439;
    color: #FFFFFF;
    text-align: center;
}

.page-support__download-app-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support__download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on mobile */
    justify-content: center;
}

.page-support__btn-download {
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-support__download-app-image {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Center image */
}


/* --- Security Section --- */
.page-support__security-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    text-align: center;
}

.page-support__security-text {
    font-size: 1.1em;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-support__security-buttons {
    margin-top: 30px;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__hero-section {
        flex-direction: column;
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px);
    }

    .page-support__hero-content {
        margin-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .page-support__hero-buttons {
        justify-content: center;
    }

    .page-support__main-title {
        font-size: 3em;
    }

    .page-support__hero-description {
        font-size: 1.1em;
    }

    .page-support__hero-image-wrapper {
        width: 80%;
    }
}


@media (max-width: 768px) {
    /* General mobile adaptations */
    .page-support__container {
        padding: 0 15px !important; /* Ensure padding for mobile */
    }

    .page-support__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

    /* Hero Section */
    .page-support__hero-section {
        padding: 40px 15px !important;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__main-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__hero-image-wrapper {
        width: 100%;
    }

    /* FAQ Section */
    .page-support__faq-section {
        padding: 40px 0;
    }
    .page-support__category-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .page-support__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }

    /* Contact Section */
    .page-support__contact-section {
        padding: 40px 0;
    }
    .page-support__contact-methods {
        grid-template-columns: 1fr;
    }
    .page-support__contact-card {
        padding: 25px;
    }
    .page-support__contact-title {
        font-size: 1.5em;
    }

    /* Download App Section */
    .page-support__download-app-section {
        padding: 40px 0;
    }
    .page-support__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__download-app-image {
        max-width: 100%;
    }

    /* Responsible Gaming & Security Sections */
    .page-support__responsible-gaming-section,
    .page-support__security-section {
        padding: 40px 0;
    }

    /* Mobile image and video responsive adaptation */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__responsible-gaming-section,
    .page-support__download-app-section,
    .page-support__security-section,
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent content overflow */
    }
    .page-support__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

/* Ensure images don't use filters */
.page-support img {
    filter: none !important;
}

/* Specific color contrast fixes if needed, but primary text color is dark on light background */
.page-support__dark-bg {
    color: #ffffff; /* Deep green background, white text */
    background-color: #017439;
}
.page-support__light-bg {
    color: #333333; /* White/light grey background, dark text */
    background-color: #ffffff;
}