/* 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 is handled by shared.css */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Using brand color */
    color: #ffffff;
    overflow: hidden;
}

.page-support__hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
}

.page-support__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-support__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image to ensure text contrast */
}

/* General Section Styling */
.page-support__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

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

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

.page-support__dark-section {
    background-color: #0d0d0d; /* Slightly lighter dark background for sections */
    color: #ffffff;
    padding: 60px 0;
}

.page-support__dark-section .page-support__section-title {
    color: #ffffff;
}

.page-support__dark-section .page-support__section-title::after {
    background-color: #ffffff;
}

.page-support__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-support__text-block {
    flex: 1;
}

.page-support__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-support__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-support__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Buttons */
.page-support__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-support__btn-primary:hover {
    background-color: #1a7bbd;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Brand color for text */
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Darker for question header */
    transition: background-color 0.3s ease;
}

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

.page-support__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0; /* Brand color for toggle */
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    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; /* Ensure it expands fully */
    padding: 15px 20px;
}

.page-support__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
    color: #f0f0f0;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
    padding: 60px 0;
    background-color: #0d0d0d;
    color: #ffffff;
}

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

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

.page-support__contact-card:hover {
    transform: translateY(-5px);
}

.page-support__contact-card .page-support__card-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand color */
    margin-bottom: 15px;
}

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

.page-support__contact-card a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-support__contact-card a:hover {
    text-decoration: underline;
}

.page-support__contact-image-wrapper {
    margin-top: 60px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__section-title {
    color: #26A9E0;
}

.page-support__responsible-gaming-section .page-support__section-title::after {
    background-color: #26A9E0;
}

/* Video Section */
.page-support__video-section {
    padding: 60px 0;
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-support__video-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0, #1a7bbd); /* Using brand color */
    color: #ffffff;
}

.page-support__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-support__image-block {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile specific styles */
    .page-support__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
    }
    .page-support__main-title {
        font-size: 2.2em;
    }
    .page-support__subtitle {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-support__text-block p {
        font-size: 1em;
    }

    /* Images 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__content-wrapper,
    .page-support__contact-grid,
    .page-support__faq-list,
    .page-support__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsive */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    }
    .page-support__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct offset */
    }

    /* Buttons 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;
        margin-right: 0 !important; /* Remove right margin for stacking */
    }
    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure contrast for links within dark sections */
.page-support__dark-section a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}

.page-support__dark-section a:hover {
    color: #1a7bbd;
}

/* Ensure contrast for links in other sections */
.page-support a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}

.page-support a:hover {
    color: #1a7bbd;
}

/* Ensure proper contrast for FAQ answer text */
.page-support__faq-answer p {
    color: #f0f0f0;
}

/* Ensure general text in dark background is light */
.page-support p,
.page-support li {
    color: #f0f0f0; /* Light text for dark background */
}

/* Color contrast overrides based on body background: #000000 (dark) */
.page-support {
    color: #ffffff; /* Default text color for main content */
}

.page-support__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    color: #ffffff; /* Light text */
}

.page-support__dark-bg { /* This class is not explicitly used but kept for general pattern */
    color: #ffffff;
    background: #26A9E0;
}

/* Ensure no filter on images */
.page-support img {
    filter: none; /* Remove any potential filter */
}

/* Explicitly allow filter on hero image for darkening only */
.page-support__hero-image {
    filter: brightness(0.7);
}