/* style/lottery-games.css */
.page-lottery-games {
    font-family: 'Arial', sans-serif;
    color: #333;
    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: #007bff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

/* Hero Section */
.page-lottery-games__hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-lottery-games__hero-content {
    max-width: 600px;
    text-align: left;
    padding: 0 20px;
}

.page-lottery-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.page-lottery-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-lottery-games__hero-image-wrapper {
    max-width: 500px;
    text-align: right;
}

.page-lottery-games__hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

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

.page-lottery-games__btn--primary {
    background-color: #ffc107;
    color: #333;
    border: 2px solid #ffc107;
}

.page-lottery-games__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #fff;
}

.page-lottery-games__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.page-lottery-games__btn--secondary:hover {
    background-color: #fff;
    color: #007bff;
    border-color: #fff;
}

/* Intro Section */
.page-lottery-games__intro {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.page-lottery-games__intro p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #555;
}

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

.page-lottery-games__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-lottery-games__feature-item:hover {
    transform: translateY(-10px);
}

.page-lottery-games__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-lottery-games__feature-item h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-lottery-games__feature-item p {
    font-size: 1em;
    color: #666;
    margin-bottom: 0;
}

/* Game List Section */
.page-lottery-games__game-list {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-lottery-games__game-card {
    background-color: #f0f8ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-games__game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-lottery-games__game-card-content {
    padding: 25px;
}

.page-lottery-games__game-card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #007bff;
}

.page-lottery-games__game-card-title a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

.page-lottery-games__game-card-title a:hover {
    color: #0056b3;
}

.page-lottery-games__game-card-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 25px;
    min-height: 70px; /* Ensure consistent card height */
}

.page-lottery-games__game-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-lottery-games__btn--detail {
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-lottery-games__btn--detail:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.page-lottery-games__btn--play {
    background-color: #ffc107;
    color: #333;
    border: 2px solid #ffc107;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-lottery-games__btn--play:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #fff;
}

/* Tips & Strategies Section */
.page-lottery-games__tips-strategies {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.page-lottery-games__tips-strategies p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #555;
}

.page-lottery-games__list {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding-left: 25px;
    list-style-type: disc;
    color: #444;
}

.page-lottery-games__list li {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-lottery-games__list li strong {
    color: #007bff;
}

.page-lottery-games__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}

/* Responsible Gambling Section */
.page-lottery-games__responsible-gambling {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.page-lottery-games__responsible-gambling p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #555;
}

.page-lottery-games__responsible-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    margin: 30px auto 40px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-lottery-games__cta {
    background: linear-gradient(90deg, #007bff, #ffc107);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-lottery-games__cta .page-lottery-games__section-title {
    color: #fff;
}

.page-lottery-games__cta .page-lottery-games__section-title::after {
    background-color: #fff;
}

.page-lottery-games__cta p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

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

.page-lottery-games__btn--xl {
    padding: 20px 40px;
    font-size: 1.3em;
    min-width: 250px;
}

.page-lottery-games__btn--primary.page-lottery-games__btn--xl {
    background-color: #fff;
    color: #007bff;
    border-color: #fff;
}

.page-lottery-games__btn--primary.page-lottery-games__btn--xl:hover {
    background-color: #e0e0e0;
    color: #0056b3;
    border-color: #e0e0e0;
}

.page-lottery-games__btn--secondary.page-lottery-games__btn--xl {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.page-lottery-games__btn--secondary.page-lottery-games__btn--xl:hover {
    background-color: #fff;
    color: #007bff;
    border-color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery-games__hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 0;
    }

    .page-lottery-games__hero-content {
        text-align: center;
        max-width: none;
    }

    .page-lottery-games__hero-title {
        font-size: 2.8em;
    }

    .page-lottery-games__hero-image-wrapper {
        text-align: center;
        margin-top: 40px;
    }

    .page-lottery-games__hero-actions {
        justify-content: center;
    }

    .page-lottery-games__section-title {
        font-size: 2em;
    }

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

@media (max-width: 768px) {
    .page-lottery-games__hero-title {
        font-size: 2.2em;
    }

    .page-lottery-games__hero-description {
        font-size: 1em;
    }

    .page-lottery-games__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-lottery-games__section-title {
        font-size: 1.8em;
    }

    .page-lottery-games__feature-grid, .page-lottery-games__card-grid {
        grid-template-columns: 1fr;
    }

    .page-lottery-games__game-card-description {
        min-height: auto;
    }

    .page-lottery-games__btn--large, .page-lottery-games__btn--xl {
        padding: 15px 30px;
        font-size: 1.1em;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .page-lottery-games__hero {
        padding: 60px 0;
    }
    .page-lottery-games__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery-games__btn {
        width: 100%;
    }
    .page-lottery-games__section-title {
        font-size: 1.5em;
    }
    .page-lottery-games__feature-item, .page-lottery-games__game-card {
        padding: 20px;
    }
    .page-lottery-games__game-card-content {
        padding: 20px;
    }
    .page-lottery-games__list {
        padding-left: 15px;
    }
    .page-lottery-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}