/* style/lottery-games.css */

/* Variables for colors */
:root {
    --page-lottery-games-primary-color: #FFD700; /* Gold */
    --page-lottery-games-secondary-color: #1E90FF; /* Dodger Blue */
    --page-lottery-games-text-dark: #333333;
    --page-lottery-games-text-light: #FFFFFF;
    --page-lottery-games-background-light: #f8f8f8; /* Very light grey */
    --page-lottery-games-background-dark: #1a1a1a; /* Dark grey for contrast */
    --page-lottery-games-accent-dark: #4a4a4a; /* Darker grey for text on light gold */
}

.page-lottery-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-lottery-games-text-dark);
    background-color: var(--page-lottery-games-background-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

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

.page-lottery-games__section:nth-of-type(even) {
    background-color: var(--page-lottery-games-background-light);
}

.page-lottery-games__section-title {
    font-size: 2.8em;
    color: var(--page-lottery-games-text-dark);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-lottery-games__section-title .highlight {
    color: var(--page-lottery-games-secondary-color); /* Blue highlight for titles */
}

.page-lottery-games__section-intro {
    font-size: 1.2em;
    color: var(--page-lottery-games-accent-dark);
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-lottery-games .highlight {
    color: var(--page-lottery-games-primary-color);
    font-weight: bold;
}

/* Hero Section */
.page-lottery-games__hero-section {
    background: linear-gradient(135deg, var(--page-lottery-games-secondary-color) 0%, #0f58b0 100%); /* Darker blue gradient */
    color: var(--page-lottery-games-text-light);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.page-lottery-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.page-lottery-games__hero-title {
    font-size: 4em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.page-lottery-games__hero-title .highlight {
    color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.page-lottery-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.page-lottery-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
}

/* Buttons */
.page-lottery-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-lottery-games__btn--primary {
    background-color: var(--page-lottery-games-primary-color);
    color: var(--page-lottery-games-text-dark);
}

.page-lottery-games__btn--primary:hover {
    background-color: #e6c200; /* Darker gold */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__btn--secondary {
    background-color: transparent;
    color: var(--page-lottery-games-primary-color);
    border: 2px solid var(--page-lottery-games-primary-color);
}

.page-lottery-games__btn--secondary:hover {
    background-color: var(--page-lottery-games-primary-color);
    color: var(--page-lottery-games-text-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__btn--link {
    background-color: transparent;
    color: var(--page-lottery-games-secondary-color);
    padding: 8px 15px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid var(--page-lottery-games-secondary-color);
}

.page-lottery-games__btn--link:hover {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__btn--large {
    padding: 20px 40px;
    font-size: 1.3em;
}

/* About 777bet Features */
.page-lottery-games__about-777bet {
    background-color: var(--page-lottery-games-background-light);
}

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

.page-lottery-games__feature-item {
    background-color: var(--page-lottery-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__feature-title {
    font-size: 1.5em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 15px;
}

.page-lottery-games__feature-description {
    color: var(--page-lottery-games-accent-dark);
}

/* Lottery Types */
.page-lottery-games__lottery-types {
    background-color: var(--page-lottery-games-background-dark);
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__lottery-types .page-lottery-games__section-title,
.page-lottery-games__lottery-types .page-lottery-games__section-intro {
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__lottery-types .page-lottery-games__section-title .highlight {
    color: var(--page-lottery-games-primary-color);
}

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

.page-lottery-games__type-card {
    background-color: #2c2c2c; /* Slightly lighter dark for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery-games__type-image {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-lottery-games__type-title {
    font-size: 1.8em;
    color: var(--page-lottery-games-primary-color);
    margin-bottom: 15px;
}

.page-lottery-games__type-description {
    color: #cccccc;
    margin-bottom: 25px;
}

/* How to Play */
.page-lottery-games__how-to-play {
    background-color: var(--page-lottery-games-background-light);
}

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

.page-lottery-games__step-item {
    background-color: var(--page-lottery-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    padding-top: 80px;
}

.page-lottery-games__step-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--page-lottery-games-primary-color);
    color: var(--page-lottery-games-text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-lottery-games__step-title {
    font-size: 1.4em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 10px;
}

.page-lottery-games__step-description {
    color: var(--page-lottery-games-accent-dark);
}

.page-lottery-games__how-to-play-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__how-to-play-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Safety and Responsibility */
.page-lottery-games__safety-responsibility {
    background-color: var(--page-lottery-games-secondary-color);
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__safety-responsibility .page-lottery-games__section-title,
.page-lottery-games__safety-responsibility .page-lottery-games__section-intro {
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__safety-responsibility .page-lottery-games__section-title .highlight {
    color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__safety-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    text-align: left;
}

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

.page-lottery-games__safety-text h3 {
    font-size: 2em;
    color: var(--page-lottery-games-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-lottery-games__safety-image-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__safety-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Promotions */
.page-lottery-games__promotions {
    background-color: var(--page-lottery-games-background-light);
}

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

.page-lottery-games__promo-card {
    background-color: var(--page-lottery-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__promo-title {
    font-size: 1.6em;
    color: var(--page-lottery-games-secondary-color);
    margin-bottom: 15px;
}

.page-lottery-games__promo-description {
    color: var(--page-lottery-games-accent-dark);
    margin-bottom: 20px;
}

.page-lottery-games__promo-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-lottery-games__promo-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-lottery-games__faq {
    background-color: var(--page-lottery-games-background-dark);
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__faq .page-lottery-games__section-title,
.page-lottery-games__faq .page-lottery-games__section-intro {
    color: var(--page-lottery-games-text-light);
}

.page-lottery-games__faq .page-lottery-games__section-title .highlight {
    color: var(--page-lottery-games-primary-color);
}

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

.page-lottery-games__faq-item {
    background-color: #2c2c2c; /* Slightly lighter dark */
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-lottery-games__faq-item:hover {
    background-color: #3a3a3a;
}

.page-lottery-games__faq-question {
    font-size: 1.3em;
    color: var(--page-lottery-games-primary-color);
    margin-bottom: 10px;
    position: relative;
    padding-right: 30px;
}

.page-lottery-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--page-lottery-games-primary-color);
    transition: transform 0.3s ease;
}

.page-lottery-games__faq-item.active .page-lottery-games__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-lottery-games__faq-answer {
    font-size: 1.1em;
    color: #cccccc;
    display: none; /* Hidden by default, shown by JS */
    padding-top: 10px;
    border-top: 1px solid #444;
    margin-top: 15px;
}

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


/* Related Pages */
.page-lottery-games__related-pages {
    background-color: var(--page-lottery-games-background-light);
}

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

.page-lottery-games__related-card {
    background-color: var(--page-lottery-games-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__related-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-lottery-games__related-title a {
    color: var(--page-lottery-games-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-lottery-games__related-title a:hover {
    color: var(--page-lottery-games-primary-color);
}

.page-lottery-games__related-description {
    color: var(--page-lottery-games-accent-dark);
    margin-bottom: 20px;
}

/* Call to Action Section */
.page-lottery-games__cta-section {
    background: linear-gradient(45deg, var(--page-lottery-games-primary-color) 0%, #e6c200 100%); /* Gold gradient */
    color: var(--page-lottery-games-text-dark);
    padding: 80px 0;
}

.page-lottery-games__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-lottery-games-text-dark);
}

.page-lottery-games__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--page-lottery-games-accent-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-lottery-games__hero-title {
        font-size: 3.5em;
    }
}