/* style/support.css */

/* --- Base Styles --- */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark body background */
    background-color: #08160F; /* Background */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin-bottom: 40px; /* Space between image and content */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px; /* Minimum size requirement */
}

.page-support__hero-content {
    max-width: 800px;
    z-index: 1; /* Ensure content is above any potential background layers */
}

.page-support__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-support__intro-text {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Buttons --- */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-support__cta-button {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main for contrast */
    border: none;
}

.page-support__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main for contrast */
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow for contrast */
    border: 2px solid #2E7A4E; /* Border */
}

.page-support__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1); /* Light hover effect */
}

/* --- Video Section --- */
.page-support__video-section {
    padding: 40px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%; /* Desktop default CSS */
    margin: 0 auto;
    border-radius: 8px;
    background-color: #11271B; /* Card BG as fallback */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-support__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 2; /* Ensure it's clickable over video */
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    min-width: 200px;
    min-height: 112px; /* For 16:9 aspect ratio, 200px width -> 112.5px height */
}

/* --- Contact Options Section --- */
.page-support__contact-options {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG for dark section */
    color: #F2FFF6;
}

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

.page-support__contact-card {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #2E7A4E; /* Border */
}

.page-support__contact-card p {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

/* --- FAQ Section --- */
.page-support__faq-section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

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

.page-support__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    position: relative;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

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

.page-support__faq-question .page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow */
}

.page-support__faq-item[open] .page-support__faq-question .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-support__faq-answer {
    padding: 0 20px 20px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
    color: #A7D9B8; /* Text Secondary */
}

/* --- Guides & Resources Section --- */
.page-support__guides-resources {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG for dark section */
}

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

.page-support__guide-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #F2FFF6;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-support__guide-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px; /* Minimum size requirement */
}

.page-support__guide-card h3 {
    padding: 15px 20px 10px 20px;
    font-size: 1.3em;
    color: #F2FFF6; /* Text Main */
}

.page-support__guide-card p {
    padding: 0 20px 20px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 0.95em;
}

.page-support__cta-area {
    text-align: center;
    margin-top: 20px;
}

/* --- Security & Responsible Gaming Section --- */
.page-support__security-responsible-gaming {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
}

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

.page-support__security-feature {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__feature-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__security-feature p {
    color: #A7D9B8; /* Text Secondary */
}

.page-support__links-group {
    text-align: center;
    margin-top: 40px;
}

.page-support__text-link {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.page-support__text-link:hover {
    color: #F2C14E; /* Gold */
}

/* --- Feedback Section --- */
.page-support__feedback-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG for dark section */
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-support__intro-text {
        font-size: 1em;
    }

    /* Mobile image adaptation */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important; /* Ensure min size */
    }

    /* Mobile video adaptation */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 112px !important; /* For 16:9, min 200px width */
    }

    /* Video container mobile adaptation */
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-support__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    /* Mobile button adaptation */
    .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;
    }

    /* Button containers mobile adaptation */
    .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; /* Allow multiple buttons to wrap */
        gap: 10px; /* Spacing between wrapped buttons */
    }

    .page-support__cta-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* General container padding for mobile */
    .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__guide-card {
        margin-bottom: 20px;
    }

    .page-support__guide-image {
        height: auto; /* Allow height to adjust for mobile */
    }
}