/* style/resources-bet168-exclusive-offers-analysis.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources-bet168-exclusive-offers-analysis {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background #0a0a0a */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space above footer */
}

.page-resources-bet168-exclusive-offers-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-bet168-exclusive-offers-analysis__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #0a0a0a; /* Ensure a dark background for the hero section */
    overflow: hidden;
}

.page-resources-bet168-exclusive-offers-analysis__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-resources-bet168-exclusive-offers-analysis__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for text readability */
    border-radius: 10px;
}

.page-resources-bet168-exclusive-offers-analysis__hero-title {
    font-size: 3.2em;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-bet168-exclusive-offers-analysis__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-resources-bet168-exclusive-offers-analysis__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Buttons */
.page-resources-bet168-exclusive-offers-analysis__btn-primary,
.page-resources-bet168-exclusive-offers-analysis__btn-secondary,
.page-resources-bet168-exclusive-offers-analysis__card-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-bet168-exclusive-offers-analysis__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-bet168-exclusive-offers-analysis__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources-bet168-exclusive-offers-analysis__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-bet168-exclusive-offers-analysis__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Section Titles and Text Blocks */
.page-resources-bet168-exclusive-offers-analysis__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-resources-bet168-exclusive-offers-analysis__text-block {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: justify;
}

/* Promotion Grid and Game Grid */
.page-resources-bet168-exclusive-offers-analysis__promotion-grid,
.page-resources-bet168-exclusive-offers-analysis__game-grid,
.page-resources-bet168-exclusive-offers-analysis__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-bet168-exclusive-offers-analysis__promo-card,
.page-resources-bet168-exclusive-offers-analysis__game-card,
.page-resources-bet168-exclusive-offers-analysis__step-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* Ensure text is light on card background */
}

.page-resources-bet168-exclusive-offers-analysis__promo-image,
.page-resources-bet168-exclusive-offers-analysis__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.page-resources-bet168-exclusive-offers-analysis__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-bet168-exclusive-offers-analysis__card-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-resources-bet168-exclusive-offers-analysis__card-button {
    background-color: #EA7C07; /* Login color for card buttons */
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    margin-top: auto; /* Pushes button to the bottom */
}

.page-resources-bet168-exclusive-offers-analysis__card-button:hover {
    background-color: #d46d06;
}

/* FAQ Section */
.page-resources-bet168-exclusive-offers-analysis__faq-section {
    padding: 60px 0;
    background-color: #0d0d0d; /* Slightly different dark background for contrast */
}

.page-resources-bet168-exclusive-offers-analysis__faq-list {
    margin-top: 40px;
}

.page-resources-bet168-exclusive-offers-analysis__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle card background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-bet168-exclusive-offers-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.1); /* Subtle brand color tint */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-resources-bet168-exclusive-offers-analysis__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.2);
}

.page-resources-bet168-exclusive-offers-analysis__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-bet168-exclusive-offers-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    text-align: justify;
}

.page-resources-bet168-exclusive-offers-analysis__faq-item.active .page-resources-bet168-exclusive-offers-analysis__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px;
}

.page-resources-bet168-exclusive-offers-analysis__faq-item.active .page-resources-bet168-exclusive-offers-analysis__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' visually */
}

/* Call To Action Section */
.page-resources-bet168-exclusive-offers-analysis__cta-section {
    background-color: #26A9E0; /* Brand color background */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-resources-bet168-exclusive-offers-analysis__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-bet168-exclusive-offers-analysis__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-bet168-exclusive-offers-analysis__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-bet168-exclusive-offers-analysis__cta-buttons .page-resources-bet168-exclusive-offers-analysis__btn-primary {
    background-color: #000000; /* Dark button on blue background */
    border-color: #000000;
}

.page-resources-bet168-exclusive-offers-analysis__cta-buttons .page-resources-bet168-exclusive-offers-analysis__btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-resources-bet168-exclusive-offers-analysis__cta-buttons .page-resources-bet168-exclusive-offers-analysis__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}

.page-resources-bet168-exclusive-offers-analysis__cta-buttons .page-resources-bet168-exclusive-offers-analysis__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-bet168-exclusive-offers-analysis__hero-title {
        font-size: 2.8em;
    }
    .page-resources-bet168-exclusive-offers-analysis__section-title {
        font-size: 2em;
    }
    .page-resources-bet168-exclusive-offers-analysis__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-resources-bet168-exclusive-offers-analysis__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-bet168-exclusive-offers-analysis__hero-title {
        font-size: 2.2em;
    }
}