/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--bg-dark); /* Inherited from shared.css, typically dark */
}

.page-support a {
    color: #FFD700;
    text-decoration: none;
}

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

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
    background-color: #8B0000; /* Auxiliary color for hero background */
    overflow: hidden;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin: 20px;
}

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

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

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for better text contrast, not changing color */
}

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

.page-support__btn-primary {
    background-color: #FFD700;
    color: #8B0000; /* Ensure contrast */
    border: 2px solid #FFD700;
}

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

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

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-2px);
}

/* Section common styles */
.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-support__dark-text {
    color: #333333; /* For sections with light background */
}

/* Services Section (Contact Channels) */
.page-support__services-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

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

.page-support__channel-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-support__channel-icon {
    width: 300px; /* Adjusted to meet minimum size requirement */
    height: 300px; /* Adjusted to meet minimum size requirement */
    object-fit: contain; /* Ensure image fits without cropping */
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-support__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

.page-support__card-link {
    display: inline-block;
    color: #FFD700;
    font-weight: bold;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 5px;
}

.page-support__card-link:hover {
    color: #e6c200;
    border-color: #e6c200;
}

.page-support__response-time {
    text-align: center;
    font-size: 1em;
    margin-top: 40px;
    color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background for FAQ */
    color: #333333; /* Dark text for light background */
}

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

.page-support__faq-item {
    background: #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: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-heading {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

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

.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 {
    color: #555555;
    margin: 0;
}

.page-support__faq-link {
    color: #FFD700;
    font-weight: bold;
    text-decoration: underline;
    margin-top: 10px;
    display: block;
}

/* Troubleshooting Section */
.page-support__troubleshooting-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-support__trouble-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-support__trouble-card .page-support__card-title {
    color: #FFD700;
    margin-bottom: 20px;
}

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

.page-support__card-list li {
    color: #f0f0f0;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.page-support__card-list li::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-support__card-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #8B0000;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-support__card-button:hover {
    background-color: #e6c200;
    text-decoration: none;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-support__gaming-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.page-support__feature-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__feature-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__feature-card .page-support__card-title {
    color: #333333;
}

.page-support__feature-card .page-support__card-description {
    color: #555555;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #8B0000; /* Auxiliary color for CTA background */
}

.page-support__contact-cta-section .page-support__section-title {
    color: #FFD700;
}

.page-support__contact-cta-section .page-support__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-support__contact-summary {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-top: 30px;
    font-style: italic;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 0 15px;
    }

    .page-support__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
    }

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

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

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