/* style/support.css */

/* Base Styles */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f8f8f8;
}

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

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

.page-support__section-title--light {
    color: #E0B941;
}

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

.page-support__section-intro--light {
    color: #f0f0f0;
}

.page-support__dark-bg {
    background-color: #1A1A2E;
    color: #ffffff;
    padding: 60px 0;
}

.page-support__light-bg {
    background-color: #f8f8f8;
    color: #333333;
    padding: 60px 0;
}

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

.page-support__btn-primary {
    background-color: #E0B941;
    color: #1A1A2E;
    border: 2px solid #E0B941;
}

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

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

.page-support__btn-secondary:hover {
    background-color: #E0B941;
    color: #1A1A2E;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.page-support__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 0 20px;
}

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

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.5;
}

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

/* Why Choose Us Section */
.page-support__why-choose-us {
    padding: 80px 0;
}

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

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

.page-support__feature-item:hover {
    transform: translateY(-10px);
}

.page-support__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__feature-title {
    font-size: 1.5em;
    color: #1A1A2E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 80px 0;
}

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

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

.page-support__contact-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-support__contact-title {
    font-size: 1.6em;
    color: #E0B941;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-support__email-link, .page-support__phone-link, .page-support__text-link {
    color: #E0B941;
    text-decoration: none;
    font-weight: bold;
}

.page-support__email-link:hover, .page-support__phone-link:hover, .page-support__text-link:hover {
    text-decoration: underline;
}

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

.page-support__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-support__faq-title {
    font-size: 1.2em;
    color: #1A1A2E;
    margin: 0;
    font-weight: bold;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    color: #E0B941;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-support__faq-answer p {
    margin: 0;
    color: #555555;
}

.page-support__cta-faq {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: #555555;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    padding: 80px 0;
}

.page-support__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-support__responsible-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-support__responsible-text {
    flex-grow: 1;
    color: #f0f0f0;
}

.page-support__responsible-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

/* Technical Support Section */
.page-support__technical-support {
    padding: 80px 0;
}

.page-support__technical-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap-reverse; /* Image on right, text on left for desktop */
}

.page-support__technical-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-support__technical-text {
    flex-grow: 1;
    color: #333333;
}

.page-support__technical-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-support__technical-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-support__technical-list li {
    margin-bottom: 10px;
}

/* Payment Support Section */
.page-support__payment-support {
    padding: 80px 0;
}

.page-support__payment-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-support__payment-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-support__payment-text {
    flex-grow: 1;
    color: #f0f0f0;
}

.page-support__payment-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-support__payment-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__payment-list li {
    margin-bottom: 10px;
}

/* Account Management Section */
.page-support__account-management {
    padding: 80px 0;
}

.page-support__account-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap-reverse;
}

.page-support__account-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-support__account-text {
    flex-grow: 1;
    color: #333333;
}

.page-support__account-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-support__account-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-support__account-list li {
    margin-bottom: 10px;
}

/* Security & Privacy Section */
.page-support__security-privacy {
    padding: 80px 0;
}

.page-support__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-support__security-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-support__security-text {
    flex-grow: 1;
    color: #f0f0f0;
}

.page-support__security-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-support__security-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__security-list li {
    margin-bottom: 10px;
}

/* Final Call to Action Section */
.page-support__cta-final {
    padding: 80px 0;
    text-align: center;
}

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

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

    .page-support__hero-description {
        font-size: 1.1em;
    }

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

@media (max-width: 768px) {
    .page-support__hero-section {
        height: 60vh;
        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 {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-support__feature-item,
    .page-support__contact-card {
        padding: 25px;
    }

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

    .page-support__faq-title {
        font-size: 1.1em;
    }

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

    .page-support__responsible-content,
    .page-support__technical-content,
    .page-support__payment-content,
    .page-support__account-content,
    .page-support__security-content {
        flex-direction: column;
        text-align: center;
    }

    .page-support__responsible-image,
    .page-support__technical-image,
    .page-support__payment-image,
    .page-support__account-image,
    .page-support__security-image {
        order: -1; /* Image appears above text on mobile */
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .page-support__technical-content .page-support__technical-image,
    .page-support__account-content .page-support__account-image {
        order: -1; /* For reverse wrap, image still on top */
    }

    .page-support__technical-list,
    .page-support__payment-list,
    .page-support__account-list,
    .page-support__security-list {
        text-align: left;
        margin-left: 0;
        padding-left: 20px;
    }

    /* Mobile image and container responsiveness */
    .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__why-choose-us,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__responsible-gaming,
    .page-support__technical-support,
    .page-support__payment-support,
    .page-support__account-management,
    .page-support__security-privacy,
    .page-support__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-support__hero-buttons,
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 0;
        padding-right: 0;
    }
    .page-support__hero-buttons > a, .page-support__cta-buttons > a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-support__hero-section {
        height: 50vh;
    }

    .page-support__hero-title {
        font-size: 1.8em;
    }

    .page-support__hero-description {
        font-size: 0.9em;
    }

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

    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 10px 20px;
    }
}