/* style/support.css */

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

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

.page-support__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* --- Buttons --- */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-channel {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensures responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-support__btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Navy blue text for contrast */
    border: 2px solid #FFD700;
}

.page-support__btn-primary:hover {
    background-color: #e6c200;
    color: #000066;
}

.page-support__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-support__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-support__btn-channel {
    background-color: #000080; /* Navy blue background */
    color: #FFD700; /* Gold text */
    border: 1px solid #000080;
    margin-top: 20px;
}

.page-support__btn-channel:hover {
    background-color: #FFD700;
    color: #000080;
    border-color: #FFD700;
}

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

.page-support__hero-buttons .page-support__btn-primary,
.page-support__hero-buttons .page-support__btn-secondary {
    margin: 10px;
}

/* --- Hero Section --- */
.page-support__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 60px 20px;
    background-color: #000080; /* Navy blue background for hero */
    overflow: hidden;
    color: #ffffff;
    gap: 40px;
}

.page-support__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for hero title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-support__hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.page-support__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.page-support__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* --- Channels Section --- */
.page-support__channels-section {
    padding: 80px 0;
    background-color: #000; /* Dark background */
}

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

.page-support__channel-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__channel-icon {
    width: 250px; /* Larger image size */
    height: 167px; /* Maintain aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

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

.page-support__channel-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Pushes button to bottom */
}

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

.page-support__faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-support__faq-category {
    background-color: rgba(0, 0, 0, 0.2); /* Darker background for categories */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__category-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
}

.page-support__faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-support__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}

.page-support__faq-question:hover {
    color: #FFD700;
}

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

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    font-size: 1em;
}

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

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

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(0deg); /* No rotation for '-' */
}

.page-support__faq-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

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

/* --- Guides Section --- */
.page-support__guides-section {
    padding: 80px 0;
    background-color: #000; /* Dark background */
}

.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: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__guide-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-support__guide-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-support__guide-card h3 {
    padding: 20px 20px 10px 20px;
    font-size: 1.5em;
    color: #FFD700;
}

.page-support__guide-card h3 a {
    color: inherit;
    text-decoration: none;
}

.page-support__guide-card h3 a:hover {
    text-decoration: underline;
}

.page-support__guide-text {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

/* --- Responsible Gambling Section --- */
.page-support__responsible-gambling-section {
    padding: 80px 0;
    background-color: #000080; /* Navy blue background */
    color: #ffffff;
    text-align: center;
}

.page-support__responsible-gambling-section .page-support__content-container {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 10px;
}

/* --- Contact CTA Section --- */
.page-support__contact-cta-section {
    padding: 80px 0;
    background-color: #000; /* Dark background */
    text-align: center;
}

/* --- Images responsive and general styles --- */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block; /* Ensure images are block-level for max-width to work */
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-support__hero-content {
        max-width: 100%;
    }
    .page-support__hero-buttons {
        justify-content: center;
    }
    .page-support__hero-image-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

    .page-support__hero-title {
        font-size: 2.2em;
    }

    .page-support__hero-description {
        font-size: 1em;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-channel {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }

    .page-support__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-support__channels-section,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__responsible-gambling-section,
    .page-support__contact-cta-section {
        padding: 40px 0;
    }

    .page-support__section-title {
        font-size: 1.8em;
    }

    .page-support__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-support__content-container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-support__channel-card,
    .page-support__guide-card {
        padding: 20px;
    }

    .page-support__channel-icon {
        width: 100% !important;
        height: auto !important;
    }

    .page-support__category-title {
        font-size: 1.5em;
    }

    .page-support__faq-question {
        font-size: 1.1em;
    }

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 10px !important;
    }

    .page-support__responsible-gambling-section .page-support__content-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.5em;
    }
    .page-support__category-title {
        font-size: 1.3em;
    }
}

/* --- Contrast Fixes (if needed, based on body background #000) --- */
/* The default color: #ffffff for .page-support and rgba(255,255,255,0.08) for cards
   on a #000 body background provides excellent contrast. No explicit fix needed. */
.page-support__dark-bg {
  color: #ffffff; /* Deep blue section background with white text */
  background: #000080;
}
.page-support__light-bg {
  color: #333333; /* Not used directly on this page for main sections, but for general safety */
  background: #ffffff;
}
.page-support__medium-bg {
  color: #000000; /* Not used directly on this page for main sections, but for general safety */
  background: #FFD700;
}