
    /* General styles for the page-789-bet scope */
.page-789-bet {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    overflow-x: hidden; /* Prevent horizontal scroll from layout shifts */
}

/* Header offset handling: assuming body handles var(--header-offset) */
/* The first section will have a small padding-top for decoration */
.page-789-bet__hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* Gradient background for vibrancy */
    color: #fff;
    text-align: center;
    padding: 10px 20px 60px; /* Top padding for decoration, not main offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-789-bet__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

.page-789-bet__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-789-bet__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff; /* Ensure high contrast */
}

.page-789-bet__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #eee;
}

.page-789-bet__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-789-bet__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Prevent button text from breaking */
}

.page-789-bet__button--primary {
    background-color: #ffcc00; /* Gold */
    color: #333;
    border: 2px solid #ffcc00;
}

.page-789-bet__button--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-2px);
}

.page-789-bet__button--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-789-bet__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-789-bet__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-789-bet__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-789-bet__section-title {
    font-size: 2.2em;
    color: #1a2a6c;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-789-bet__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Wrapper for images and text */
.page-789-bet__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-789-bet__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-789-bet__image--centered {
    display: block;
    margin: 0 auto 30px;
}

/* Product Grid */
.page-789-bet__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-789-bet__product-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-789-bet__product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-789-bet__product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-789-bet__product-title {
    font-size: 1.5em;
    color: #1a2a6c;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-789-bet__product-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px;
}

/* Promotions Section */
.page-789-bet__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-789-bet__promo-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-789-bet__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-789-bet__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-789-bet__promo-title {
    font-size: 1.4em;
    color: #1a2a6c;
    margin: 20px 20px 10px;
}

.page-789-bet__promo-description {
    font-size: 0.95em;
    color: #666;
    margin: 0 20px 20px;
}

/* Features Grid (Why Choose Us) */
.page-789-bet__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-789-bet__feature-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-789-bet__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-789-bet__feature-image {
    width: 100%; /* Ensure max-width: 100% applies to image, not its container */
    max-width: 150px; /* Smaller images for features */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain; /* Use contain for feature images */
}

.page-789-bet__feature-title {
    font-size: 1.3em;
    color: #1a2a6c;
    margin-bottom: 10px;
}

.page-789-bet__feature-description {
    font-size: 0.9em;
    color: #666;
}

/* Payment and Game Provider Lists */
.page-789-bet__payment-list,
.page-789-bet__game-provider-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-789-bet__payment-item,
.page-789-bet__game-provider-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 1.05em;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Crucial for list item responsiveness */
}

.page-789-bet__payment-item:hover,
.page-789-bet__game-provider-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Call to Action (CTA) */
.page-789-bet__cta {
    background-color: #1a2a6c;
    color: #fff;
    padding: 80px 20px;
}

.page-789-bet__cta .page-789-bet__section-title {
    color: #ffcc00;
}

.page-789-bet__cta .page-789-bet__text {
    color: #eee;
    margin-bottom: 40px;
}

.page-789-bet__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
    background-color: #ffcc00;
    color: #1a2a6c;
    border: 2px solid #ffcc00;
}

.page-789-bet__button--large:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Floating Buttons */
.page-789-bet__floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.page-789-bet__floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 120px;
}

.page-789-bet__floating-button--login {
    background-color: #007bff; /* Blue */
}

.page-789-bet__floating-button--login:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-789-bet__floating-button--register {
    background-color: #28a745; /* Green */
}

.page-789-bet__floating-button--register:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-789-bet__faq-container {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-789-bet__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-789-bet__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-789-bet__faq-question:hover {
    background-color: #f0f0f0;
}

.page-789-bet__faq-question-text {
    font-size: 1.2em;
    color: #1a2a6c;
    margin: 0;
    pointer-events: none; /* Prevent h3 from blocking click event */
    flex-grow: 1;
}

.page-789-bet__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffcc00;
    margin-left: 15px;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent span from blocking click event */
}

.page-789-bet__faq-item.active .page-789-bet__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    color: #ff0000; /* Red for active toggle */
}

.page-789-bet__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    background-color: #fff;
}

.page-789-bet__faq-item.active .page-789-bet__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-789-bet__faq-answer .page-789-bet__text {
    margin-bottom: 0; /* Remove bottom margin for last paragraph in answer */
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-789-bet__hero-title {
        font-size: 2em;
    }

    .page-789-bet__hero-description {
        font-size: 1em;
    }

    .page-789-bet__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-789-bet__button {
        width: 80%; /* Make buttons wider on mobile */
        max-width: 300px;
        margin: 0 auto;
    }

    .page-789-bet__section {
        padding: 40px 15px;
    }

    .page-789-bet__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-789-bet__text {
        font-size: 1em;
    }

    .page-789-bet__product-grid,
    .page-789-bet__promo-list,
    .page-789-bet__features-grid {
        grid-template-columns: 1fr; /* Stack items on mobile */
        gap: 20px;
    }

    .page-789-bet__product-image,
    .page-789-bet__promo-image {
        height: 180px; /* Adjust image height for mobile */
    }

    /* Image responsive optimization for all images */
    .page-789-bet img {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-789-bet__image {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-789-bet__feature-image {
        max-width: 100px; /* Adjust feature image size */
    }

    /* List items responsive */
    .page-789-bet__payment-list,
    .page-789-bet__game-provider-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .page-789-bet__payment-item,
    .page-789-bet__game-provider-item {
        width: 100% !important;
        max-width: 300px !important; /* Constrain width for better readability */
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 15px !important;
        word-wrap: break-word !important; /* Ensure text wraps */
        overflow-wrap: break-word !important;
        font-size: 0.95em;
    }
    
    .page-789-bet__payment-list,
    .page-789-bet__game-provider-list {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-789-bet__cta {
        padding: 60px 15px;
    }

    .page-789-bet__button--large {
        width: 90%;
        max-width: 300px;
    }

    .page-789-bet__faq-question {
        padding: 15px 20px;
    }

    .page-789-bet__faq-question-text {
        font-size: 1.1em;
    }

    .page-789-bet__faq-toggle {
        font-size: 1.5em;
    }

    .page-789-bet__faq-answer {
        padding: 0 20px;
    }

    .page-789-bet__faq-item.active .page-789-bet__faq-answer {
        padding: 15px 20px !important;
    }

    .page-789-bet__floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .page-789-bet__floating-button {
        padding: 10px 15px;
        font-size: 0.9em;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .page-789-bet__hero-title {
        font-size: 1.6em;
    }
    .page-789-bet__section-title {
        font-size: 1.6em;
    }
    .page-789-bet__button {
        width: 100%;
        max-width: 280px;
    }
    .page-789-bet__floating-buttons {
        flex-direction: row; /* Align side-by-side at very small screens */
        width: calc(100% - 30px);
        justify-content: center;
        left: 15px;
        right: 15px;
        bottom: 10px;
        gap: 10px;
    }
    .page-789-bet__floating-button {
        flex: 1;
        min-width: unset;
        font-size: 0.9em;
        padding: 10px 10px;
    }
}
  