/* style/support.css */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-support__hero-section {
    padding-top: 10px; /* Small top padding for visual spacing below header, body handles main offset */
    padding-bottom: 80px;
    background-color: #0A0A0A; /* Match body background for seamless transition */
    position: relative;
    overflow: hidden;
}

.page-support__hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image above text for desktop */
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-support__hero-text-block {
    text-align: center;
    max-width: 800px;
}

.page-support__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-support__hero-description {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
}

.page-support__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    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%); /* Button color */
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-support__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-support__btn-secondary {
    background-color: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    border: 2px solid #3A2A12; /* Border */
}

.page-support__btn-secondary:hover {
    background-color: #0A0A0A; /* Background */
    color: #FFD36B; /* Auxiliary color */
    border-color: #F2C14E;
    transform: translateY(-2px);
}

.page-support__dark-bg {
    background-color: #0A0A0A; /* Background color */
    color: #FFF6D6; /* Text Main */
}

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

.page-support__section-title {
    font-size: 2.5rem;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* Contact Section */
.page-support__contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-support__contact-card,
.page-support__feature-card {
    background-color: #111111; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #3A2A12; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-support__card-title {
    font-size: 1.8rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-support__card-text {
    color: #FFF6D6; /* Text Main */
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background color */
}

.page-support__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-support__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    font-weight: 600;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
    background-color: #1a1a1a;
}

.page-support__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.page-support__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFF6D6; /* Text Main */
}

.page-support__faq-item.active .page-support__faq-toggle {
    transform: rotate(45deg);
    color: #F2C14E; /* Main color */
}

.page-support__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main */
    background-color: #111111; /* Card BG */
}

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

.page-support__faq-answer p {
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main */
}

.page-support__link-text {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: underline;
}

.page-support__link-text:hover {
    color: #F2C14E; /* Main color on hover */
    text-decoration: none;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-support__responsible-gaming-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-support__responsible-gaming-image {
    flex: 1 1 400px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px;
}

.page-support__responsible-gaming-text {
    flex: 2 1 400px;
    color: #FFF6D6; /* Text Main */
}

.page-support__sub-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
}

.page-support__responsible-gaming-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-support__responsible-gaming-text li {
    margin-bottom: 10px;
}

/* Why Choose JiliBet Section */
.page-support__why-choose-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background color */
}

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

/* Legal Info Section */
.page-support__legal-info-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background color */
}

.page-support__legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-support__legal-link {
    background-color: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid #3A2A12; /* Border */
}

.page-support__legal-link:hover {
    background-color: #F2C14E; /* Main color */
    color: #111111; /* Card BG for contrast */
    border-color: #F2C14E;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-support__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-support__section-title {
        font-size: 2rem;
    }
    .page-support__contact-methods,
    .page-support__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media query */
        padding-bottom: 40px;
    }
    .page-support__container {
        padding: 40px 15px;
    }
    .page-support__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-support__hero-description {
        font-size: 1rem;
    }
    .page-support__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__contact-card,
    .page-support__feature-card,
    .page-support__responsible-gaming-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__responsible-gaming-content {
        flex-direction: column;
    }
    .page-support__responsible-gaming-image {
        margin-bottom: 30px;
    }
    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-support__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-support__legal-links {
        flex-direction: column;
        gap: 15px;
    }
    .page-support__legal-link {
        width: 100%;
    }
}

/* Ensure no filter on images */
.page-support img {
    filter: none !important;
}

/* Content area images CSS dimensions lower bound */
/* This rule is crucial to prevent small images in content sections */
.page-support__responsible-gaming-image { /* Enforce min size for content images */
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fix if needed */
.page-support__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-support__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}