/* style/support.css */

/* Variables for colors */
:root {
    --page-support-primary-color: #FFD700;
    --page-support-secondary-color: #2C3E50;
    --page-support-text-dark: #2C3E50;
    --page-support-text-light: #FFFFFF;
    --page-support-background-light: #F8F8F8;
    --page-support-background-dark: #202D3B;
    --page-support-accent-dark: #b39700; /* Darker shade of primary for text */
    --page-support-accent-light: #6b7885; /* Lighter shade of secondary for text */
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-support-text-dark);
    background-color: var(--page-support-background-light);
}

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

/* Highlight text */
.page-support .highlight {
    font-weight: bold;
}

.page-support__hero .highlight {
    color: var(--page-support-text-light);
}

.page-support__faqs .highlight {
    color: var(--page-support-secondary-color);
}

.page-support__responsible-gambling .highlight {
    color: var(--page-support-secondary-color);
}

/* Hero Section */
.page-support__hero {
    background: linear-gradient(135deg, var(--page-support-primary-color) 0%, var(--page-support-secondary-color) 100%);
    color: var(--page-support-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--page-support-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.page-support__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
}

.page-support__btn--primary {
    background-color: var(--page-support-text-light);
    color: var(--page-support-secondary-color);
}

.page-support__btn--primary:hover {
    background-color: #E0E0E0;
    transform: translateY(-2px);
}

.page-support__btn--secondary {
    background-color: transparent;
    color: var(--page-support-text-light);
    border: 2px solid var(--page-support-text-light);
}

.page-support__btn--secondary:hover {
    background-color: var(--page-support-text-light);
    color: var(--page-support-secondary-color);
    transform: translateY(-2px);
}

.page-support__hero-image {
    position: absolute;
    bottom: 0;
    right: -10%;
    opacity: 0.15;
    width: 500px;
    height: auto;
    z-index: 0;
}

/* Sections */
.page-support__section-title {
    font-size: 2.8em;
    color: var(--page-support-secondary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-support__section-subtitle {
    font-size: 1.2em;
    color: var(--page-support-accent-light);
    text-align: center;
    margin-bottom: 50px;
}

.page-support__faqs {
    padding: 60px 0;
    background-color: var(--page-support-background-light);
}

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

.page-support__faq-item {
    background-color: var(--page-support-text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-support__faq-item:hover {
    transform: translateY(-5px);
}

.page-support__faq-question {
    font-size: 1.4em;
    color: var(--page-support-secondary-color);
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-support__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-support__faq-answer {
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-support__faq-answer.open {
    max-height: 200px; /* Adjust based on content */
    opacity: 1;
}

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

.page-support__link-text {
    color: var(--page-support-secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__link-text:hover {
    text-decoration: underline;
    color: var(--page-support-primary-color);
}

.page-support__contact {
    padding: 60px 0;
    background-color: var(--page-support-background-dark);
    color: var(--page-support-text-light);
}

.page-support__contact .page-support__section-title,
.page-support__contact .page-support__section-subtitle {
    color: var(--page-support-text-light);
}

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

.page-support__contact-item {
    background-color: var(--page-support-secondary-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-support__contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.page-support__contact-title {
    font-size: 1.6em;
    color: var(--page-support-primary-color);
    margin-bottom: 10px;
}

.page-support__contact-description {
    font-size: 0.95em;
    color: #CCC;
    margin-bottom: 20px;
}

.page-support__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: var(--page-support-primary-color);
    color: var(--page-support-secondary-color);
}

.page-support__btn--small:hover {
    background-color: var(--page-support-accent-dark);
    color: var(--page-support-text-light);
    transform: translateY(-2px);
}

.page-support__responsible-gambling {
    padding: 60px 0;
    background-color: var(--page-support-background-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support__responsible-gambling-image {
    position: absolute;
    top: 0;
    left: -10%;
    opacity: 0.1;
    width: 400px;
    height: auto;
    z-index: 0;
}

.page-support__responsible-gambling .page-support__section-title {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-support__responsible-gambling .page-support__section-subtitle {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-support__responsible-gambling p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #444;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }

    .page-support__hero-description {
        font-size: 1.1em;
    }

    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-support__btn {
        width: 80%;
        margin: 0 auto;
    }

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

    .page-support__section-subtitle {
        font-size: 1em;
    }

    .page-support__faq-list, .page-support__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-support__hero-image,
    .page-support__responsible-gambling-image {
        display: none; /* Hide large background images on smaller screens */
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }

    .page-support__hero-description {
        font-size: 0.9em;
    }

    .page-support__btn {
        padding: 12px 20px;
        font-size: 1em;
    }

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

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

    .page-support__faq-question {
        font-size: 1.2em;
    }

    .page-support__contact-title {
        font-size: 1.4em;
    }
}