/* style/games-lottery.css */
.page-games-lottery {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background */
    background-color: #1A202C;
}

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

.page-games-lottery__hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a455a 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-games-lottery__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:lottery_abstract_pattern,geometric_lines,dark_gold_gradient]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-games-lottery__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-games-lottery__hero-subtitle {
    font-size: 1.5em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-games-lottery__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.page-games-lottery__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-games-lottery__btn--primary {
    background-color: #FFD700;
    color: #1A202C;
}

.page-games-lottery__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-games-lottery__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-games-lottery__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 215, 0, 0.4);
}

.page-games-lottery__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-games-lottery__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-games-lottery__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-games-lottery__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-games-lottery__introduction,
.page-games-lottery__game-types,
.page-games-lottery__why-choose,
.page-games-lottery__how-to-play,
.page-games-lottery__faq,
.page-games-lottery__responsible-gambling,
.page-games-lottery__cta-final {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-games-lottery__introduction:last-of-type, /* Corrected selector */
.page-games-lottery__game-types:last-of-type,
.page-games-lottery__why-choose:last-of-type,
.page-games-lottery__how-to-play:last-of-type,
.page-games-lottery__faq:last-of-type,
.page-games-lottery__responsible-gambling:last-of-type,
.page-games-lottery__cta-final:last-of-type {
    border-bottom: none;
}

.page-games-lottery__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

.page-games-lottery__text-block a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.page-games-lottery__text-block a:hover {
    text-decoration: underline;
}

.page-games-lottery__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-games-lottery__image--full-width {
    width: 100%;
}

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

.page-games-lottery__game-card {
    background-color: #2a3342;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-games-lottery__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-games-lottery__card-image {
    max-width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-games-lottery__card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-games-lottery__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: #c0c0c0;
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-games-lottery__feature-item {
    background-color: #2a3342;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-games-lottery__feature-item:hover {
    transform: translateY(-5px);
}

.page-games-lottery__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-games-lottery__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-games-lottery__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #c0c0c0;
}

.page-games-lottery__call-to-action {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #2a3342;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-games-lottery__call-to-action .page-games-lottery__text-block {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-games-lottery__how-to-play .page-games-lottery__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 40px;
}

.page-games-lottery__how-to-play .page-games-lottery__steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #2a3342;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    position: relative;
}

.page-games-lottery__how-to-play .page-games-lottery__steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: #FFD700;
    color: #1A202C;
    font-size: 1.8em;
    font-weight: bold;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-games-lottery__step-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    flex-grow: 1;
}

.page-games-lottery__step-description {
    font-size: 1em;
    line-height: 1.7;
    color: #c0c0c0;
    flex-grow: 1;
}

.page-games-lottery__faq-item {
    background-color: #2a3342;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-games-lottery__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-games-lottery__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-games-lottery__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-games-lottery__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    color: #c0c0c0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-games-lottery__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding-top: 15px;
}

.page-games-lottery__responsible-gambling {
    background-color: #1A202C;
    text-align: center;
    padding: 60px 0;
}

.page-games-lottery__responsible-gambling .page-games-lottery__section-title {
    color: #FFD700;
}

.page-games-lottery__responsible-gambling .page-games-lottery__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #c0c0c0;
}

@media (max-width: 992px) {
    .page-games-lottery__hero-title {
        font-size: 2.8em;
    }
    .page-games-lottery__hero-subtitle {
        font-size: 1.3em;
    }
    .page-games-lottery__section-title {
        font-size: 2em;
    }
    .page-games-lottery__game-grid,
    .page-games-lottery__feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-games-lottery__hero-title {
        font-size: 2.2em;
    }
    .page-games-lottery__hero-subtitle {
        font-size: 1.1em;
    }
    .page-games-lottery__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-games-lottery__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-games-lottery__section-title {
        font-size: 1.8em;
    }
    .page-games-lottery__introduction,
    .page-games-lottery__game-types,
    .page-games-lottery__why-choose,
    .page-games-lottery__how-to-play,
    .page-games-lottery__faq,
    .page-games-lottery__responsible-gambling,
    .page-games-lottery__cta-final {
        padding: 50px 0;
    }
    .page-games-lottery__how-to-play .page-games-lottery__steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-games-lottery__how-to-play .page-games-lottery__steps li::before {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-games-lottery__step-title,
    .page-games-lottery__step-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-games-lottery__hero-title {
        font-size: 1.8em;
    }
    .page-games-lottery__hero-subtitle {
        font-size: 0.9em;
    }
    .page-games-lottery__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-games-lottery__section-title {
        font-size: 1.5em;
    }
    .page-games-lottery__game-grid,
    .page-games-lottery__feature-grid {
        grid-template-columns: 1fr;
    }
}