/* style/support.css */
/* 
 * Body background is #0a0a0a (dark), so text must be #ffffff for contrast.
 * Main brand color: #26A9E0, Auxiliary: #FFFFFF. Login button: #EA7C07.
 */

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body handles the actual background */
}

.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 on top, content below */
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
}

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

.page-support__hero-content {
    max-width: 800px;
    margin-top: 30px; /* Space between image and content */
    padding: 0 20px;
}

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

.page-support__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly lighter white for description */
}

/* CTA Buttons */
.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

.page-support__btn-text-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-support__btn-text-link:hover {
    color: #1e87c2;
    text-decoration: underline;
}

.page-support__cta-buttons--small {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

/* Sections General */
.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 {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-support__dark-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark theme */
    padding: 60px 0;
}

/* Channels Section */
.page-support__channels-section {
    padding: 60px 0;
}

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.08); /* Card background for dark theme */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__channel-icon {
    width: 100%; /* Ensure images are responsive */
    max-width: 200px; /* Max size for icons */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block; /* Ensure it behaves as a block element */
}

.page-support__channel-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-support__channel-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* Guide Section */
.page-support__guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-support__guide-card {
    background-color: rgba(255, 255, 255, 0.1); /* Card background for dark theme */
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

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

.page-support__guide-text {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-support__guide-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-support__guide-list li {
    margin-bottom: 8px;
}

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

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

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-support__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: #26A9E0;
    list-style: none; /* Hide default marker */
}

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

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

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

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
}

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

/* Commitment Section */
.page-support__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-support__commitment-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    color: #ffffff;
}

.page-support__commitment-icon {
    width: 100%;
    max-width: 100px; /* Ensure images are not too large */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Responsible Gaming & Community Sections */
.page-support__responsible-gaming-section,
.page-support__community-section {
    padding: 60px 0;
    text-align: center;
}

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

    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-support__main-title {
        font-size: 2em; /* Smaller H1 on mobile */
    }

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

    .page-support__cta-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__cta-buttons--small {
        flex-direction: column;
        gap: 10px;
    }

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

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

    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__commitment-grid {
        grid-template-columns: 1fr;
    }

    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__commitment-item {
        padding: 20px;
    }

    /* Images responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__hero-image-wrapper,
    .page-support__channel-card,
    .page-support__guide-card,
    .page-support__commitment-item,
    .page-support__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
}

/* Custom colors */
.page-support__login-button { /* Example for login button */
    background-color: #EA7C07;
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}
.page-support__login-button:hover {
    background-color: #d46b00;
    border-color: #d46b00;
}
/* Ensure text on #0a0a0a background is #ffffff */
.page-support p, .page-support li, .page-support__section-description, .page-support__channel-text, .page-support__guide-text, .page-support__commitment-text, .page-support__faq-answer p {
    color: #f0f0f0; /* Ensure light text on dark background */
}
.page-support__main-title, .page-support__section-title, .page-support__channel-title, .page-support__guide-title, .page-support__commitment-title, .page-support__faq-item summary {
    color: #26A9E0; /* Brand color for titles */
}