/* style/fortunetiger.css */
.page-fortunetiger {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Page background */
    line-height: 1.6;
    font-size: 16px;
}

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

.page-fortunetiger__section {
    padding: 60px 0;
    text-align: center;
}

.page-fortunetiger__section-title {
    font-size: 3em;
    color: #F2C14E; /* Main color for titles */
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* HERO SECTION */
.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: linear-gradient(180deg, #0A0A0A 0%, #111111 100%); /* Subtle gradient for hero background */
}

.page-fortunetiger__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within max-width */
}

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

.page-fortunetiger__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.5); /* Glow effect */
}

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

.page-fortunetiger__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1, using clamp */
    color: #F2C14E;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6); /* Subtle glow for title */
}

.page-fortunetiger__subtitle {
    font-size: 1.3em;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortunetiger__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width for flex-wrap */
    max-width: 100%; /* Ensure container takes full width for flex-wrap */
    box-sizing: border-box;
}

.page-fortunetiger__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
    border: 2px solid #3A2A12; /* Border color */
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fortunetiger__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly different hover gradient */
}

/* General text blocks */
.page-fortunetiger__text-block {
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #FFF6D6;
    text-align: left;
}

.page-fortunetiger__text-block strong {
    color: #F2C14E;
}

/* Dark sections for contrast */
.page-fortunetiger__dark-section {
    background-color: #111111; /* Card BG */
    color: #FFF6D6;
}

.page-fortunetiger__dark-section .page-fortunetiger__section-title {
    color: #FFD36B; /* Auxiliary color for titles on dark bg */
}

/* Content Grid for How to Play and Advantages */
.page-fortunetiger__content-grid,
.page-fortunetiger__advantages-grid,
.page-fortunetiger__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fortunetiger__card,
.page-fortunetiger__advantage-card,
.page-fortunetiger__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    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;
    color: #FFF6D6;
}

.page-fortunetiger__card:hover,
.page-fortunetiger__advantage-card:hover,
.page-fortunetiger__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.4); /* Glow effect on hover */
}

.page-fortunetiger__card-title,
.page-fortunetiger__advantage-title,
.page-fortunetiger__game-title {
    font-size: 1.8em;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fortunetiger__card img,
.page-fortunetiger__advantage-card img,
.page-fortunetiger__game-card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid #3A2A12;
}

.page-fortunetiger__game-card a {
    text-decoration: none;
    color: inherit;
}

.page-fortunetiger__game-card a:hover .page-fortunetiger__game-title {
    color: #FFD36B;
}

/* Strategy List */
.page-fortunetiger__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-fortunetiger__strategy-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-fortunetiger__strategy-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.3);
}

.page-fortunetiger__strategy-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-fortunetiger__strategy-item p {
    color: #FFF6D6;
}

.page-fortunetiger__strategy-item a {
    color: #FFD36B;
    text-decoration: none;
}

.page-fortunetiger__strategy-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-fortunetiger__cta-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%); /* Gradient background for CTA */
    color: #111111; /* Dark text on bright background */
}

.page-fortunetiger__cta-section .page-fortunetiger__section-title {
    color: #111111; /* Dark title on bright background */
}

.page-fortunetiger__cta-section .page-fortunetiger__text-block {
    color: #111111;
    margin-bottom: 40px;
}

.page-fortunetiger__cta-section .page-fortunetiger__cta-button {
    background: #111111; /* Dark button on bright background */
    color: #FFD36B; /* Bright text on dark button */
    border: 2px solid #111111;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-fortunetiger__cta-section .page-fortunetiger__cta-button:hover {
    background: #0A0A0A;
    color: #F2C14E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* FAQ Section */
.page-fortunetiger__faq-section {
    padding-bottom: 80px;
}

.page-fortunetiger__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

details.page-fortunetiger__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
    background: #111111; /* Card BG */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #FFF6D6;
}

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;
    color: #F2C14E;
}

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(242, 193, 78, 0.1); /* Subtle hover on FAQ question */
}

.page-fortunetiger__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2C14E; /* Question text color */
}

.page-fortunetiger__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD36B; /* Toggle icon 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: #0A0A0A; /* Darker background for answer */
    border-radius: 0 0 5px 5px;
    color: #FFF6D6;
    text-align: left;
}

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

.page-fortunetiger__faq-answer a {
    color: #FFD36B;
    text-decoration: none;
}

.page-fortunetiger__faq-answer a:hover {
    text-decoration: underline;
}

/* Link styling */
.page-fortunetiger a {
    color: #FFD36B; /* Auxiliary color for general links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fortunetiger a:hover {
    color: #F2C14E; /* Main color on hover */
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-fortunetiger__section-title {
        font-size: 2.5em;
    }
    .page-fortunetiger__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fortunetiger__subtitle {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fortunetiger__section {
        padding: 40px 0;
    }
    .page-fortunetiger__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-fortunetiger__container {
        padding: 0 15px;
    }
    .page-fortunetiger__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-fortunetiger__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fortunetiger__subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fortunetiger__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-fortunetiger__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Button responsiveness */
        max-width: 300px !important; /* Limit button width for better appearance */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fortunetiger__content-grid,
    .page-fortunetiger__advantages-grid,
    .page-fortunetiger__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fortunetiger__card,
    .page-fortunetiger__advantage-card,
    .page-fortunetiger__game-card {
        padding: 20px;
    }
    .page-fortunetiger__card-title,
    .page-fortunetiger__advantage-title,
    .page-fortunetiger__game-title {
        font-size: 1.5em;
    }
    .page-fortunetiger__strategy-item {
        padding: 20px;
    }
    .page-fortunetiger__strategy-title {
        font-size: 1.3em;
    }
    .page-fortunetiger__cta-section {
        padding: 60px 0;
    }
    .page-fortunetiger__faq-list {
        margin-top: 30px;
    }
    details.page-fortunetiger__faq-item summary.page-fortunetiger__faq-question {
        padding: 15px;
    }
    .page-fortunetiger__faq-qtext {
        font-size: 1em;
    }
    .page-fortunetiger__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-fortunetiger__faq-item .page-fortunetiger__faq-answer {
        padding: 0 15px 15px;
    }

    /* Image responsiveness */
    .page-fortunetiger img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fortunetiger__section,
    .page-fortunetiger__card,
    .page-fortunetiger__container,
    .page-fortunetiger__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}