/* style/lottery-rules.css */

/* General styles for the lottery rules page */
.page-lottery-rules {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for general content on dark background */
    background-color: #1A202C; /* Main dark background */
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

.page-lottery-rules__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-lottery-rules__sub-heading {
    font-size: 1.3em;
    color: #FFD700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-lottery-rules__hero-section {
    background: linear-gradient(135deg, #1A202C 0%, #4a5568 100%); /* Gradient background for hero */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-lottery-rules__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-rules__hero-subtitle {
    font-size: 1.2em;
    color: #e5dfd3;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-lottery-rules__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-lottery-rules__hero-section .page-lottery-rules__container {
    position: relative;
    z-index: 1;
}

/* Buttons */
.page-lottery-rules__btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    cursor: pointer;
    font-size: 1.1em;
}

.page-lottery-rules__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-lottery-rules__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

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

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

.page-lottery-rules__btn--small {
    padding: 8px 20px;
    font-size: 0.9em;
}

.page-lottery-rules__btn--large {
    padding: 15px 40px;
    font-size: 1.2em;
}


/* Content sections */
.page-lottery-rules__intro-section,
.page-lottery-rules__general-rules,
.page-lottery-rules__specific-rules,
.page-lottery-rules__betting-limits,
.page-lottery-rules__responsible-gambling,
.page-lottery-rules__faq-section,
.page-lottery-rules__cta-section {
    padding: 60px 0;
}

.page-lottery-rules__general-rules {
    background-color: #2a3342; /* Slightly lighter dark background */
}

.page-lottery-rules__rule-item {
    background-color: #1A202C;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

.page-lottery-rules__rule-heading {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-lottery-rules__rule-item ul {
    list-style: disc;
    margin-left: 25px;
    color: #e5dfd3;
}

.page-lottery-rules__rule-item li {
    margin-bottom: 10px;
}

.page-lottery-rules__specific-rules {
    background-color: #1A202C;
}

.page-lottery-rules__game-type {
    background-color: #2a3342;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-right: 5px solid #FFD700;
}

.page-lottery-rules__game-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.page-lottery-rules__game-type ul {
    list-style: circle;
    margin-left: 25px;
    color: #e5dfd3;
}

.page-lottery-rules__game-type li {
    margin-bottom: 8px;
}

.page-lottery-rules__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-lottery-rules__betting-limits {
    background-color: #2a3342;
}

.page-lottery-rules__limit-item {
    background-color: #1A202C;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
}

.page-lottery-rules__limit-heading {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-lottery-rules__limit-item ul {
    list-style: disc;
    margin-left: 25px;
    color: #e5dfd3;
}

.page-lottery-rules__responsible-gambling {
    background-color: #1A202C;
    text-align: center;
}

.page-lottery-rules__responsible-gambling ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: inline-block; /* Center the list */
    text-align: left;
}

.page-lottery-rules__responsible-gambling li {
    background-color: #2a3342;
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 3px solid #FFD700;
}


/* FAQ Accordion */
.page-lottery-rules__faq-section {
    background-color: #2a3342;
}

.page-lottery-rules__accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-lottery-rules__accordion-item {
    background-color: #1A202C;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-rules__accordion-header {
    background-color: #3b4556; /* Slightly lighter dark for header */
    color: #FFD700;
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.page-lottery-rules__accordion-header:hover {
    background-color: #4a5568;
}

.page-lottery-rules__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

.page-lottery-rules__accordion-content {
    padding: 0 25px;
    background-color: #1A202C;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #e5dfd3;
}

.page-lottery-rules__accordion-content p {
    padding-bottom: 20px;
    margin-top: 15px;
}

.page-lottery-rules__accordion-content.active {
    max-height: 500px; /* Adjust as needed for content length */
    padding-top: 15px;
    padding-bottom: 20px;
}

/* CTA Section */
.page-lottery-rules__cta-section {
    background: linear-gradient(135deg, #1A202C 0%, #4a5568 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-lottery-rules__cta-section .page-lottery-rules__section-title {
    color: #FFD700;
    margin-bottom: 20px;
}

.page-lottery-rules__cta-section p {
    font-size: 1.2em;
    color: #e5dfd3;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-lottery-rules__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-lottery-rules__cta-image {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    opacity: 0.8;
}


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

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

    .page-lottery-rules__rule-heading,
    .page-lottery-rules__game-title,
    .page-lottery-rules__limit-heading {
        font-size: 1.5em;
    }

    .page-lottery-rules__btn {
        padding: 10px 25px;
        font-size: 1em;
    }

    .page-lottery-rules__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-lottery-rules__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

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

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

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

    .page-lottery-rules__rule-item,
    .page-lottery-rules__game-type,
    .page-lottery-rules__limit-item {
        padding: 20px;
    }
}