/* style/lottery-historical-data.css */

:root {
    --mcw-red: #CC0000;
    --mcw-gold: #FFD700;
    --mcw-dark-bg: #1a1a1a;
    --mcw-light-text: #f0f0f0;
    --mcw-gray-text: #cccccc;
    --mcw-border-color: #444;
    --mcw-button-hover: #e06666;
    --mcw-gold-hover: #b39700;
}

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

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

.page-lottery-historical-data__hero {
    background: linear-gradient(135deg, var(--mcw-red), #800000);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-lottery-historical-data__hero > .page-lottery-historical-data__container {
    position: relative;
    z-index: 1;
}

.page-lottery-historical-data__hero-title {
    font-size: 3.5em;
    color: var(--mcw-light-text);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-lottery-historical-data__hero-title .highlight-brand {
    color: var(--mcw-gold);
}

.page-lottery-historical-data__hero-description {
    font-size: 1.3em;
    color: var(--mcw-gray-text);
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.page-lottery-historical-data__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-lottery-historical-data__btn--primary {
    background-color: var(--mcw-gold);
    color: var(--mcw-dark-bg);
}

.page-lottery-historical-data__btn--primary:hover {
    background-color: var(--mcw-gold-hover);
    transform: translateY(-2px);
}

.page-lottery-historical-data__btn--secondary {
    background-color: transparent;
    color: var(--mcw-gold);
    border: 2px solid var(--mcw-gold);
}

.page-lottery-historical-data__btn--secondary:hover {
    background-color: var(--mcw-gold);
    color: var(--mcw-dark-bg);
    transform: translateY(-2px);
}

.page-lottery-historical-data__section {
    padding: 80px 0;
    border-bottom: 1px solid var(--mcw-border-color);
}

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

.page-lottery-historical-data__section-title {
    font-size: 2.5em;
    color: var(--mcw-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-lottery-historical-data__section-subtitle {
    font-size: 1.2em;
    color: var(--mcw-gray-text);
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-historical-data__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-lottery-historical-data__content-grid.reverse-grid {
    grid-template-columns: 1fr 1fr;
}

.page-lottery-historical-data__text-content p {
    margin-bottom: 15px;
    color: var(--mcw-light-text);
}

.page-lottery-historical-data__text-content .brand-name {
    color: var(--mcw-gold);
    font-weight: bold;
}

.page-lottery-historical-data__image-wrapper {
    text-align: center;
}

.page-lottery-historical-data__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-historical-data__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-lottery-historical-data__feature-list li {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--mcw-red);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--mcw-light-text);
}

.page-lottery-historical-data__feature-list li strong {
    color: var(--mcw-gold);
}

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

.page-lottery-historical-data__step {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--mcw-red);
}

.page-lottery-historical-data__step h3 {
    color: var(--mcw-gold);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-lottery-historical-data__step p {
    color: var(--mcw-gray-text);
}

.page-lottery-historical-data__text-center {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--mcw-gray-text);
}

.page-lottery-historical-data__image-wrapper--center {
    margin-top: 50px;
}

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

.page-lottery-historical-data__lottery-card {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--mcw-border-color);
}

.page-lottery-historical-data__lottery-card:hover {
    transform: translateY(-5px);
    border-color: var(--mcw-red);
}

.page-lottery-historical-data__lottery-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-lottery-historical-data__lottery-card h3 {
    color: var(--mcw-gold);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-lottery-historical-data__lottery-card p {
    color: var(--mcw-gray-text);
    font-size: 0.95em;
}

.page-lottery-historical-data__responsible-gaming-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
}

.page-lottery-historical-data__responsible-gaming-list li {
    background-color: #2a2a2a;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--mcw-gold);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--mcw-light-text);
}

.page-lottery-historical-data__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-lottery-historical-data__faq-items {
    margin-top: 40px;
}

.page-lottery-historical-data__faq-item {
    background-color: #2a2a2a;
    border: 1px solid var(--mcw-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-lottery-historical-data__faq-question {
    color: var(--mcw-gold);
    font-size: 1.2em;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    margin: 0;
}

.page-lottery-historical-data__faq-question:hover {
    background-color: #333;
}

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

.page-lottery-historical-data__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-lottery-historical-data__faq-answer {
    color: var(--mcw-gray-text);
    padding: 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-lottery-historical-data__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding: 0 20px 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-lottery-historical-data__hero-title {
        font-size: 2.8em;
    }
    .page-lottery-historical-data__hero-description {
        font-size: 1.1em;
    }
    .page-lottery-historical-data__section-title {
        font-size: 2em;
    }
    .page-lottery-historical-data__content-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-historical-data__content-grid.reverse-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-historical-data__image-wrapper {
        order: -1; /* Image comes first on mobile for reverse grid */
    }
}

@media (max-width: 768px) {
    .page-lottery-historical-data__hero {
        padding: 80px 0;
    }
    .page-lottery-historical-data__hero-title {
        font-size: 2.2em;
    }
    .page-lottery-historical-data__hero-description {
        font-size: 1em;
    }
    .page-lottery-historical-data__hero-actions,
    .page-lottery-historical-data__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-lottery-historical-data__btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-lottery-historical-data__section {
        padding: 60px 0;
    }
    .page-lottery-historical-data__section-title {
        font-size: 1.8em;
    }
    .page-lottery-historical-data__analysis-steps,
    .page-lottery-historical-data__lottery-types-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery-historical-data__faq-question {
        font-size: 1.1em;
    }
    .page-lottery-historical-data__faq-question::after {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-lottery-historical-data__hero-title {
        font-size: 1.8em;
    }
    .page-lottery-historical-data__hero-description {
        font-size: 0.9em;
    }
    .page-lottery-historical-data__section-title {
        font-size: 1.5em;
    }
    .page-lottery-historical-data__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-lottery-historical-data__container {
        padding: 0 15px;
    }
}