/* style/lottery.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E7BB41;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #0d0d0d; /* Assuming --dark-bg from shared.css is similar */
}

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

/* Ensure main content has padding-top to clear fixed header */
.page-lottery__hero-section {
    padding-top: 10px; /* Adjust based on actual header height */
}

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

.page-lottery__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-lottery__section-title .highlight {
    color: var(--secondary-color);
}

.page-lottery__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-dark);
}

.page-lottery__section-description .highlight {
    font-weight: bold;
}

.page-lottery__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.page-lottery__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-lottery__btn-primary:hover {
    background: #071a4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-lottery__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-lottery__btn-secondary:hover {
    background: #d6a735;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-lottery__hero-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-lottery__hero-section .page-lottery__container {
    padding-top: 0;
    padding-bottom: 0;
    z-index: 1;
}

.page-lottery__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-lottery__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    color: #f0f0f0;
}

.page-lottery__hero-description .highlight {
    color: var(--secondary-color);
}

.page-lottery__hero-image-wrapper {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-lottery__hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(15deg);
}

.page-lottery__intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-lottery__intro-section .page-lottery__section-title {
    color: var(--primary-color);
}

.page-lottery__intro-section .page-lottery__section-description {
    color: var(--text-dark);
}

.page-lottery__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.page-lottery__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-dark);
}

.page-lottery__text-block .highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-lottery__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-lottery__types-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-lottery__types-section .page-lottery__section-title {
    color: var(--secondary-color);
}

.page-lottery__types-section .page-lottery__section-description {
    color: #e0e0e0;
}

.page-lottery__types-section .highlight {
    color: var(--text-light);
}

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

.page-lottery__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-light);
}

.page-lottery__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-lottery__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-lottery__card-text {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-lottery__card-text .highlight {
    font-weight: bold;
    color: var(--text-light);
}

.page-lottery__card-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-lottery__card-button:hover {
    background-color: #d6a735;
}

.page-lottery__guide-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-lottery__guide-section .page-lottery__section-title {
    color: var(--primary-color);
}

.page-lottery__guide-section .page-lottery__section-description {
    color: var(--text-dark);
}

.page-lottery__guide-section .highlight {
    color: var(--primary-color);
}

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

.page-lottery__step-item {
    text-align: center;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-lottery__step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-lottery__step-img {
    max-width: 60px;
    height: auto;
}

.page-lottery__step-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

.page-lottery__step-title a:hover {
    text-decoration: underline;
}

.page-lottery__step-item p {
    font-size: 16px;
    color: #555;
}

.page-lottery__step-item .highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-lottery__advantages-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-lottery__advantages-section .page-lottery__section-title {
    color: var(--secondary-color);
}

.page-lottery__advantages-section .page-lottery__section-description {
    color: #e0e0e0;
}

.page-lottery__advantages-section .highlight {
    color: var(--text-light);
}

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

.page-lottery__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-lottery__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-lottery__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-lottery__feature-item p {
    font-size: 16px;
    color: #e0e0e0;
}

.page-lottery__feature-item .highlight {
    font-weight: bold;
    color: var(--text-light);
}

.page-lottery__download-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-lottery__download-section .page-lottery__section-title {
    color: var(--primary-color);
}

.page-lottery__download-section .page-lottery__section-description {
    color: var(--text-dark);
}

.page-lottery__download-section .highlight {
    color: var(--primary-color);
}

.page-lottery__download-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-lottery__download-text p {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-lottery__download-text .highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.page-lottery__download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-lottery__download-image-wrapper {
    text-align: center;
}

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

.page-lottery__faq-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-lottery__faq-section .page-lottery__section-title {
    color: var(--secondary-color);
}

.page-lottery__faq-section .highlight {
    color: var(--text-light);
}

.page-lottery__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-lottery__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-lottery__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-lottery__faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
    pointer-events: none;
}

.page-lottery__faq-question h3 a {
    color: var(--text-light);
    text-decoration: none;
}

.page-lottery__faq-question h3 a:hover {
    text-decoration: underline;
}

.page-lottery__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    pointer-events: none;
    width: 30px;
    text-align: center;
}

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

.page-lottery__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-lottery__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #f0f0f0;
}

.page-lottery__faq-answer .highlight {
    font-weight: bold;
    color: var(--secondary-color);
}

.page-lottery__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-lottery__cta-final-section .page-lottery__section-title {
    color: var(--primary-color);
}

.page-lottery__cta-final-section .page-lottery__section-description {
    color: var(--text-dark);
}

.page-lottery__cta-final-section .highlight {
    color: var(--primary-color);
}

.page-lottery__cta-final-section .large-button {
    padding: 20px 50px;
    font-size: 22px;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery__hero-title {
        font-size: 40px;
    }
    .page-lottery__section-title {
        font-size: 30px;
    }
    .page-lottery__content-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery__download-content {
        grid-template-columns: 1fr;
    }
    .page-lottery__download-text {
        order: 2;
    }
    .page-lottery__download-image-wrapper {
        order: 1;
    }
    .page-lottery__hero-image-wrapper {
        width: 400px;
        height: 400px;
        bottom: -15%;
        right: -5%;
    }
}

@media (max-width: 768px) {
    .page-lottery__hero-section {
        padding-top: 10px !important; /* Mobile specific padding-top */
        padding: 60px 15px;
        text-align: center;
    }
    .page-lottery__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-lottery__hero-title {
        font-size: 32px;
    }
    .page-lottery__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-lottery__section-title {
        font-size: 26px;
    }
    .page-lottery__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-lottery__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-lottery__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery__download-buttons .page-lottery__cta-button {
        width: 100%;
    }
    .page-lottery__cards-grid, .page-lottery__steps-grid, .page-lottery__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-lottery__card {
        padding: 20px;
    }
    .page-lottery__card-image {
        height: 150px;
    }
    .page-lottery__card-title {
        font-size: 20px;
    }
    .page-lottery__card-text, .page-lottery__step-item p, .page-lottery__feature-item p {
        font-size: 15px;
    }
    .page-lottery__step-icon {
        width: 80px;
        height: 80px;
    }
    .page-lottery__step-img {
        max-width: 50px;
    }
    .page-lottery__step-title {
        font-size: 18px;
    }
    .page-lottery__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-lottery__feature-title {
        font-size: 18px;
    }
    .page-lottery__download-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-lottery__download-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }
    .page-lottery__faq-question {
        padding: 15px 20px;
    }
    .page-lottery__faq-question h3 {
        font-size: 16px;
    }
    .page-lottery__faq-toggle {
        font-size: 24px;
    }
    .page-lottery__faq-item.active .page-lottery__faq-answer {
        padding: 15px 20px !important;
    }
    .page-lottery__faq-answer p {
        font-size: 15px;
    }
    .page-lottery__cta-final-section .large-button {
        font-size: 18px;
        padding: 15px 30px;
    }
    .page-lottery img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-lottery__hero-image-wrapper {
        position: static;
        width: 100%;
        height: auto;
        opacity: 0.1;
        margin-top: 20px;
        transform: none;
    }
    .page-lottery__hero-image {
        transform: none;
    }
    .page-lottery__download-text, .page-lottery__download-buttons {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }
    .page-lottery__faq-list {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-lottery__faq-item {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}