/* Base styles for the support page */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

/* Global container and spacing */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-support__container--narrow {
    max-width: 900px;
}

.page-support__container--split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-support__section-spacing {
    padding: 60px 0;
}

/* Headings */
.page-support__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Main Color */
    text-align: center;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #F2C14E; /* Main Color */
    text-align: center;
    margin-bottom: 20px;
}

.page-support__section-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__card-title,
.page-support__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD36B; /* Auxiliary Color */
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.page-support__card-text,
.page-support__feature-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button doesn't exceed container */
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
    color: #111111; /* Dark text for light button */
    border: none;
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow Color */
    border: 2px solid #3A2A12; /* Border Color */
}

.page-support__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1); /* Light hover effect */
    color: #FFD36B;
}

/* Images */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Consistent rounded corners */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    justify-content: center;
    background-color: #0A0A0A; /* Background */
}

.page-support__hero-image {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-support__hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* No border-radius for full-width hero image */
}

.page-support__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-support__description {
    font-size: 1.2rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

/* FAQ Section */
.page-support__faq-section {
    background-color: #0A0A0A; /* Background */
}

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

.page-support__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border Color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD36B; /* Auxiliary Color */
    background-color: #111111; /* Card BG */
    position: relative;
    list-style: none; /* Hide default marker for details/summary */
}

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Rotate + to X */
}

.page-support__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.7;
}

/* Contact Section */
.page-support__contact-section {
    background-color: #111111; /* Card BG */
}

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

.page-support__contact-card {
    background-color: #0A0A0A; /* Background */
    border: 1px solid #3A2A12; /* Border Color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-support__contact-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: contain; /* Ensure full image is visible */
    margin-bottom: 15px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
    background-color: #0A0A0A; /* Background */
}

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

.page-support__feature-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border Color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__feature-item img {
    width: 200px; /* Explicitly setting width/height to minimum */
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%; /* Circular icons */
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-support__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Download App Section */
.page-support__download-app-section {
    background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Use brand colors for a vibrant section */
    color: #111111; /* Dark text for light background */
}

.page-support__download-app-section .page-support__section-title,
.page-support__download-app-section .page-support__section-description {
    color: #111111; /* Dark text for light background */
}

.page-support__app-content {
    flex: 1;
    text-align: left;
}

.page-support__app-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-support__app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-support__app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-support__app-buttons .page-support__btn-primary {
    background: #111111; /* Dark button on light background */
    color: #FFD36B;
}

.page-support__app-buttons .page-support__btn-secondary {
    background: transparent;
    border: 2px solid #111111; /* Dark border on light background */
    color: #111111;
}

/* Dark background sections */
.page-support__dark-section {
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__container--split {
        flex-direction: column;
        text-align: center;
    }

    .page-support__app-content {
        text-align: center;
    }

    .page-support__app-image {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
        /* padding-left and padding-right handled by .page-support__container */
    }

    .page-support__hero-section {
        padding-top: 10px; /* Keep small top padding */
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-support__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }

    .page-support__section-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding: 0 15px; /* Add padding to container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        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__section-spacing {
        padding: 40px 0;
    }

    .page-support__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__contact-methods,
    .page-support__responsible-features {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-support__contact-card,
    .page-support__feature-item {
        padding: 20px;
    }

    .page-support__contact-card img,
    .page-support__feature-item img,
    .page-support__app-image img,
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        min-width: 200px !important; /* Ensure min size is kept */
        min-height: 200px !important;
    }

    .page-support__app-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}