/* style/support.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-support {
    color: #ffffff; /* Light text on dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    background-color: #0a0a0a; /* Ensure dark background for hero, consistent with body */
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__main-heading {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for heading */
    line-height: 1.2;
}

.page-support__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't affect width calculation */
    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: #1e87c0;
    border-color: #1e87c0;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Text color for secondary button */
    border: 2px solid #26A9E0;
}

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

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 20px;
    background-color: #f5f5f5; /* Light background for FAQ */
    color: #333333; /* Dark text on light background */
}

.page-support__section-heading {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for section headings */
    text-align: center;
    margin-bottom: 20px;
}

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

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

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

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #fcfcfc;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-support__faq-item[open] .page-support__faq-question {
    border-bottom: none;
}

.page-support__faq-qtext {
    flex-grow: 1;
}

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

.page-support__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #666666;
    line-height: 1.7;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 60px 20px;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-support__contact-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 250px; /* Limit max size for visual appeal */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum image size */
}

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

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

/* Guides Section */
.page-support__guides-section {
    padding: 60px 20px;
    background-color: #f5f5f5; /* Light background */
    color: #333333;
    text-align: center;
}

.page-support__guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.page-support__guide-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-support__guide-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Limit max size for visual appeal */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Enforce minimum image size */
}

.page-support__guide-title {
    font-size: 1.5em;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.3;
    flex-grow: 0; /* Prevent title from growing too much */
}

.page-support__guide-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-title a:hover {
    color: #1e87c0;
}

.page-support__guide-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    padding: 60px 20px;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

/* Common container for content width */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding for smaller screens */
}

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

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

    /* Important: Mobile header offset */
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-support__main-heading {
        font-size: 2.2em;
    }

    .page-support__intro-text {
        font-size: 1em;
    }

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

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

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

    .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;
        padding-right: 15px;
    }

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

    /* Containers for images/videos/buttons */
    .page-support__hero-section,
    .page-support__faq-section,
    .page-support__contact-methods,
    .page-support__guides-section,
    .page-support__responsible-gaming,
    .page-support__container,
    .page-support__contact-card,
    .page-support__guide-card,
    .page-support__cta-buttons,
    .page-support__contact-grid,
    .page-support__guides-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-support__contact-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

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

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