.page-jackpot-games {
    background-color: #08160F; /* Nền tối */
    color: #F2FFF6; /* Chữ chính sáng */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Thêm padding dưới cùng */
}

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

.page-jackpot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Màu Gold cho tiêu đề */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-jackpot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #A7D9B8; /* Màu Text Secondary */
}

.page-jackpot-games__btn-primary,
.page-jackpot-games__btn-secondary,
.page-jackpot-games__game-card-button,
.page-jackpot-games__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap for buttons */
    word-wrap: break-word; /* Allow text wrap for buttons */
}

.page-jackpot-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-jackpot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4); /* Glow effect */
}

.page-jackpot-games__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Button color */
    border: 2px solid #2AD16F;
}

.page-jackpot-games__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

.page-jackpot-games__btn-link {
    color: #2AD16F;
    text-decoration: underline;
    background: transparent;
    padding: 0;
    border: none;
}

.page-jackpot-games__btn-link:hover {
    color: #57E38D;
}

.page-jackpot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-jackpot-games__cta-buttons--center {
    justify-content: center;
}

.page-jackpot-games .highlight {
    color: #F2C14E; /* Gold color for highlights */
    font-weight: bold;
}

/* --- LOGO Carousel Section --- */
.page-jackpot-games__logo-carousel-section {
    padding: 50px 20px 30px; /* Fixed 50px top padding */
    background-color: #0A4B2C; /* Deep Green */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-jackpot-games__logo-carousel-title {
    font-size: 1.8em;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 30px;
}

.page-jackpot-games__logo-carousel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0;
}

.page-jackpot-games__logo-item {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-jackpot-games__logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-jackpot-games__logo-item img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    width: auto; /* Ensure no stretching */
    height: auto; /* Ensure no stretching */
}

/* --- HERO Section --- */
.page-jackpot-games__hero-section {
    position: relative;
    padding-top: 0; /* Important: No extra padding if body handles header offset */
    padding-bottom: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
}

.page-jackpot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
    position: relative;
}

.page-jackpot-games__hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-jackpot-games__hero-content {
    position: relative; /* Not absolute, for normal flow */
    text-align: center;
    padding-top: 50px; /* Spacing between image and text */
    z-index: 2;
    max-width: 900px;
}

.page-jackpot-games__main-title {
    font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 900;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-jackpot-games__intro-text {
    font-size: 1.25em;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.page-jackpot-games__about-section {
    padding: 80px 0;
    text-align: left;
}

.page-jackpot-games__about-section p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #F2FFF6;
}

/* --- Why Choose Section --- */
.page-jackpot-games__why-choose-section {
    padding: 80px 0;
    background-color: #11271B; /* Card BG, slightly different for section */
    border-top: 1px solid #1E3A2A;
    border-bottom: 1px solid #1E3A2A;
}

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

.page-jackpot-games__feature-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-jackpot-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-jackpot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-jackpot-games__feature-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-jackpot-games__feature-card p {
    color: #A7D9B8; /* Secondary text */
    font-size: 1em;
}

/* --- Featured Games Section --- */
.page-jackpot-games__featured-games-section {
    padding: 80px 0;
}

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

.page-jackpot-games__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.page-jackpot-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-jackpot-games__game-card-image {
    width: 100%;
    aspect-ratio: 4/3; /* Maintain aspect ratio */
    overflow: hidden;
    margin-bottom: 15px;
}

.page-jackpot-games__game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-jackpot-games__game-card-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Main text */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-jackpot-games__game-card-provider {
    font-size: 0.95em;
    color: #A7D9B8; /* Secondary text */
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-jackpot-games__game-card-button {
    margin: 0 20px 20px;
    padding: 10px 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    align-self: center; /* Center button */
    width: calc(100% - 40px); /* Adjust for padding */
}

.page-jackpot-games__game-card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

/* --- How to Play Section --- */
.page-jackpot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 1px solid #1E3A2A;
    border-bottom: 1px solid #1E3A2A;
}

.page-jackpot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-jackpot-games__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E;
}

.page-jackpot-games__step-title {
    font-size: 1.8em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-jackpot-games__step-item p {
    color: #F2FFF6; /* Main text */
    font-size: 1.05em;
}

.page-jackpot-games__step-item a {
    color: #2AD16F;
    text-decoration: underline;
}

.page-jackpot-games__step-item a:hover {
    color: #57E38D;
}

/* --- Promotions Section --- */
.page-jackpot-games__promotions-section {
    padding: 80px 0;
}

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

.page-jackpot-games__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E;
    display: flex;
    flex-direction: column;
}