/* style/support.css */

/* Base Styles */
.page-support {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-support__section-title {
    font-size: 3.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support__section-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
    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;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-support__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

.page-support__btn-tertiary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
    font-size: 1em;
    padding: 12px 25px;
}

.page-support__btn-tertiary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

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

.page-support__hero-section .page-support__container {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

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

.page-support__hero-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.page-support__method-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__method-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.page-support__method-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

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

.page-support__method-description {
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Lighter dark background for contrast */
    color: #ffffff;
}

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

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

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

.page-support__faq-question h3 {
    font-size: 1.3em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    width: 30px;
    text-align: center;
    line-height: 1;
    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 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
    line-height: 1.7;
}

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

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

.page-support__faq-link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-support__faq-link:hover {
    text-decoration: underline;
}

/* Resources Section */
.page-support__resources-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

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

.page-support__resource-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__resource-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-support__resource-title {
    font-size: 1.5em;
    color: #26A9E0;
    padding: 20px 20px 10px;
}

.page-support__resource-description {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.page-support__resource-card .page-support__btn-tertiary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Security Section */
.page-support__security-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
}

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

.page-support__security-text {
    flex: 1;
}

.page-support__security-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-support__security-image-wrapper {
    flex: 0 0 500px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-support__security-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Lighter dark background */
    color: #ffffff;
}

.page-support__responsible-gaming-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.page-support__responsible-gaming-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    text-align: center;
}

/* General dark background text color fix */
.page-support__dark-bg {
  color: #ffffff; /* Ensure white text on dark backgrounds */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3.5em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__section-title {
        font-size: 2.8em;
    }
    .page-support__security-content {
        flex-direction: column;
    }
    .page-support__security-image-wrapper {
        flex: none;
        max-width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile fixed header spacing */
    }
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .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-tertiary {
        width: 100%;
        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-title {
        font-size: 2em;
    }
    .page-support__section-intro {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__resources-section,
    .page-support__security-section,
    .page-support__responsible-gaming-section,
    .page-support__feedback-section {
        padding: 50px 0;
    }
    .page-support__methods-grid,
    .page-support__resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-support__method-card,
    .page-support__resource-card {
        padding: 25px;
    }
    .page-support__method-title {
        font-size: 1.5em;
    }
    .page-support__faq-question h3 {
        font-size: 1.1em;
    }
    .page-support__faq-question,
    .page-support__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
    }
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__resources-section,
    .page-support__security-section,
    .page-support__responsible-gaming-section,
    .page-support__feedback-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-support__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 0.9em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__method-title {
        font-size: 1.3em;
    }
    .page-support__faq-question h3 {
        font-size: 1em;
    }
    .page-support__faq-toggle {
        font-size: 1.5em;
    }
}