/* style/fortune-ox.css */

/* General Styles and Color Contrast */
.page-fortune-ox {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
    /* body padding-top is handled by shared.css */
}

.page-fortune-ox__dark-bg {
    background-color: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
}

.page-fortune-ox__card {
    background-color: #2A1212; /* Card BG */
    color: #FFF1E8; /* Text Main */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fortune-ox__section-title,
.page-fortune-ox__main-title {
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-fortune-ox__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    line-height: 1.2;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fortune-ox__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
}

.page-fortune-ox__card-title,
.page-fortune-ox__list-title {
    color: #F3C54D; /* Gold */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-fortune-ox__text-block,
.page-fortune-ox__description,
.page-fortune-ox__card-text,
.page-fortune-ox__list-item {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-fortune-ox a {
    color: #FFB04A; /* A lighter gold/orange for links */
    text-decoration: none;
}

.page-fortune-ox a:hover {
    text-decoration: underline;
    color: #D86A14; /* Darker orange on hover */
}

/* Buttons */
.page-fortune-ox__btn-primary,
.page-fortune-ox__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box; /* Responsive button */
    white-space: normal; /* Responsive button */
    word-wrap: break-word; /* Responsive button */
}

.page-fortune-ox__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    border: none;
}

.page-fortune-ox__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    transform: translateY(-2px);
}

.page-fortune-ox__btn-secondary {
    background-color: transparent;
    color: #FFB04A; /* Lighter gold/orange */
    border: 2px solid #FFB04A; /* Lighter gold/orange */
}

.page-fortune-ox__btn-secondary:hover {
    background-color: #FFB04A; /* Lighter gold/orange */
    color: #140C0C; /* Background */
    transform: translateY(-2px);
}

.page-fortune-ox__center-button {
    display: block;
    margin: 30px auto;
}

/* Hero Section */
.page-fortune-ox__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fortune-ox__hero-image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.page-fortune-ox__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability, not color change */
}

.page-fortune-ox__hero-content {
    position: relative; /* Changed from absolute to relative for "image-first, text-second" */
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -100px; /* Pull content up over the image slightly for visual flow */
    background: rgba(20, 12, 12, 0.7); /* Dark background for text readability */
    border-radius: 10px;
    padding: 30px;
}

.page-fortune-ox__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF1E8;
}

.page-fortune-ox__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Responsive button container */
    width: 100%; /* Responsive button container */
    max-width: 100%; /* Responsive button container */
    box-sizing: border-box; /* Responsive button container */
    overflow: hidden; /* Responsive button container */
}

/* Content Sections */
.page-fortune-ox__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-fortune-ox__about-game-section,
.page-fortune-ox__gameplay-section,
.page-fortune-ox__bonuses-section,
.page-fortune-ox__faq-section,
.page-fortune-ox__cta-banner-section {
    padding: 60px 0;
}

.page-fortune-ox__image-container {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.page-fortune-ox__content-image,
.page-fortune-ox__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-fortune-ox__ordered-list,
.page-fortune-ox__unordered-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.page-fortune-ox__list-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

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

.page-fortune-ox__feature-card {
    text-align: center;
}

.page-fortune-ox__feature-card .page-fortune-ox__card-text {
    margin-bottom: 20px;
}

.page-fortune-ox__card-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFB04A;
    font-weight: bold;
}

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

.page-fortune-ox__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fortune-ox__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #FFF1E8; /* Text Main */
    background-color: #C61F1F; /* Main Color for summary */
    border-bottom: 1px solid #7E0D0D; /* Deep Red */
}

.page-fortune-ox__faq-question:hover {
    background-color: #E53030; /* Accent Color on hover */
}

.page-fortune-ox__faq-item[open] .page-fortune-ox__faq-question {
    border-bottom: 1px solid #7E0D0D;
}

.page-fortune-ox__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFF1E8;
}

.page-fortune-ox__faq-answer {
    padding: 20px;
    font-size: 1.1em;
    color: #FFF1E8; /* Text Main */
    background-color: #2A1212; /* Card BG */
}

/* Remove default details marker */
.page-fortune-ox__faq-item > summary {
    list-style: none;
}
.page-fortune-ox__faq-item > summary::-webkit-details-marker {
    display: none;
}


/* CTA Banner Section */
.page-fortune-ox__cta-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    padding: 40px 20px; /* Add padding for content */
}

.page-fortune-ox__cta-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.5); /* Darken image for text readability */
    z-index: 1;
}

.page-fortune-ox__cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #FFF1E8; /* Text Main */
}

.page-fortune-ox__cta-title {
    color: #F3C54D; /* Gold */
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    margin-bottom: 20px;
}

.page-fortune-ox__cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fortune-ox__hero-content {
        margin-top: -80px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-fortune-ox__main-title {
        font-size: 2.2em;
    }

    .page-fortune-ox__section-title {
        font-size: 1.8em;
    }

    .page-fortune-ox__hero-content {
        margin-top: -60px;
        padding: 20px;
    }

    .page-fortune-ox__description {
        font-size: 1em;
    }

    .page-fortune-ox__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-fortune-ox__btn-primary,
    .page-fortune-ox__btn-secondary {
        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-fortune-ox__container {
        padding: 20px 15px;
    }

    .page-fortune-ox__about-game-section,
    .page-fortune-ox__gameplay-section,
    .page-fortune-ox__bonuses-section,
    .page-fortune-ox__faq-section,
    .page-fortune-ox__cta-banner-section {
        padding: 40px 0;
    }

    .page-fortune-ox__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fortune-ox__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-fortune-ox__faq-answer {
        font-size: 1em;
        padding: 15px;
    }

    .page-fortune-ox__cta-banner {
        padding: 30px 15px;
    }

    .page-fortune-ox__cta-title {
        font-size: 1.8em;
    }

    .page-fortune-ox__cta-text {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-fortune-ox img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fortune-ox__section,
    .page-fortune-ox__card,
    .page-fortune-ox__container,
    .page-fortune-ox__image-container,
    .page-fortune-ox__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fortune-ox__hero-section {
        padding-top: 10px !important; /* body already has padding-top, only small top padding for this section */
    }
}

@media (max-width: 480px) {
    .page-fortune-ox__main-title {
        font-size: 1.8em;
    }
    .page-fortune-ox__section-title {
        font-size: 1.5em;
    }
    .page-fortune-ox__hero-content {
        margin-top: -40px;
        padding: 15px;
    }
    .page-fortune-ox__cta-title {
        font-size: 1.5em;
    }
}