:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-color-light: #ffffff;
    --text-color-dark: #121212; /* Adjusted for contrast on gold */
    --background-dark: #121212;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Main text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency with body */
}

.page-support__section {
    padding: 60px 20px;
    margin-bottom: 0;
    position: relative;
}

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

/* Ensure the first section has padding-top to clear fixed header */
.page-support__hero-section {
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:bg:lode88win,support_hero,abstract]') center/cover no-repeat;
    text-align: center;
    color: var(--text-color-light);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-support__hero-container {
    max-width: 900px;
    padding: 20px;
}

.page-support__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-support__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color-light);
    opacity: 0.8;
}

.page-support__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-support__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.page-support__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-dark); /* Gold background, dark text for contrast */
}

.page-support__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-support__btn-secondary {
    background: var(--secondary-color);
    color: var(--text-color-light); /* Dark blue background, light text */
}

.page-support__btn-secondary:hover {
    background: #000066; /* Slightly darker blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-support__card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-light);
}

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

.page-support__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.page-support__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-support__card-title a:hover {
    text-decoration: underline;
}

.page-support__btn-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__btn-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-support__keyword {
    color: var(--primary-color);
    font-weight: bold;
}

.page-support__link-inline {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__link-inline:hover {
    text-decoration: underline;
}

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

.page-support__method-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-support__method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-support__faq-list {
    margin-top: 40px;
}

.page-support__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-support__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-support__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate for active state */
    color: var(--text-color-light);
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    color: var(--text-color-light);
}

.page-support__faq-item.active .page-support__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-color-dark);
}

.page-support__faq-answer p {
    margin-bottom: 15px;
    color: var(--text-color-light);
}

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

.page-support__guide-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-support__guide-card .page-support__card-title {
    margin-top: 0;
}

/* Legal Section */
.page-support__legal-links {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 40px;
}

.page-support__legal-links li {
    margin-bottom: 10px;
}

.page-support__legal-links li a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-support__legal-links li a:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Call to Action Section */
.page-support__cta-box {
    padding: 50px 30px;
    text-align: center;
    margin-top: 60px;
    border: 2px solid var(--primary-color);
}

.page-support__cta-box .page-support__section-title {
    margin-top: 0;
    margin-bottom: 15px;
}

.page-support__cta-box .page-support__section-description {
    margin-bottom: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.8em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1.1em;
    }
    .page-support__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile header height */
        padding-bottom: 40px;
        min-height: 400px;
    }
    .page-support__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-support__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-support__section {
        padding: 40px 15px;
    }
    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
    }
    .page-support__method-grid,
    .page-support__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-support__method-icon {
        width: 80px;
        height: 80px;
    }
    .page-support__card-title {
        font-size: 1.3em;
    }
    .page-support__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-support__faq-question h3 {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-support__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-support__faq-answer {
        padding: 0 15px;
    }
    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px !important;
    }
    .page-support__guide-image {
        height: 180px;
    }
    .page-support__legal-links li a {
        font-size: 1em;
    }
    .page-support__cta-box {
        padding: 30px 20px;
        margin-top: 40px;
    }
    /* Ensure all images are responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-support__section,
    .page-support__container,
    .page-support__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-support__hero-container,
    .page-support__cta-buttons {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-support__main-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__cta-button {
        padding: 10px 20px !important;
        font-size: 0.9em !important;
    }
    .page-support__method-icon {
        width: 70px;
        height: 70px;
    }
    .page-support__guide-image {
        height: 150px;
    }
}