:root {
    --page-betting-types-lottery-and-keno-primary-color: #003366; /* Deep Blue */
    --page-betting-types-lottery-and-keno-accent-color: #FFCC00; /* Golden Yellow */
    --page-betting-types-lottery-and-keno-text-color: #333333; /* Dark Grey for body text */
    --page-betting-types-lottery-and-keno-light-bg: #f8f8f8; /* Light background for sections */
    --page-betting-types-lottery-and-keno-white: #ffffff;
    --page-betting-types-lottery-and-keno-dark-text-on-accent: #001a33; /* Very dark blue for text on accent */
}

.page-betting-types-lottery-and-keno {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-betting-types-lottery-and-keno-text-color);
}

.page-betting-types-lottery-and-keno-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-betting-types-lottery-and-keno-section {
    padding: 60px 0;
    text-align: center;
}

.page-betting-types-lottery-and-keno-section:nth-of-type(even) {
    background-color: var(--page-betting-types-lottery-and-keno-light-bg);
}

.page-betting-types-lottery-and-keno-section-title {
    font-size: 2.5em;
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-betting-types-lottery-and-keno-section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-betting-types-lottery-and-keno-text-color);
}

.page-betting-types-lottery-and-keno .highlight {
    color: var(--page-betting-types-lottery-and-keno-accent-color);
}

/* Hero Section */
.page-betting-types-lottery-and-keno-hero {
    background: linear-gradient(135deg, var(--page-betting-types-lottery-and-keno-primary-color) 0%, #004d99 100%); /* Darker blue gradient */
    color: var(--page-betting-types-lottery-and-keno-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-betting-types-lottery-and-keno-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: 0;
}

.page-betting-types-lottery-and-keno-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.page-betting-types-lottery-and-keno-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Buttons */
.page-betting-types-lottery-and-keno-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-betting-types-lottery-and-keno-btn-primary {
    background-color: var(--page-betting-types-lottery-and-keno-accent-color);
    color: var(--page-betting-types-lottery-and-keno-dark-text-on-accent);
}

.page-betting-types-lottery-and-keno-btn-primary:hover {
    background-color: #e6b800; /* Slightly darker yellow */
    transform: translateY(-3px);
}

.page-betting-types-lottery-and-keno-btn-secondary {
    background-color: var(--page-betting-types-lottery-and-keno-primary-color);
    color: var(--page-betting-types-lottery-and-keno-white);
    border: 2px solid var(--page-betting-types-lottery-and-keno-accent-color);
}

.page-betting-types-lottery-and-keno-btn-secondary:hover {
    background-color: #004d99; /* Slightly lighter blue */
    border-color: #e6b800;
    transform: translateY(-3px);
}

.page-betting-types-lottery-and-keno-btn-tertiary {
    background-color: transparent;
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    border: 2px solid var(--page-betting-types-lottery-and-keno-primary-color);
}

.page-betting-types-lottery-and-keno-btn-tertiary:hover {
    background-color: var(--page-betting-types-lottery-and-keno-primary-color);
    color: var(--page-betting-types-lottery-and-keno-white);
    transform: translateY(-3px);
}

.page-betting-types-lottery-and-keno-btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-betting-types-lottery-and-keno-text-link {
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-betting-types-lottery-and-keno-text-link:hover {
    color: var(--page-betting-types-lottery-and-keno-accent-color);
}

/* Content Wrapper & Image Box */
.page-betting-types-lottery-and-keno-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-betting-types-lottery-and-keno-text-content {
    flex: 1;
}

.page-betting-types-lottery-and-keno-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-betting-types-lottery-and-keno-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Grid Layouts */
.page-betting-types-lottery-and-keno-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-betting-types-lottery-and-keno-grid-reversed {
    grid-template-columns: 1fr 1fr; /* Default order */
}

@media (min-width: 768px) {
    .page-betting-types-lottery-and-keno-grid-reversed {
        grid-template-columns: 1fr 1fr; /* Ensure proper order for desktop */
    }
    .page-betting-types-lottery-and-keno-grid-reversed > *:first-child {
        order: 2; /* Image on right */
    }
    .page-betting-types-lottery-and-keno-grid-reversed > *:last-child {
        order: 1; /* Text on left */
    }
}


/* Cards */
.page-betting-types-lottery-and-keno-card {
    background-color: var(--page-betting-types-lottery-and-keno-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure cards in grid have equal height */
    display: flex;
    flex-direction: column;
}

.page-betting-types-lottery-and-keno-card-title {
    font-size: 1.8em;
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Lists */
.page-betting-types-lottery-and-keno-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-betting-types-lottery-and-keno-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: var(--page-betting-types-lottery-and-keno-text-color);
}

.page-betting-types-lottery-and-keno-list li::before {
    content: '✓';
    color: var(--page-betting-types-lottery-and-keno-accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

/* Strategy Section */
.page-betting-types-lottery-and-keno-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-betting-types-lottery-and-keno-strategy-item {
    background-color: var(--page-betting-types-lottery-and-keno-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 5px solid var(--page-betting-types-lottery-and-keno-accent-color);
}

.page-betting-types-lottery-and-keno-strategy-title {
    font-size: 1.5em;
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    margin-bottom: 15px;
}

.page-betting-types-lottery-and-keno-cta-box {
    background-color: var(--page-betting-types-lottery-and-keno-primary-color);
    color: var(--page-betting-types-lottery-and-keno-white);
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.page-betting-types-lottery-and-keno-cta-box p {
    font-size: 1.3em;
    margin-bottom: 25px;
}

/* Why Choose Section */
.page-betting-types-lottery-and-keno-reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-betting-types-lottery-and-keno-reason-item {
    background-color: var(--page-betting-types-lottery-and-keno-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-betting-types-lottery-and-keno-reason-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(15%) sepia(90%) saturate(600%) hue-rotate(190deg) brightness(90%) contrast(90%); /* Example filter for blue tint */
}
/* Adjusting icon color for better visibility on white background, if it's an SVG. If it's a PNG, this won't work. Assuming it might be a blue-tinted icon from the gallery. If not, the icon would just be its original color. */
.page-betting-types-lottery-and-keno-reason-item:nth-child(even) .page-betting-types-lottery-and-keno-reason-icon {
    filter: invert(70%) sepia(80%) saturate(1500%) hue-rotate(15deg) brightness(100%) contrast(100%); /* Example filter for yellow tint */
}

.page-betting-types-lottery-and-keno-reason-title {
    font-size: 1.4em;
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    margin-bottom: 10px;
}

/* FAQ Section */
.page-betting-types-lottery-and-keno-accordion {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-betting-types-lottery-and-keno-accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-betting-types-lottery-and-keno-accordion-header {
    background-color: var(--page-betting-types-lottery-and-keno-white);
    color: var(--page-betting-types-lottery-and-keno-primary-color);
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-betting-types-lottery-and-keno-accordion-header:hover {
    background-color: var(--page-betting-types-lottery-and-keno-light-bg);
}

.page-betting-types-lottery-and-keno-accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-betting-types-lottery-and-keno-accordion-header.active .page-betting-types-lottery-and-keno-accordion-icon {
    transform: rotate(45deg);
}

.page-betting-types-lottery-and-keno-accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--page-betting-types-lottery-and-keno-light-bg);
}

.page-betting-types-lottery-and-keno-accordion-content p {
    padding-bottom: 20px;
    margin-bottom: 0;
    color: var(--page-betting-types-lottery-and-keno-text-color);
}
.page-betting-types-lottery-and-keno-accordion-content a {
    display: block;
    margin-bottom: 20px;
}

/* Final CTA Section */
.page-betting-types-lottery-and-keno-final-cta {
    background: linear-gradient(90deg, var(--page-betting-types-lottery-and-keno-primary-color), #004d99);
    color: var(--page-betting-types-lottery-and-keno-white);
    padding: 80px 0;
}

.page-betting-types-lottery-and-keno-final-cta .page-betting-types-lottery-and-keno-section-title,
.page-betting-types-lottery-and-keno-final-cta .page-betting-types-lottery-and-keno-section-description {
    color: var(--page-betting-types-lottery-and-keno-white);
}

/* Floating CTA */
.page-betting-types-lottery-and-keno-floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-betting-types-lottery-and-keno-floating-btn {
    background-color: var(--page-betting-types-lottery-and-keno-accent-color);
    color: var(--page-betting-types-lottery-and-keno-dark-text-on-accent);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-betting-types-lottery-and-keno-floating-btn:hover {
    background-color: #e6b800;
    transform: translateY(-5px);
}

.page-betting-types-lottery-and-keno-floating-icon {
    font-size: 1.8em;
    line-height: 1;
}

.page-betting-types-lottery-and-keno-floating-text {
    font-size: 1.1em;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-betting-types-lottery-and-keno-hero-title {
        font-size: 2.8em;
    }
    .page-betting-types-lottery-and-keno-hero-subtitle {
        font-size: 1.3em;
    }
    .page-betting-types-lottery-and-keno-section {
        padding: 40px 0;
    }
    .page-betting-types-lottery-and-keno-section-title {
        font-size: 2em;
    }
    .page-betting-types-lottery-and-keno-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-betting-types-lottery-and-keno-list li {
        font-size: 0.95em;
    }
    .page-betting-types-lottery-and-keno-floating-btn {
        padding: 12px 20px;
    }
    .page-betting-types-lottery-and-keno-floating-text {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .page-betting-types-lottery-and-keno-hero-title {
        font-size: 2.2em;
    }
    .page-betting-types-lottery-and-keno-hero-subtitle {
        font-size: 1.1em;
    }
    .page-betting-types-lottery-and-keno-section {
        padding: 40px 0;
    }
    .page-betting-types-lottery-and-keno-section-title {
        font-size: 1.8em;
    }
    .page-betting-types-lottery-and-keno-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-betting-types-lottery-and-keno-list li {
        font-size: 0.95em;
    }
    .page-betting-types-lottery-and-keno-floating-btn {
        padding: 12px 20px;
    }
    .page-betting-types-lottery-and-keno-floating-text {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-betting-types-lottery-and-keno-hero-title {
        font-size: 1.8em;
    }
    .page-betting-types-lottery-and-keno-hero-subtitle {
        font-size: 1em;
    }
}