/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    padding-top: var(--header-offset, 120px);
}

.page-support__hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 20px;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-chat {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

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

.page-support__btn-chat {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-support__btn-chat:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* General Section Styling */
.page-support__faq-section,
.page-support__contact-section,
.page-support__responsible-gaming-section,
.page-support__security-section,
.page-support__feedback-section,
.page-support__conclusion-section {
    padding: 60px 0;
    position: relative;
    background-color: #1a1a1a;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-support__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #017439;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

/* FAQ Section */
.page-support__faq-group {
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.page-support__faq-group-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 25px;
    text-align: center;
}

.page-support__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.page-support__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 1.15em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.page-support__faq-question:hover {
    color: #017439;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important;
    padding: 15px;
}

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

.page-support__faq-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

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

.page-support__section-image {
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

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

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

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

.page-support__contact-card p {
    color: #f0f0f0;
    margin-bottom: 10px;
}

.page-support__social-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

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

/* Responsible Gaming & Security Sections */
.page-support__responsible-gaming-section p,
.page-support__security-section p,
.page-support__feedback-section p,
.page-support__conclusion-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: #f0f0f0;
}

.page-support__security-links {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

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

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

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

@media (max-width: 768px) {
    .page-support__hero-section {
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-chat {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__faq-group {
        padding: 20px;
    }
    .page-support__faq-group-title {
        font-size: 1.5em;
    }
    .page-support__faq-question {
        font-size: 1em;
    }
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
    .page-support__contact-card {
        padding: 25px;
    }

    /* Images responsiveness for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__responsible-gaming-section,
    .page-support__security-section,
    .page-support__feedback-section,
    .page-support__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__faq-question {
        font-size: 0.95em;
    }
    .page-support__hero-buttons {
        gap: 10px;
    }
}

/* Ensure content area images are not too small */
.page-support__faq-section img,
.page-support__contact-section img,
.page-support__responsible-gaming-section img,
.page-support__security-section img,
.page-support__feedback-section img,
.page-support__conclusion-section img {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
}

/* No CSS filters for images */
.page-support img {
    filter: none !important;
}