:root {
    --page-lottery-primary-color: #007bff;
    --page-lottery-secondary-color: #ffc107;
    --page-lottery-text-dark: #333333;
    --page-lottery-text-light: #ffffff;
    --page-lottery-background-light: #f8f9fa;
    --page-lottery-background-dark: #212529;
    --page-lottery-border-color: #e0e0e0;
    --page-lottery-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --page-lottery-border-radius: 8px;
}

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

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

.page-lottery section {
    padding: 60px 0;
    text-align: center;
}

.page-lottery section:nth-of-type(even) {
    background-color: #ffffff;
}

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

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

.page-lottery h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.page-lottery h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-lottery p {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-lottery .cta-button,
.page-lottery .primary-button,
.page-lottery .secondary-button,
.page-lottery .promo-button,
.page-lottery .card-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
}

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

.page-lottery .cta-button:hover,
.page-lottery .primary-button:hover {
    background-color: #e0ac00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
}

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

.page-lottery .secondary-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.page-lottery .promo-button,
.page-lottery .card-link {
    background-color: var(--page-lottery-primary-color);
    color: var(--page-lottery-text-light);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    margin-top: 15px;
}

.page-lottery .promo-button:hover,
.page-lottery .card-link:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.page-lottery a {
    color: var(--page-lottery-primary-color);
    text-decoration: none;
}

.page-lottery a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.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(--page-lottery-primary-color), #0056b3);
    color: var(--page-lottery-text-light);
}

.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;
}

.page-lottery .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-lottery .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: var(--page-lottery-border-radius);
    object-fit: cover;
    box-shadow: var(--page-lottery-shadow);
}

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

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

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

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

.page-lottery .point-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    transition: transform 0.3s ease;
}

.page-lottery .point-item:hover {
    transform: translateY(-5px);
}

.page-lottery .point-item h3 {
    color: var(--page-lottery-secondary-color);
    margin-bottom: 10px;
}

.page-lottery .section-game-types {
    background-color: #ffffff;
}

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

.page-lottery .game-card {
    background-color: var(--page-lottery-background-light);
    padding: 25px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.page-lottery .game-card:hover {
    transform: translateY(-5px);
}

.page-lottery .game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--page-lottery-border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-lottery .game-card h3 {
    color: var(--page-lottery-primary-color);
    margin-bottom: 10px;
}

.page-lottery .game-card p {
    font-size: 0.95em;
    flex-grow: 1;
}

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

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

.page-lottery .step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    transition: transform 0.3s ease;
}

.page-lottery .step-item:hover {
    transform: translateY(-5px);
}

.page-lottery .step-item h3 {
    color: var(--page-lottery-secondary-color);
    margin-bottom: 10px;
}

.page-lottery .section-guide img {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
}

.page-lottery .section-tips {
    background-color: #ffffff;
}

.page-lottery .tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-lottery .tip-list li {
    background-color: var(--page-lottery-background-light);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    border-left: 5px solid var(--page-lottery-primary-color);
}

.page-lottery .tip-list li strong {
    color: var(--page-lottery-primary-color);
}

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

.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;
    padding: 30px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-lottery .promo-card:hover {
    transform: translateY(-5px);
}

.page-lottery .promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--page-lottery-border-radius);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-lottery .promo-card h3 {
    color: var(--page-lottery-secondary-color);
    margin-bottom: 15px;
}

.page-lottery .promo-card p {
    font-size: 0.95em;
    flex-grow: 1;
}

.page-lottery .section-security-support {
    background-color: #ffffff;
}

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

.page-lottery .feature-item {
    background-color: var(--page-lottery-background-light);
    padding: 30px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    transition: transform 0.3s ease;
}

.page-lottery .feature-item:hover {
    transform: translateY(-5px);
}

.page-lottery .feature-item h3 {
    color: var(--page-lottery-primary-color);
    margin-bottom: 10px;
}

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

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

.page-lottery .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--page-lottery-border-color);
    border-radius: var(--page-lottery-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-lottery .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ffffff;
    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.15em;
    color: var(--page-lottery-text-dark);
}

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

.page-lottery .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #fefefe;
    border-top: 1px solid var(--page-lottery-border-color);
}

.page-lottery .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
    border-radius: 0 0 var(--page-lottery-border-radius) var(--page-lottery-border-radius);
}

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

.page-lottery .section-blog {
    background-color: #ffffff;
}

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

.page-lottery .blog-card {
    background-color: var(--page-lottery-background-light);
    padding: 25px;
    border-radius: var(--page-lottery-border-radius);
    box-shadow: var(--page-lottery-shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-lottery .blog-card:hover {
    transform: translateY(-5px);
}

.page-lottery .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--page-lottery-border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-lottery .blog-card h3 {
    margin-bottom: 10px;
}

.page-lottery .blog-card h3 a {
    color: var(--page-lottery-primary-color);
    font-size: 1.2em;
    text-decoration: none;
}

.page-lottery .blog-card h3 a:hover {
    text-decoration: underline;
}

.page-lottery .blog-card p {
    font-size: 0.95em;
    flex-grow: 1;
}

.page-lottery .blog-card span {
    font-size: 0.85em;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 992px) {
    .page-lottery h1 {
        font-size: 2.5em;
    }
    .page-lottery h2 {
        font-size: 2em;
    }
    .page-lottery h3 {
        font-size: 1.5em;
    }
    .page-lottery p {
        font-size: 1em;
    }
    .page-lottery .cta-button,
    .page-lottery .primary-button,
    .page-lottery .secondary-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-lottery .hero-section {
        padding: 60px 15px;
    }
    .page-lottery h1 {
        font-size: 2em;
    }
    .page-lottery h2 {
        font-size: 1.8em;
    }
    .page-lottery h3 {
        font-size: 1.3em;
    }
    .page-lottery .intro-points,
    .page-lottery .game-types-grid,
    .page-lottery .guide-steps,
    .page-lottery .promo-cards,
    .page-lottery .security-support-grid,
    .page-lottery .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-lottery .faq-question {
        padding: 12px 15px;
    }
    .page-lottery .faq-question h3 {
        font-size: 1em;
    }
    .page-lottery .faq-answer {
        padding: 0 15px;
    }
    .page-lottery .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-lottery .cta-button,
    .page-lottery .primary-button,
    .page-lottery .secondary-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-lottery .hero-content p {
        font-size: 1em;
    }
    .page-lottery .promo-button,
    .page-lottery .card-link {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}