/* style/support.css */

.page-support {
    color: #333333; /* Dark text for light body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

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

.page-support__section-title {
    font-size: 2.8em;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    background-color: #1A1A1A; /* Dark background for hero section */
    color: #ffffff;
    padding: 80px 0;
    overflow: hidden;
}

.page-support__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.4);
    min-width: 200px;
    min-height: 200px;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-support__button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700;
    color: #1A1A1A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

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

.page-support__button--gold {
    background-color: #FFD700;
    color: #1A1A1A;
}

.page-support__button--gold:hover {
    background-color: #e6c200;
    color: #000000;
}

.page-support__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

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

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

.page-support__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: transform 0.3s ease;
    border-left: 5px solid #FFD700;
}

.page-support__faq-item:hover {
    transform: translateY(-5px);
}

.page-support__faq-question {
    font-size: 1.4em;
    color: #1A1A1A;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: bold;
}

.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.5s ease-out;
}

.page-support__faq-answer.open {
    max-height: 500px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

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

.page-support__link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

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

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

.page-support__contact-section .page-support__section-title {
    color: #FFD700;
}

.page-support__contact-section .page-support__section-description {
    color: #cccccc;
}

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

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

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

.page-support__card-icon {
    width: 100%; /* Make sure it scales within card */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min 200px display for card icons */
    min-height: 200px;
}

.page-support__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__card-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-support__responsible-gaming-image {
    display: block;
    margin: 60px auto 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    background-color: #FFD700;
    color: #1A1A1A;
    text-align: center;
}

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

.page-support__cta-section .page-support__section-description {
    color: #333333;
    margin-bottom: 50px;
}

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

.page-support__cta-buttons .page-support__button {
    background-color: #1A1A1A;
    color: #FFD700;
}

.page-support__cta-buttons .page-support__button:hover {
    background-color: #000000;
    color: #FFD700;
}

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

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 0;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__hero-content {
        padding: 20px;
    }

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

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

    .page-support__faq-item,
    .page-support__contact-card {
        padding: 20px;
    }

    .page-support__faq-question {
        font-size: 1.2em;
    }

    .page-support__card-title {
        font-size: 1.5em;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__button {
        width: 100%;
    }

    /* Mobile content image overflow prevention */
    .page-support img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure minimum display size is maintained */
        min-height: 200px; /* Ensure minimum display size is maintained */
    }
    .page-support__hero-image {
        min-width: unset;
        min-height: unset;
    }
    .page-support__card-icon {
        min-width: 200px;
        min-height: 200px;
        width: 100%;
        height: auto;
    }
}

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