.page-support {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-support__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

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

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

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

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

/* General Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-register,
.page-support__btn-login {
    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, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #C30808; /* Use register color for primary */
    color: #FFFF00; /* Use register/login font color */
    border: 2px solid #C30808;
}

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

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

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

.page-support__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-support__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-support__btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-support__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-support__btn-center {
    display: block;
    margin: 20px auto 0 auto;
    max-width: 300px;
}

/* Section Titles */
.page-support__section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-support__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: inherit;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
}

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

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

.page-support__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    outline: none;
    color: #017439;
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.7;
}

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

/* Contact Methods Section */
.page-support__contact-methods-section {
    padding: 60px 0;
}

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

.page-support__contact-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-support__contact-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.page-support__contact-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__contact-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

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

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

.page-support__responsible-image {
    flex: 1 1 400px;
    border-radius: 10px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

.page-support__responsible-text {
    flex: 1 1 400px;
    color: #333333;
}

.page-support__responsible-text h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #017439;
}

.page-support__responsible-text ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-support__responsible-text li {
    margin-bottom: 8px;
    color: #555555;
}

/* Glossary Section */
.page-support__glossary-section {
    padding: 60px 0;
}

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

.page-support__glossary-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    color: #ffffff;
}

.page-support__glossary-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__glossary-item p {
    font-size: 0.95em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Video Tutorial Section */
.page-support__video-tutorial-section {
    padding: 60px 0;
}

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

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

.page-support__video-cta {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1em;
    color: #333333;
}

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

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

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

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-register,
    .page-support__btn-login {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
    }

    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-support__faq-answer {
        padding: 0 15px 15px 15px;
        font-size: 0.9em;
    }

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

    .page-support__responsible-content {
        flex-direction: column;
    }
    .page-support__responsible-image {
        order: -1;
    }
    .page-support__responsible-text h3 {
        font-size: 1.5em;
    }

    .page-support__glossary-grid {
        grid-template-columns: 1fr;
    }

    .page-support__video-wrapper {
        padding-bottom: 75%; /* 4:3 Aspect Ratio for smaller screens or keep 16:9 */
        max-width: 100%;
    }
    .page-support__video-tutorial-section .page-support__container {
        padding: 0 15px;
    }

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

    /* Mobile specific image adaptations */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-card,
    .page-support__glossary-item,
    .page-support__video-tutorial-section,
    .page-support__video-wrapper,
    .page-support__responsible-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video adaptations */
    .page-support video,
    .page-support__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Button container adaptations */
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-support__cta-buttons {
        flex-direction: column !important;
    }
}