/* style/support.css */

/* Base styles for the page-support scope */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared */
}

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

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.page-support__hero-title {
    font-size: 3.2em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

/* Common Section Styles */
.page-support__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Light text for dark body background */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly lighter for description */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-support__dark-section {
    background-color: #1a1a1a; /* Darker background for contrast */
    padding: 60px 0;
}

/* CTA Button Styles */
.page-support__cta-button,
.page-support__method-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    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;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-support__cta-button:hover,
.page-support__method-button:hover {
    background-color: #e06c00;
    transform: translateY(-2px);
}

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

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

.page-support__method-card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 400px; /* Ensure cards have consistent height */
}

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

.page-support__method-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make icons circular if applicable */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__method-title {
    font-size: 1.8em;
    color: #26A9E0; /* Brand primary color for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-support__note-text {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95em;
    color: #aaa;
}

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

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

.page-support__faq-item {
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    color: #26A9E0; /* Brand color for questions */
}

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

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

/* Details element specific styling */
.page-support__faq-item[open] > .page-support__faq-question .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to X or minus */
}

.page-support__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit */
}

.page-support__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__faq-answer p {
    margin: 0;
}

.page-support__faq-more-btn {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #26A9E0; /* Use brand color for secondary CTA */
}
.page-support__faq-more-btn:hover {
    background-color: #1a7a9e;
}


/* Guides Section */
.page-support__guides-section {
    padding: 60px 0;
    background-color: #111111; /* Body background color */
}

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

.page-support__guide-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-support__guide-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__guide-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5em;
    color: #26A9E0;
    font-weight: bold;
}

.page-support__guide-card h3 a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__guide-card h3 a:hover {
    color: #EA7C07; /* Highlight on hover */
}

.page-support__guide-text {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

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

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

.page-support__info-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px; /* Consistent height */
}

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

.page-support__info-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__info-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__info-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-support__responsible-btn {
    margin-top: 30px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #26A9E0;
}
.page-support__responsible-btn:hover {
    background-color: #1a7a9e;
}


/* Feedback Section */
.page-support__feedback-section {
    padding: 60px 0;
    text-align: center;
    background-color: #111111; /* Body background color */
}

.page-support__feedback-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-support__feedback-call-to-action {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 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__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .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__method-card,
    .page-support__guide-card,
    .page-support__info-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__method-icon,
    .page-support__guide-image,
    .page-support__info-icon {
        width: 100% !important; /* Ensure these are also 100% width */
        height: auto !important;
        max-width: 250px !important; /* Max size for smaller icons on mobile */
        margin-left: auto;
        margin-right: auto;
    }
    .page-support__method-card,
    .page-support__info-card {
        min-height: auto; /* Remove fixed height on mobile */
    }

    /* Buttons responsiveness */
    .page-support__cta-button,
    .page-support__method-button,
    .page-support__faq-more-btn,
    .page-support__responsible-btn,
    .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;
        margin-left: auto;
        margin-right: auto;
        display: block !important; /* Ensure block display for full width */
    }
    .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__cta-buttons {
        flex-direction: column !important;
    }

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

    .page-support__guide-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__method-card,
    .page-support__guide-card,
    .page-support__info-card {
        padding: 20px;
    }
    .page-support__method-title {
        font-size: 1.5em;
    }
    .page-support__guide-card h3 {
        font-size: 1.3em;
    }
    .page-support__info-title {
        font-size: 1.4em;
    }
}