/* style/support.css */

/* Base styles for the page content */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Section common styles */
.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly lighter text for descriptions */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
    padding: 60px 20px;
    overflow: hidden;
    gap: 40px;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: left;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for text readability */
    border-radius: 8px;
}

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

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

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

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Make image subtle behind text */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #FFD700;
    color: #000000; /* Black text on gold button for contrast */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-support__btn-large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Dark Background Section */
.page-support__dark-bg {
    background-color: #000000; /* Auxiliary color */
    color: #ffffff;
    padding: 80px 0;
}

/* Channels Section */
.page-support__channels-section {
    padding: 80px 0;
    background-color: #000000; /* Ensure dark background */
}

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

.page-support__channel-card {
    background: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 450px; /* Ensure cards have similar height */
}

.page-support__channel-icon {
    width: 200px; /* Min size 200px */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-support__channel-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow text to take available space */
}

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

.page-support__link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Body background color */
    color: #ffffff;
}

.page-support__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-support__faq-item-title {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
    font-weight: bold;
}

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus to minus */
}

.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; /* Sufficiently large to show content */
    padding: 20px;
}

.page-support__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-support__faq-image-wrapper {
    margin-top: 60px;
    text-align: center;
}

.page-support__faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    width: 800px; /* Example display width */
    height: 600px; /* Example display height */
    object-fit: cover;
}

/* Technical Support Section */
.page-support__technical-support {
    padding: 80px 0;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.page-support__tech-issues-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-support__tech-issue-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__tech-issue-item strong {
    color: #FFD700;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #ffffff;
    text-align: center;
}

.page-support__responsible-gambling-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.page-support__responsible-gambling-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    text-align: left;
}

.page-support__responsible-gambling-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__responsible-gambling-item strong {
    color: #FFD700;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-support__responsible-gambling-text {
    max-width: 500px;
    text-align: left;
    font-size: 1em;
    color: #f0f0f0;
}


/* CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #000000; /* Dark background */
}

.page-support__cta-container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for text */
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
}

.page-support__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__cta-title {
        font-size: 2.2em;
    }
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-support__hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__channels-grid {
        grid-template-columns: 1fr;
    }
    .page-support__channel-card {
        min-height: auto;
        padding: 25px 15px;
    }
    .page-support__faq-item-title {
        font-size: 1.1em;
    }
    .page-support__faq-question,
    .page-support__faq-answer {
        padding: 15px;
    }
    .page-support__tech-issue-item,
    .page-support__responsible-gambling-item {
        padding: 15px;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }
    .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;
    }
    .page-support__hero-image,
    .page-support__channel-icon,
    .page-support__faq-image,
    .page-support__cta-image,
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__hero-image-wrapper,
    .page-support__faq-image-wrapper,
    .page-support__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-support__hero-content,
    .page-support__container,
    .page-support__cta-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        padding: 12px 20px;
    }
}

/* Ensure content area images are not too small */
.page-support__channel-icon,
.page-support__faq-image {
    min-width: 200px;
    min-height: 200px;
}
.page-support__hero-image,
.page-support__cta-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters for images */
.page-support img {
    filter: none;
}