.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Assuming body background is light or white */
}

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

/* Hero Section */
.page-support__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 60px;
    text-align: center;
    background-color: #f5f5f5;
}

.page-support__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
    border-radius: 8px;
    object-fit: contain; /* Ensure image is contained, not cropped */
}

.page-support__main-title {
    font-size: clamp(2.2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
    color: #017439; /* Brand primary color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    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, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color */
    border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-support__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-support__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #017439;
}

/* Info Section */
.page-support__info-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-support__section-description {
    font-size: 1.1em;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 50px;
}

.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;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-support__feature-card:hover {
    transform: translateY(-5px);
}

.page-support__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

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

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

/* Contact Channels Section */
.page-support__contact-channels {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Dark background */
    color: #FFFFFF; /* Light text */
}

.page-support__contact-channels .page-support__section-title {
    color: #FFFFFF; /* Override for dark background */
}

.page-support__contact-channels .page-support__section-description {
    color: #f0f0f0; /* Lighter text for description */
}

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: background-color 0.3s ease;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-support__channel-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__channel-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.page-support__channel-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

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

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 50px auto 30px;
    text-align: left;
}

.page-support__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details/summary */
}

.page-support__faq-item[open] > .page-support__faq-question {
    border-bottom: 1px solid transparent; /* No border when open */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-support__faq-question::marker {
    display: none; /* Hide default marker for Firefox */
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
    pointer-events: none; /* Prevent interaction with the icon itself */
}

.page-support__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #666666;
    background-color: #FFFFFF;
}

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

.page-support__cta-section {
    margin-top: 50px;
    padding: 30px;
    background-color: #f0f7f4;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-text {
    font-size: 1.2em;
    color: #017439;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
    padding: 80px 0;
    background-color: #017439;
    color: #FFFFFF;
    text-align: center;
}

.page-support__responsible-gambling .page-support__section-title {
    color: #FFFFFF;
}

.page-support__responsible-gambling .page-support__section-description {
    color: #f0f0f0;
}

.page-support__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.page-support__responsible-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__responsible-text {
    flex: 1;
    color: #f0f0f0;
}

.page-support__responsible-text p {
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* Global image responsiveness */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    /* Hero Section */
    .page-support__hero-section {
        padding-top: 10px !important; /* Ensure small padding, not header offset */
        padding-bottom: 40px;
    }

    .page-support__hero-image {
        object-fit: contain !important; /* Force contain for mobile hero */
        max-height: none !important; /* Remove any max-height constraints */
        aspect-ratio: unset !important; /* Remove aspect ratio if any */
    }

    .page-support__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .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: 12px 20px;
    }

    /* Info Section */
    .page-support__info-section {
        padding: 50px 0;
    }

    .page-support__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-support__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__feature-icon {
        width: 60px;
        height: 60px;
    }

    .page-support__feature-title {
        font-size: 1.4em;
    }

    /* Contact Channels Section */
    .page-support__contact-channels {
        padding: 50px 0;
    }

    .page-support__channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__channel-icon {
        width: 60px;
        height: 60px;
    }

    .page-support__channel-title {
        font-size: 1.4em;
    }

    /* FAQ Section */
    .page-support__faq-section {
        padding: 50px 0;
    }

    .page-support__faq-list {
        margin-top: 30px;
    }

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

    .page-support__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }

    .page-support__cta-section {
        margin-top: 30px;
        padding: 20px;
    }

    .page-support__cta-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    /* Responsible Gambling Section */
    .page-support__responsible-gambling {
        padding: 50px 0;
    }

    .page-support__responsible-content {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
    }

    .page-support__responsible-image {
        max-width: 100%;
    }

    /* Universal image and container rules for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Game Grid (Placeholder for requirement) */
    .page-support__game-grid { /* Assuming if this page had one, it would be here */
        grid-template-columns: repeat(2, 1fr);
        aspect-ratio: 1/1;
        overflow-x: hidden;
    }
    .page-support__game-tile { /* Placeholder */
        aspect-ratio: 1/1;
    }

    /* Winner List (Placeholder for requirement) */
    .page-support__winner-list { /* Assuming if this page had one */
        grid-template-columns: 1fr;
        overflow-x: hidden;
    }
    .page-support__winner-item { /* Placeholder */
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .page-support__winner-thumbnail { /* Placeholder */
        width: 70px;
        height: 70px;
        object-fit: cover;
    }
    .page-support__winner-details { /* Placeholder */
        flex: 1;
    }
}