/* style/support.css */

/* --- General Styling --- */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color, assuming dark body background */
    background-color: var(--background, #08160F); /* Default background, will be overridden by shared if exists */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: var(--text-main, #F2FFF6);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-support__cta-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-support__cta-button--large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    background-color: var(--background, #08160F);
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit image height */
    overflow: hidden;
    position: relative;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-support__hero-content {
    position: absolute;
    top: 50%; /* Adjust as needed, maybe slightly lower than center to avoid header */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.page-support__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive H1 */
    color: var(--text-main, #F2FFF6);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* --- FAQ Section --- */
.page-support__faq-section {
    background-color: var(--background, #08160F);
    padding: 80px 0;
}

.page-support__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-support__faq-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    list-style: none; /* For <details> summary */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* For <details> summary */
}

.page-support__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2); /* var(--border-color) with opacity */
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-support__faq-item[open] .page-support__faq-toggle {
    content: '−';
}

.page-support__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 0.95em;
}

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

.page-support__faq-link {
    color: var(--glow, #57E38D);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__faq-link:hover {
    color: var(--gold, #F2C14E);
    text-decoration: underline;
}

/* --- Contact Methods Section --- */
.page-support__contact-methods-section {
    padding: 80px 0;
    background-color: var(--deep-green, #0A4B2C); /* Darker background for contrast */
}

.page-support__contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-support__contact-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color, #2E7A4E);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__card-title {
    font-size: 1.5em;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__card-text {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* --- Guides Section --- */
.page-support__guides-section {
    background-color: var(--background, #08160F);
    padding: 80px 0;
}

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

.page-support__guide-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color, #2E7A4E);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.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: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-support__guide-card .page-support__card-title {
    padding: 20px 20px 10px 20px;
    font-size: 1.2em;
    text-align: left;
    margin-bottom: 0;
}

.page-support__guide-card .page-support__card-text {
    padding: 0 20px 20px 20px;
    font-size: 0.9em;
    text-align: left;
    flex-grow: 1;
}

.page-support__view-all-guides {
    text-align: center;
}

/* --- Responsible Gaming Section --- */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: var(--deep-green, #0A4B2C); /* Darker background */
    text-align: center;
}

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

.page-support__info-block {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color, #2E7A4E);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__info-title {
    font-size: 1.4em;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__info-text {
    color: var(--text-secondary, #A7D9B8);
    font-size: 0.95em;
}

/* --- Final CTA Section --- */
.page-support__final-cta-section {
    background-color: var(--background, #08160F);
    padding: 80px 0;
    text-align: center;
}

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

    .page-support__section-title {
        font-size: 2em;
    }

    .page-support__section-description {
        font-size: 1em;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px;
    }

    .page-support__hero-content {
        position: static;
        transform: none;
        padding: 20px 15px;
        background-color: rgba(0, 0, 0, 0.5); /* Add a background for text on mobile */
        margin-top: -100px; /* Pull content up slightly over the image */
    }

    .page-support__main-title {
        font-size: 2em;
    }

    .page-support__description {
        font-size: 0.95em;
    }

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

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

    .page-support__contact-cards,
    .page-support__guide-cards,
    .page-support__responsible-gaming-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__view-all-guides .page-support__cta-button {
        width: auto !important; /* Allow 'view all' button to be smaller if text is short */
        max-width: 80% !important;
    }

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

    .page-support__hero-image-wrapper,
    .page-support__contact-card,
    .page-support__guide-card,
    .page-support__info-block,
    .page-support__contact-methods-section,
    .page-support__guides-section,
    .page-support__responsible-gaming-section,
    .page-support__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure no text color is too close to background */
/* Assuming body background is dark, most text is light */
.page-support__dark-section,
.page-support__responsible-gaming-section {
    color: var(--text-main, #F2FFF6);
}

.page-support p, .page-support li, .page-support__card-text {
    color: var(--text-secondary, #A7D9B8);
}

.page-support h2, .page-support h3, .page-support__card-title, .page-support__info-title, .page-support__main-title {
    color: var(--text-main, #F2FFF6);
}

/* Specific color overrides for contrast where needed */
.page-support__cta-button {
    color: var(--text-main, #F2FFF6); /* White text on green gradient button */
}