/* style/support.css */

/* Custom Colors */
:root {
    --page-support-bg: #08160F;
    --page-support-card-bg: #11271B;
    --page-support-text-main: #F2FFF6;
    --page-support-text-secondary: #A7D9B8;
    --page-support-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-support-border: #2E7A4E;
    --page-support-glow: #57E38D;
    --page-support-gold: #F2C14E;
    --page-support-divider: #1E3A2A;
    --page-support-deep-green: #0A4B2C;
    --page-support-light-section-bg: #f8f9fa; /* For light sections, ensuring contrast */
    --page-support-light-text: #333333;
}

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

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

.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-support-deep-green);
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
    margin-bottom: 30px;
}

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

.page-support__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Using clamp for responsive H1 */
    font-weight: 700;
    color: var(--page-support-gold);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.page-support__description {
    font-size: 1.1em;
    color: var(--page-support-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-support__cta-button {
    display: inline-block;
    background: var(--page-support-btn-gradient);
    color: var(--page-support-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Video Section */
.page-support__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--page-support-card-bg);
}

.page-support__video-container {
    width: 100%; /* Desktop width */
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure wrapper takes full width */
    max-width: 100%;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-support__cta-button--video {
    margin-top: 20px;
}

/* General Section Titles and Text Blocks */
.page-support__section-title {
    font-size: 2.5em;
    color: var(--page-support-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-support__section-subtitle {
    font-size: 2em;
    color: var(--page-support-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--page-support-text-secondary);
    margin-bottom: 20px;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 80px 20px;
    background-color: var(--page-support-light-section-bg); /* Light background for contrast */
    color: var(--page-support-light-text);
    text-align: center;
}

.page-support__contact-methods .page-support__section-title {
    color: var(--page-support-deep-green);
}

.page-support__contact-methods .page-support__text-block {
    color: var(--page-support-light-text);
}

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

.page-support__method-card {
    background-color: var(--page-support-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-support-text-main);
}

.page-support__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-support__method-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size for images */
    min-height: 200px;
}

.page-support__method-title {
    font-size: 1.5em;
    color: var(--page-support-gold);
    margin-bottom: 10px;
}

.page-support__method-description {
    font-size: 1em;
    color: var(--page-support-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-support__btn-secondary {
    display: inline-block;
    background: none;
    border: 2px solid var(--page-support-gold);
    color: var(--page-support-gold);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-support__btn-secondary:hover {
    background: var(--page-support-gold);
    color: var(--page-support-bg);
    box-shadow: 0 4px 10px rgba(var(--page-support-gold), 0.3);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 20px;
    background-color: var(--page-support-bg);
    text-align: center;
}

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

.page-support__faq-item {
    background-color: var(--page-support-card-bg);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    color: var(--page-support-text-main);
    text-align: left;
}

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

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-item[open] .page-support__faq-question {
    background-color: var(--page-support-deep-green);
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
}

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

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    padding: 80px 20px;
    background-color: var(--page-support-light-section-bg);
    color: var(--page-support-light-text);
    text-align: left;
}

.page-support__responsible-gaming .page-support__section-title {
    color: var(--page-support-deep-green);
    text-align: center;
    margin-bottom: 40px;
}

.page-support__flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

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

.page-support__text-content .page-support__text-block {
    color: var(--page-support-light-text);
}

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

.page-support__content-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-support__btn-primary {
    display: inline-block;
    background: var(--page-support-btn-gradient);
    color: var(--page-support-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 80px 20px;
    background-color: var(--page-support-bg);
    text-align: center;
}

/* Final CTA Section */
.page-support__final-cta {
    padding: 80px 20px;
    background-color: var(--page-support-light-section-bg);
    color: var(--page-support-light-text);
    text-align: center;
}

.page-support__final-cta .page-support__section-subtitle {
    color: var(--page-support-deep-green);
}

.page-support__final-cta .page-support__text-block {
    color: var(--page-support-light-text);
    margin-bottom: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-image {
        max-height: 500px;
    }

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

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

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__hero-image {
        max-height: 350px;
    }

    .page-support__hero-content {
        padding: 0 15px;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-support__description {
        font-size: 1em;
    }

    .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__video-section,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__responsible-gaming,
    .page-support__feedback-section,
    .page-support__final-cta {
        padding: 40px 15px;
    }

    .page-support__video-section {
        padding-top: 10px !important;
    }

    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-support__methods-grid {
        grid-template-columns: 1fr;
    }

    .page-support__method-icon {
        max-width: 100%;
        min-width: 200px;
        min-height: 200px;
    }

    .page-support__flex-row {
        flex-direction: column;
    }

    .page-support__text-content,
    .page-support__image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-support__content-image {
        max-width: 100%;
        min-width: 200px;
        min-height: 200px;
    }

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

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

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: clamp(1.5em, 7vw, 2.2em);
    }

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

    .page-support__cta-button,
    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
}