.page-games-center-lottery-game-details {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-on-dark: #FFD700;
    --text-on-light: #1A1A1A;
    --accent-color: #0028ff; /* Complementary for primary */
    --light-gray: #e5e5e5; /* Complementary for secondary */
    font-family: 'Arial', sans-serif;
    color: var(--text-on-dark); /* Default text color on dark backgrounds */
    background-color: var(--secondary-color);
}

.page-games-center-lottery-game-details__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-on-dark); /* Text on the gradient might need adjustment, but primary is light */
    position: relative;
    overflow: hidden;
}

.page-games-center-lottery-game-details__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 1;
}

.page-games-center-lottery-game-details__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-games-center-lottery-game-details__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF; /* Ensure high contrast on the dark overlay */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-games-center-lottery-game-details__subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #E0E0E0; /* Slightly lighter for readability */
    line-height: 1.6;
}

.page-games-center-lottery-game-details__cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

.page-games-center-lottery-game-details__cta-button:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-games-center-lottery-game-details__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-games-center-lottery-game-details__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

.page-games-center-lottery-game-details__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-on-dark);
    background-color: var(--secondary-color);
}

.page-games-center-lottery-game-details__section:nth-of-type(even) {
    background-color: #2a2a2a; /* Slightly lighter dark background for contrast */
}

.page-games-center-lottery-game-details__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-games-center-lottery-game-details__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-games-center-lottery-game-details__text-content p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #E0E0E0; /* Light gray for readability on dark background */
}

.page-games-center-lottery-game-details__text-content p strong {
    color: var(--primary-color);
}

.page-games-center-lottery-game-details__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-games-center-lottery-game-details__content-grid--reverse {
    grid-template-areas: "image text";
}

.page-games-center-lottery-game-details__content-grid--reverse .page-games-center-lottery-game-details__text-content { grid-area: text; }
.page-games-center-lottery-game-details__content-grid--reverse .page-games-center-lottery-game-details__image-wrapper { grid-area: image; }

.page-games-center-lottery-game-details__image-wrapper {
    text-align: center;
}

.page-games-center-lottery-game-details__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.page-games-center-lottery-game-details__content-image:hover {
    transform: scale(1.02);
}

.page-games-center-lottery-game-details__cta-button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 30px;
}

.page-games-center-lottery-game-details__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

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

.page-games-center-lottery-game-details__feature-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-games-center-lottery-game-details__feature-item:hover {
    transform: translateY(-5px);
    background-color: #3a3a3a;
}

.page-games-center-lottery-game-details__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.page-games-center-lottery-game-details__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-games-center-lottery-game-details__feature-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #C0C0C0;
}

.page-games-center-lottery-game-details__accordion {
    margin-top: 40px;
}

.page-games-center-lottery-game-details__accordion-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-games-center-lottery-game-details__accordion-header {
    width: 100%;
    padding: 20px 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-games-center-lottery-game-details__accordion-header:hover {
    background-color: darken(var(--primary-color), 10%);
}

.page-games-center-lottery-game-details__accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-games-center-lottery-game-details__accordion-item.active .page-games-center-lottery-game-details__accordion-icon {
    transform: rotate(45deg);
}

.page-games-center-lottery-game-details__accordion-content {
    padding: 0 25px;
    background-color: #1A1A1A;
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-games-center-lottery-game-details__accordion-item.active .page-games-center-lottery-game-details__accordion-content {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-games-center-lottery-game-details__accordion-content p {
    margin-bottom: 0;
}

.page-games-center-lottery-game-details__accordion-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-games-center-lottery-game-details__accordion-content a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-games-center-lottery-game-details__hero {
        padding: 60px 15px;
    }

    .page-games-center-lottery-game-details__title {
        font-size: 2.8em;
    }

    .page-games-center-lottery-game-details__subtitle {
        font-size: 1.1em;
    }

    .page-games-center-lottery-game-details__section-title {
        font-size: 2em;
    }

    .page-games-center-lottery-game-details__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-games-center-lottery-game-details__content-grid--reverse {
        grid-template-areas: unset;
    }
}

@media (max-width: 768px) {
    .page-games-center-lottery-game-details__hero {
        padding: 40px 15px;
    }

    .page-games-center-lottery-game-details__title {
        font-size: 2.2em;
    }

    .page-games-center-lottery-game-details__subtitle {
        font-size: 1em;
    }

    .page-games-center-lottery-game-details__section {
        padding: 40px 15px;
    }

    .page-games-center-lottery-game-details__section-title {
        font-size: 1.8em;
    }

    .page-games-center-lottery-game-details__sub-title {
        font-size: 1.5em;
    }

    .page-games-center-lottery-game-details__features-grid {
        grid-template-columns: 1fr;
    }

    .page-games-center-lottery-game-details__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-games-center-lottery-game-details__accordion-content {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-games-center-lottery-game-details__title {
        font-size: 1.8em;
    }

    .page-games-center-lottery-game-details__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-games-center-lottery-game-details__section-title {
        font-size: 1.5em;
    }

    .page-games-center-lottery-game-details__sub-title {
        font-size: 1.3em;
    }

    .page-games-center-lottery-game-details__feature-title {
        font-size: 1.3em;
    }
}