/* style/support.css */

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

/* Container for consistent content width */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-support__hero-section,
.page-support__faq-section,
.page-support__contact-methods,
.page-support__responsible-gaming,
.page-support__why-choose-us {
    padding: 60px 0;
    text-align: center;
}

/* Dark background sections for contrast */
.page-support__dark-bg {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff; /* White text for dark background */
}

/* Light background sections */
.page-support__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-support__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: inherit;
}

.page-support__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* Section Titles */
.page-support__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    margin-bottom: 20px;
    color: inherit;
}

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

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

.page-support__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Main brand color for secondary action */
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

/* FAQ Section */
.page-support__faq-section {
    padding-bottom: 0;
}

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

.page-support__faq-item {
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support__faq-item[open] {
    background-color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #26A9E0; /* Brand color for questions */
    cursor: pointer;
    list-style: none;
}

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

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

.page-support__faq-answer {
    padding: 0 20px 20px;
    text-align: left;
    color: #555555;
    font-size: 1em;
}

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

.page-support__faq-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.page-support__faq-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding-bottom: 0;
}

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
    text-align: left;
}

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__card-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-support__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__card-info {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 15px;
}

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

.page-support__link:hover {
    color: #f0f0f0;
}

.page-support__contact-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.page-support__contact-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    padding-bottom: 0;
}

.page-support__responsible-gaming-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.page-support__responsible-gaming-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
    padding-bottom: 0;
}

.page-support__why-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-support__why-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #ffffff;
}

.page-support__why-item-title {
    font-size: 1.25em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__why-item-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-support__why-choose-us-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    overflow: hidden;
}

.page-support__why-choose-us-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}


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

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

    .page-support__hero-section,
    .page-support__faq-section,
    .page-support__contact-methods,
    .page-support__responsible-gaming,
    .page-support__why-choose-us {
        padding: 40px 0;
    }

    .page-support__hero-section {
        padding-top: 10px !important;
    }

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

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

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

    .page-support__hero-image-wrapper,
    .page-support__faq-image-wrapper,
    .page-support__contact-image-wrapper,
    .page-support__responsible-gaming-image-wrapper,
    .page-support__why-choose-us-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .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;
        margin-bottom: 10px;
    }

    .page-support__contact-grid {
        grid-template-columns: 1fr;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-support__why-list {
        grid-template-columns: 1fr;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-support__contact-card,
    .page-support__why-item {
        padding: 20px;
    }
}