/* style/support.css */

/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--neon-bg-dark); /* Inherited from shared, assuming dark */
}

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

/* Section styles */
.page-support__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Light text for dark sections */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly lighter for dark sections */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Card styles */
.page-support__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* White text for cards */
    height: 100%; /* Ensure cards in a grid have equal height */
    box-sizing: border-box;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    background-color: #017439; /* Brand color as background for hero */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-support__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

/* Buttons */
.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: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button */
    word-wrap: break-word; /* Responsive button */
}

.page-support__btn-primary {
    background-color: #C30808; /* Red for primary actions (register/login/contact) */
    color: #FFFF00; /* Yellow text for contrast */
    border: 2px solid #C30808;
}

.page-support__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
    transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-2px);
}

.page-support__btn-text-link {
    color: #FFFF00; /* Yellow for text links */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__btn-text-link:hover {
    color: #e02020; /* Red on hover */
}


/* Channels Section */
.page-support__channels-section {
    padding: 80px 0;
    background-color: var(--neon-bg-dark); /* Dark background */
}

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

.page-support__channel-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Added for consistency */
    max-width: 100%; /* Responsive image */
    height: auto; /* Responsive image */
    display: block; /* Responsive image */
}

.page-support__channel-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for titles */
}

.page-support__channel-text {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

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

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

.page-support__faq-heading {
    margin: 0;
    color: #ffffff;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    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; /* Initial padding */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

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

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

/* Guides Section */
.page-support__guides-section {
    padding: 80px 0;
    background-color: var(--neon-bg-dark); /* Dark background */
}

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

.page-support__guide-card {
    text-align: left;
}

.page-support__guide-image {
    width: 100%;
    height: 200px; /* Fixed height for visual consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%; /* Responsive image */
    height: auto; /* Responsive image */
    display: block; /* Responsive image */
}

.page-support__guide-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #FFFF00; /* Yellow for titles */
}

.page-support__guide-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Contact Section */
.page-support__contact-section {
    padding: 80px 0;
    background-color: #017439; /* Brand color as background */
}

.page-support__contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
}

.page-support__contact-form {
    display: flex;
    flex-direction: column;
}

.page-support__form-group {
    margin-bottom: 20px;
    text-align: left;
}

.page-support__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.page-support__form-input,
.page-support__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-support__form-input::placeholder,
.page-support__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-support__form-input:focus,
.page-support__form-textarea:focus {
    outline: none;
    border-color: #FFFF00;
    box-shadow: 0 0 0 3px rgba(255, 255, 0, 0.3);
}

.page-support__contact-info {
    text-align: left;
    color: #ffffff;
}

.page-support__contact-info-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FFFF00;
}

.page-support__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-support__social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.page-support__social-icon img {
    
    
    border-radius: 50%;
    transition: transform 0.3s ease;
    max-width: 100%; /* Responsive image */
    height: auto; /* Responsive image */
    display: block; /* Responsive image */
}

.page-support__social-icon img:hover {
    transform: scale(1.1);
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding: 80px 0;
    background-color: var(--neon-bg-dark); /* Dark background */
}

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

.page-support__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px; /* Added for consistency */
    max-width: 100%; /* Responsive image */
    height: auto; /* Responsive image */
    display: block; /* Responsive image */
}

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

.page-support__feature-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__responsible-gaming-cta {
    text-align: center;
    margin-top: 60px;
}

/* Dark and Light Background sections for contrast */
.page-support__dark-section {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-support__light-bg {
    background-color: var(--neon-bg-dark); /* Assuming dark body background */
    color: #ffffff;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: 3em;
    }
    .page-support__section-title {
        font-size: 2.2em;
    }
    .page-support__contact-form-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile specific responsiveness - must use !important */
    .page-support__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
    }

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

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

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

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Ensure text padding */
        padding-right: 15px; /* Ensure text padding */
    }

    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex context for wrap */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

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

    .page-support__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__responsible-gaming-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__card {
        padding: 25px;
    }

    .page-support__contact-form-wrapper {
        padding: 25px;
    }

    .page-support__form-input,
    .page-support__form-textarea {
        font-size: 0.95em;
    }

    .page-support__social-links {
        justify-content: center;
    }

    /* Images responsiveness - must use !important */
    .page-support img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containing elements for images and videos */
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-form-wrapper,
    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__responsible-gaming-features {
        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 */
    }

    /* Video responsiveness - if any video exists */
    .page-support video,
    .page-support__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}