/* style/lottery-games.css */

/* Variables */
:root {
    --page-lottery-games-primary-color: #0F1A2B;
    --page-lottery-games-secondary-color: #FFD700;
    --page-lottery-games-text-light: #F0F0F0;
    --page-lottery-games-text-dark: #1A1A1A;
    --page-lottery-games-accent-red: #DC3545; /* A touch of red for action */
    --page-lottery-games-button-hover: #E0B500;
    --page-lottery-games-card-bg: #1A2B3D;
}

.page-lottery-games {
    font-family: 'Arial', sans-serif;
    color: var(--page-lottery-games-text-light);
    background-color: var(--page-lottery-games-primary-color);
    line-height: 1.6;
}

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

.page-lottery-games__section-title {
    font-size: 2.5em;
    color: var(--page-lottery-games-secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-lottery-games__section-title .highlight {
    color: var(--page-lottery-games-text-light);
}

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

.page-lottery-games__text-content {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-lottery-games-text-light);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-games__text-content .highlight {
    color: var(--page-lottery-games-secondary-color);
    font-weight: bold;
}

/* Buttons */
.page-lottery-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.page-lottery-games__btn--primary {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-primary-color);
    border: 2px solid var(--page-lottery-games-secondary-color);
}

.page-lottery-games__btn--primary:hover {
    background-color: var(--page-lottery-games-button-hover);
    transform: translateY(-2px);
}

.page-lottery-games__btn--secondary {
    background-color: transparent;
    color: var(--page-lottery-games-secondary-color);
    border: 2px solid var(--page-lottery-games-secondary-color);
}

.page-lottery-games__btn--secondary:hover {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-primary-color);
    transform: translateY(-2px);
}

.page-lottery-games__btn--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-lottery-games__btn--download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--page-lottery-games-card-bg);
    color: var(--page-lottery-games-text-light);
    border: 1px solid var(--page-lottery-games-secondary-color);
    padding: 12px 25px;
}

.page-lottery-games__btn--download:hover {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__download-icon {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.page-lottery-games__hero {
    background: linear-gradient(135deg, var(--page-lottery-games-primary-color) 0%, #1A304D 100%);
    padding: 100px 0;
    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: 0 auto;
}

.page-lottery-games__hero-title {
    font-size: 3.5em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-lottery-games__hero-title .highlight {
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__hero-subtitle {
    font-size: 1.4em;
    color: var(--page-lottery-games-text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
    z-index: 1;
}

.page-lottery-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(3px);
    transform: scale(1.1);
}

/* Intro Section */
.page-lottery-games__intro {
    padding: 80px 0;
    background-color: var(--page-lottery-games-primary-color);
}

/* Game List Section */
.page-lottery-games__game-list {
    padding: 80px 0;
    background-color: #1A2B3D; /* Slightly lighter dark for contrast */
}

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

.page-lottery-games__game-card {
    background-color: var(--page-lottery-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    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 10px 25px rgba(0, 0, 0, 0.5);
}

.page-lottery-games__game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-lottery-games-secondary-color));
    object-fit: contain;
}

.page-lottery-games__game-title {
    font-size: 1.5em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 15px;
}

.page-lottery-games__game-description {
    font-size: 1em;
    color: var(--page-lottery-games-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Section */
.page-lottery-games__why-choose {
    padding: 80px 0;
    background-color: var(--page-lottery-games-primary-color);
}

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

.page-lottery-games__feature-item {
    background-color: var(--page-lottery-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-lottery-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 3px var(--page-lottery-games-secondary-color));
    object-fit: contain;
}

.page-lottery-games__feature-title {
    font-size: 1.4em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 10px;
}

.page-lottery-games__feature-description {
    font-size: 0.95em;
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* How To Play Section */
.page-lottery-games__how-to-play {
    padding: 80px 0;
    background-color: #1A2B3D;
}

.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: var(--page-lottery-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-lottery-games__step-number {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-lottery-games__step-title {
    font-size: 1.4em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 10px;
}

.page-lottery-games__step-description {
    font-size: 0.95em;
    color: var(--page-lottery-games-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-lottery-games__promotions {
    padding: 80px 0;
    background-color: var(--page-lottery-games-primary-color);
}

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

.page-lottery-games__promo-card {
    background-color: var(--page-lottery-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-lottery-games__promo-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: brightness(0.8);
}

.page-lottery-games__promo-title {
    font-size: 1.5em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 10px;
}

.page-lottery-games__promo-description {
    font-size: 1em;
    color: var(--page-lottery-games-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* App Download Section */
.page-lottery-games__app-download {
    padding: 80px 0;
    background-color: #1A2B3D;
    text-align: center;
}

.page-lottery-games__download-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.page-lottery-games__app-mockup {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 5px solid var(--page-lottery-games-secondary-color);
}

/* FAQ Section */
.page-lottery-games__faq {
    padding: 80px 0;
    background-color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__faq-item {
    background-color: var(--page-lottery-games-card-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__faq-question {
    font-size: 1.25em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

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

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

.page-lottery-games__faq-answer {
    font-size: 1em;
    color: var(--page-lottery-games-text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    padding-top: 0;
}

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

/* Call To Action Section */
.page-lottery-games__call-to-action {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--page-lottery-games-primary-color), #2A4066);
    text-align: center;
}

.page-lottery-games__call-to-action .page-lottery-games__btn {
    margin: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery-games__hero-title {
        font-size: 2.8em;
    }
    .page-lottery-games__section-title {
        font-size: 2em;
    }
    .page-lottery-games__games-grid,
    .page-lottery-games__features-grid,
    .page-lottery-games__steps-grid,
    .page-lottery-games__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-lottery-games__hero {
        padding: 80px 0;
    }
    .page-lottery-games__hero-title {
        font-size: 2.2em;
    }
    .page-lottery-games__hero-subtitle {
        font-size: 1.2em;
    }
    .page-lottery-games__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games__text-content {
        font-size: 1em;
    }
    .page-lottery-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery-games__download-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .page-lottery-games__hero {
        padding: 60px 0;
    }
    .page-lottery-games__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-games__hero-subtitle {
        font-size: 1em;
    }
    .page-lottery-games__section-title {
        font-size: 1.5em;
    }
    .page-lottery-games__games-grid,
    .page-lottery-games__features-grid,
    .page-lottery-games__steps-grid,
    .page-lottery-games__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-lottery-games__btn--download {
        width: 80%;
    }
}