/* style/support.css */

/* Base styles for the page content, ensuring good contrast with the body background */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for the page, assuming dark body background */
    background-color: transparent; /* Main content background will be handled by sections */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: #0d0d0d; /* A dark background for hero to ensure text contrast */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Limit image width */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-support__hero-content {
    max-width: 900px;
    z-index: 1;
    color: #ffffff; /* White text on dark hero background */
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
}

.page-support__description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px;
    justify-content: center;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

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

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

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

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

/* Section Titles and Descriptions */
.page-support__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color */
}

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

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #000000; /* Custom dark background for this section */
    color: #ffffff; /* White text on dark background */
}

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0; /* Brand color for toggle icon */
}

/* Hide default details marker */
.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-support__faq-item summary {
    list-style: none;
}

.page-support__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0; /* Slightly off-white for body text */
}

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

.page-support__faq-link {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    font-weight: 600;
}

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

/* Contact Section */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Dark background */
    color: #ffffff; /* White text */
    text-align: center;
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__contact-image {
    width: 100%;
    max-width: 200px; /* Smaller image in card */
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.page-support__contact-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color */
}

.page-support__contact-text {
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background as per prompt */
    color: #333333; /* Dark text on light background */
    text-align: center;
}

.page-support__responsible-gaming-section .page-support__section-title,
.page-support__responsible-gaming-section .page-support__section-description {
    color: #333333; /* Dark text for titles/descriptions on light background */
}

.page-support__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-support__responsible-gaming-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    flex: 1;
    min-width: 300px; /* Ensure image doesn't get too small */
}

.page-support__responsible-gaming-text {
    flex: 2;
    min-width: 300px;
}

.page-support__responsible-gaming-text h3 {
    font-size: 1.6em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 15px;
}

.page-support__responsible-gaming-text ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 25px;
}

.page-support__responsible-gaming-text ul li {
    margin-bottom: 10px;
    color: #333333;
}
.page-support__responsible-gaming-text ul li p {
    color: #333333;
}

/* Terms Section */
.page-support__terms-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff; /* White text on brand color background */
    text-align: center;
}

.page-support__terms-section .page-support__section-title,
.page-support__terms-section .page-support__section-description {
    color: #ffffff; /* White text for titles/descriptions on brand color background */
}

.page-support__terms-section p {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.05em;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-support__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-support__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
    .page-support__responsible-gaming-content {
        flex-direction: column;
    }
    .page-support__responsible-gaming-image {
        max-width: 100%;
    }
    .page-support__responsible-gaming-text {
        text-align: center;
    }
    .page-support__responsible-gaming-text ul {
        text-align: left; /* Keep list left aligned */
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
    }
    .page-support__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-support__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-support__description {
        font-size: 1em;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to buttons to prevent text overflow */
        padding-right: 15px;
    }

    /* Images responsiveness */
    .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__terms-section,
    .page-support__hero-image-wrapper,
    .page-support__contact-methods,
    .page-support__contact-card,
    .page-support__responsible-gaming-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-support__contact-methods {
        grid-template-columns: 1fr; /* Stack contact cards */
    }

    .page-support__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 0 20px 15px;
    }
    .page-support__faq-toggle {
        font-size: 1.3em;
    }
}

/* Ensure no filter is used on images */
.page-support img {
    filter: none;
}