
    :root {
    --page-tha-bet-77__primary-color: #e44d26; /* A vibrant orange/red */
    --page-tha-bet-77__secondary-color: #f7b731; /* A golden yellow */
    --page-tha-bet-77__dark-bg: #1a1a2e; /* Dark background */
    --page-tha-bet-77__light-text: #ffffff; /* White text */
    --page-tha-bet-77__gray-text: #cccccc; /* Light gray text */
    --page-tha-bet-77__card-bg: #2e2e4a; /* Card background */
    --page-tha-bet-77__border-color: #4a4a6e; /* Border color */
    --header-offset: 122px; /* Default offset if not provided by shared.css */
}

.page-tha-bet-77 {
    font-family: 'Arial', sans-serif;
    color: var(--page-tha-bet-77__light-text);
    background-color: var(--page-tha-bet-77__dark-bg);
    line-height: 1.6;
    padding-top: var(--header-offset, 122px); /* Fallback for header offset */
}

.page-tha-bet-77__section-title {
    text-align: center;
    color: var(--page-tha-bet-77__secondary-color);
    font-size: 2.5em;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
}

.page-tha-bet-77__section-subtitle {
    text-align: center;
    color: var(--page-tha-bet-77__gray-text);
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tha-bet-77__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-tha-bet-77__button--primary {
    background-color: var(--page-tha-bet-77__primary-color);
    color: var(--page-tha-bet-77__light-text);
    border: none;
}

.page-tha-bet-77__button--primary:hover {
    background-color: #c93e1f; /* A slightly darker red */
    transform: translateY(-2px);
}

.page-tha-bet-77__button--register {
    background-color: var(--page-tha-bet-77__primary-color);
    color: var(--page-tha-bet-77__light-text);
    border: none;
    margin-right: 10px;
}

.page-tha-bet-77__button--login {
    background-color: var(--page-tha-bet-77__secondary-color);
    color: var(--page-tha-bet-77__dark-bg);
    border: none;
}

.page-tha-bet-77__button--register:hover,
.page-tha-bet-77__button--login:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-tha-bet-77__button--large {
    font-size: 1.2em;
    padding: 15px 30px;
    min-width: 200px;
}

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

.page-tha-bet-77__floating-buttons .page-tha-bet-77__button {
    width: 120px;
    padding: 10px 0;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-tha-bet-77__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.page-tha-bet-77__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-tha-bet-77__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-tha-bet-77__main-heading {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--page-tha-bet-77__secondary-color);
    line-height: 1.2;
}

.page-tha-bet-77__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-tha-bet-77__light-text);
}

.page-tha-bet-77__hero-cta {
    margin-top: 20px;
}

/* Brand Section */
.page-tha-bet-77__brand-section {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--page-tha-bet-77__card-bg);
    margin-bottom: 40px;
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-tha-bet-77__brand-title {
    font-size: 2.2em;
    color: var(--page-tha-bet-77__primary-color);
    margin-bottom: 15px;
}

.page-tha-bet-77__brand-description {
    font-size: 1.1em;
    color: var(--page-tha-bet-77__gray-text);
    max-width: 800px;
    margin: 0 auto;
}

/* Promotions Section */
.page-tha-bet-77__promotions-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.page-tha-bet-77__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tha-bet-77__promotion-card {
    background-color: var(--page-tha-bet-77__card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-tha-bet-77__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
    height: auto; /* Ensure responsive image */
    box-sizing: border-box;
}

.page-tha-bet-77__promotion-title {
    font-size: 1.5em;
    color: var(--page-tha-bet-77__secondary-color);
    margin: 15px 15px 10px 15px;
}

.page-tha-bet-77__promotion-description {
    font-size: 0.95em;
    color: var(--page-tha-bet-77__gray-text);
    padding: 0 15px 20px 15px;
    flex-grow: 1;
}

/* Game Categories Section */
.page-tha-bet-77__game-categories-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.page-tha-bet-77__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.page-tha-bet-77__category-item {
    background-color: var(--page-tha-bet-77__card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tha-bet-77__category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
    max-width: 100%;
    height: auto; /* Ensure responsive image */
    box-sizing: border-box;
}

.page-tha-bet-77__category-title {
    font-size: 1.3em;
    color: var(--page-tha-bet-77__primary-color);
    margin-bottom: 5px;
}

.page-tha-bet-77__category-description {
    font-size: 0.9em;
    color: var(--page-tha-bet-77__gray-text);
    padding: 0 10px;
}

/* Features Section */
.page-tha-bet-77__features-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.page-tha-bet-77__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tha-bet-77__feature-item {
    background-color: var(--page-tha-bet-77__card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-tha-bet-77__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto; /* Ensure responsive image */
    box-sizing: border-box;
}

.page-tha-bet-77__feature-title {
    font-size: 1.6em;
    color: var(--page-tha-bet-77__secondary-color);
    margin-bottom: 10px;
}

.page-tha-bet-77__feature-description {
    font-size: 1em;
    color: var(--page-tha-bet-77__gray-text);
}

/* Payment & Providers Section */
.page-tha-bet-77__payment-providers-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.page-tha-bet-77__subsection {
    background-color: var(--page-tha-bet-77__card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.page-tha-bet-77__subsection-title {
    font-size: 1.8em;
    color: var(--page-tha-bet-77__primary-color);
    margin-bottom: 25px;
}

.page-tha-bet-77__logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-tha-bet-77__logo-item {
    width: 150px;
    height: 80px;
    object-fit: contain;
    background-color: #3a3a5a;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto; /* Ensure responsive image */
    box-sizing: border-box;
}

/* FAQ Section */
.page-tha-bet-77__faq-section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    box-sizing: border-box;
}

.page-tha-bet-77__faq-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--page-tha-bet-77__card-bg);
}

.page-tha-bet-77__faq-item {
    border-bottom: 1px solid var(--page-tha-bet-77__border-color);
}

.page-tha-bet-77__faq-item:last-child {
    border-bottom: none;
}

.page-tha-bet-77__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    background-color: var(--page-tha-bet-77__card-bg);
    transition: background-color 0.3s ease;
    color: var(--page-tha-bet-77__light-text);
}

.page-tha-bet-77__faq-question:hover {
    background-color: #3a3a5a;
}

.page-tha-bet-77__faq-heading {
    margin: 0;
    font-size: 1.2em;
    color: var(--page-tha-bet-77__light-text);
    pointer-events: none; /* Prevent text selection from interfering with click */
}

.page-tha-bet-77__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--page-tha-bet-77__secondary-color);
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent toggle icon from interfering with click */
}

.page-tha-bet-77__faq-item.active .page-tha-bet-77__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
    color: var(--page-tha-bet-77__primary-color);
}

.page-tha-bet-77__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;
    color: var(--page-tha-bet-77__gray-text);
    background-color: #26263f;
}

.page-tha-bet-77__faq-item.active .page-tha-bet-77__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-tha-bet-77__faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* CTA Section */
.page-tha-bet-77__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--page-tha-bet-77__primary-color);
    margin-top: 40px;
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page-tha-bet-77__cta-section .page-tha-bet-77__section-title {
    color: var(--page-tha-bet-77__light-text);
    margin-bottom: 20px;
}

.page-tha-bet-77__cta-description {
    font-size: 1.2em;
    color: var(--page-tha-bet-77__light-text);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-tha-bet-77 {
        padding-top: var(--header-offset, 122px); /* Ensure header offset */
    }

    .page-tha-bet-77__main-heading {
        font-size: 2.2em;
    }

    .page-tha-bet-77__hero-description {
        font-size: 1em;
    }

    .page-tha-bet-77__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-tha-bet-77__brand-title {
        font-size: 1.8em;
    }

    .page-tha-bet-77__floating-buttons {
        flex-direction: row;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        justify-content: space-around;
        padding: 10px;
        background-color: rgba(26, 26, 46, 0.9);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .page-tha-bet-77__floating-buttons .page-tha-bet-77__button {
        width: 45%;
        margin: 0;
    }

    .page-tha-bet-77__promotions-grid,
    .page-tha-bet-77__categories-grid,
    .page-tha-bet-77__features-grid,
    .page-tha-bet-77__logos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* List item responsive requirements */
    .page-tha-bet-77__promotions-grid > *,
    .page-tha-bet-77__categories-grid > *,
    .page-tha-bet-77__features-grid > *,
    .page-tha-bet-77__logos-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px; /* Adjust padding to prevent content from touching edges */
        padding-right: 15px; /* Adjust padding to prevent content from touching edges */
    }
    
    .page-tha-bet-77__category-item,
    .page-tha-bet-77__promotion-card,
    .page-tha-bet-77__feature-item,
    .page-tha-bet-77__subsection {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tha-bet-77__faq-question,
    .page-tha-bet-77__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tha-bet-77__faq-heading {
        font-size: 1.1em;
    }
    .page-tha-bet-77__faq-answer p {
        font-size: 0.9em;
    }

    /* Images */
    .page-tha-bet-77__hero-image,
    .page-tha-bet-77__promotion-image,
    .page-tha-bet-77__category-image,
    .page-tha-bet-77__feature-icon,
    .page-tha-bet-77__logo-item {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Text wrapping */
    .page-tha-bet-77__promotion-description,
    .page-tha-bet-77__category-description,
    .page-tha-bet-77__feature-description,
    .page-tha-bet-77__faq-answer p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
}

@media (max-width: 480px) {
    .page-tha-bet-77__main-heading {
        font-size: 1.8em;
    }
    .page-tha-bet-77__section-title {
        font-size: 1.8em;
    }
    .page-tha-bet-77__brand-title {
        font-size: 1.6em;
    }
    .page-tha-bet-77__floating-buttons {
        bottom: 0;
        border-radius: 0;
    }
    .page-tha-bet-77__floating-buttons .page-tha-bet-77__button {
        width: 48%;
        font-size: 0.9em;
    }
    .page-tha-bet-77__hero-section {
        min-height: 60vh;
    }
    .page-tha-bet-77__hero-content {
        padding: 15px;
    }
    .page-tha-bet-77__button--large {
        font-size: 1em;
        padding: 12px 25px;
    }
}
  