:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --background-color: #FFFFFF; /* This might be for the whole page background, but main should be dark based on WOW88 style */
    --register-login-font-color: #FFFF00;
    --dark-background: #100224; /* Based on WOW88 style, deep purple-black */
    --text-light: #FFFFFF;
    --text-dark: #333333; /* For sections with light background if any */
    --gradient-gold-orange: linear-gradient(to right, #ff9500, #ff5e3a);
    --blue-pill-button: #83a1f2;
    --blue-pill-button-hover: #688cec;
}

.page-support {
    background-color: var(--dark-background); /* Deep purple-black background for the main content */
    color: var(--text-light); /* Light text on dark background */
    padding-top: 10px; /* Small top padding for the first section */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 20px 0 40px; /* Adjust padding as needed */
    max-width: 1200px; /* Constrain content width */
    margin: 0 auto; /* Center content */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Ensure image wrapper doesn't exceed main content width */
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-support__hero-content {
    max-width: 800px; /* Max width for text content */
    padding: 0 15px;
}

.page-support__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary-color); /* White for main title */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* No font-size here, rely on shared or browser default for h1 with weight/spacing */
}

.page-support__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.page-support__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-support__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-support__button--register {
    background-color: var(--register-button-color);
    color: var(--register-login-font-color);
    border: none;
}

.page-support__button--register:hover {
    background-color: #a30707; /* Manual darker shade */
    transform: translateY(-2px);
}

.page-support__button--login {
    background-color: var(--login-button-color);
    color: var(--register-login-font-color);
    border: none;
}

.page-support__button--login:hover {
    background-color: #a30707; /* Manual darker shade */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-support__section-title {
    text-align: center;
    font-size: 2.2em;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support__section-description {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Methods */
.page-support__contact-methods {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.page-support__method-card {
    background-color: rgba(1, 116, 57, 0.3); /* Primary color with transparency */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(1, 116, 57, 0.5);
}

.page-support__method-card:hover {
    transform: translateY(-5px);
    background-color: rgba(1, 116, 57, 0.5);
}

.page-support__card-icon {
    width: 250px; /* Min size 200px */
    height: 187px; /* Maintain aspect ratio for 400x300 display */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-support__card-text {
    font-size: 1em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-support__card-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
}

.page-support__card-button:hover {
    background-color: #015c2d; /* Darker shade of primary */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.page-support__faq-image-wrapper {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

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

.page-support__faq-question {
    font-size: 1.2em;
    color: var(--secondary-color);
    padding: 18px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 25px; /* Initial padding 0 */
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.03);
}

.page-support__faq-answer.open {
    max-height: 200px; /* Sufficiently large value */
    padding: 15px 25px 20px;
}

.page-support__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

.page-support__cta-faq {
    text-align: center;
    margin-top: 30px;
}

/* Resources Section */
.page-support__resources {
    padding: 40px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 15px;
}

.page-support__link-button {
    background-color: var(--blue-pill-button);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border: none;
}

.page-support__link-button:hover {
    background-color: var(--blue-pill-button-hover);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-image-wrapper {
        max-width: 90%;
    }
    .page-support__main-title {
        font-size: clamp(2em, 5vw, 2.5em); /* Adjust for smaller screens, added clamp for h1 */
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 15px 0 30px;
    }
    .page-support__hero-image-wrapper {
        max-width: 100%;
    }
    .page-support__hero-image {
        max-width: 100%;
        height: auto; /* Ensure responsive behavior */
    }
    .page-support__main-title {
        font-size: clamp(1.8em, 4vw, 2em); /* Further adjust for mobile, added clamp for h1 */
    }
    .page-support__description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-support__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-support__faq-answer.open {
        padding: 10px 20px 15px;
    }
    .page-support__link-list {
        flex-direction: column;
        align-items: center;
    }
    /* Mobile content area images constraint */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: clamp(1.5em, 3.5vw, 1.8em); /* Smallest clamp for h1 */
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__button {
        width: 90%;
    }
}