:root {
    --primary-color: #FF4500; /* OrangeRed */
    --secondary-color: #007BFF; /* Bright Blue */
    --text-dark-color: #333333;
    --text-light-color: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #2c3e50;
    --border-color: #e0e0e0;
}

.page-lottery {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark-color);
    background-color: var(--background-light);
}

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

.page-lottery section {
    padding: 60px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-lottery section:last-of-type {
    border-bottom: none;
}

.page-lottery h1,
.page-lottery h2,
.page-lottery h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-lottery h1 {
    font-size: 3.2em;
    color: var(--text-light-color);
}

.page-lottery h2 {
    font-size: 2.5em;
    color: var(--primary-color);
}

.page-lottery h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 20px;
}

.page-lottery p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-lottery .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light-color);
    overflow: hidden;
}

.page-lottery .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-lottery .hero-image {
    width: 100%;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.page-lottery .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-lottery .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-lottery .hero-content p {
    color: var(--text-light-color);
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-lottery .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--text-light-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--text-light-color);
}

.page-lottery .cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery .cta-button.small {
    padding: 12px 25px;
    font-size: 1em;
    margin-top: 15px;
}

.page-lottery .section-why-choose p,
.page-lottery .section-xoso-types p,
.page-lottery .section-how-to-play p,
.page-lottery .section-promotions p,
.page-lottery .section-cta-bottom p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-lottery .feature-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.page-lottery .feature-item p {
    font-size: 1em;
    color: var(--text-dark-color);
    text-align: left;
}

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

.page-lottery .type-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-lottery .type-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-lottery .type-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.page-lottery .type-card p {
    font-size: 1em;
    color: var(--text-dark-color);
    text-align: left;
    flex-grow: 1;
}

.page-lottery .button-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-light-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-lottery .button-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.page-lottery .tip-section {
    background-color: var(--background-dark);
    color: var(--text-light-color);
    border-radius: 10px;
    padding: 30px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-lottery .tip-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2em;
}

.page-lottery .tip-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.page-lottery .tip-section ul li {
    margin-bottom: 15px;
    font-size: 1.1em;
    position: relative;
    padding-left: 30px;
}

.page-lottery .tip-section ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

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

.page-lottery .step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-lottery .step-item .step-number {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    color: var(--text-light-color);
    padding: 10px 15px;
    border-bottom-right-radius: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

.page-lottery .step-item h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.6em;
}

.page-lottery .step-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-lottery .step-item p {
    font-size: 1em;
    color: var(--text-dark-color);
    text-align: left;
    flex-grow: 1;
}

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

.page-lottery .promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-lottery .promo-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-lottery .promo-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.6em;
}

.page-lottery .promo-card p {
    font-size: 1em;
    color: var(--text-dark-color);
    text-align: left;
    flex-grow: 1;
}

.page-lottery .section-faq {
    background-color: var(--background-light);
}

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

.page-lottery .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-lottery .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-lottery .faq-question:hover {
    background: #f5f5f5;
}

.page-lottery .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--text-dark-color);
    text-align: left;
}

.page-lottery .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-lottery .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

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

.page-lottery .faq-item.active .faq-answer {
    max-height: 500px; /* Enough to contain content */
    padding: 15px 25px 25px 25px;
    background: #f9f9f9;
}

.page-lottery .faq-answer p {
    font-size: 1em;
    color: var(--text-dark-color);
    text-align: left;
    line-height: 1.7;
    margin-bottom: 0;
}

.page-lottery .section-cta-bottom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--text-light-color);
    text-align: center;
    padding: 80px 20px;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-lottery .section-cta-bottom h2 {
    color: var(--text-light-color);
    font-size: 2.8em;
    margin-bottom: 25px;
}

.page-lottery .section-cta-bottom p {
    color: var(--text-light-color);
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-lottery .cta-button.large {
    padding: 20px 50px;
    font-size: 1.4em;
    background: var(--primary-color);
    border: 2px solid var(--text-light-color);
}

.page-lottery .cta-button.large.secondary {
    background: var(--text-light-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-lottery .cta-button.large.secondary:hover {
    background: var(--secondary-color);
    color: var(--text-light-color);
    border: 2px solid var(--text-light-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-lottery h1 {
        font-size: 2.8em;
    }
    .page-lottery h2 {
        font-size: 2.2em;
    }
    .page-lottery .cta-button {
        font-size: 1.1em;
        padding: 15px 35px;
    }
    .page-lottery .features-grid, .page-lottery .type-cards, .page-lottery .steps-grid, .page-lottery .promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-lottery section {
        padding: 40px 0;
    }
    .page-lottery h1 {
        font-size: 2.2em;
    }
    .page-lottery h2 {
        font-size: 1.8em;
    }
    .page-lottery h3 {
        font-size: 1.4em;
    }
    .page-lottery p {
        font-size: 1em;
    }
    .page-lottery .hero-section {
        padding: 60px 15px;
    }
    .page-lottery .hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .page-lottery .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-lottery .feature-item, .page-lottery .type-card, .page-lottery .step-item, .page-lottery .promo-card {
        padding: 20px;
    }
    .page-lottery .faq-question {
        padding: 15px 20px;
    }
    .page-lottery .faq-question h3 {
        font-size: 1.1em;
    }
    .page-lottery .faq-answer {
        padding: 0 20px;
    }
    .page-lottery .faq-item.active .faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-lottery .tip-section {
        padding: 25px;
    }
    .page-lottery .tip-section h3 {
        font-size: 1.6em;
    }
    .page-lottery .tip-section ul li {
        font-size: 0.95em;
    }
    .page-lottery .section-cta-bottom {
        padding: 60px 15px;
    }
    .page-lottery .section-cta-bottom h2 {
        font-size: 2em;
    }
    .page-lottery .section-cta-bottom p {
        font-size: 1.1em;
    }
    .page-lottery .cta-button.large {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    .page-lottery .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-lottery h1 {
        font-size: 1.8em;
    }
    .page-lottery h2 {
        font-size: 1.5em;
    }
    .page-lottery .hero-content p {
        font-size: 1em;
    }
    .page-lottery .cta-button {
        font-size: 0.9em;
        padding: 10px 25px;
    }
    .page-lottery .features-grid, .page-lottery .type-cards, .page-lottery .steps-grid, .page-lottery .promo-cards {
        grid-template-columns: 1fr;
    }
    .page-lottery .section-cta-bottom h2 {
        font-size: 1.8em;
    }
    .page-lottery .section-cta-bottom p {
        font-size: 1em;
    }
    .page-lottery .cta-button.large {
        width: 100%;
        max-width: 300px;
    }
}