/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: #FFFFFF; /* Explicitly set background, though body is already white */
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero overlay */
    text-align: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero */
}

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

.page-support__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-support__hero-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login button color for emphasis */
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

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

/* General Button Styles */
.page-support__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

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

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

.page-support__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Auxiliary color for text on secondary button */
    border: 2px solid #FFFFFF;
}

.page-support__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FCBC45;
}

.page-support__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: unset;
}

.page-support__button--contact {
    background-color: #000000; /* Main color for contact buttons */
    color: #FCBC45; /* Login color for text on contact buttons */
    border: 2px solid #000000;
}

.page-support__button--contact:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-support__button--link {
    background-color: transparent;
    color: #FCBC45; /* Login color for text on link buttons */
    border: 2px solid transparent;
    padding: 10px 0;
    font-size: 1em;
    min-width: unset;
}

.page-support__button--link:hover {
    text-decoration: underline;
}

.page-support__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    min-width: 220px;
}


/* Content Wrapper */
.page-support__content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-support__content-wrapper--alt {
    background-color: #F8F8F8; /* Slightly off-white for visual separation */
}

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

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

/* FAQ Section */
.page-support__faq-section {
    padding-bottom: 60px;
}

.page-support__faq-illustration {
    display: block;
    margin: 40px auto 60px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-support__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-support__faq-item:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-support__faq-answer {
    font-size: 1.05em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    padding-top: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 20px;
}

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

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

.page-support__faq-answer a {
    color: #FCBC45; /* Login button color for links within FAQ */
    text-decoration: none;
}

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

/* Contact Section */
.page-support__contact-section {
    padding-bottom: 60px;
}

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

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

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-support__contact-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size */
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 5px;
}

.page-support__contact-title {
    font-size: 1.8em;
    color: #000000; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__contact-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    min-height: 70px; /* Ensure consistent card height */
}

/* Responsible Gaming & Security Section */
.page-support__responsible-gaming-section {
    padding-bottom: 60px;
}

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

.page-support__info-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-support__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.page-support__info-image {
    width: 400px; /* Min size */
    height: 300px; /* Min size */
    object-fit: contain;
    margin: 0 auto 25px auto;
    border-radius: 5px;
}

.page-support__info-title {
    font-size: 1.6em;
    color: #000000; /* Main color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__info-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    min-height: 90px; /* Ensure consistent card height */
}

/* Call to Action Section */
.page-support__cta-section {
    background-color: #000000; /* Main color for dark background */
    color: #FFFFFF; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
}

.page-support__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__cta-title {
    font-size: 2.8em;
    color: #FCBC45; /* Login color for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__cta-description {
    font-size: 1.2em;
    color: #F0F0F0;
    margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__faq-question {
        font-size: 1.2em;
    }
    .page-support__contact-icon,
    .page-support__info-image {
        width: 200px;
        height: 150px;
    }
    .page-support__info-cards,
    .page-support__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-support__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .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__content-wrapper {
        padding: 40px 15px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__faq-question {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        font-size: 0.95em;
    }
    .page-support__contact-methods,
    .page-support__info-cards {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }
    .page-support__contact-icon,
    .page-support__info-image {
        width: 200px; /* Ensure min 200px for mobile content images */
        height: 150px;
    }
    .page-support__contact-description,
    .page-support__info-description {
        min-height: unset; /* Allow height to adjust */
    }
    .page-support__cta-section {
        padding: 60px 15px;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1.1em;
    }

    /* Ensure content images are responsive and not too small on mobile */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
    /* Specific check for content area images to ensure min-size is respected */
    .page-support__faq-illustration,
    .page-support__contact-icon,
    .page-support__info-image {
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 150px; /* Enforce minimum size for content images */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
}

/* Ensure content area images are not smaller than 200px, regardless of selector */
/* This rule applies to any img within .page-support */
.page-support img:not(.shared-header img):not(.shared-footer img) {
    min-width: 200px;
    min- /* Adjust height based on aspect ratio to maintain min 200px dimension */
    object-fit: contain; /* or cover, depending on desired effect */
}
/* Override for images that are designed to be smaller in their layout slot but still need to meet min size */
.page-support__contact-icon,
.page-support__info-image {
    min-width: 200px;
    min-height: 150px;
    width: 200px; /* Explicitly set for these to ensure they are not smaller */
    height: 150px; /* Explicitly set for these to ensure they are not smaller */
}
/* Ensure no filter is used on images */
.page-support img {
    filter: none !important;
}