/* style/lottery-games.css */
.page-lottery-games {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Màu chữ sáng cho nền tối */
    background-color: #0A2239; /* Nền chính */
    line-height: 1.6;
}

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

.page-lottery-games__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1a3a5a 100%); /* Gradient nhẹ nhàng */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-lottery-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,lottery,pattern,hello88]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-lottery-games__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Màu vàng nổi bật */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-lottery-games__hero-description {
    font-size: 1.2em;
    color: #C0C0C0;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.page-lottery-games__hero-button {
    display: inline-block;
    background-color: #DC143C; /* Màu đỏ cho CTA */
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__hero-button:hover {
    background-color: #FF4500;
    transform: translateY(-3px) scale(1.02);
}

.page-lottery-games__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
    position: relative;
}

.page-lottery-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #DC143C;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-lottery-games__section-subtitle {
    font-size: 1.1em;
    color: #A0A0A0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-games__info-section, .page-lottery-games__types-section, .page-lottery-games__how-to-play-section, .page-lottery-games__tips-section, .page-lottery-games__promo-section, .page-lottery-games__app-download-section, .page-lottery-games__detail-pages-section, .page-lottery-games__faq-section, .page-lottery-games__conclusion-section {
    padding: 60px 0;
}

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

.page-lottery-games__grid-item {
    background-color: #1a3a5a; /* Nền tối hơn */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-lottery-games__item-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-lottery-games__item-description {
    font-size: 1em;
    color: #B0B0B0;
}

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

.page-lottery-games__type-card, .page-lottery-games__detail-card {
    background-color: #1a3a5a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-lottery-games__type-card:hover, .page-lottery-games__detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-lottery-games__type-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-lottery-games__type-card-title, .page-lottery-games__detail-card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin: 20px 15px 10px;
    flex-grow: 1;
}

.page-lottery-games__type-card-title a, .page-lottery-games__detail-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-lottery-games__type-card-title a:hover, .page-lottery-games__detail-card-title a:hover {
    color: #DC143C;
}

.page-lottery-games__type-card-description, .page-lottery-games__detail-card-description {
    font-size: 0.95em;
    color: #B0B0B0;
    padding: 0 15px 20px;
}

.page-lottery-games__type-button, .page-lottery-games__detail-card-button {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 10px 20px;
    margin: 0 15px 20px;
    font-size: 0.95em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-lottery-games__type-button:hover, .page-lottery-games__detail-card-button:hover {
    background-color: #FF4500;
    transform: translateY(-2px);
}

.page-lottery-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-lottery-games__step-item {
    background-color: #1a3a5a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.page-lottery-games__step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #FFD700;
    color: #0A2239;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    border: 3px solid #0A2239;
}

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

.page-lottery-games__step-description {
    font-size: 1em;
    color: #B0B0B0;
    margin-bottom: 20px;
}

.page-lottery-games__step-button {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-lottery-games__step-button:hover {
    background-color: #FF4500;
}

.page-lottery-games__tip-list, .page-lottery-games__promo-list, .page-lottery-games__app-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    max-width: 900px;
}

.page-lottery-games__tip-list li, .page-lottery-games__promo-list li, .page-lottery-games__app-features li {
    background-color: #1a3a5a;
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-lottery-games__tip-list li strong {
    color: #FFD700;
}

.page-lottery-games__image-full-width {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFD700;
}

.page-lottery-games__promo-button {
    display: block;
    width: fit-content;
    margin: 0 auto;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__promo-button:hover {
    background-color: #FF4500;
    transform: translateY(-3px) scale(1.02);
}

.page-lottery-games__app-download-section {
    background-color: #0A2239;
    padding: 80px 0;
    border-top: 5px solid #DC143C;
    border-bottom: 5px solid #DC143C;
}

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

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

.page-lottery-games__app-text h2 {
    text-align: left;
    padding-top: 0;
}

.page-lottery-games__app-text h2::after {
    margin-left: 0;
}

.page-lottery-games__app-text p {
    color: #C0C0C0;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-lottery-games__app-features li {
    border-left-color: #DC143C;
}

.page-lottery-games__app-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2239;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__app-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px) scale(1.02);
}

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

.page-lottery-games__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 5px solid #FFD700;
}

.page-lottery-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-lottery-games__faq-item {
    background-color: #1a3a5a;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__faq-question {
    font-size: 1.2em;
    color: #FFD700;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a3a5a;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-lottery-games__faq-question:hover {
    background-color: #2c4f74;
}

.page-lottery-games__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #DC143C;
    transition: transform 0.3s ease;
}

.page-lottery-games__faq-item.active .page-lottery-games__faq-question::after {
    transform: rotate(45deg);
}

.page-lottery-games__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #B0B0B0;
}

.page-lottery-games__faq-item.active .page-lottery-games__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    padding: 15px 25px 20px;
}

.page-lottery-games__faq-answer p {
    margin-bottom: 10px;
}

.page-lottery-games__faq-button {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 8px 15px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.page-lottery-games__faq-button:hover {
    background-color: #FF4500;
}

.page-lottery-games__conclusion-section {
    background-color: #1a3a5a;
    padding: 80px 0;
    text-align: center;
    border-top: 5px solid #FFD700;
}

.page-lottery-games__conclusion-text {
    font-size: 1.2em;
    color: #C0C0C0;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-lottery-games__conclusion-button {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery-games__conclusion-button:hover {
    background-color: #FF4500;
    transform: translateY(-5px) scale(1.03);
}

@media (max-width: 992px) {
    .page-lottery-games__hero-title {
        font-size: 2.8em;
    }
    .page-lottery-games__section-title {
        font-size: 2em;
    }
    .page-lottery-games__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-lottery-games__app-text h2 {
        text-align: center;
    }
    .page-lottery-games__app-text h2::after {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .page-lottery-games__hero-title {
        font-size: 2.2em;
    }
    .page-lottery-games__hero-description {
        font-size: 1em;
    }
    .page-lottery-games__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery-games__section-title {
        font-size: 1.8em;
    }
    .page-lottery-games__grid, .page-lottery-games__type-card-grid, .page-lottery-games__steps-grid, .page-lottery-games__detail-card-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-games__item-title, .page-lottery-games__type-card-title, .page-lottery-games__step-title, .page-lottery-games__detail-card-title {
        font-size: 1.5em;
    }
    .page-lottery-games__tip-list li, .page-lottery-games__promo-list li, .page-lottery-games__app-features li {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-lottery-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-lottery-games__faq-item.active .page-lottery-games__faq-answer {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-lottery-games__hero-section, .page-lottery-games__info-section, .page-lottery-games__types-section, .page-lottery-games__how-to-play-section, .page-lottery-games__tips-section, .page-lottery-games__promo-section, .page-lottery-games__app-download-section, .page-lottery-games__detail-pages-section, .page-lottery-games__faq-section, .page-lottery-games__conclusion-section {
        padding: 40px 0;
    }
    .page-lottery-games__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-games__section-title {
        font-size: 1.5em;
    }
    .page-lottery-games__section-subtitle {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-lottery-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-lottery-games__item-icon {
        width: 60px;
        height: 60px;
    }
}