/* style/lottery-games.css */

/* Base styles for the page */
.page-lottery-games {
    font-family: 'Arial', sans-serif;
    color: #f2eee8; /* Light text for dark background */
    background-color: #0D1117; /* Main dark background */
    line-height: 1.6;
}

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

.page-lottery-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-lottery-games__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Auxiliary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-lottery-games__section-subtitle {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 40px;
}

/* Buttons */
.page-lottery-games__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
    text-align: center;
}

.page-lottery-games__btn--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #0D1117; /* Dark text for light button */
}

.page-lottery-games__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-lottery-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

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

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

.page-lottery-games__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-lottery-games__link-inline {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid #FFD700;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-lottery-games__link-inline:hover {
    color: #e6c200;
    border-color: #e6c200;
}

/* Hero Section */
.page-lottery-games__hero {
    background: linear-gradient(135deg, #0D1117, #2c313a);
    padding: 100px 0;
    color: #f2eee8;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-lottery-games__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #cccccc;
}

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

/* Intro Section */
.page-lottery-games__intro {
    background-color: #1a1f26;
    color: #f2eee8;
    text-align: left;
}

.page-lottery-games__intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-lottery-games__intro-text {
    flex: 1;
    font-size: 1.1em;
}

.page-lottery-games__intro-image {
    flex: 1;
    text-align: center;
}

.page-lottery-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Game Types Section */
.page-lottery-games__game-types {
    background-color: #0D1117;
}

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

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

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

.page-lottery-games__game-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

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

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

.page-lottery-games__more-games-text {
    margin-top: 50px;
    font-size: 1.1em;
    color: #f2eee8;
}

/* Why OK9 Section */
.page-lottery-games__why-ok9 {
    background-color: #1a1f26;
}

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

.page-lottery-games__why-ok9-item {
    background-color: #0D1117;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-lottery-games__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

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

.page-lottery-games__item-description {
    font-size: 0.95em;
    color: #cccccc;
}

/* How to Play Section */
.page-lottery-games__how-to-play {
    background-color: #0D1117;
}

.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: #1a1f26;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-lottery-games__step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    line-height: 1;
}

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

.page-lottery-games__step-description {
    font-size: 0.95em;
    color: #cccccc;
}

.page-lottery-games__cta-bottom {
    margin-top: 50px;
}

/* App Download Section */
.page-lottery-games__app-download {
    background-color: #1a1f26;
    text-align: left;
}

.page-lottery-games__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

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

.page-lottery-games__app-image .page-lottery-games__image {
    max-width: 80%;
    height: auto;
}

.page-lottery-games__app-description {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 30px;
}

/* Promotions Section */
.page-lottery-games__promotions {
    background-color: #0D1117;
}

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

.page-lottery-games__promo-card {
    background-color: #1a1f26;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

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

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

.page-lottery-games__promo-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 25px;
    min-height: 80px;
}

/* Detail Pages Section */
.page-lottery-games__detail-pages {
    background-color: #1a1f26;
}

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

.page-lottery-games__detail-card {
    background-color: #0D1117;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-lottery-games__detail-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-lottery-games__detail-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-lottery-games__detail-title a:hover {
    text-decoration: underline;
    color: #e6c200;
}

.page-lottery-games__detail-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    min-height: 60px;
}

/* FAQ Section */
.page-lottery-games__faq {
    background-color: #0D1117;
}

.page-lottery-games__faq-item {
    background-color: #1a1f26;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-lottery-games__faq-answer {
    font-size: 1em;
    color: #cccccc;
    display: block; /* Ensure it's always visible for now */
    padding-left: 15px;
    border-left: 3px solid #FFD700;
}

/* Final CTA Section */
.page-lottery-games__final-cta {
    background: linear-gradient(135deg, #2c313a, #0D1117);
    padding: 80px 0;
}

.page-lottery-games__final-cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery-games__hero-title {
        font-size: 2.8em;
    }
    .page-lottery-games__hero-description {
        font-size: 1.1em;
    }
    .page-lottery-games__section-title {
        font-size: 2.2em;
    }
    .page-lottery-games__intro-content {
        flex-direction: column;
    }
    .page-lottery-games__app-content {
        flex-direction: column;
    }
    .page-lottery-games__app-image .page-lottery-games__image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-lottery-games__hero-title {
        font-size: 2.2em;
    }
    .page-lottery-games__hero-description {
        font-size: 1em;
    }
    .page-lottery-games__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery-games__btn--secondary {
        margin-left: 0;
    }
    .page-lottery-games__game-description, .page-lottery-games__promo-description, .page-lottery-games__detail-description {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .page-lottery-games__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-games__section-title {
        font-size: 1.6em;
    }
    .page-lottery-games__btn {
        width: 100%;
    }
    .page-lottery-games__game-card, .page-lottery-games__why-ok9-item, .page-lottery-games__step-item, .page-lottery-games__promo-card, .page-lottery-games__detail-card {
        padding: 20px;
    }
    .page-lottery-games__step-number {
        font-size: 2em;
        top: 15px;
        left: 15px;
    }
    .page-lottery-games__step-item {
        padding-top: 50px;
    }
}