/* style/support.css */

/* Base styling for the support page content */
.page-support {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-support__hero-section {
    background-color: #000000; /* Main color as background */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* To contain the image */
}

.page-support__hero-container {
    position: relative;
    z-index: 2; /* Ensure text is above image overlay */
    max-width: 900px;
    margin: 0 auto;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.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;
    min-width: 200px; /* Ensure buttons are large enough */
    min-height: 60px; /* Ensure buttons are large enough */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-support__button--register {
    background-color: #FFFFFF; /* White background for register */
    color: #000000; /* Black text */
    border: 2px solid #FFFFFF;
}

.page-support__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

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

.page-support__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
    border-color: #FCBC45;
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.3; /* Overlay effect */
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Darken image slightly */
    /* No filter to change color, only brightness allowed */
}

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

.page-support__section-subtitle {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

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

.page-support__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-support__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-support__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-support__faq-answer p {
    margin-top: 10px;
    margin-bottom: 0;
}

.page-support__faq-answer a {
    color: #FCBC45; /* Highlight links */
    text-decoration: none;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
}

.page-support__faq-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

/* Contact Section */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-support__contact-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.page-support__contact-icon {
    width: 250px; /* Larger icons for content sections */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-support__contact-card-description {
    color: #555555;
    margin-bottom: 25px;
}

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

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

.page-support__button--secondary {
    background-color: #000000; /* Main color as button background */
    color: #FFFFFF;
    border: 2px solid #000000;
}

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

/* Resources Section */
.page-support__resources-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page-support__resource-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.page-support__resource-card-title {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
}

.page-support__resource-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-support__resource-card-title a:hover {
    color: #FCBC45;
}

.page-support__resource-card-description {
    color: #555555;
    margin-bottom: 20px;
}

.page-support__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-support__link:hover {
    text-decoration: underline;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 60px 20px;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* White text */
    text-align: center;
}

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

.page-support__responsible-gaming-section .page-support__section-subtitle {
    color: #e0e0e0;
    margin-bottom: 30px;
}

.page-support__button--text {
    background: none;
    border: 2px solid #FCBC45;
    color: #FCBC45;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__button--text:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Mobile Responsiveness */
@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;
        margin: 0 auto;
    }

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

    .page-support__section-subtitle {
        font-size: 0.95em;
    }

    .page-support__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-support__resources-grid {
        grid-template-columns: 1fr;
    }

    /* Content area images must be responsive and not cause overflow */
    .page-support img {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content images are not shrunk below 200px on mobile */
    .page-support__faq-image,
    .page-support__contact-icon {
        min-width: 200px;
        min-height: 200px;
        width: 100%; /* Ensure it takes full available width but respects min-width */
        object-fit: contain; /* or cover depending on desired effect */
    }
}