/* style/lottery-keno.css */

/* Base styles for the page content area */
.page-lottery-keno {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark gray for general text on light backgrounds */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background */
}

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

/* Hero Section */
.page-lottery-keno__hero {
    background: linear-gradient(135deg, #1A237E, #3f4a8e); /* Gradient from primary to a lighter variant */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-lottery-keno__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-lottery-keno__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFD700; /* Gold for main title */
}

.page-lottery-keno__subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #E0E0E0; /* Light gray for subtitle */
}

.page-lottery-keno__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
}

.page-lottery-keno__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A237E; /* Deep blue text on gold */
    border: 2px solid #FFD700;
}

.page-lottery-keno__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-lottery-keno__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-lottery-keno__button--secondary:hover {
    background-color: #FFD700;
    color: #1A237E;
    transform: translateY(-2px);
}

.page-lottery-keno__hero-image {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px; /* Adjust size as needed */
    height: auto;
    opacity: 0.15;
    z-index: 1;
    filter: grayscale(100%);
}

/* General Section Styling */
.page-lottery-keno__section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-lottery-keno__section:last-of-type {
    border-bottom: none;
}

.page-lottery-keno__section-title {
    font-size: 2.5em;
    color: #1A237E; /* Deep blue for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-lottery-keno__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-lottery-keno__sub-title {
    font-size: 1.8em;
    color: #1A237E; /* Deep blue for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-lottery-keno p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #444; /* Slightly lighter than default text */
}

.page-lottery-keno ul,
.page-lottery-keno ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-lottery-keno li {
    margin-bottom: 8px;
    font-size: 1.1em;
    color: #444;
}

.page-lottery-keno strong {
    color: #1A237E; /* Highlight strong text with primary color */
}

.page-lottery-keno__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Inline button for content sections */
.page-lottery-keno__button--inline {
    background-color: #1A237E;
    color: #FFD700;
    border: 2px solid #1A237E;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
}

.page-lottery-keno__button--inline:hover {
    background-color: #2e3b8f; /* Lighter primary on hover */
    border-color: #2e3b8f;
    color: #FFFFFF;
}

/* Table Styling */
.page-lottery-keno__table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-lottery-keno__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-lottery-keno__table th,
.page-lottery-keno__table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.page-lottery-keno__table thead th {
    background-color: #1A237E;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1em;
}

.page-lottery-keno__table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.page-lottery-keno__table tbody tr:hover {
    background-color: #e0e7ff; /* Light blue hover */
}

/* Register Section */
.page-lottery-keno__section--register {
    background-color: #1A237E; /* Primary color background */
    color: #FFFFFF;
    text-align: center;
}

.page-lottery-keno__section--register .page-lottery-keno__section-title {
    color: #FFD700; /* Gold title on deep blue */
}

.page-lottery-keno__section--register .page-lottery-keno__section-title::after {
    background-color: #FFFFFF; /* White underline */
}

.page-lottery-keno__section--register p,
.page-lottery-keno__section--register li {
    color: #E0E0E0; /* Light gray text */
}

.page-lottery-keno__step-list {
    list-style-type: decimal;
    max-width: 700px;
    margin: 30px auto;
    text-align: left;
}

.page-lottery-keno__step-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    font-size: 1.2em;
}

.page-lottery-keno__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    border-radius: 10px;
    margin: 15px;
}

.page-lottery-keno__button--large.page-lottery-keno__button--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-lottery-keno__button--large.page-lottery-keno__button--outline:hover {
    background-color: #FFD700;
    color: #1A237E;
}


/* FAQ Section */
.page-lottery-keno__section--faq {
    background-color: #f8f9fa;
}

.page-lottery-keno__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-lottery-keno__faq-question {
    font-size: 1.3em;
    color: #1A237E;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    font-weight: 600;
}

.page-lottery-keno__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-lottery-keno__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-lottery-keno__faq-answer {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 0;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
    margin-top: 10px;
}

.page-lottery-keno__faq-answer.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-lottery-keno__title {
        font-size: 2.5em;
    }

    .page-lottery-keno__subtitle {
        font-size: 1.1em;
    }

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

    .page-lottery-keno__section {
        padding: 40px 0;
    }

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

    .page-lottery-keno__sub-title {
        font-size: 1.5em;
    }

    .page-lottery-keno__table th,
    .page-lottery-keno__table td {
        padding: 10px;
        font-size: 0.9em;
    }

    .page-lottery-keno__button--large {
        padding: 15px 30px;
        font-size: 1.1em;
        margin: 10px auto;
        display: block;
    }

    .page-lottery-keno__hero-image {
        width: 200px;
        bottom: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .page-lottery-keno__title {
        font-size: 2em;
    }

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

    .page-lottery-keno__button {
        display: block;
        margin: 10px auto;
        width: 90%;
        box-sizing: border-box;
    }

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

    .page-lottery-keno__sub-title {
        font-size: 1.3em;
    }

    .page-lottery-keno ul,
    .page-lottery-keno ol {
        padding-left: 20px;
    }

    .page-lottery-keno li,
    .page-lottery-keno p {
        font-size: 1em;
    }

    .page-lottery-keno__faq-question {
        font-size: 1.1em;
    }
}