/* Tai Xiu Page Styles */
.page-tai-xiu {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: 'Inter', 'System UI', sans-serif;
}

/* HERO MODULE */
.page-tai-xiu__hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.page-tai-xiu__hero-image-wrap {
    width: 100%;
}

.page-tai-xiu__hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 211, 107, 0.15);
    object-fit: cover;
}

.page-tai-xiu__hero-content {
    text-align: center;
    padding: 24px 20px;
}

.page-tai-xiu__hero-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.3;
    color: #FFF6D6;
    max-width: 900px;
    margin: 0 auto 12px;
    letter-spacing: 0.02em;
}

.page-tai-xiu__hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: #E8D9A0;
    margin: 0 auto 20px;
    max-width: 700px;
    line-height: 1.6;
}

.page-tai-xiu__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.page-tai-xiu__hero-btn {
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 24px;
    transition: transform .2s ease, box-shadow .2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
}

.page-tai-xiu__hero-btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.4);
}

.page-tai-xiu__hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 211, 107, 0.5);
}

.page-tai-xiu__hero-btn--secondary {
    background: transparent;
    color: #FFF6D6;
    border: 2px solid #3A2A12;
}

.page-tai-xiu__hero-btn--secondary:hover {
    border-color: #FFD36B;
    background: rgba(255, 211, 107, 0.1);
}

/* LOGO GRID MODULE */
.page-tai-xiu__logo-section {
    padding: 30px 16px 40px;
    background: #111111;
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
}

.page-tai-xiu__logo-title {
    text-align: center;
    color: #FFF6D6;
    margin-top: 0;
    margin-bottom: 28px;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 700;
}

.page-tai-xiu__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.page-tai-xiu__logo-item {
    background: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color .2s ease;
}

.page-tai-xiu__logo-item:hover {
    border-color: #FFD36B;
}

.page-tai-xiu__logo-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.page-tai-xiu__logo-name {
    margin: 4px 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: #FFF6D6;
}

.page-tai-xiu__logo-cta {
    padding: 8px 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform .2s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__logo-cta:hover {
    transform: scale(1.04);
}

.page-tai-xiu__logo-item:nth-child(5) {
    grid-column: 2;
}

.page-tai-xiu__logo-item:nth-child(6) {
    grid-column: 3;
}

.page-tai-xiu__logo-more {
    text-align: center;
    margin-top: 32px;
}

.page-tai-xiu__logo-more-btn {
    display: inline-block;
    padding: 10px 30px;
    text-decoration: none;
    background: transparent;
    color: #FFF6D6;
    border: 1px solid #3A2A12;
    border-radius: 50px;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.page-tai-xiu__logo-more-btn:hover {
    background: rgba(255, 211, 107, 0.1);
    border-color: #FFD36B;
}

/* GUIDE MODULE */
.page-tai-xiu__guide-section {
    background: #0A0A0A;
    padding: 20px 16px 60px;
}

.page-tai-xiu__guide-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-tai-xiu__guide-title {
    color: #FFF6D6;
    text-align: center;
    margin-bottom: 10px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
}

.page-tai-xiu__guide-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #E8D9A0;
    max-width: 100%;
    margin-bottom: 40px;
}

.page-tai-xiu__guide-block {
    margin-bottom: 50px;
}

.page-tai-xiu__guide-block-title {
    color: #FFD36B;
    font-size: 1.45rem;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 12px;
}

.page-tai-xiu__guide-block p {
    line-height: 1.7;
    color: #E8D9A0;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.page-tai-xiu__guide-figure {
    display: block;
    text-align: center;
    margin: 20px auto;
}

.page-tai-xiu__guide-figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* FAQ */
.page-tai-xiu__guide-faq {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 20px;
}

.page-tai-xiu__guide-faq-title {
    color: #FFD36B;
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-tai-xiu__faq-item {
    border-bottom: 1px solid #3A2A12;
    padding: 8px 0;
}

.page-tai-xiu__faq-question {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #FFF6D6;
}

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

.page-tai-xiu__faq-q-text {
    flex: 1;
}

.page-tai-xiu__faq-toggle {
    color: #FFD36B;
    font-size: 1.6rem;
    line-height: 1;
    margin-left: 10px;
}

.page-tai-xiu__faq-answer {
    padding: 10px 14px;
    color: #E8D9A0;
    line-height: 1.6;
}

/* CTA */
.page-tai-xiu__guide-cta {
    margin-top: 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #111111 100%);
    border: 1px solid #3A2A12;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.page-tai-xiu__guide-cta-title {
    color: #FFD36B;
    margin-top: 0;
    font-size: 1.2rem;
}

.page-tai-xiu__guide-cta-text {
    color: #E8D9A0;
    margin-bottom: 15px;
}

.page-tai-xiu__guide-cta-support {
    color: #E8D9A0;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.page-tai-xiu__guide-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-tai-xiu__guide-cta-btn {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    border: 1px solid #FFD36B;
    color: #FFD36B;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

.page-tai-xiu__guide-cta-btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    border: none;
    color: #0A0A0A;
    font-weight: 800;
}

.page-tai-xiu__guide-cta-btn:hover {
    background: rgba(255, 211, 107, 0.2);
    color: #FFF6D6;
}

.page-tai-xiu__guide-cta-btn--primary:hover {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    filter: brightness(1.1);
    color: #0A0A0A;
}

/* TABLET RESPONSIVE */
@media (max-width: 1024px) {
    .page-tai-xiu__hero-title {
        max-width: 95%;
    }
    
    .page-tai-xiu__logo-grid {
        gap: 16px;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .page-tai-xiu__hero-section {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .page-tai-xiu__hero-image {
        aspect-ratio: 2 / 1;
    }

    .page-tai-xiu__hero-content {
        padding: 20px 12px;
    }

    .page-tai-xiu__hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .page-tai-xiu__hero-btn {
        width: 100%;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-tai-xiu__logo-title {
        margin-bottom: 20px;
    }

    .page-tai-xiu__logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .page-tai-xiu__logo-item:nth-child(5) {
        grid-column: auto;
    }

    .page-tai-xiu__logo-item:nth-child(6) {
        grid-column: auto;
    }

    .page-tai-xiu__logo-more-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .page-tai-xiu__guide-section {
        padding: 15px 12px 40px;
    }

    .page-tai-xiu__guide-inner {
        width: 100%;
    }

    .page-tai-xiu__guide-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .page-tai-xiu__guide-block-title {
        font-size: 1.2rem;
    }

    .page-tai-xiu__guide-figure {
        width: 100%;
    }

    .page-tai-xiu__guide-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .page-tai-xiu__guide-cta-btn {
        width: 100%;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

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

    .page-tai-xiu {
        overflow-x: hidden;
        max-width: 100%;
    }
}