/* style/lottery.css */
.page-lottery {
    font-family: 'Arial', sans-serif;
    color: #FFFFFF; /* Light text for dark backgrounds */
    background-color: #0A2342; /* Main dark blue background */
}

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

.page-lottery__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-lottery__section:nth-of-type(even) {
    background-color: rgba(14, 38, 70, 0.8); /* Slightly lighter dark blue for contrast */
}

.page-lottery__section-title {
    font-size: 2.5em;
    color: #E0B400; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-lottery__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B400;
    border-radius: 2px;
}

.page-lottery__section-subtitle {
    font-size: 1.8em;
    color: #E0B400;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-lottery__text {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-lottery__text a {
    color: #E0B400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-lottery__text a:hover {
    color: #FFD700;
}

/* Buttons */
.page-lottery__btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.page-lottery__btn--primary {
    background-color: #E0B400; /* Gold background */
    color: #0A2342; /* Dark blue text */
}

.page-lottery__btn--primary:hover {
    background-color: #FFD700;
    color: #000000;
}

.page-lottery__btn--secondary {
    background-color: transparent;
    color: #E0B400; /* Gold text */
    border-color: #E0B400;
}

.page-lottery__btn--secondary:hover {
    background-color: #E0B400;
    color: #0A2342;
}

.page-lottery__btn--text {
    background: none;
    border: none;
    color: #E0B400;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
}

.page-lottery__btn--text:hover {
    color: #FFD700;
}

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

.page-lottery__btn--large {
    padding: 15px 40px;
    font-size: 1.1em;
}

.page-lottery__btn--outline {
    background-color: transparent;
    color: #E0B400;
    border-color: #E0B400;
}

.page-lottery__btn--outline:hover {
    background-color: #E0B400;
    color: #0A2342;
}

/* Hero Section */
.page-lottery__hero {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a60 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 60vh;
    position: relative;
}

.page-lottery__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:lottery,abstract,pattern,dark]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-lottery__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 20px;
}

.page-lottery__hero-title {
    font-size: 3.5em;
    color: #E0B400;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__hero-subtitle {
    font-size: 1.4em;
    color: #E0E0E0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-lottery__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-lottery__hero-image-wrapper {
    position: relative;
    z-index: 1;
    margin-left: 40px;
    flex-shrink: 0;
    max-width: 500px;
}

.page-lottery__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-lottery__why-choose {
    background-color: #0A2342;
}

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

.page-lottery__feature-item {
    background-color: rgba(14, 38, 70, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px #E0B400);
}

.page-lottery__feature-title {
    font-size: 1.5em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-lottery__feature-description {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.6;
}

/* Game Types Section */
.page-lottery__game-types {
    background-color: rgba(14, 38, 70, 0.8);
}

.page-lottery__game-type-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-lottery__game-type-item {
    background-color: #0A2342;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-lottery__game-type-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery__game-type-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-lottery__game-type-title {
    font-size: 1.6em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-lottery__game-type-description {
    font-size: 0.95em;
    color: #E0E0E0;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-lottery__detail-pages-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-lottery__detail-pages-list li {
    background-color: #0A2342;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-lottery__detail-pages-list li:hover {
    transform: translateY(-5px);
}

.page-lottery__detail-pages-list li a {
    font-size: 1.3em;
    color: #E0B400;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.page-lottery__detail-pages-list li a:hover {
    color: #FFD700;
}

.page-lottery__detail-pages-list li p {
    font-size: 0.95em;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* How To Play Section */
.page-lottery__how-to-play {
    background-color: #0A2342;
}

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

.page-lottery__step-item {
    background-color: rgba(14, 38, 70, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #E0B400;
    margin-bottom: 15px;
    line-height: 1;
}

.page-lottery__step-title {
    font-size: 1.4em;
    color: #E0B400;
    margin-bottom: 15px;
}

.page-lottery__step-description {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.6;
}

.page-lottery__cta-block {
    text-align: center;
    margin-top: 50px;
}

/* Tips Section */
.page-lottery__tips {
    background-color: rgba(14, 38, 70, 0.8);
}

.page-lottery__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-lottery__tips-list li {
    background-color: #0A2342;
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    font-size: 1.1em;
    line-height: 1.7;
    color: #E0E0E0;
}

.page-lottery__tip-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px #E0B400);
}

.page-lottery__tips-list li strong {
    color: #E0B400;
}

.page-lottery__tips-list li a {
    color: #E0B400;
    text-decoration: underline;
}

.page-lottery__tips-list li a:hover {
    color: #FFD700;
}

/* Promotions Section */
.page-lottery__promotions {
    background-color: #0A2342;
}

.page-lottery__promotion-card {
    background-color: rgba(14, 38, 70, 0.8);
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.page-lottery__promotion-image {
    flex: 1 1 40%;
    max-width: 40%;
    height: auto;
    object-fit: cover;
}

.page-lottery__promotion-content {
    flex: 1 1 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-lottery__promotion-title {
    font-size: 2em;
    color: #E0B400;
    margin-bottom: 20px;
}

.page-lottery__promotion-description {
    font-size: 1.1em;
    color: #E0E0E0;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* FAQ Section */
.page-lottery__faq {
    background-color: rgba(14, 38, 70, 0.8);
}

.page-lottery__faq-list {
    margin-top: 40px;
}

.page-lottery__faq-item {
    background-color: #0A2342;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-lottery__faq-question {
    font-size: 1.3em;
    color: #E0B400;
    padding: 20px 25px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.page-lottery__faq-item.active .page-lottery__faq-question::after {
    transform: rotate(45deg);
}

.page-lottery__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 25px;
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px 20px;
}

.page-lottery__faq-answer p {
    font-size: 1em;
    color: #E0E0E0;
    line-height: 1.6;
}

/* Final CTA Section */
.page-lottery__cta-final {
    text-align: center;
    padding-bottom: 80px;
}

.page-lottery__cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.page-lottery__text--small {
    font-size: 0.9em;
    color: #AAAAAA;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery__hero {
        flex-direction: column;
        padding: 60px 0;
    }

    .page-lottery__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .page-lottery__hero-image-wrapper {
        margin-left: 0;
        max-width: 80%;
    }
}