
    .page-ambbet {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light grey for text */
    background-color: #1a1a2e; /* Dark background */
    line-height: 1.6;
    overflow-x: hidden;
}

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

.page-ambbet__hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust height for hero section */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small padding, assuming body padding is handled by shared CSS */
}

.page-ambbet__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-ambbet__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-ambbet__hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 20px;
    max-width: 900px;
}

.page-ambbet__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffcc00; /* Gold/yellow for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-ambbet__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-ambbet__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-ambbet__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
}

.page-ambbet__hero-button--register {
    background-color: #e44d26; /* Orange-red */
    color: #fff;
}

.page-ambbet__hero-button--register:hover {
    background-color: #f76c4a;
    transform: translateY(-3px);
}

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

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

.page-ambbet__section-title {
    font-size: 2.2em;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

.page-ambbet__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e44d26;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-ambbet__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* About Section */
.page-ambbet__about-section {
    padding: 60px 0;
    background-color: #22223b;
}

/* Games Section */
.page-ambbet__games-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-ambbet__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ambbet__game-card {
    background-color: #2e2e4e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-ambbet__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-ambbet__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #e44d26;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-ambbet__game-title {
    font-size: 1.6em;
    color: #ffcc00;
    margin: 20px 15px 10px;
}

.page-ambbet__game-description {
    font-size: 1em;
    color: #c0c0c0;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Promotions Section */
.page-ambbet__promotions-section {
    padding: 60px 0;
    background-color: #22223b;
}

.page-ambbet__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ambbet__promo-card {
    background-color: #2e2e4e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-ambbet__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

.page-ambbet__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #e44d26;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-ambbet__promo-title {
    font-size: 1.5em;
    color: #ffcc00;
    margin: 20px 15px 10px;
}

.page-ambbet__promo-description {
    font-size: 1em;
    color: #c0c0c0;
    padding: 0 15px 20px;
}

.page-ambbet__button-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-ambbet__primary-button {
    display: inline-block;
    background-color: #e44d26;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-ambbet__primary-button:hover {
    background-color: #f76c4a;
    transform: translateY(-3px);
}

/* Why Choose Section */
.page-ambbet__why-choose-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-ambbet__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ambbet__feature-item {
    background-color: #2e2e4e;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-ambbet__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.page-ambbet__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-ambbet__feature-title {
    font-size: 1.4em;
    color: #ffcc00;
    margin-bottom: 10px;
}

.page-ambbet__feature-description {
    font-size: 0.95em;
    color: #c0c0c0;
}

/* Providers Section */
.page-ambbet__providers-section {
    padding: 60px 0;
    background-color: #22223b;
}

.page-ambbet__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
    align-items: center;
}

.page-ambbet__provider-logo {
    max-width: 150px;
    height: 75px;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.2); /* Slightly dim and desaturate logos */
    transition: filter 0.3s ease;
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
}

.page-ambbet__provider-logo:hover {
    filter: brightness(1) grayscale(0); /* Full color on hover */
}

/* FAQ Section */
.page-ambbet__faq-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-ambbet__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-ambbet__faq-item {
    background-color: #2e2e4e;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    box-sizing: border-box; /* Crucial for max-height transition */
}

.page-ambbet__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #3a3a5e;
    color: #ffcc00;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    user-select: none;
}

.page-ambbet__faq-question:hover {
    background-color: #4a4a6e;
}

.page-ambbet__faq-title {
    margin: 0;
    color: #ffcc00;
    pointer-events: none; /* Allow click on parent div */
    flex-grow: 1;
}

.page-ambbet__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    width: 30px;
    text-align: center;
    pointer-events: none; /* Allow click on parent div */
    transition: transform 0.3s ease;
}

.page-ambbet__faq-item.active .page-ambbet__faq-toggle {
    transform: rotate(45deg); /* Plus to X (minus) */
}

.page-ambbet__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: #c0c0c0;
    font-size: 1em;
}

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

.page-ambbet__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-ambbet__cta-section {
    padding: 60px 0 100px;
    background-color: #22223b;
    text-align: center;
}

/* Floating Register/Login Buttons */
.page-ambbet__floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.page-ambbet__floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.page-ambbet__floating-button--register {
    background-color: #e44d26; /* Orange-red */
    color: #fff;
}

.page-ambbet__floating-button--register:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

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

.page-ambbet__floating-button--login:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-ambbet__hero-title {
        font-size: 2.5em;
    }
    .page-ambbet__hero-subtitle {
        font-size: 1.2em;
    }
    .page-ambbet__section-title {
        font-size: 2em;
    }
    .page-ambbet__game-grid,
    .page-ambbet__promo-grid,
    .page-ambbet__features-grid,
    .page-ambbet__providers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-ambbet__container {
        padding: 15px;
    }
    .page-ambbet__hero-section {
        height: 50vh;
        min-height: 350px;
    }
    .page-ambbet__hero-title {
        font-size: 2em;
    }
    .page-ambbet__hero-subtitle {
        font-size: 1em;
    }
    .page-ambbet__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-ambbet__hero-button {
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        font-size: 1em;
    }

    .page-ambbet__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-ambbet__text-content {
        font-size: 1em;
    }

    /* List item responsive requirements for game/promo/feature grids */
    .page-ambbet__game-grid,
    .page-ambbet__promo-grid,
    .page-ambbet__features-grid,
    .page-ambbet__providers-grid {
        grid-template-columns: 1fr;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-ambbet__game-card,
    .page-ambbet__promo-card,
    .page-ambbet__feature-item,
    .page-ambbet__provider-logo {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Specific adjustment for game/promo card padding */
    .page-ambbet__game-card .page-ambbet__game-description,
    .page-ambbet__promo-card .page-ambbet__promo-description {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-ambbet__game-card .page-ambbet__game-title,
    .page-ambbet__promo-card .page-ambbet__promo-title {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .page-ambbet__feature-item {
        padding: 20px !important;
    }
    .page-ambbet__provider-logo {
        max-width: 120px;
        height: auto;
    }

    .page-ambbet__faq-list {
        margin-top: 30px;
        padding: 0;
    }
    .page-ambbet__faq-item {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-ambbet__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-ambbet__faq-answer {
        padding: 15px 20px;
    }
    .page-ambbet__faq-item.active .page-ambbet__faq-answer {
        padding: 15px 20px !important;
    }

    .page-ambbet__floating-buttons {
        bottom: 15px;
        gap: 10px;
    }
    .page-ambbet__floating-button {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .page-ambbet__hero-section {
        height: 45vh;
        min-height: 300px;
    }
    .page-ambbet__hero-title {
        font-size: 1.8em;
    }
    .page-ambbet__hero-subtitle {
        font-size: 0.9em;
    }
    .page-ambbet__hero-button {
        width: 90%;
        max-width: 220px;
        padding: 12px 20px;
    }
    .page-ambbet__section-title {
        font-size: 1.6em;
        margin-bottom: 25px;
    }
    .page-ambbet__game-title, .page-ambbet__promo-title {
        font-size: 1.3em;
    }
    .page-ambbet__feature-title {
        font-size: 1.2em;
    }
    .page-ambbet__primary-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-ambbet__floating-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        bottom: 10px;
    }
    .page-ambbet__floating-button {
        width: 150px;
        padding: 8px 15px;
        font-size: 0.95em;
    }
    .page-ambbet__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-ambbet__faq-answer {
        font-size: 0.9em;
        padding: 12px 15px;
    }
    .page-ambbet__faq-item.active .page-ambbet__faq-answer {
        padding: 12px 15px !important;
    }
    /* Ensure word-wrap for all text content */
    .page-ambbet p,
    .page-ambbet h1,
    .page-ambbet h2,
    .page-ambbet h3,
    .page-ambbet__game-description,
    .page-ambbet__promo-description,
    .page-ambbet__feature-description,
    .page-ambbet__faq-answer p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
}
  