.page-lottery {
    background-color: #F4F7FB; /* Background color */
    color: #1F2D3D; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-lottery__section-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-lottery__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2F6BFF; /* Primary color for hero background */
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 40px;
}

.page-lottery__hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-lottery__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-lottery__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-lottery__intro-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    color: #D6E2FF; /* Border color for lighter text */
}

.page-lottery__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
    text-align: center;
}

.page-lottery__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__cta-button--secondary {
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using a slightly different gradient for secondary */
}

/* Features Section */
.page-lottery__features-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background color */
}

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

.page-lottery__feature-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-lottery__feature-title {
    font-size: 1.5rem;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery__feature-description {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
}

/* Game Types Section */
.page-lottery__game-types-section {
    padding: 60px 0;
    background-color: #E6EEF9; /* A slightly darker background than F4F7FB for contrast */
}

.page-lottery__game-types-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-lottery__game-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-lottery__game-name {
    font-size: 1.3rem;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery__game-description {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
}

/* How to Play Section */
.page-lottery__how-to-play-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background color */
    text-align: center;
}

.page-lottery__how-to-play-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery__steps-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-lottery__step-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid #D6E2FF; /* Border color */
}

.page-lottery__step-title {
    font-size: 1.4rem;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery__step-description {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-lottery__faq-section {
    padding: 60px 0;
    background-color: #E6EEF9; /* A slightly darker background than F4F7FB for contrast */
}

.page-lottery__faq-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-lottery__faq-question {
    font-size: 1.2rem;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
}

.page-lottery__faq-answer {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    display: block; /* Ensure it's visible by default for static HTML */
}

.page-lottery__faq-answer a {
    color: #2F6BFF; /* Link color */
    text-decoration: none;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-lottery__container {
        padding: 15px;
    }

    .page-lottery__hero-image,
    .page-lottery__game-types-image,
    .page-lottery__how-to-play-image {
        max-width: 100%;
        height: auto;
        /* Forced for mobile content overflow */
        max-width: 100% !important;
        height: auto !important;
    }

    .page-lottery__hero-content {
        padding: 0 15px;
    }

    .page-lottery__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-lottery__intro-description {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }

    .page-lottery__section-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .page-lottery__features-grid,
    .page-lottery__game-list,
    .page-lottery__steps-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-lottery__cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
        min-width: unset;
    }
}