/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-support__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-support__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

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

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

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

/* 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;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

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

.page-support__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

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

.page-support__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

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

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

.page-support__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* 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;
}

/* Contact Methods Section */
.page-support__contact-methods {
    background-color: #1a1a2e;
}

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

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

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

.page-support__method-icon {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__method-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-support__method-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__method-link {
    display: inline-block;
    background-color: #017439;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-support__method-link:hover {
    background-color: #005c2e;
}

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

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

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

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

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

.page-support__faq-item-title {
    font-size: 1.4em;
    color: #ffffff;
    margin: 0;
}

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

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

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

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

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

.page-support__faq-image {
    margin-top: 50px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Guides and Resources Section */
.page-support__guides-resources {
    background-color: #1a1a2e;
    color: #ffffff;
}

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

.page-support__resource-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    display: block;
}

.page-support__resource-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.1);
}

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

.page-support__resource-text {
    font-size: 1.0em;
    color: #f0f0f0;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling {
    background-color: #017439;
    color: #ffffff;
}

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

.page-support__gambling-text {
    flex: 1;
    min-width: 300px;
}

.page-support__gambling-subtitle {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-support__gambling-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-support__gambling-text ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-support__gambling-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-support__gambling-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-support__gambling-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Security and Safety Section */
.page-support__security-safety {
    background-color: #1a1a2e;
    color: #ffffff;
}

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

.page-support__security-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-support__security-subtitle {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-support__security-item p {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-support__security-image {
    margin-top: 50px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-description {
        font-size: 1.3em;
    }
    .page-support__section-title {
        font-size: 2.5em;
    }
    .page-support__section-description {
        font-size: 1.1em;
    }
    .page-support__faq-item-title {
        font-size: 1.2em;
    }
    .page-support__gambling-subtitle {
        font-size: 1.8em;
    }
    .page-support__security-subtitle {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        height: 500px;
    }
    .page-support__hero-title {
        font-size: 2.2em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__section {
        padding: 40px 0;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__section-description {
        font-size: 1em;
    }

    .page-support__method-grid,
    .page-support__resource-grid,
    .page-support__security-grid {
        grid-template-columns: 1fr;
    }
    .page-support__gambling-content {
        flex-direction: column;
    }
    .page-support__gambling-image-wrapper {
        order: -1; /* Image first on mobile */
    }

    /* Mobile image responsiveness */
    .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__hero-section,
    .page-support__hero-actions,
    .page-support__method-card,
    .page-support__resource-card,
    .page-support__security-item,
    .page-support__gambling-content,
    .page-support__gambling-image-wrapper,
    .page-support__faq-list,
    .page-support__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-support__faq-question,
    .page-support__faq-answer {
        padding-left: 15px;
        padding-right: 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.8em;
    }
    .page-support__faq-item-title {
        font-size: 1.1em;
    }
    .page-support__gambling-subtitle {
        font-size: 1.5em;
    }
    .page-support__security-subtitle {
        font-size: 1.4em;
    }
}