/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Inherit from shared.css body */
    padding-top: 0; /* Assume shared.css handles body padding-top */
}

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

.page-support__section-title {
    font-size: 2.5em;
    color: #E0B34C; /* Accent color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__main-title {
    font-size: 3.5em;
    color: #E0B34C;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-description,
.page-support__hero-description {
    font-size: 1.1em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    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;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

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

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

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

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

.page-support__btn-primary {
    background-color: #E0B34C; /* Accent color */
    color: #0A2240; /* Dark text for accent background */
    border: 2px solid #E0B34C;
    margin: 10px;
}

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

.page-support__btn-secondary {
    background-color: transparent;
    color: #E0B34C; /* Accent color */
    border: 2px solid #E0B34C;
    margin: 10px;
}

.page-support__btn-secondary:hover {
    background-color: #E0B34C;
    color: #0A2240;
}

/* Dark section styles */
.page-support__dark-section {
    background-color: #0A2240; /* Main brand color */
    color: #ffffff;
    padding: 60px 20px;
}

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

.page-support__dark-section .page-support__section-description {
    color: #f0f0f0;
}

/* Contact Channels Section */
.page-support__channels-section {
    padding: 60px 20px;
    background-color: #1a3c61; /* Slightly lighter dark blue */
}

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

.page-support__channel-card {
    background-color: #0A2240; /* Main brand color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

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

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

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

.page-support__additional-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 20px;
}

.page-support__faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-support__faq-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-support__faq-list {
    display: flex;
    flex-direction: column;
}

.page-support__faq-item {
    background-color: #1a3c61;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #0A2240;
    color: #E0B34C;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid rgba(224, 179, 76, 0.3);
    transition: background-color 0.3s ease;
}

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

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

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

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #1a3c61;
    color: #f0f0f0;
}

.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 {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-support__faq-answer a {
    color: #E0B34C;
    text-decoration: underline;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 60px 20px;
    background-color: #1a3c61;
}

.page-support__responsible-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-support__responsible-text {
    color: #f0f0f0;
}

.page-support__responsible-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__responsible-list li {
    margin-bottom: 10px;
}

.page-support__responsible-list strong {
    color: #E0B34C;
}

.page-support__responsible-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Security Section */
.page-support__security-section {
    padding: 60px 20px;
}

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

.page-support__feature-item {
    background-color: #1a3c61;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

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

.page-support__feature-text {
    color: #f0f0f0;
}

.page-support__feature-text a {
    color: #E0B34C;
    text-decoration: underline;
}

/* Call to Action Section */
.page-support__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a3c61;
}

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

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

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

    .page-support__hero-section {
        min-height: 500px;
    }

    .page-support__faq-grid,
    .page-support__responsible-content {
        grid-template-columns: 1fr;
    }

    .page-support__faq-image,
    .page-support__responsible-image {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-support__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space below fixed header on mobile */
    }

    .page-support__main-title {
        font-size: 2.5em;
    }

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

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

    /* Images responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Videos responsiveness (though no video in this page, general rule) */
    .page-support video,
    .page-support__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Content containers for mobile */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-content,
    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__responsible-gaming-section,
    .page-support__security-section,
    .page-support__cta-section,
    .page-support__channel-card,
    .page-support__faq-item,
    .page-support__feature-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsiveness */
    .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 {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

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

/* Ensure content area images are not too small */
/* This targets any img within .page-support that is not a logo/icon in shared header/footer */
.page-support img:not(.shared-header__logo-img):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px;
    min-height: 200px;
}
.page-support__channel-icon,
.page-support__faq-image,
.page-support__responsible-image {
    min-width: 200px; /* Explicitly ensure these content images meet minimum size */
    min-height: 200px;
}