/* style/game-guides-keno-lottery-guide.css */

.page-game-guides-keno-lottery-guide {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #000000; /* Main brand color */
    line-height: 1.6;
}

.page-game-guides-keno-lottery-guide__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-game-guides-keno-lottery-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    z-index: 0;
    filter: grayscale(70%);
}

.page-game-guides-keno-lottery-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-game-guides-keno-lottery-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-game-guides-keno-lottery-guide h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main headings */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides-keno-lottery-guide h1 .highlight {
    color: #FFFFFF;
}

.page-game-guides-keno-lottery-guide__hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides-keno-lottery-guide__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-guides-keno-lottery-guide__section:nth-of-type(even) {
    background-color: #1A1A1A; /* Slightly lighter dark for alternating sections */
}

.page-game-guides-keno-lottery-guide h2 {
    font-size: 2.5em;
    color: #FFD700; /* Gold for sub-headings */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-game-guides-keno-lottery-guide h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-game-guides-keno-lottery-guide h2 .highlight {
    color: #FFFFFF;
}

.page-game-guides-keno-lottery-guide h3 {
    font-size: 1.8em;
    color: #FFD700; /* Gold for sub-sub-headings */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-game-guides-keno-lottery-guide p {
    margin-bottom: 15px;
}

.page-game-guides-keno-lottery-guide__link--inline {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides-keno-lottery-guide__link--inline:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-game-guides-keno-lottery-guide__button {
    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, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-game-guides-keno-lottery-guide__button--primary {
    background-color: #FFD700;
    color: #000000;
}

.page-game-guides-keno-lottery-guide__button--primary:hover {
    background-color: #E6C200;
    color: #000000;
}

.page-game-guides-keno-lottery-guide__button--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-game-guides-keno-lottery-guide__button--secondary:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-game-guides-keno-lottery-guide ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-game-guides-keno-lottery-guide ul li {
    margin-bottom: 10px;
}

.page-game-guides-keno-lottery-guide__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-game-guides-keno-lottery-guide__grid-item {
    background-color: #1A1A1A;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #FFD700;
}

.page-game-guides-keno-lottery-guide__grid-item h3 {
    color: #FFD700;
    margin-top: 0;
}

.page-game-guides-keno-lottery-guide__image--full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides-keno-lottery-guide__strategy-item {
    background-color: #1A1A1A;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-top: 4px solid #FFD700;
}

.page-game-guides-keno-lottery-guide__strategy-item h3 {
    color: #FFD700;
    margin-top: 0;
}

.page-game-guides-keno-lottery-guide__why-nhatvip-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.page-game-guides-keno-lottery-guide__why-nhatvip-text ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.page-game-guides-keno-lottery-guide__why-nhatvip-text ul li {
    background-color: #1A1A1A;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid #FFD700;
    display: flex;
    align-items: center;
}

.page-game-guides-keno-lottery-guide__why-nhatvip-text ul li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

.page-game-guides-keno-lottery-guide__why-nhatvip-image-wrapper {
    flex-shrink: 0;
    width: 100%;
    max-width: 500px;
}

.page-game-guides-keno-lottery-guide__image--responsive {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides-keno-lottery-guide__faq-item {
    background-color: #1A1A1A;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #FFD700;
}

.page-game-guides-keno-lottery-guide__faq-item h3 {
    color: #FFD700;
    margin-top: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-game-guides-keno-lottery-guide__faq-item h3::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-game-guides-keno-lottery-guide__faq-item.active h3::after {
    transform: rotate(45deg);
}

.page-game-guides-keno-lottery-guide__faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
}

.page-game-guides-keno-lottery-guide__faq-item.active p {
    max-height: 200px; /* Adjust based on expected content length */
    opacity: 1;
    margin-top: 15px;
    padding-top: 5px;
}

.page-game-guides-keno-lottery-guide__call-to-action {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(90deg, #000000, #333333, #000000);
    border-top: 5px solid #FFD700;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.page-game-guides-keno-lottery-guide__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    filter: brightness(0.6);
}

.page-game-guides-keno-lottery-guide__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: #FFFFFF;
}

.page-game-guides-keno-lottery-guide__cta-content h2 {
    color: #FFD700;
    margin-bottom: 20px;
}

.page-game-guides-keno-lottery-guide__cta-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-game-guides-keno-lottery-guide__hero {
        padding: 100px 40px;
    }

    .page-game-guides-keno-lottery-guide h1 {
        font-size: 4em;
    }

    .page-game-guides-keno-lottery-guide__hero p {
        font-size: 1.3em;
    }

    .page-game-guides-keno-lottery-guide__section {
        padding: 60px 40px;
    }

    .page-game-guides-keno-lottery-guide__why-nhatvip-content {
        flex-direction: row;
    }

    .page-game-guides-keno-lottery-guide__why-nhatvip-text {
        flex: 1;
        padding-right: 40px;
    }

    .page-game-guides-keno-lottery-guide__why-nhatvip-image-wrapper {
        flex: 1;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .page-game-guides-keno-lottery-guide h1 {
        font-size: 4.5em;
    }

    .page-game-guides-keno-lottery-guide h2 {
        font-size: 3em;
    }

    .page-game-guides-keno-lottery-guide__content-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .page-game-guides-keno-lottery-guide__strategy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}