/* style/games-center-lottery.css */

/* General Page Styles */
.page-games-center-lottery {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-games-center-lottery__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-games-center-lottery__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-games-center-lottery__section:nth-of-type(even) {
    background-color: #f0f4f8; /* Lighter background for alternating sections */
}

.page-games-center-lottery h1,
.page-games-center-lottery h2,
.page-games-center-lottery h3 {
    color: #003366; /* Deep Sea Blue */
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-games-center-lottery h1 {
    font-size: 2.8em;
    padding-top: 20px;
}

.page-games-center-lottery h2 {
    font-size: 2.2em;
    border-bottom: 2px solid #FFCC00; /* Golden Yellow accent */
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.page-games-center-lottery h3 {
    font-size: 1.8em;
    color: #004488; /* Slightly lighter blue for subheadings */
    text-align: left;
    margin-top: 30px;
}

.page-games-center-lottery p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-games-center-lottery ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-games-center-lottery ol {
    list-style: none;
    padding: 0;
}

.page-games-center-lottery li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-games-center-lottery strong {
    color: #003366;
}

/* Hero Section */
.page-games-center-lottery__hero-section {
    background: linear-gradient(135deg, #003366 0%, #0055aa 100%); /* Gradient background */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-games-center-lottery__hero-content {
    max-width: 800px;
}

.page-games-center-lottery__hero-content h1 {
    color: #FFCC00; /* Golden Yellow for hero title */
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-games-center-lottery__hero-content p {
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-games-center-lottery__hero-image-container {
    max-width: 600px;
    margin-top: 30px;
}

.page-games-center-lottery__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.page-games-center-lottery__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-games-center-lottery__cta-button--primary {
    background-color: #FFCC00; /* Golden Yellow */
    color: #003366; /* Deep Sea Blue */
}

.page-games-center-lottery__cta-button--primary:hover {
    background-color: #e6b800; /* Darker Golden Yellow */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-games-center-lottery__cta-button--secondary {
    background-color: #003366; /* Deep Sea Blue */
    color: #FFCC00; /* Golden Yellow */
    border: 2px solid #FFCC00;
}

.page-games-center-lottery__cta-button--secondary:hover {
    background-color: #002244; /* Darker Deep Sea Blue */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-games-center-lottery__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 25px;
    margin-top: 15px;
}

/* Text Links */
.page-games-center-lottery__text-link {
    color: #0055aa; /* Brighter blue for text links */
    text-decoration: underline;
    font-weight: bold;
}

.page-games-center-lottery__text-link:hover {
    color: #FFCC00;
    text-decoration: none;
}

.page-games-center-lottery__action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 30px;
    font-weight: bold;
    color: #003366;
}

/* Overview Section */
.page-games-center-lottery__overview h2 {
    margin-bottom: 40px;
}

.page-games-center-lottery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-games-center-lottery__grid-item {
    background-color: #fdfdfd;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games-center-lottery__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-games-center-lottery__grid-item h3 {
    color: #003366;
    font-size: 1.6em;
    margin-bottom: 15px;
    text-align: center;
}

.page-games-center-lottery__grid-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
}

/* Rules Section */
.page-games-center-lottery__rules h2 {
    margin-bottom: 40px;
}

.page-games-center-lottery__rule-category {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-games-center-lottery__rule-category h3 {
    color: #003366;
    text-align: left;
    font-size: 1.9em;
    margin-bottom: 20px;
    border-left: 5px solid #FFCC00;
    padding-left: 15px;
}

.page-games-center-lottery__rule-category ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.page-games-center-lottery__rule-category li {
    background-color: #eef5fb;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 5px;
    border-left: 3px solid #0055aa;
    font-size: 1.05em;
}

.page-games-center-lottery__rule-category li strong {
    color: #003366;
}

.page-games-center-lottery__rule-image {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-games-center-lottery__callout {
    background-color: #FFCC00;
    color: #003366;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    font-size: 1.3em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-games-center-lottery__callout .page-games-center-lottery__text-link {
    color: #003366;
}

.page-games-center-lottery__callout .page-games-center-lottery__text-link:hover {
    color: #fff;
}

/* How-to-Play Section */
.page-games-center-lottery__how-to-play h2 {
    margin-bottom: 40px;
}

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

.page-games-center-lottery__steps li {
    background-color: #fdfdfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    padding-top: 80px; /* Space for icon */
    border-top: 5px solid #003366;
}

.page-games-center-lottery__steps li h3 {
    color: #003366;
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.page-games-center-lottery__step-icon {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFCC00;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid #003366;
}

.page-games-center-lottery__step-icon .page-games-center-lottery__icon {
    width: 45px;
    height: 45px;
    filter: invert(10%) sepia(100%) saturate(7000%) hue-rotate(200deg) brightness(50%); /* Darken icon color */
}

/* Tips Section */
.page-games-center-lottery__tips h2 {
    margin-bottom: 40px;
}

.page-games-center-lottery__tips ul {
    list-style: decimal inside;
    margin-left: 0;
    padding-left: 20px;
}

.page-games-center-lottery__tips li {
    margin-bottom: 12px;
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

.page-games-center-lottery__tips li strong {
    color: #003366;
}

/* FAQ Section */
.page-games-center-lottery__faq h2 {
    margin-bottom: 40px;
}

.page-games-center-lottery__faq-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-games-center-lottery__faq-item h3 {
    color: #003366;
    font-size: 1.4em;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-games-center-lottery__faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFCC00;
    font-weight: bold;
}

.page-games-center-lottery__faq-item h3.active::after {
    content: '-';
}

.page-games-center-lottery__faq-item p {
    font-size: 1.05em;
    color: #555;
    margin-top: 10px;
    display: none;
}

.page-games-center-lottery__faq-item h3.active + p {
    display: block;
}

/* Conclusion Section */
.page-games-center-lottery__conclusion {
    text-align: center;
    background-color: #003366;
    color: #fff;
    border-radius: 15px;
    padding: 50px 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-games-center-lottery__conclusion h2 {
    color: #FFCC00;
    margin-bottom: 30px;
}

.page-games-center-lottery__conclusion p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.page-games-center-lottery__conclusion .page-games-center-lottery__text-link {
    color: #FFCC00;
}

.page-games-center-lottery__conclusion .page-games-center-lottery__text-link:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-games-center-lottery__hero-section {
        flex-direction: column;
        padding: 60px 15px;
    }

    .page-games-center-lottery__hero-content h1 {
        font-size: 2.5em;
    }

    .page-games-center-lottery__hero-content p {
        font-size: 1em;
    }

    .page-games-center-lottery h1 {
        font-size: 2.2em;
    }

    .page-games-center-lottery h2 {
        font-size: 1.8em;
    }

    .page-games-center-lottery h3 {
        font-size: 1.5em;
    }

    .page-games-center-lottery p,
    .page-games-center-lottery li {
        font-size: 0.95em;
    }

    .page-games-center-lottery__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-games-center-lottery__grid {
        grid-template-columns: 1fr;
    }

    .page-games-center-lottery__steps {
        grid-template-columns: 1fr;
    }

    .page-games-center-lottery__steps li {
        padding-top: 60px;
    }

    .page-games-center-lottery__step-icon {
        width: 70px;
        height: 70px;
    }

    .page-games-center-lottery__step-icon .page-games-center-lottery__icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .page-games-center-lottery__hero-content h1 {
        font-size: 2em;
    }

    .page-games-center-lottery h1 {
        font-size: 1.8em;
    }

    .page-games-center-lottery h2 {
        font-size: 1.5em;
    }

    .page-games-center-lottery__cta-button {
        width: 100%;
        box-sizing: border-box;
    }
}