:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-background-dark: #08160F; /* Background */
    --color-card-bg: #11271B; /* Card BG */
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */
}

.page-support {
    font-family: Arial, sans-serif;
    background-color: var(--color-background-dark); /* Assuming body background is dark */
    color: var(--color-text-main); /* Default text color for dark background */
    line-height: 1.6;
}

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

.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-support__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image for better text contrast if text were overlaid, but here text is below. Still good for mood. */
}

.page-support__hero-content {
    width: 100%;
    max-width: 800px; /* Constrain text width */
    padding: 0 20px;
    box-sizing: border-box;
    position: relative; /* Ensure it's not absolutely positioned over the image */
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-support__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    color: var(--color-gold); /* Using gold for main title for prominence */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-support__description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    box-sizing: border-box;
    min-width: 180px;
}

.page-support__btn-primary {
    background: var(--color-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* White-ish text for dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
}

.page-support__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.3);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: var(--color-primary); /* Green text for light button */
    border: 2px solid var(--color-primary);
}

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

.page-support__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-support__text-block {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__why-section,
.page-support__faq-section,
.page-support__contact-section,
.page-support__guides-section,
.page-support__responsible-gaming-section,
.page-support__cta-final-section {
    padding: 80px 0;
    background-color: var(--color-background-dark); /* Ensure consistent dark background */
}

.page-support__why-section {
    background-color: var(--color-card-bg); /* Slightly different dark for contrast */
}

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

.page-support__feature-item {
    background-color: var(--color-background-dark);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-divider);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.page-support__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support__feature-title {
    font-size: 1.4em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.page-support__feature-text {
    color: var(--color-text-secondary);
}

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

.page-support__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--color-text-main);
}

.page-support__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-main);
}

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

.page-support__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-glow);
}

.page-support__faq-item[open] .page-support__faq-question {
    color: var(--color-primary); /* Highlight question when open */
}

.page-support__faq-answer {
    padding: 20px 25px;
    color: var(--color-text-secondary);
    font-size: 1em;
    background-color: var(--color-background-dark);
}

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

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

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

.page-support__text-center {
    text-align: center;
    margin-top: 40px;
}

.page-support__mt-40 {
  margin-top: 40px;
}

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

.page-support__contact-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--color-divider);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.page-support__contact-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-support__contact-text {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
}

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

.page-support__guide-card {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-divider);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.page-support__guide-title {
    font-size: 1.25em;
    color: var(--color-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-support__guide-title a:hover {
    color: var(--color-primary);
}

.page-support__guide-text {
    color: var(--color-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push read more to bottom */
}

.page-support__read-more {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.page-support__read-more:hover {
    text-decoration: underline;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    background-color: var(--color-deep-green); /* Distinct background for this important section */
}

.page-support__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-support__responsible-gaming-image {
    flex: 1 1 400px; /* Flexible width, min 400px */
    width: 100%; /* Ensure it takes full width if flexed */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-support__responsible-gaming-text {
    flex: 1 1 400px; /* Flexible width, min 400px */
    color: var(--color-text-main);
}

.page-support__responsible-gaming-text p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-support__responsible-gaming-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 30px;
    color: var(--color-text-main);
}

.page-support__responsible-gaming-list li {
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.page-support__cta-final-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--color-background-dark);
}

.page-support__cta-final-content {
    max-width: 900px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__hero-section {
        padding: 40px 20px;
        padding-top: 10px;
    }
    .page-support__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-support__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.2em);
    }
    .page-support__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 80%;
        max-width: 300px;
    }
    .page-support__responsible-gaming-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-support__container {
        padding: 0 15px;
    }
    .page-support__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-support__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-support__description {
        font-size: 1em;
    }
    .page-support__cta-buttons {
        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;
    }

    /* 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__why-section,
    .page-support__faq-section,
    .page-support__contact-section,
    .page-support__guides-section,
    .page-support__responsible-gaming-section,
    .page-support__cta-final-section,
    .page-support__hero-image-wrapper,
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container,
    .page-support__responsible-gaming-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-support__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-support__hero-content {
        padding-left: 0;
        padding-right: 0;
    }

    .page-support__features-grid,
    .page-support__contact-methods-grid,
    .page-support__guides-grid {
        grid-template-columns: 1fr; /* Stack items */
        gap: 20px;
    }

    .page-support__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-support__faq-answer {
        padding: 15px 20px;
    }
    .page-support__responsible-gaming-list {
        margin-left: 20px;
    }
}