:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-color-main: #0A0A0A;
    --bg-color-card: #111111;
    --text-color-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --button-hover-gradient: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%); /* Inverted for hover effect */
}

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

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

.page-fortune-tiger__section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1.2;
}

.page-fortune-tiger__main-title {
    color: var(--primary-color);
    text-align: center;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-fortune-tiger__hero-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-color-main);
}

/* 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, body handles header offset */
    background-color: var(--bg-color-main); /* Ensure background is dark */
    overflow: hidden; /* Prevent image overflow */
}

.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%; /* Ensure it takes full width within max-width */
}

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

.page-fortune-tiger__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

.page-fortune-tiger__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px; /* Add some horizontal padding */
    box-sizing: border-box;
}

/* CTA Buttons */
.page-fortune-tiger__cta-button,
.page-fortune-tiger__btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fortune-tiger__cta-button:hover,
.page-fortune-tiger__btn-primary:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Content Sections */
.page-fortune-tiger__intro-section,
.page-fortune-tiger__gameplay-section,
.page-fortune-tiger__strategies-section,
.page-fortune-tiger__why-bet-peixe-section,
.page-fortune-tiger__other-games-section,
.page-fortune-tiger__promotions-section,
.page-fortune-tiger__faq-section,
.page-fortune-tiger__cta-final-section {
    padding: 60px 0;
    margin-bottom: 0; /* Remove default margin */
}

.page-fortune-tiger__dark-section {
    background-color: var(--bg-color-card); /* Darker background for contrast */
}

.page-fortune-tiger__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

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

.page-fortune-tiger__text-block {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.page-fortune-tiger__image-block {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
    max-width: 50%;
}

.page-fortune-tiger__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fortune-tiger p {
    margin-bottom: 1em;
    color: var(--text-color-main);
}

.page-fortune-tiger__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-color-main);
}

.page-fortune-tiger__list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

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

/* Feature Cards (Why beta peixe 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(--bg-color-card);
    border: 1px solid var(--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;
}

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

.page-fortune-tiger__feature-card img {
    width: 100%;
    height: auto;
     /* Smaller icon-like images for features */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px; /* Ensure images are not small icons */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: contain; /* Ensure image fits without cropping */
}

.page-fortune-tiger__feature-title {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* Other Games Grid */
.page-fortune-tiger__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fortune-tiger__game-card {
    background-color: var(--bg-color-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    text-decoration: none;
    color: var(--text-color-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

.page-fortune-tiger__game-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: cover;
}

.page-fortune-tiger__game-title {
    color: var(--secondary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fortune-tiger__sports-betting-text {
    text-align: center;
    font-size: 1.1em;
    margin-top: 40px;
    color: var(--text-color-main);
}

.page-fortune-tiger__sports-betting-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fortune-tiger__sports-betting-text a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-fortune-tiger__faq-list {
    margin-top: 40px;
}

details.page-fortune-tiger__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--bg-color-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
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;
    color: var(--text-color-main);
}
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(var(--secondary-color), 0.1); /* Lighter hover for dark background */
}
.page-fortune-tiger__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--secondary-color); /* FAQ questions use secondary color */
}
.page-fortune-tiger__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color); /* Toggle icon uses primary color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-fortune-tiger__faq-item .page-fortune-tiger__faq-answer {
    padding: 0 25px 20px;
    background: rgba(var(--bg-color-main), 0.8); /* Slightly lighter background for answer */
    border-radius: 0 0 8px 8px;
    color: var(--text-color-main);
}

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

/* Final CTA Section */
.page-fortune-tiger__cta-final-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--bg-color-card);
    border-top: 1px solid var(--border-color);
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__section-title {
    color: var(--primary-color);
}

.page-fortune-tiger__cta-final-section .page-fortune-tiger__description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-color-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fortune-tiger__section-title {
        font-size: 2em;
    }
    .page-fortune-tiger__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-fortune-tiger__content-grid {
        flex-direction: column;
    }
    .page-fortune-tiger__content-grid--reverse {
        flex-direction: column; /* Keep column for reverse on smaller screens */
    }
    .page-fortune-tiger__image-block {
        max-width: 100%;
    }
    .page-fortune-tiger__features-grid,
    .page-fortune-tiger__game-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fortune-tiger__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fortune-tiger__hero-image img {
        border-radius: 4px;
    }
    .page-fortune-tiger__cta-button,
    .page-fortune-tiger__btn-primary {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fortune-tiger__container {
        padding: 0 15px;
    }
    .page-fortune-tiger__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fortune-tiger__hero-description {
        font-size: 1em;
    }
    .page-fortune-tiger__intro-section,
    .page-fortune-tiger__gameplay-section,
    .page-fortune-tiger__strategies-section,
    .page-fortune-tiger__why-bet-peixe-section,
    .page-fortune-tiger__other-games-section,
    .page-fortune-tiger__promotions-section,
    .page-fortune-tiger__faq-section,
    .page-fortune-tiger__cta-final-section {
        padding: 40px 0;
    }

    .page-fortune-tiger__text-block,
    .page-fortune-tiger__image-block {
        max-width: 100%;
        width: 100%;
    }
    .page-fortune-tiger__image-block img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fortune-tiger__feature-card img {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fortune-tiger__game-card img {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    details.page-fortune-tiger__faq-item summary.page-fortune-tiger__faq-question { padding: 15px; }
    .page-fortune-tiger__faq-qtext { font-size: 1em; }
    .page-fortune-tiger__faq-answer { padding: 0 15px 15px; }

    /* Ensure all images and containers are responsive */
    .page-fortune-tiger img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fortune-tiger__section,
    .page-fortune-tiger__card,
    .page-fortune-tiger__container,
    .page-fortune-tiger__cta-buttons,
    .page-fortune-tiger__button-group,
    .page-fortune-tiger__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fortune-tiger__game-cards-grid,
    .page-fortune-tiger__features-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* Ensure contrast for text on specific backgrounds */
.page-fortune-tiger a {
    color: var(--secondary-color);
    text-decoration: none;
}
.page-fortune-tiger a:hover {
    text-decoration: underline;
}

/* Override default browser focus styles for accessibility */
*:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}