.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--text-main, #F2FFF6); /* Default text color for dark background */
    line-height: 1.6;
    background-color: var(--background, #08160F); /* Ensure consistency with body 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; /* Stack image and content vertically */
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden; /* Ensure nothing spills out */
}

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

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Ensure image doesn't get too tall */
}

.page-support__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    z-index: 1; /* Ensure content is above any potential background elements */
    color: var(--text-main, #F2FFF6);
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold, #F2C14E); /* Use gold for main title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-support__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: var(--text-main, #F2FFF6);
    border: 2px solid var(--border, #2E7A4E);
}

.page-support__btn-secondary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color with transparency */
    color: var(--text-main, #F2FFF6);
    border-color: var(--glow, #57E38D);
    transform: translateY(-2px);
}

.page-support__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-support__btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}


/* General Section Styling */
.page-support__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-support__section:last-of-type {
    border-bottom: none;
}

.page-support__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support__sub-title {
    font-size: clamp(1.3em, 2.5vw, 1.8em);
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.page-support__text-block p {
    margin-bottom: 1em;
    color: var(--text-secondary, #A7D9B8);
}

.page-support__text-block p a {
    color: var(--glow, #57E38D);
    text-decoration: none;
    font-weight: 500;
}

.page-support__text-block p a:hover {
    text-decoration: underline;
}

/* Channels Section */
.page-support__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-support__channel-card,
.page-support__issue-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
    border: 1px solid var(--divider, #1E3A2A);
}

.page-support__channel-card:hover,
.page-support__issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-support__channel-icon,
.page-support__issue-icon {
    width: 100%;
    height: auto;
    max-height: 180px; /* Limit image height in cards */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Slightly rounded corners for card images */
}

.page-support__channel-title,
.page-support__issue-title {
    font-size: 1.3em;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__channel-description,
.page-support__issue-description {
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Guide Section */
.page-support__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-support__guide-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--divider, #1E3A2A);
}

.page-support__guide-item p {
    color: var(--text-secondary, #A7D9B8);
}

/* Issues Section */
.page-support__issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-support__issue-description a {
    color: var(--glow, #57E38D);
    text-decoration: none;
}

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

/* FAQ Section */
.page-support__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details */
}

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

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 0.95em;
    color: var(--text-secondary, #A7D9B8);
    border-top: 1px solid var(--divider, #1E3A2A); /* Separator line for answer */
}

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

.page-support__faq-answer a {
    color: var(--glow, #57E38D);
    text-decoration: none;
}

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

/* Conclusion Section */
.page-support__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-support__conclusion-section .page-support__sub-title {
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
}

.page-support__conclusion-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1.05em;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-image-wrapper {
        max-height: 400px;
    }
    .page-support__hero-image {
        max-height: 400px;
    }
    .page-support__channels-grid,
    .page-support__issues-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is just a small visual top padding */
        padding-bottom: 40px;
    }

    .page-support__hero-image-wrapper {
        max-height: 300px;
    }
    .page-support__hero-image {
        max-height: 300px;
    }

    .page-support__hero-content {
        padding: 30px 15px;
    }

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

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

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to buttons container */
    }

    .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;
    }

    .page-support__section {
        padding: 40px 0;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-support__sub-title {
        font-size: 1.2em;
    }

    .page-support__channels-grid,
    .page-support__issues-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-support__channel-card,
    .page-support__issue-card,
    .page-support__guide-item {
        padding: 25px;
    }

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-image-wrapper,
    .page-support__channels-grid,
    .page-support__issues-grid,
    .page-support__guide-steps,
    .page-support__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

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

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__hero-image-wrapper {
        max-height: 250px;
    }
    .page-support__hero-image {
        max-height: 250px;
    }
}