/* style/support.css */

/* Custom properties for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-background: #08160F; /* Background */
    --color-card-bg: #11271B; /* Card BG */
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Main text color for dark background */
    background-color: var(--color-background); /* Body background handled by shared.css, this is for main content area */
}

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

.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--color-deep-green); /* Fallback background for hero */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit height for aesthetic */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--color-gold); /* Gold for main title */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-support__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-support__btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-support__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-support__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-support__btn-text-link {
    color: var(--color-gold);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

.page-support__btn-text-link:hover {
    color: var(--color-glow);
    text-decoration: underline;
}

.page-support__dark-section {
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
    padding: 60px 0;
}

.page-support__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--color-gold);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-support__section-description {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-support__faq-item[open] {
    box-shadow: 0 0 20px rgba(17, 168, 78, 0.3);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker */
}

.page-support__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-item[open] .page-support__faq-question {
    background-color: var(--color-primary);
    color: #ffffff;
    border-bottom: 1px solid var(--color-primary);
}

.page-support__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.2);
}

.page-support__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
    transition: transform 0.3s ease, color 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg); /* Change + to X or similar, or just - */
}

.page-support__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg);
}

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

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

.page-support__faq-answer a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 500;
}

.page-support__faq-answer a:hover {
    text-decoration: underline;
    color: var(--color-glow);
}

/* Guide Section */
.page-support__guide-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

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

.page-support__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
    box-sizing: border-box;
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(17, 168, 78, 0.3);
}

.page-support__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-support__card-title {
    font-size: 1.4em;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-support__card-text {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Security Section */
.page-support__security-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
}

.page-support__security-section .page-support__container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-support__security-content {
    flex: 1;
    min-width: 300px;
}

.page-support__security-section .page-support__section-title {
    text-align: left;
    margin-bottom: 25px;
}

.page-support__security-section .page-support__section-description {
    text-align: left;
    margin: 0 0 30px 0;
}

.page-support__security-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-support__security-list li {
    font-size: 1.05em;
    color: var(--color-text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.page-support__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.page-support__icon--ssl {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-lock"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>');
}
.page-support__icon--fairplay {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-shield"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>');
}
.page-support__icon--privacy {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye-off"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.54 18.54 0 0 1 2.21-2.94m-.63-1.42a10.07 10.07 0 0 1-.58-1.58C2.81 8.75 6.81 4 12 4c.67 0 1.35.09 2 .24m3.63 3.63C16.63 7.71 16 8 16 8a5 5 0 0 0-8 0"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>');
}
.page-support__icon--verification {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.93"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>');
}


.page-support__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-support__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Contact Section */
.page-support__contact-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

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

.page-support__contact-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;
    box-sizing: border-box;
}

.page-support__contact-title {
    font-size: 1.5em;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.page-support__contact-text {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-support__note {
    font-size: 0.95em;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 40px;
    line-height: 1.6;
}

/* Legal Section */
.page-support__legal-section {
    padding: 40px 0;
    background-color: var(--color-deep-green);
}

.page-support__legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.page-support__legal-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-support__legal-link:hover {
    color: var(--color-gold);
    background-color: rgba(17, 168, 78, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-support__section-title {
        font-size: clamp(1.6em, 4vw, 2.5em);
    }

    .page-support__security-section .page-support__container {
        flex-direction: column;
        text-align: center;
    }

    .page-support__security-section .page-support__section-title,
    .page-support__security-section .page-support__section-description {
        text-align: center;
    }
    .page-support__security-image-wrapper {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsive */
    .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__guide-card,
    .page-support__contact-item,
    .page-support__security-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-bottom: 30px;
    }

    /* Mobile button responsive */
    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-support__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-support__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    .page-support__guide-cards,
    .page-support__contact-info {
        gap: 20px;
    }

    .page-support__security-list {
        padding-left: 0;
        text-align: left; /* Adjust list alignment for mobile */
    }

    .page-support__security-list li {
        justify-content: flex-start;
    }

    .page-support__legal-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-support__security-content {
        order: 1; /* Ensure content is below image on mobile */
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 2em;
    }

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

    .page-support__hero-description,
    .page-support__section-description {
        font-size: 0.95em;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}