.page-999bet {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the page content */
}

.page-999bet__hero-section {
    position: relative;
    background-color: #0d0d0d; /* Dark background for hero */
    color: #ffffff;
    padding: 80px 20px 40px;
    padding-top: 10px; /* Decorative top padding, body handles main offset */
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-999bet__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-999bet__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-999bet__hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-999bet__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-999bet__btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-999bet__btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.page-999bet__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-999bet__section--dark {
    background-color: #1a202c;
    color: #ffffff;
}

.page-999bet__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: inherit;
}

.page-999bet__text-block {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.7;
    color: inherit;
}

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

.page-999bet__game-card {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    color: #333333;
}

.page-999bet__game-card:hover {
    transform: translateY(-5px);
}

.page-999bet__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-999bet__game-card-content {
    padding: 20px;
}

.page-999bet__game-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2563eb;
}

.page-999bet__game-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

.page-999bet__internal-link {
    color: #2563eb;
    text-decoration: underline;
}

.page-999bet__internal-link:hover {
    color: #1e40af;
    text-decoration: none;
}

.page-999bet__cta-card {
    background-color: #64748b;
    color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.page-999bet__cta-card-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-999bet__cta-card-description {
    font-size: 17px;
    max-width: 700px;
    line-height: 1.7;
    color: #e0e0e0;
}

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

.page-999bet__process-step {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: #333333;
}

.page-999bet__process-step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-999bet__process-step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2563eb;
}

.page-999bet__process-step-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
}

.page-999bet__section-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 40px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-999bet__list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-999bet__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 16px;
    color: inherit;
    box-sizing: border-box;
}