.page-support {
    background-color: #F5F7FA;
    color: #333333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 20px; /* Small padding at the top of main, body handles the rest */
}

.page-support__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 40px 0;
    background-color: #100224; /* Dark background for hero */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-support__hero-content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-support__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FF5A4F;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    color: #E0E0E0;
}

.page-support__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    min-width: 200px; /* Ensure CTA buttons are not too small */
    min-height: 48px; /* Ensure CTA buttons are not too small */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-support__cta-button:hover {
    opacity: 0.9;
}

.page-support__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #E53935;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Contact Options */
.page-support__contact-options {
    padding: 40px 20px;
    background-color: #F5F7FA;
}

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__contact-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #E0E0E0;
}

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

.page-support__contact-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-support__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.page-support__card-description {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 20px;
}

.page-support__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    min-width: 150px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.page-support__card-button:hover {
    opacity: 0.9;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 40px 20px;
    background-color: #F5F7FA;
}

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

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

.page-support__faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    padding: 18px 25px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #E53935;
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-question::after {
    transform: rotate(45deg);
}

.page-support__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #666666;
}

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 200px; /* Adjust based on expected content height */
    padding-bottom: 18px;
}

.page-support__faq-answer a {
    color: #E53935;
    text-decoration: none;
    font-weight: bold;
}

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

/* Guides Section */
.page-support__guides-section {
    padding: 40px 20px;
    background-color: #F5F7FA;
}

.page-support__guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-support__guide-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333333;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #E0E0E0;
}

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

.page-support__guide-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-support__guide-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 20px 5px 20px;
    color: #333333;
}

.page-support__guide-text {
    font-size: 0.95rem;
    color: #666666;
    padding: 0 20px 20px 20px;
}

/* Responsible Gambling */
.page-support__responsible-gambling-note {
    padding: 40px 20px;
    text-align: center;
    background-color: #F5F7FA;
}

.page-support__responsible-gambling-note .page-support__section-intro {
    margin-bottom: 30px;
}

.page-support__responsible-gambling-note a {
    color: #E53935;
    text-decoration: none;
    font-weight: bold;
}

.page-support__responsible-gambling-note a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: 10px;
    }

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

    .page-support__main-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .page-support__description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
    }

    .page-support__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        padding-top: 30px;
    }

    .page-support__contact-grid, .page-support__guide-cards {
        grid-template-columns: 1fr;
    }

    .page-support__contact-icon, .page-support__guide-image {
        height: auto;
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
    }

    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-support__faq-answer p {
        padding-bottom: 15px;
    }

    /* Enforce max-width for all images in content area */
    .page-support img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-support__hero-section {
        padding-top: 8px;
    }
    .page-support__main-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    .page-support__description {
        font-size: clamp(0.85rem, 4vw, 1rem);
    }
    .page-support__cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-support__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
    .page-support__section-intro {
        font-size: 0.9rem;
    }
    .page-support__contact-card, .page-support__guide-card {
        padding: 20px;
    }
    .page-support__card-title {
        font-size: 1.2rem;
    }
    .page-support__card-description {
        font-size: 0.85rem;
    }
    .page-support__card-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    .page-support__faq-question {
        font-size: 0.95rem;
        padding: 12px 18px;
    }
    .page-support__faq-answer p {
        font-size: 0.9rem;
    }
    .page-support__guide-title {
        font-size: 1.1rem;
    }
    .page-support__guide-text {
        font-size: 0.85rem;
    }
}