.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #121212 (dark), so text must be light */
    background-color: #121212; /* Ensure consistent background color */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Yellow for prominence */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #f0f0f0;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styling */
.page-support__section-title {
    font-size: 2.5em;
    color: #FFFF00; /* Yellow for prominence */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

/* Light Background Sections */
.page-support__light-bg {
    background-color: #f8f9fa; /* Light background */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__feature-title,
.page-support__light-bg .page-support__issue-title,
.page-support__light-bg .page-support__faq-text,
.page-support__light-bg .page-support__contact-title,
.page-support__light-bg .page-support__responsible-title,
.page-support__light-bg .page-support__security-title {
    color: #017439; /* Brand green for titles on light background */
}

.page-support__light-bg .page-support__section-description,
.page-support__light-bg .page-support__feature-text,
.page-support__light-bg .page-support__issue-text,
.page-support__light-bg .page-support__faq-answer p,
.page-support__light-bg .page-support__contact-text,
.page-support__light-bg .page-support__responsible-item p,
.page-support__light-bg .page-support__security-text {
    color: #333333; /* Dark text for content on light background */
}

/* Dark Background Sections */
.page-support__dark-bg {
    background-color: #121212; /* Dark background from body */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 0;
}

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

.page-support__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #017439; /* Brand green text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #017439;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-support__dark-bg .page-support__btn-secondary {
    color: #ffffff; /* Light text on dark background */
    border-color: #ffffff;
}

.page-support__dark-bg .page-support__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-support__light-bg .page-support__btn-secondary {
    color: #017439; /* Brand green text on light background */
    border-color: #017439;
}

.page-support__light-bg .page-support__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-support__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.page-support__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for card content */
    border: 1px solid #e0e0e0;
}

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

.page-support__feature-icon {
    width: 100%; /* Ensure images fill card */
    max-width: 200px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-support__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-support__feature-text {
    font-size: 1em;
    color: #555555;
}

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

.page-support__issue-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-support__issue-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__issue-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-support__issue-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__issue-link {
    display: inline-block;
    color: #ffffff; /* White link on dark background */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__issue-link:hover {
    color: #FFFF00; /* Yellow on hover */
    border-color: #FFFF00;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 50px;
}

.page-support__faq-item {
    background-color: #ffffff; /* White background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333; /* Dark text for FAQ content */
    border: 1px solid #e0e0e0;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1em;
    color: #017439; /* Brand green for question */
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #e0e0e0;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to X/minus for active state */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 25px 25px;
}

.page-support__faq-answer p {
    margin-bottom: 15px;
    color: #555555;
}

.page-support__answer-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #017439;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__answer-link:hover {
    color: #00562e;
    border-color: #00562e;
}

/* Contact Section */
.page-support__contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

.page-support__contact-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFFF00;
}

.page-support__contact-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

/* Responsible Gambling & Security Sections */
.page-support__responsible-content,
.page-support__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-support__responsible-item,
.page-support__security-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-support__dark-bg .page-support__responsible-item,
.page-support__dark-bg .page-support__security-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__dark-bg .page-support__responsible-item h3,
.page-support__dark-bg .page-support__security-card h3 {
    color: #FFFF00;
}

.page-support__dark-bg .page-support__responsible-item p,
.page-support__dark-bg .page-support__security-card p {
    color: #f0f0f0;
}

.page-support__responsible-title,
.page-support__security-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-support__responsible-item p,
.page-support__security-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #555555;
}

.page-support__security-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

/* Final CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439;
    color: #ffffff;
}

.page-support__cta-section .page-support__section-title {
    color: #FFFF00;
}

.page-support__cta-section .page-support__section-description {
    color: #f0f0f0;
}

.page-support__cta-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__feature-card,
    .page-support__issue-card,
    .page-support__contact-card,
    .page-support__responsible-item,
    .page-support__security-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-support__faq-answer {
        padding: 0 20px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__feature-title,
    .page-support__issue-title,
    .page-support__contact-title,
    .page-support__responsible-title,
    .page-support__security-title {
        font-size: 1.3em;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        font-size: 0.9em;
    }
}