/* style/support.css */

/* Biến CSS */
:root {
    --page-support-primary-color: #0A2463;
    --page-support-secondary-color: #E3B23C;
    --page-support-text-light: #F8F8F8;
    --page-support-text-dark: #333333;
    --page-support-bg-light: #FFFFFF;
    --page-support-bg-dark: #0A2463;
    --page-support-accent-hover: #ffc954; /* Lighter shade for hover */
}

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

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

.page-support__section-title {
    font-size: 2.5em;
    color: var(--page-support-primary-color);
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-subtitle {
    font-size: 1.1em;
    color: var(--page-support-text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-support__btn--primary {
    background-color: var(--page-support-secondary-color);
    color: var(--page-support-primary-color);
    box-shadow: 0 4px 10px rgba(227, 178, 60, 0.4);
}

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

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

.page-support__btn--secondary:hover {
    background-color: #071a47; /* Slightly darker primary */
    transform: translateY(-2px);
}

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

.page-support__hero-section .page-support__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-support__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--page-support-text-light);
    line-height: 1.1;
}

.page-support__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-width: 700px;
    margin-top: 40px;
    z-index: 1;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: var(--page-support-bg-light);
}

.page-support__faq-section .page-support__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.page-support__faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-support__faq-item {
    background-color: #f0f4f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--page-support-secondary-color);
}

.page-support__faq-question {
    font-size: 1.4em;
    color: var(--page-support-primary-color);
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.page-support__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-support-secondary-color);
    transition: transform 0.3s ease;
}

.page-support__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-support__faq-answer {
    font-size: 1em;
    color: var(--page-support-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.page-support__faq-answer.open {
    max-height: 300px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

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

.page-support__faq-link {
    color: var(--page-support-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-support__faq-image-wrapper {
    display: none; /* Hidden by default, shown on larger screens */
}

.page-support__faq-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-support__contact-section .page-support__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.page-support__contact-content {
    text-align: center;
    max-width: 900px;
}

.page-support__contact-options {
    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-bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-support__contact-item h3 {
    font-size: 1.5em;
    color: var(--page-support-primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-support__contact-item p {
    color: var(--page-support-text-dark);
    margin-bottom: 20px;
}

.page-support__icon {
    font-size: 3em;
    color: var(--page-support-secondary-color);
    display: block;
    margin-bottom: 15px;
}

/* Simple icon placeholders (replace with actual font icons or SVGs) */
.page-support__icon--chat::before { content: '💬'; }
.page-support__icon--email::before { content: '📧'; }
.page-support__icon--phone::before { content: '📞'; }

.page-support__contact-image-wrapper {
    display: none; /* Hidden by default, shown on larger screens */
}

.page-support__contact-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* App Download Section */
.page-support__app-download-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #0A2463 0%, #1a3a7c 100%);
    color: var(--page-support-text-light);
    text-align: center;
}

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

.page-support__app-download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-support__app-info {
    max-width: 600px;
}

.page-support__app-info p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-support__app-image-wrapper {
    width: 100%;
    max-width: 500px;
}

.page-support__app-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
    padding: 80px 0;
    background-color: var(--page-support-bg-light);
}

.page-support__responsible-gambling-content {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: center;
    font-size: 1.1em;
    color: var(--page-support-text-dark);
}

.page-support__responsible-gambling-content p {
    margin-bottom: 30px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-support__hero-section .page-support__container {
        flex-direction: row;
        text-align: left;
    }

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

    .page-support__hero-image-wrapper {
        flex: 1;
        margin-top: 0;
    }

    .page-support__faq-section .page-support__container {
        grid-template-columns: 2fr 1fr;
    }

    .page-support__faq-image-wrapper {
        display: block;
    }

    .page-support__contact-section .page-support__container {
        flex-direction: row;
    }

    .page-support__contact-content {
        flex: 2;
        text-align: left;
    }

    .page-support__contact-image-wrapper {
        display: block;
        flex: 1;
    }

    .page-support__app-download-content {
        flex-direction: row;
        text-align: left;
    }

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

    .page-support__app-image-wrapper {
        flex: 1;
    }

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

    .page-support__hero-title {
        font-size: 4em;
    }
}

@media (min-width: 1024px) {
    .page-support__section-title {
        font-size: 3.5em;
    }

    .page-support__hero-title {
        font-size: 5em;
    }
}

/* Contrast check - example for primary button */
/* WCAG AA for #E3B23C on #0A2463: Needs adjustment if used as text on dark background. */
/* Here, primary button has primary color text on secondary color background. */
/* Color contrast for #0A2463 (text) on #E3B23C (background) is 4.56:1, which meets AA. */
/* Color contrast for #F8F8F8 (text) on #0A2463 (background) is 15.68:1, which meets AAA. */