/* style/xo-so-lottery-types.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #1A202C;
    --accent-color: #DC143C; /* Crimson for emphasis */
    --text-light: #F0F0F0;
    --text-dark: #1A202C;
    --background-light: #FFFFFF;
    --background-dark: #2D3748;
}

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

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

.page-xo-so-lottery-types__section {
    padding: 60px 0;
    text-align: center;
}

.page-xo-so-lottery-types__section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-xo-so-lottery-types h1,
.page-xo-so-lottery-types h2 {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: bold;
}

.page-xo-so-lottery-types h1 {
    font-size: 3.2em;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-xo-so-lottery-types h2 {
    font-size: 2.5em;
}

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

.page-xo-so-lottery-types p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-xo-so-lottery-types ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-xo-so-lottery-types ul li {
    padding: 8px 0;
    font-size: 1em;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-xo-so-lottery-types ul li::before {
    content: '✅';
    margin-right: 10px;
    color: var(--primary-color);
}

.page-xo-so-lottery-types__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    border: 2px solid var(--primary-color);
}

.page-xo-so-lottery-types__cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.page-xo-so-lottery-types__cta-button--large {
    padding: 18px 45px;
    font-size: 1.4em;
}

/* Hero Section */
.page-xo-so-lottery-types__hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #3a475a 100%);
    color: var(--text-light);
    padding: 80px 0 40px;
}

.page-xo-so-lottery-types__hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-xo-so-lottery-types__hero-content {
    flex: 1;
    text-align: left;
    padding-right: 40px;
}

.page-xo-so-lottery-types__hero-content h1 {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-xo-so-lottery-types__hero-content p {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-xo-so-lottery-types__hero-image {
    flex: 1;
    text-align: right;
}

.page-xo-so-lottery-types__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Grid for lottery types and benefits */
.page-xo-so-lottery-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-xo-so-lottery-types__card {
    background-color: var(--background-light);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-xo-so-lottery-types__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-xo-so-lottery-types__card img {
    max-width: 100%;
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-xo-so-lottery-types__card h3 {
    font-size: 1.7em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-xo-so-lottery-types__card-link {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.page-xo-so-lottery-types__card-link:hover {
    color: var(--primary-color);
}

.page-xo-so-lottery-types__card p {
    font-size: 1em;
    color: #555;
    flex-grow: 1;
}

.page-xo-so-lottery-types__card ul {
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
}

.page-xo-so-lottery-types__card ul li {
    font-size: 0.95em;
    color: #444;
    justify-content: flex-start;
    padding: 5px 0;
}

.page-xo-so-lottery-types__card .page-xo-so-lottery-types__button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    margin-top: auto; /* Push button to bottom */
    border: 1px solid var(--primary-color);
}

.page-xo-so-lottery-types__card .page-xo-so-lottery-types__button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Benefits Section */
.page-xo-so-lottery-types__benefits {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-xo-so-lottery-types__benefits h2,
.page-xo-so-lottery-types__benefits h3 {
    color: var(--primary-color);
}

.page-xo-so-lottery-types__benefits p {
    color: var(--text-light);
}

.page-xo-so-lottery-types__grid--benefits {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-xo-so-lottery-types__benefit-item {
    background-color: #3a475a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-xo-so-lottery-types__benefit-item:hover {
    transform: translateY(-8px);
}

.page-xo-so-lottery-types__benefit-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: none; /* Ensure no color filters are applied */
}

.page-xo-so-lottery-types__benefit-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-xo-so-lottery-types__benefit-item p {
    font-size: 1em;
    color: var(--text-light);
}

/* Guide Section */
.page-xo-so-lottery-types__guide .page-xo-so-lottery-types__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-xo-so-lottery-types__step-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-xo-so-lottery-types__step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-xo-so-lottery-types__step-item h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-xo-so-lottery-types__step-item p {
    font-size: 1em;
    color: #555;
    flex-grow: 1;
}

.page-xo-so-lottery-types__step-item .page-xo-so-lottery-types__button {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 1px solid var(--secondary-color);
}

.page-xo-so-lottery-types__step-item .page-xo-so-lottery-types__button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* FAQ Section */
.page-xo-so-lottery-types__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-xo-so-lottery-types__faq-list .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-xo-so-lottery-types__faq-list .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-xo-so-lottery-types__faq-list .faq-question:hover {
    background: #f5f5f5;
}

.page-xo-so-lottery-types__faq-list .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
    font-weight: 600;
}

.page-xo-so-lottery-types__faq-list .faq-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-xo-so-lottery-types__faq-list .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-xo-so-lottery-types__faq-list .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
}

.page-xo-so-lottery-types__faq-list .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border: 1px solid #e0e0e0;
    border-top: none;
}

.page-xo-so-lottery-types__faq-list .faq-answer p {
    margin: 0;
    font-size: 1.05em;
    color: #444;
}

/* Bottom CTA */
.page-xo-so-lottery-types__cta-bottom {
    background: linear-gradient(90deg, var(--primary-color), #FFC107);
    padding: 80px 0;
    color: var(--secondary-color);
}

.page-xo-so-lottery-types__cta-bottom-content {
    text-align: center;
}

.page-xo-so-lottery-types__cta-bottom h2 {
    color: var(--secondary-color);
    font-size: 3em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-xo-so-lottery-types__cta-bottom p {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

.page-xo-so-lottery-types__cta-bottom .page-xo-so-lottery-types__cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-xo-so-lottery-types__cta-bottom .page-xo-so-lottery-types__cta-button:hover {
    background-color: #3a475a;
    color: var(--primary-color);
    border-color: #3a475a;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-xo-so-lottery-types__hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-xo-so-lottery-types__hero-content {
        padding-right: 0;
        padding-top: 30px;
    }

    .page-xo-so-lottery-types__hero-content h1 {
        font-size: 2.8em;
    }

    .page-xo-so-lottery-types__hero-content p {
        font-size: 1.1em;
    }

    .page-xo-so-lottery-types__hero-image {
        text-align: center;
    }

    .page-xo-so-lottery-types h1 {
        font-size: 2.8em;
    }

    .page-xo-so-lottery-types h2 {
        font-size: 2em;
    }

    .page-xo-so-lottery-types h3 {
        font-size: 1.5em;
    }

    .page-xo-so-lottery-types__grid {
        grid-template-columns: 1fr;
    }

    .page-xo-so-lottery-types__grid--benefits {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-xo-so-lottery-types__section {
        padding: 40px 0;
    }

    .page-xo-so-lottery-types__hero {
        padding: 60px 0 30px;
    }

    .page-xo-so-lottery-types__hero-content h1 {
        font-size: 2.2em;
    }

    .page-xo-so-lottery-types__hero-content p {
        font-size: 1em;
    }

    .page-xo-so-lottery-types__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-xo-so-lottery-types__cta-button--large {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    .page-xo-so-lottery-types__card {
        padding: 20px;
    }

    .page-xo-so-lottery-types__card img {
        height: 200px;
    }

    .page-xo-so-lottery-types__card h3 {
        font-size: 1.4em;
    }

    .page-xo-so-lottery-types__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .page-xo-so-lottery-types__faq-list .faq-question {
        padding: 15px 20px;
    }

    .page-xo-so-lottery-types__faq-list .faq-question h3 {
        font-size: 1.1em;
    }

    .page-xo-so-lottery-types__faq-list .faq-toggle {
        font-size: 1.8em;
    }

    .page-xo-so-lottery-types__faq-list .faq-answer {
        padding: 0 20px;
    }

    .page-xo-so-lottery-types__faq-list .faq-item.active .faq-answer {
        padding: 15px 20px;
    }

    .page-xo-so-lottery-types__cta-bottom h2 {
        font-size: 2.2em;
    }

    .page-xo-so-lottery-types__cta-bottom p {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-xo-so-lottery-types h1 {
        font-size: 2em;
    }

    .page-xo-so-lottery-types h2 {
        font-size: 1.8em;
    }

    .page-xo-so-lottery-types__hero-content {
        text-align: center;
    }

    .page-xo-so-lottery-types__hero-content h1 {
        font-size: 2em;
    }

    .page-xo-so-lottery-types__hero-content p {
        font-size: 0.95em;
    }

    .page-xo-so-lottery-types__grid--benefits {
        grid-template-columns: 1fr;
    }

    .page-xo-so-lottery-types__cta-bottom h2 {
        font-size: 1.8em;
    }
}