/* style/support.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại. */

:root {
    --sm66-primary-color: #11A84E;
    --sm66-secondary-color: #22C768;
    --sm66-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --sm66-card-bg: #11271B;
    --sm66-background: #08160F;
    --sm66-text-main: #F2FFF6;
    --sm66-text-secondary: #A7D9B8;
    --sm66-border-color: #2E7A4E;
    --sm66-glow-color: #57E38D;
    --sm66-gold-color: #F2C14E;
    --sm66-divider-color: #1E3A2A;
    --sm66-deep-green: #0A4B2C;
}

.page-support {
    font-family: Arial, sans-serif;
    color: var(--sm66-text-main); /* Default text color for dark background */
    background-color: var(--sm66-background); /* Default background for the page content */
}

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

/* Hero Section */
.page-support__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--sm66-background);
    overflow: hidden;
}

.page-support__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-support__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--sm66-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -1px;
}

.page-support__hero-description {
    font-size: 1.2rem;
    color: var(--sm66-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-support__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: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: var(--sm66-button-gradient);
    color: #ffffff; /* Always white for primary buttons */
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-support__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-support__btn-secondary {
    background-color: transparent;
    color: var(--sm66-glow-color);
    border: 2px solid var(--sm66-glow-color);
}

.page-support__btn-secondary:hover {
    background-color: var(--sm66-glow-color);
    color: var(--sm66-background);
    transform: translateY(-3px);
}

.page-support__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* General Sections */
.page-support__section-title {
    font-size: 2.5rem;
    color: var(--sm66-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-support__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--sm66-text-secondary);
    text-align: justify;
}

.page-support__text-block .highlight {
    color: var(--sm66-text-main);
    font-weight: bold;
}

.page-support__dark-section {
    background-color: var(--sm66-deep-green);
    padding: 60px 0;
}

.page-support__light-bg {
    background-color: var(--sm66-background);
    padding: 60px 0;
}

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

.page-support__step-card {
    background-color: var(--sm66-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sm66-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__step-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__step-title {
    font-size: 1.5rem;
    color: var(--sm66-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-support__step-description {
    font-size: 1rem;
    color: var(--sm66-text-secondary);
    line-height: 1.6;
}

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

/* Payment Methods */
.page-support__payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.page-support__payment-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
}

.page-support__payment-title {
    font-size: 1.4rem;
    color: var(--sm66-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__payment-description {
    font-size: 0.95rem;
    color: var(--sm66-text-secondary);
    line-height: 1.5;
}

.page-support__subsection-title {
    font-size: 1.8rem;
    color: var(--sm66-text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-support__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    color: var(--sm66-text-secondary);
}

.page-support__ordered-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.page-support__ordered-list li .highlight {
    color: var(--sm66-text-main);
    font-weight: bold;
}

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

.page-support__game-card {
    background-color: var(--sm66-card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sm66-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__game-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__game-title {
    font-size: 1.6rem;
    color: var(--sm66-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__game-description {
    font-size: 1rem;
    color: var(--sm66-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-support__game-card a {
    margin-top: auto; /* Push button to bottom */
}

/* Security Policy */
.page-support__bullet-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--sm66-text-secondary);
}

.page-support__bullet-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.page-support__bullet-list li strong {
    color: var(--sm66-text-main);
}

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

.page-support__channel-card {
    background-color: var(--sm66-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sm66-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-support__channel-title {
    font-size: 1.6rem;
    color: var(--sm66-gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-support__channel-description {
    font-size: 1rem;
    color: var(--sm66-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-support__channel-card a {
    margin-top: auto; /* Push button to bottom */
}

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

.page-support__faq-item {
    background-color: var(--sm66-card-bg);
    border: 1px solid var(--sm66-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--sm66-text-main);
    cursor: pointer;
    background-color: var(--sm66-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-support__faq-question::-webkit-details-marker {
    display: none;
}

.page-support__faq-question:hover {
    background-color: var(--sm66-deep-green);
}

.page-support__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-support__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--sm66-gold-color);
    transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-support__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sm66-text-secondary);
}

.page-support__faq-answer p {
    margin-top: 10px;
}

/* Links */
.page-support a {
    color: var(--sm66-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support a:hover {
    color: var(--sm66-gold-color);
    text-decoration: underline;
}

/* Responsive Design */
/* All images responsive by default */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .page-support__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-support__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-support__hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-support__btn-primary,
    .page-support__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-support__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-support__text-block,
    .page-support__ordered-list li,
    .page-support__bullet-list li,
    .page-support__step-description,
    .page-support__payment-description,
    .page-support__game-description,
    .page-support__channel-description,
    .page-support__faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .page-support__step-card,
    .page-support__payment-card,
    .page-support__game-card,
    .page-support__channel-card {
        padding: 20px;
    }

    .page-support__step-image,
    .page-support__payment-icon,
    .page-support__game-image,
    .page-support__channel-icon {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-support__subsection-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-support__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-support__faq-toggle {
        font-size: 1.5rem;
    }

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

    /* Ensure all image containers are responsive */
    .page-support__hero-image-wrapper,
    .page-support__steps-grid,
    .page-support__payment-grid,
    .page-support__game-cards-grid,
    .page-support__contact-channels {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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