/* style/support.css */

/* --- General Styles --- */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.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: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-support__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-support__btn-primary:hover {
    background-color: #1a8cc4; /* Slightly darker primary */
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    display: inline-block;
    background-color: #FFFFFF;
    color: #26A9E0; /* Primary brand color for text */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid #26A9E0;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background-color: #26A9E0; /* Dark background */
    color: #FFFFFF; /* Light text */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero has a minimum height */
}

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 1;
}

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

.page-support__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-support__hero-section .page-support__btn-primary {
    background-color: #EA7C07; /* Login color for prominent CTA */
    border-color: #EA7C07;
    font-size: 1.2em;
    padding: 15px 35px;
}

.page-support__hero-section .page-support__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

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

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

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

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

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: #26A9E0;
    font-size: 1.1em;
}

.page-support__faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #26A9E0;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus */
}

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-support__faq-answer p {
    margin-bottom: 0;
    padding-bottom: 10px;
    color: #555555;
}

.page-support__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
}

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

.page-support__contact-section .page-support__section-title,
.page-support__contact-section .page-support__section-description {
    color: #FFFFFF;
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
}

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

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

.page-support__contact-card .page-support__btn-primary {
    background-color: #EA7C07; /* Login color for contact CTA */
    border-color: #EA7C07;
    width: 100%;
    max-width: 200px;
}

.page-support__contact-card .page-support__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

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

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

.page-support__feature-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__feature-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-support__feature-text {
    color: #555555;
}

/* --- Payment Guide Section --- */
.page-support__payment-guide-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

.page-support__payment-guide-section .page-support__section-title,
.page-support__payment-guide-section .page-support__section-description {
    color: #FFFFFF;
}

.page-support__payment-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-support__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-support__step-card:hover {
    transform: translateY(-5px);
}

.page-support__step-title {
    font-size: 1.3em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-support__step-text {
    color: #f0f0f0;
}

.page-support__step-text a {
    color: #EA7C07;
    text-decoration: none;
}

.page-support__step-text a:hover {
    text-decoration: underline;
}

.page-support__payment-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* --- Technical Support Section --- */
.page-support__technical-support-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
    text-align: center;
}

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

.page-support__issue-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__issue-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-support__issue-text {
    color: #555555;
}

.page-support__tech-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Video Section --- */
.page-support__video-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background for video */
    color: #FFFFFF;
    text-align: center;
}

.page-support__video-section .page-support__section-title,
.page-support__video-section .page-support__section-description {
    color: #FFFFFF;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-support__video-wrapper .page-support__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-support__video-wrapper .page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.page-support__video-cta {
    margin-top: 20px;
    background-color: #EA7C07;
    border-color: #EA7C07;
}

.page-support__video-cta:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

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

.page-support__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-support__cta-section .page-support__btn-primary {
    background-color: #EA7C07; /* Login color for prominent CTA */
    border-color: #EA7C07;
}

.page-support__cta-section .page-support__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

/* --- Image & Video Responsive Styles (Mobile Overflow Prevention) --- */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-support video,
.page-support__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-support__video-section,
.page-support__video-container,
.page-support__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

    .page-support__hero-section {
        padding: 80px 0;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-support__hero-title {
        font-size: 2.2em;
    }

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

    .page-support__section-title {
        font-size: 1.8em;
    }

    .page-support__section-description {
        font-size: 1em;
    }

    .page-support__container {
        padding: 0 15px; /* Add padding for mobile content */
    }

    /* Images */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Videos */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Buttons */
    .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__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__contact-methods,
    .page-support__gaming-features,
    .page-support__payment-steps,
    .page-support__tech-issues {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-support__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-support__faq-question h3 {
        font-size: 1em;
    }

    .page-support__faq-answer {
        padding: 0 15px;
    }

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 15px;
    }
}

/* --- Color Contrast Fixes (if needed) --- */
.page-support__dark-bg {
    color: #ffffff; /* Deep background, light text */
}
.page-support__light-bg {
    color: #333333; /* Light background, dark text */
}