:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --header-offset: 122px; /* Default, will be overridden by shared.css if present */
}

/* Global styles for the page content, ensuring it doesn't get covered by fixed header */
.page-support {
    padding-top: 10px; /* Small top padding for the first section, body handles --header-offset */
    background-color: var(--background-color);
    color: var(--text-main);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.page-support__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-support__hero-section {
    display: flex;
    flex-direction: column; /* Image above text for mobile and general layout */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    position: relative;
    overflow: hidden;
}

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

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* 1920x600 */
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-support__hero-content {
    max-width: 900px;
    padding: 0 15px;
}

.page-support__main-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Adjusted for support page, still clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-support__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-support__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: var(--button-gradient);
    color: #000; /* Text color for buttons */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 200px; /* Ensure button is not too small */
    min-height: 48px; /* Ensure button is not too small */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-support__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-support__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem); /* Adjusted for h2 */
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-support__text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-main);
}

/* 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: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 25px;
    background-color: var(--card-bg);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    position: relative;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
    content: '-';
    transform: rotate(0deg);
}

.page-support__faq-answer {
    padding: 0 25px;
    background-color: #1a1a1a; /* Slightly lighter than card-bg */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-support__faq-answer.open {
    max-height: 500px; /* Sufficiently large to accommodate content */
    padding: 15px 25px 25px 25px;
}

.page-support__faq-answer p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
}

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

.page-support__method-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__method-icon {
    width: 100%;
    max-width: 200px; /* Constraint for icon size */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    aspect-ratio: 4/3; /* Consistent aspect ratio for service images */
    object-fit: cover;
}

.page-support__method-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-support__method-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 25px;
}

.page-support__method-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 150px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-support__method-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.3);
}

/* Guides Section */
.page-support__guides-section {
    padding: 60px 0;
}

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

.page-support__guide-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-support__guide-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/2; /* 600x400 */
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-support__guide-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 20px 20px 10px 20px;
}

.page-support__guide-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-support__guide-title a:hover {
    color: var(--primary-color);
}

.page-support__guide-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-support__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 20px 20px 20px;
    transition: color 0.2s ease;
}

.page-support__read-more:hover {
    color: var(--secondary-color);
}

/* Policy Section */
.page-support__policy-section {
    padding: 60px 0 80px 0;
}

.page-support__policy-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 40px auto 0 auto;
    text-align: center;
}

.page-support__policy-list li {
    margin-bottom: 15px;
}

.page-support__policy-list li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.page-support__policy-list li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-support__hero-content {
        padding: 0 10px;
    }

    .page-support__main-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-support__description {
        font-size: 1rem;
    }

    .page-support__section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .page-support__contact-methods,
    .page-support__guide-list {
        grid-template-columns: 1fr; /* Single column layout for smaller screens */
        gap: 20px;
    }

    /* Ensure all images are responsive and do not cause overflow */
    .page-support img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px; /* Ensure images are not too small */
    }
}

@media (max-width: 549px) {
    .page-support__hero-section {
        padding-bottom: 30px;
    }
    .page-support__main-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-support__description {
        font-size: 0.95rem;
    }
    .page-support__section-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }
    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-support__faq-answer p {
        font-size: 0.9rem;
    }
    .page-support__method-card,
    .page-support__guide-card {
        padding: 20px;
    }
    .page-support__method-title,
    .page-support__guide-title {
        font-size: 1.15rem;
    }
    .page-support__policy-list li a {
        font-size: 1rem;
    }
}

/* Mobile content area overflow prevention */
@media (max-width: 768px) {
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px; /* Minimum size still applies */
        min-height: 200px; /* Minimum size still applies */
    }
    .page-support {
        overflow-x: hidden;
    }
}