/* style/lottery-games.css */
.page-lottery-games {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A2239; /* Primary dark blue background */
}

.page-lottery-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-lottery-games__hero {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A5A 100%); /* Dark blue gradient */
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-lottery-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-lottery-games__title {
    font-size: 3.5em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-games__title .highlight {
    color: #FFD700;
}

.page-lottery-games__subtitle {
    font-size: 1.5em;
    color: #D4D4D4; /* Lighter gray for subtitle */
    margin-bottom: 40px;
}

.page-lottery-games__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-lottery-games__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2239; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-lottery-games__btn--primary:hover {
    background-color: #E6C200; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-lottery-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-lottery-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-3px);
}

.page-lottery-games__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    max-width: 800px;
    opacity: 0.2;
    z-index: 1;
}

.page-lottery-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-lottery-games__intro,
.page-lottery-games__game-types,
.page-lottery-games__why-choose,
.page-lottery-games__how-to-play,
.page-lottery-games__app-download,
.page-lottery-games__responsible-gaming,
.page-lottery-games__faq {
    padding: 60px 0;
}

.page-lottery-games__intro {
    background-color: #0A2239;
}

.page-lottery-games__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-lottery-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto 20px;
    color: #D4D4D4;
}

.page-lottery-games__text-block strong {
    color: #FFD700;
}

.page-lottery-games__game-types {
    background-color: #1A3A5A; /* Slightly lighter dark blue */
}

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

.page-lottery-games__game-card {
    background-color: #0A2239;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-lottery-games__game-card-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-lottery-games__game-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery-games__game-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-lottery-games__game-card .page-lottery-games__btn {
    font-size: 0.9em;
    padding: 10px 20px;
    margin: 5px;
}

.page-lottery-games__btn--small {
    font-size: 0.9em;
    padding: 8px 18px;
}

.page-lottery-games__why-choose {
    background-color: #0A2239;
}

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

.page-lottery-games__feature-item {
    background-color: #1A3A5A;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(300deg) brightness(120%) contrast(100%); /* Gold tint */
}

.page-lottery-games__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
}

.page-lottery-games__cta-bottom {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-lottery-games__how-to-play {
    background-color: #1A3A5A;
}

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

.page-lottery-games__step-item {
    background-color: #0A2239;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-lottery-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    color: #0A2239;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    border: 3px solid #E6C200;
}

.page-lottery-games__step-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery-games__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
}

.page-lottery-games__step-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-lottery-games__step-description a:hover {
    text-decoration: underline;
}

.page-lottery-games__app-download {
    background-color: #0A2239;
}

.page-lottery-games__app-download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-lottery-games__app-content {
    flex: 1;
    min-width: 300px;
}

.page-lottery-games__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-lottery-games__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-lottery-games__responsible-gaming {
    background-color: #1A3A5A;
}

.page-lottery-games__responsible-gaming .page-lottery-games__text-block {
    max-width: 800px;
}

.page-lottery-games__faq {
    background-color: #0A2239;
}

.page-lottery-games__faq-item {
    background-color: #1A3A5A;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}

.page-lottery-games__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-lottery-games__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-lottery-games__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #B0B0B0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-lottery-games__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-lottery-games__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-lottery-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-lottery-games__title {
        font-size: 3em;
    }
    .page-lottery-games__subtitle {
        font-size: 1.3em;
    }
    .page-lottery-games__section-title {
        font-size: 2.2em;
    }
    .page-lottery-games__hero-image-wrapper {
        width: 80%;
        right: -10%;
    }
}

@media (max-width: 768px) {
    .page-lottery-games__hero {
        padding: 80px 0 40px;
    }
    .page-lottery-games__title {
        font-size: 2.5em;
    }
    .page-lottery-games__subtitle {
        font-size: 1.1em;
    }
    .page-lottery-games__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery-games__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-lottery-games__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games__text-block {
        font-size: 1em;
    }
    .page-lottery-games__game-grid,
    .page-lottery-games__features-grid,
    .page-lottery-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-games__app-download-inner {
        flex-direction: column;
        text-align: center;
    }
    .page-lottery-games__app-content,
    .page-lottery-games__app-image-wrapper {
        min-width: unset;
        width: 100%;
    }
    .page-lottery-games__hero-image-wrapper {
        position: static;
        opacity: 0.3;
        margin-top: 30px;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .page-lottery-games__title {
        font-size: 2em;
    }
    .page-lottery-games__subtitle {
        font-size: 1em;
    }
    .page-lottery-games__section-title {
        font-size: 1.5em;
    }
    .page-lottery-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery-games__faq-question {
        font-size: 1.1em;
    }
    .page-lottery-games__game-card-title {
        font-size: 1.4em;
    }
}