/* style/support.css */

/* Variables */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0a0a0a;
    --light-bg-color: #FFFFFF;
    --text-light: #ffffff;
    --text-dark: #333333;
    --btn-register: #C30808;
    --btn-login: #C30808;
    --font-login-register: #FFFF00;
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Inherited from shared.css body */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: var(--primary-color); /* Brand color for hero */
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

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

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
    font-weight: bold;
}

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

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-support__btn-primary {
    background-color: var(--btn-register);
    color: var(--font-login-register);
    border: 2px solid var(--btn-register);
}

.page-support__btn-primary:hover {
    background-color: #e00;
    border-color: #e00;
    color: var(--text-light);
}

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

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

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

/* General Section Styles */
.page-support__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-support__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-support__section-text {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.page-support__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.4;
}

/* Light Background Sections */
.page-support__light-bg {
    background-color: var(--light-bg-color);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-support__light-bg .page-support__section-title,
.page-support__light-bg .page-support__sub-title {
    color: var(--primary-color);
}

.page-support__light-bg .page-support__card-title {
    color: var(--primary-color);
}

/* Dark Background Sections */
.page-support__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-support__dark-bg .page-support__section-title,
.page-support__dark-bg .page-support__sub-title {
    color: var(--text-light);
}

/* Intro Section */
.page-support__intro-section .page-support__section-text {
    text-align: left;
    max-width: 100%;
}

/* Video Section */
.page-support__video-promo-section {
    padding: 60px 0;
    text-align: center;
}

.page-support__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.page-support__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.page-support__video-cta {
    margin-top: 20px;
}

/* Topics Section */
.page-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: var(--text-light);
}

.page-support__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-support__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--text-light);
}

.page-support__card-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__card-button:hover {
    background-color: darken(var(--primary-color), 10%);
}

/* Contact Channels Section */
.page-support__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-support__contact-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-support__contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-support__contact-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-support__contact-card-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-support__faq-title {
    font-size: 1.2em;
    margin: 0;
    font-weight: bold;
    color: var(--text-light);
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-light);
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-support__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-support__faq-cta {
    text-align: center;
    margin-top: 30px;
}

.page-support__faq-cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 60px 0;
}

.page-support__responsible-gaming-section .page-support__section-title {
    color: var(--primary-color);
}

.page-support__responsible-gaming-section .page-support__section-text {
    text-align: left;
    max-width: 100%;
}

.page-support__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.page-support__image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.page-support__feature-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.page-support__text-content {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    color: var(--text-dark);
}

.page-support__text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-support__text-content li {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.6;
}

.page-support__text-content h3 {
    color: var(--primary-color);
}

/* Why Choose Section */
.page-support__why-choose-section {
    padding: 60px 0;
}

.page-support__why-choose-section .page-support__section-title {
    color: var(--text-light);
}

.page-support__advantages-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.page-support__advantages-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__advantages-list li::before {
    content: '✅';
    font-size: 1.2em;
    display: inline-block;
    vertical-align: middle;
}

.page-support__cta-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile hero */
        padding-bottom: 40px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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: 12px 20px;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-text {
        font-size: 0.95em;
        text-align: left;
    }
    .page-support__grid {
        grid-template-columns: 1fr;
    }
    .page-support__grid--2-col {
        grid-template-columns: 1fr;
    }
    .page-support__content-wrapper {
        flex-direction: column;
    }
    .page-support__image-wrapper, .page-support__text-content {
        max-width: 100%;
        min-width: unset;
    }
    .page-support__advantages-list {
        grid-template-columns: 1fr;
    }
    .page-support__card-image,
    .page-support__contact-card-icon,
    .page-support__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__video-promo-section,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__video-promo-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply for video section on mobile if needed */
    }
    .page-support__cta-buttons {
        flex-direction: column;
    }
    .page-support__text-content ul {
        padding-left: 15px;
    }
    .page-support__text-content li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__sub-title {
        font-size: 1.4em;
    }
    .page-support__faq-title {
        font-size: 1em;
    }
    .page-support__faq-question {
        padding: 15px;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px 15px;
    }
}

/* Ensure content images are not smaller than 200px in content area */
.page-support__intro-section img,
.page-support__topics-section img,
.page-support__contact-channels-section img,
.page-support__responsible-gaming-section img,
.page-support__why-choose-section img {
    min-width: 200px;
    min-height: 200px;
}

/* No filter on images */
.page-support img {
    filter: none; /* Ensure no CSS filter is applied */
}