/* style/support.css */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
}

.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-support__section-title {
    font-size: 2.5em;
    color: #1A1A2E;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E94560;
    border-radius: 2px;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    padding: 60px 20px; /* Base padding, header offset handled by inline style */
}

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

.page-support__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.page-support__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

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

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

.page-support__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-link,
.page-support__btn-outline,
.page-support__btn-inline {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #E94560;
    color: #ffffff;
    border: 2px solid #E94560;
}

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

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

.page-support__btn-secondary:hover {
    background-color: #E94560;
    color: #ffffff;
}

.page-support__btn-link {
    background-color: transparent;
    color: #E94560;
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-support__btn-link:hover {
    color: #c03a50;
}

.page-support__btn-outline {
    background-color: transparent;
    color: #1A1A2E;
    border: 2px solid #1A1A2E;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-support__btn-outline:hover {
    background-color: #1A1A2E;
    color: #ffffff;
}

.page-support__btn-inline {
    background-color: #1A1A2E;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9em;
    margin-top: 10px;
}

.page-support__btn-inline:hover {
    background-color: #2e2e4e;
}

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

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

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

.page-support__method-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-support__method-card:hover {
    transform: translateY(-10px);
}

.page-support__method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__method-title {
    font-size: 1.5em;
    color: #1A1A2E;
    margin-bottom: 15px;
}

.page-support__method-description {
    color: #555555;
    margin-bottom: 20px;
}

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

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

.page-support__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-support__faq-title {
    font-size: 1.2em;
    color: #1A1A2E;
    margin: 0;
}

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

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

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

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px;
}

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

/* Guides Section */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

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

.page-support__guide-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.page-support__guide-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-support__guide-card h3 {
    font-size: 1.3em;
    color: #1A1A2E;
    padding: 20px 25px 10px;
}

.page-support__guide-description {
    color: #555555;
    padding: 0 25px 20px;
}

.page-support__guide-card .page-support__btn-outline {
    margin: 0 25px 25px;
    width: calc(100% - 50px);
}

/* Security Section */
.page-support__security-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-support__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-support__security-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__security-text {
    flex: 1;
}

.page-support__security-subtitle {
    font-size: 1.6em;
    color: #1A1A2E;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-support__security-text p {
    margin-bottom: 20px;
    color: #555555;
}

.page-support__security-text .page-support__btn-primary,
.page-support__security-text .page-support__btn-secondary {
    margin-right: 15px;
    margin-bottom: 15px;
}

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

.page-support__responsible-gaming .page-support__section-title,
.page-support__responsible-gaming .page-support__section-intro {
    color: #ffffff;
}

.page-support__responsible-gaming .page-support__section-title::after {
    background-color: #E94560;
}

.page-support__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-direction: row-reverse; /* Image on right for this section */
}

.page-support__responsible-image {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-support__responsible-text {
    flex: 1;
}

.page-support__responsible-subtitle {
    font-size: 1.6em;
    color: #E94560;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-support__responsible-text p {
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* CTA Section */
.page-support__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-support__cta-section .page-support__container {
    background-color: #1A1A2E;
    color: #ffffff;
    padding: 60px 30px;
    border-radius: 15px;
}

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

.page-support__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__security-content,
    .page-support__responsible-content {
        flex-direction: column;
        text-align: center;
    }
    .page-support__security-image,
    .page-support__responsible-image {
        max-width: 80%;
    }
    .page-support__security-text,
    .page-support__responsible-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__hero-section {
        height: auto;
        min-height: 500px;
        padding: 40px 15px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary, .page-support__btn-secondary, .page-support__btn-lg {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__method-grid,
    .page-support__guide-grid {
        grid-template-columns: 1fr;
    }
    .page-support__method-card,
    .page-support__guide-card {
        padding: 20px;
    }
    .page-support__faq-question {
        padding: 15px 20px;
    }
    .page-support__faq-title {
        font-size: 1.1em;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__security-image,
    .page-support__responsible-image {
        max-width: 100%;
    }
    .page-support__cta-title {
        font-size: 2em;
    }
    .page-support__cta-description {
        font-size: 1em;
    }

    /* Image responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__hero-image,
    .page-support__method-icon,
    .page-support__guide-image,
    .page-support__security-image,
    .page-support__responsible-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__method-card,
    .page-support__guide-card,
    .page-support__faq-item,
    .page-support__security-content,
    .page-support__responsible-content,
    .page-support__cta-section .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__security-text .page-support__btn-primary,
    .page-support__security-text .page-support__btn-secondary {
        margin-right: 0;
        width: 100%;
    }
    .page-support__security-text .page-support__btn-primary + .page-support__btn-secondary {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 0.9em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__cta-title {
        font-size: 1.8em;
    }
    .page-support__cta-description {
        font-size: 0.9em;
    }
}

/* Color Contrast Fixes - Default body is light, so dark text is chosen */
.page-support {
    color: #333333; /* Default text color for light background */
}

.page-support__dark-bg {
    background: #1A1A2E;
    color: #ffffff; /* White text on dark background */
}

.page-support__light-bg {
    background: #ffffff;
    color: #333333;
}

.page-support__medium-bg {
    background: #E94560;
    color: #000000; /* Black text on bright red for strong contrast */
}

/* Ensure specific elements have good contrast */
.page-support p,
.page-support li {
    color: #555555;
}

.page-support__hero-title,
.page-support__hero-description {
    color: #ffffff;
}

.page-support__responsible-gaming .page-support__section-title,
.page-support__responsible-gaming .page-support__section-intro,
.page-support__responsible-text p {
    color: #ffffff;
}

.page-support__cta-title,
.page-support__cta-description {
    color: #ffffff;
}

.page-support__btn-primary {
    background-color: #E94560;
    color: #ffffff;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #E94560;
    border-color: #E94560;
}

.page-support__btn-secondary:hover {
    background-color: #E94560;
    color: #ffffff;
}

.page-support__btn-link {
    color: #E94560;
}

.page-support__btn-outline {
    color: #1A1A2E;
    border-color: #1A1A2E;
}

.page-support__btn-outline:hover {
    background-color: #1A1A2E;
    color: #ffffff;
}