/* style/fortunetiger.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    --card-bg: #17191F;
    --background-color: #0D0E12;
    --text-main-color: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
    --text-light: #ffffff;
    --text-dark: #333333;
}

.page-fortunetiger {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--background-color); /* Main page background */
}

.page-fortunetiger h1, .page-fortunetiger h2, .page-fortunetiger h3 {
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fortunetiger h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
}

.page-fortunetiger h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-fortunetiger h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fortunetiger p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.page-fortunetiger strong {
    color: var(--secondary-color);
}

.page-fortunetiger a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fortunetiger a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fortunetiger__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(--background-color);
    color: var(--text-light);
}

.page-fortunetiger__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fortunetiger__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-fortunetiger__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.page-fortunetiger__hero-content h1 {
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.page-fortunetiger__hero-content p {
    color: var(--text-main-color);
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortunetiger__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fortunetiger__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fortunetiger__cta-button--centered {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.page-fortunetiger__section {
    padding: 60px 20px;
}

.page-fortunetiger__light-bg {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.page-fortunetiger__light-bg h1, .page-fortunetiger__light-bg h2, .page-fortunetiger__light-bg h3 {
    color: var(--text-dark);
}

.page-fortunetiger__light-bg p {
    color: var(--text-dark);
}

.page-fortunetiger__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

.page-fortunetiger__dark-bg h1, .page-fortunetiger__dark-bg h2, .page-fortunetiger__dark-bg h3 {
    color: var(--text-main-color);
}

.page-fortunetiger__dark-bg a {
    color: var(--glow-color);
}

.page-fortunetiger__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fortunetiger__image-wrapper {
    margin: 30px auto;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-fortunetiger__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

.page-fortunetiger__list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-fortunetiger__list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: inherit;
}

.page-fortunetiger__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    top: 0;
}

.page-fortunetiger__numbered-list {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    counter-reset: my-counter;
}

.page-fortunetiger__numbered-list li {
    position: relative;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: inherit;
}

.page-fortunetiger__numbered-list li::marker {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ Section */
details.page-fortunetiger__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text-main-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-fortunetiger__faq-item summary.page-fortunetiger__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

details.page-fortunetiger__faq-item summary.page-fortunetiger__faq-question::-webkit-details-marker {
    display: none;
}

details.page-fortunetiger__faq-item summary.page-fortunetiger__faq-question:hover {
    background: rgba(var(--primary-color), 0.1);
    border-color: var(--secondary-color);
}

.page-fortunetiger__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-fortunetiger__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-fortunetiger__faq-item .page-fortunetiger__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--primary-color), 0.05);
    border-radius: 0 0 8px 8px;
    color: var(--text-main-color);
    font-size: 1rem;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-fortunetiger {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fortunetiger h1 {
        font-size: 2.2rem !important;
    }

    .page-fortunetiger h2 {
        font-size: 1.8rem !important;
    }

    .page-fortunetiger h3 {
        font-size: 1.4rem !important;
    }

    .page-fortunetiger p {
        font-size: 1rem;
    }

    .page-fortunetiger__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fortunetiger__hero-image {
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .page-fortunetiger__hero-image img {
        min-width: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fortunetiger__hero-content p {
        font-size: 1.05rem;
    }

    .page-fortunetiger__cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        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-fortunetiger__section {
        padding: 40px 15px;
    }

    .page-fortunetiger__container {
        padding: 0;
    }

    .page-fortunetiger__image-wrapper {
        margin: 20px auto;
        border-radius: 8px;
    }

    .page-fortunetiger__image-wrapper img {
        min-width: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fortunetiger__list li, .page-fortunetiger__numbered-list li {
        font-size: 1rem;
        padding-left: 30px;
    }

    details.page-fortunetiger__faq-item summary.page-fortunetiger__faq-question {
        padding: 15px;
    }

    .page-fortunetiger__faq-qtext {
        font-size: 1rem;
    }

    details.page-fortunetiger__faq-item .page-fortunetiger__faq-answer {
        padding: 0 15px 15px;
    }

    .page-fortunetiger__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

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

    .page-fortunetiger__section, .page-fortunetiger__card, .page-fortunetiger__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}