/* style/support.css */

/* General styles for the support page content */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0A0A0A; /* Background color from custom palette */
    color: #FFF6D6; /* Main text color from custom palette, light for dark background */
}

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

.page-support__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E; /* Primary brand color for titles */
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF6D6; /* Main text color */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Ensure dark background */
}

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

.page-support__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-support__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-support__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2C14E; /* Primary brand color */
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-support__tagline {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #FFF6D6; /* Light text for dark background */
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-card {
    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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
    color: #111111; /* Dark text for bright button */
    border: none;
}

.page-support__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-support__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Primary brand color for text */
    border: 2px solid #F2C14E; /* Border with primary brand color */
}

.page-support__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

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

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

.page-support__method-card {
    background-color: #111111; /* Card BG from custom palette */
    border: 1px solid #3A2A12; /* Border from custom palette */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFF6D6; /* Light text for dark card background */
}

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

.page-support__card-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-support__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #F2C14E; /* Primary brand color */
}

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

.page-support__btn-card {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    border: none;
    width: 100%;
    max-width: 200px;
}

.page-support__btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-support__faq-item {
    background-color: #111111; /* Card BG from custom palette */
    border: 1px solid #3A2A12; /* Border from custom palette */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FFF6D6; /* Light text for dark card background */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #2a2a2a;
}

.page-support__faq-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E; /* Primary brand color */
    margin: 0;
}

.page-support__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD36B; /* Glow color for toggle */
    transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg); /* Plus sign becomes 'x' or 'minus' */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Light text */
}

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

.page-support__faq-answer p {
    margin: 0;
}

/* Game Guides Section */
.page-support__game-guides {
    padding: 80px 0;
    background-color: #0A0A0A; /* Dark background */
}

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

.page-support__guide-card {
    background-color: #111111; /* Card BG from custom palette */
    border: 1px solid #3A2A12; /* Border from custom palette */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #FFF6D6; /* Light text for dark card background */
}

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

.page-support__guide-card .page-support__card-image {
    max-width: 100%; /* Ensure images fill card width */
    margin-bottom: 20px;
}

.page-support__guide-card .page-support__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #F2C14E; /* Primary brand color */
}

.page-support__guide-card .page-support__card-title a {
    color: #F2C14E; /* Link color */
    text-decoration: none;
}

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

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

/* Responsible Gaming Section */
.page-support__responsible-gaming {
    padding: 80px 0;
    background-color: #0A0A0A; /* Dark background */
}

.page-support__responsible-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    color: #FFF6D6; /* Light text */
}

.page-support__responsible-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 15px 25px;
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-support__responsible-item::before {
    content: '✓';
    color: #FFD36B; /* Glow color */
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2em;
}

.page-support__cta-buttons--center {
    margin-top: 40px;
}

/* Legal Links Section */
.page-support__legal-links {
    padding: 80px 0;
    background-color: #0A0A0A; /* Dark background */
}

.page-support__link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.page-support__legal-link {
    display: block;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #F2C14E; /* Primary brand color */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-support__legal-link:hover {
    background-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Final CTA Section */
.page-support__cta-section--final {
    padding: 80px 0;
    background-color: #0A0A0A; /* Dark background */
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
}

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

    .page-support__hero-section {
        padding-bottom: 40px;
    }

    .page-support__main-title {
        font-size: 2em;
    }

    .page-support__tagline {
        font-size: 1.1em;
    }

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

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

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to container */
    }

    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-card {
        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;
    }

    .page-support__method-cards,
    .page-support__guide-cards {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .page-support__method-card,
    .page-support__guide-card {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding: 20px;
    }

    .page-support__card-image {
      max-width: 100% !important; /* Mobile image responsive */
      height: auto !important;
      width: 100% !important;
      display: block !important;
    }

    .page-support__hero-image {
      max-width: 100% !important;
      height: auto !important;
      width: 100% !important;
      display: block !important;
    }

    .page-support__faq-question {
        padding: 15px 20px;
    }

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

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

    .page-support__faq-item.active .page-support__faq-answer {
        padding: 15px 20px;
    }
    
    .page-support__responsible-item {
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-support__link-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .page-support__legal-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All content containers for mobile */
    .page-support__container,
    .page-support__hero-content,
    .page-support__faq-list,
    .page-support__responsible-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all images are responsive */
    .page-support img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Specific section padding adjustment for mobile */
    .page-support__hero-section,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__game-guides,
    .page-support__responsible-gaming,
    .page-support__legal-links,
    .page-support__cta-section--final {
        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__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-card {
        padding: 12px 20px;
        font-size: 1em;
    }
}