.page-support {
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color); /* Matches body background #FFFFFF */
}

.page-support__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for better text readability */
}

.page-support__hero-container {
    max-width: 900px;
    padding: 60px 20px;
    z-index: 1;
    color: #FFFFFF; /* White text over dark hero image */
    position: relative; /* Ensure text is above image */
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-support__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1em;
    white-space: nowrap;
}

.page-support__button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text for primary button */
    border: 2px solid #FCBC45;
}

.page-support__button--primary:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

.page-support__button--secondary {
    background-color: #FFFFFF; /* Register button color */
    color: #000000; /* Dark text for secondary button */
    border: 2px solid #FFFFFF;
}

.page-support__button--secondary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-support__why-us-section, .page-support__how-to-get-help-section, .page-support__faq-section, .page-support__responsible-gaming-section, .page-support__security-privacy-section, .page-support__terms-section, .page-support__download-app-section, .page-support__contact-directly-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-support__why-us-section {
    background-color: #f9f9f9;
}

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

.page-support__feature-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

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

.page-support__channel-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-icon {
    width: 250px; /* Ensure images are not too small */
    height: 167px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-support__channel-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__channel-description {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__email-address {
    font-weight: bold;
    color: #FCBC45;
    margin-top: 10px;
    font-size: 1.1em;
}

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

.page-support__faq-category {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.page-support__category-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.page-support__faq-item {
    margin-bottom: 25px;
}

.page-support__faq-question {
    font-size: 1.25em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.2em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding-left: 15px;
    border-left: 3px solid #FCBC45;
}

.page-support__faq-answer.open {
    max-height: 500px; /* Adjust based on expected content length */
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-support__responsible-gaming-section, .page-support__security-privacy-section, .page-support__terms-section, .page-support__download-app-section {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.page-support__rg-content, .page-support__app-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-support__rg-text, .page-support__app-text {
    flex: 1;
    line-height: 1.7;
    color: #555555;
}

.page-support__rg-list {
    list-style: disc inside;
    margin: 20px 0;
    padding-left: 20px;
}

.page-support__rg-list li {
    margin-bottom: 10px;
}

.page-support__rg-list strong {
    color: #000000;
}

.page-support__rg-image, .page-support__app-image {
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    width: 500px; /* Example size, adjust as needed */
    height: 375px; /* Maintain aspect ratio */
}

.page-support__sp-content, .page-support__tc-content {
    line-height: 1.7;
    color: #555555;
    margin-top: 40px;
    text-align: center;
}

.page-support__sp-content p, .page-support__tc-content p {
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-support__contact-options {
    text-align: center;
    margin-top: 40px;
}

.page-support__contact-options p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__rg-content, .page-support__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-support__rg-image, .page-support__app-image {
        width: 100%;
        height: auto;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__button {
        width: 100%;
        max-width: 300px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 0.95em;
    }
    .page-support__features-grid, .page-support__channels-grid, .page-support__faq-categories {
        grid-template-columns: 1fr;
    }
    .page-support__channel-icon {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    .page-support__faq-category {
        padding: 20px;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        font-size: 0.95em;
    }
    .page-support__rg-list {
        padding-left: 0;
    }
    .page-support__rg-image, .page-support__app-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    /* Ensure all images within .page-support are responsive and do not overflow */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-container {
        padding: 40px 15px;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__section-intro {
        font-size: 0.9em;
    }
    .page-support__button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-support__channel-icon {
        width: 200px;
        height: 133px;
    }
    .page-support__faq-question {
        font-size: 1em;
    }
}