/* style/fortune-tiger.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --text-main-color: #333333;
    --card-bg-color: #FFFFFF;
    --background-color-page: #F5F7FA;
    --border-color: #E0E0E0;
}

.page-fortune-tiger {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    background-color: var(--background-color-page);
    line-height: 1.6;
}

.page-fortune-tiger__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 40px 0; /* Small top padding, then space below image */
    background: linear-gradient(180deg, rgba(229, 57, 53, 0.1) 0%, rgba(255, 90, 79, 0.1) 100%);
}

.page-fortune-tiger__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-fortune-tiger__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-fortune-tiger__hero-content {
    max-width: 960px;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.page-fortune-tiger__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-fortune-tiger__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortune-tiger__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-fortune-tiger__btn-primary,
.page-fortune-tiger__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fortune-tiger__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-fortune-tiger__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-fortune-tiger__btn-secondary {
    background-color: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-fortune-tiger__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-fortune-tiger__section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
}

.page-fortune-tiger__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-fortune-tiger__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page-fortune-tiger__section-description {
    font-size: 1.15rem;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortune-tiger__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.page-fortune-tiger__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fortune-tiger__text-block {
    flex: 1;
    min-width: 0;
}

.page-fortune-tiger__text-block p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-fortune-tiger__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-fortune-tiger__text-block li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--text-main-color);
}

.page-fortune-tiger__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fortune-tiger__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-fortune-tiger__subsection-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-fortune-tiger__step-card,
.page-fortune-tiger__bonus-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.page-fortune-tiger__step-title,
.page-fortune-tiger__bonus-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fortune-tiger__step-card p,
.page-fortune-tiger__bonus-card p {
    font-size: 1rem;
    color: var(--text-main-color);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-fortune-tiger__step-card .page-fortune-tiger__btn-primary,
.page-fortune-tiger__bonus-card .page-fortune-tiger__btn-primary,
.page-fortune-tiger__bonus-card .page-fortune-tiger__btn-secondary {
    margin-top: auto;
    width: 100%;
}

.page-fortune-tiger__additional-info {
    font-size: 1rem;
    color: var(--text-main-color);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* FAQ Section */
.page-fortune-tiger__faq-section {
    background-color: var(--background-color-page);
}

.page-fortune-tiger__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fortune-tiger__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fortune-tiger__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--card-bg-color);
    position: relative;
    list-style: none;
}

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

.page-fortune-tiger__faq-question .page-fortune-tiger__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: var(--primary-color);
}

.page-fortune-tiger__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-fortune-tiger__faq-item[open] .page-fortune-tiger__faq-toggle {
    transform: rotate(180deg);
}

.page-fortune-tiger__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-main-color);
    line-height: 1.7;
}

.page-fortune-tiger__faq-answer p {
    margin-bottom: 0;
}

.page-fortune-tiger__btn-secondary--faq {
    display: block;
    margin: 0 auto;
    width: fit-content;
    margin-top: 20px;
}

.page-fortune-tiger__cta-final-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__section-title,
.page-fortune-tiger__cta-final-section .page-fortune-tiger__section-description {
    color: #FFFFFF;
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__btn-primary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__btn-primary:hover {
    background: #f0f0f0;
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__btn-secondary {
    background: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__btn-secondary:hover {
    background: #FFFFFF;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-fortune-tiger__content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-fortune-tiger__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fortune-tiger__text-block,
    .page-fortune-tiger__image-block {
        flex: none;
        width: 100%;
    }
    .page-fortune-tiger__image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-fortune-tiger__hero-section {
        padding-bottom: 20px;
    }
    .page-fortune-tiger__hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-fortune-tiger__hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-fortune-tiger__btn-primary,
    .page-fortune-tiger__btn-secondary {
        font-size: 1rem;
        padding: 12px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fortune-tiger__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-fortune-tiger__section {
        padding: 40px 15px;
    }
    .page-fortune-tiger__section-title {
        font-size: clamp(1.8rem, 7vw, 2rem);
    }
    .page-fortune-tiger__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .page-fortune-tiger__steps-grid,
    .page-fortune-tiger__bonuses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fortune-tiger__step-card,
    .page-fortune-tiger__bonus-card {
        padding: 25px;
    }
    .page-fortune-tiger__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-fortune-tiger__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }
    .page-fortune-tiger__cta-final-section {
        padding: 60px 15px;
    }

    /* Mobile image and video responsiveness */
    .page-fortune-tiger img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fortune-tiger__image-block,
    .page-fortune-tiger__hero-image-wrapper,
    .page-fortune-tiger__video-container,
    .page-fortune-tiger__video-wrapper,
    .page-fortune-tiger__container,
    .page-fortune-tiger__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fortune-tiger__section:not(.page-fortune-tiger__hero-section) {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fortune-tiger__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fortune-tiger__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fortune-tiger__hero-title {
        font-size: clamp(1.8rem, 10vw, 2.2rem);
    }
    .page-fortune-tiger__section-title {
        font-size: clamp(1.6rem, 8vw, 1.8rem);
    }
    .page-fortune-tiger__image {
        max-width: 100%;
    }
}