/* style/fortune-tiger.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-color: #0A0A0A;
    --card-bg-color: #111111;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

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

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

.page-fortune-tiger__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.page-fortune-tiger__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-fortune-tiger__text-block {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-main-color);
}

.page-fortune-tiger__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-fortune-tiger a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fortune-tiger a:hover {
    color: var(--secondary-color);
}

/* HERO Section */
.page-fortune-tiger__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 as body handles header offset */
    background-color: var(--card-bg-color);
    border-bottom: 2px solid var(--border-color);
}

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

.page-fortune-tiger__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fortune-tiger__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-fortune-tiger__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fortune-tiger__hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-fortune-tiger__hero-description {
    font-size: 19px;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
}

.page-fortune-tiger__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    text-decoration: none;
    border-radius: 8px;
    font-size: 19px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
    border: none;
    cursor: pointer;
}

.page-fortune-tiger__cta-button:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E6B53A 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* General Section Styles */
.page-fortune-tiger__intro-section, 
.page-fortune-tiger__gameplay-section, 
.page-fortune-tiger__responsible-gaming-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-fortune-tiger__features-section, 
.page-fortune-tiger__tips-section, 
.page-fortune-tiger__faq-section, 
.page-fortune-tiger__cta-banner {
    padding: 60px 0;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Features Section */
.page-fortune-tiger__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fortune-tiger__feature-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fortune-tiger__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fortune-tiger__feature-card img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.6));
}

.page-fortune-tiger__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fortune-tiger__feature-card p {
    font-size: 16px;
    color: var(--text-main-color);
}

/* Gameplay Section */
.page-fortune-tiger__gameplay-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fortune-tiger__step-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-fortune-tiger__step-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    background-color: rgba(255, 211, 107, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
}

.page-fortune-tiger__step-card p {
    font-size: 16px;
    color: var(--text-main-color);
}

.page-fortune-tiger__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-fortune-tiger__btn-secondary {
    background: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fortune-tiger__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-color);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Tips Section */
.page-fortune-tiger__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    font-size: 17px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-fortune-tiger__tips-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-fortune-tiger__tips-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 20px;
    line-height: 1;
}

.page-fortune-tiger__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Responsible Gaming Section */
.page-fortune-tiger__responsible-gaming-section .page-fortune-tiger__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortune-tiger__responsible-gaming-section .page-fortune-tiger__cta-button {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question:hover {
    background: rgba(255, 211, 107, 0.05);
}

.page-fortune-tiger__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}

.page-fortune-tiger__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-fortune-tiger__faq-item .page-fortune-tiger__faq-answer {
    padding: 0 25px 25px;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 0 0 12px 12px;
    color: var(--text-main-color);
    font-size: 16px;
}

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

/* CTA Banner Section */
.page-fortune-tiger__cta-banner {
    padding: 80px 0;
}

.page-fortune-tiger__cta-banner .page-fortune-tiger__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-fortune-tiger__cta-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fortune-tiger__cta-content .page-fortune-tiger__section-title {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-fortune-tiger__cta-content .page-fortune-tiger__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-fortune-tiger__cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-main-color);
}

.page-fortune-tiger__cta-image {
    flex-shrink: 0;
    width: 400px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-fortune-tiger__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fortune-tiger__hero-image img {
        border-radius: 8px;
    }

    .page-fortune-tiger__hero-content h1 {
        font-size: 32px;
    }

    .page-fortune-tiger__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-fortune-tiger__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fortune-tiger__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-fortune-tiger__text-block {
        font-size: 15px;
        text-align: left;
    }

    .page-fortune-tiger__features-grid,
    .page-fortune-tiger__gameplay-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fortune-tiger__feature-card,
    .page-fortune-tiger__step-card {
        padding: 20px;
    }

    .page-fortune-tiger__card-title {
        font-size: 20px;
    }

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

    .page-fortune-tiger__cta-buttons .page-fortune-tiger__cta-button {
        width: 100%;
    }

    .page-fortune-tiger__tips-list {
        font-size: 15px;
        padding: 0 10px;
    }

    .page-fortune-tiger__tips-list li {
        padding-left: 25px;
    }

    .page-fortune-tiger__tips-list li::before {
        font-size: 18px;
    }

    .page-fortune-tiger__content-image {
        margin-top: 30px;
    }

    details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question {
        padding: 15px 20px;
    }

    .page-fortune-tiger__faq-qtext {
        font-size: 16px;
    }

    .page-fortune-tiger__faq-toggle {
        font-size: 24px;
    }

    details.page-fortune-tiger__faq-item .page-fortune-tiger__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .page-fortune-tiger__cta-banner .page-fortune-tiger__container {
        flex-direction: column;
        text-align: center;
    }

    .page-fortune-tiger__cta-content {
        text-align: center;
    }

    .page-fortune-tiger__cta-content .page-fortune-tiger__section-title {
        text-align: center;
    }

    .page-fortune-tiger__cta-content .page-fortune-tiger__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-fortune-tiger__cta-content p {
        font-size: 16px;
    }

    .page-fortune-tiger__cta-image {
        width: 100%;
        order: -1; /* Move image above text on mobile */
    }

    /* Ensure all images are responsive on mobile */
    .page-fortune-tiger img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fortune-tiger__hero-container,
    .page-fortune-tiger__container,
    .page-fortune-tiger__feature-card,
    .page-fortune-tiger__step-card,
    .page-fortune-tiger__cta-buttons,
    .page-fortune-tiger__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}