/* General reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e2f7e2;
    background-image: url('Lottery Background.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(226, 247, 226, 0.75);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.header {
    background-color: #0a8a0a;
    padding: 25px;
    text-align: center;
    color: white;
    animation: slideDown 1s ease-out;
}

.header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 1.5s ease-in;
}

/* Date shown in header (editable in-browser or in source) */
.header .date {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.95);
}
.header .date span {
    font-weight: 600;
    text-decoration: none;
    cursor: default;
}

/* Content area */
.content-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: fadeUp 1.2s ease-out;
    transform-origin: top;
    position: relative;
}

/* Make spacing for headings, paragraphs and lists consistent */
.content-container h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}
.content-container p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}
.content-container ul {
    margin: 0 0 1rem 1.25rem;
}
.content-container .term {
    margin-bottom: 1.25rem;
}

/* Make the main content text use the brand green (header remains white) */
.content-container,
.content-container h3,
.content-container p,
.content-container li,
.content-container ul,
.content-container a {
    color: #0c270c; /* primary brand green */
}

/* Slightly darker green for headings to improve hierarchy */
.content-container h3 {
    color: #0c270c;
}

/* Links inside content should inherit green but remain distinguishable */
.content-container a {
    text-decoration: underline;
}

/* Intro heading (content lead) styling */
.content-container .intro {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a8a0a; /* brand green */
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(10,138,10,0.03), rgba(255,255,255,0));
    border-left: 4px solid rgba(10,138,10,0.9);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(10,138,10,0.04);
    text-align: justify;
    text-justify: inter-word;
}

@media (max-width: 600px) {
    .content-container .intro {
        font-size: 1rem;
        padding: 12px 14px;
    }
}

/* Pick3 Happy Hour Initiative - centered block */
.pick3-initiative {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* center the inner text */
    margin: 1.5rem auto;
    padding: 1rem 1.25rem;
}
.pick3-initiative h3 {
    margin-bottom: 0.4rem;
}
.pick3-initiative p {
    max-width: 720px; /* keeps long lines readable */
    margin: 0;
}

@media (max-width: 600px) {
    .pick3-initiative p {
        max-width: 100%;
    }
}

/* Central-justified headings with term-styled content beneath */
.central-term {
    margin: 1.5rem 0;
    padding: 0.5rem 0;
}
.central-term h3 {
    text-align: center;
    margin-bottom: 0.5rem;
}
.central-term .term {
    margin: 0 auto;
    max-width: 820px;
    text-align: left; /* paragraphs inside remain left-aligned */
}
.central-term .term p {
    margin-bottom: 0.9rem;
}

@media (max-width: 600px) {
    .central-term .term {
        padding: 0 0.6rem;
        max-width: 100%;
    }
}

/* CTA section */
.cta-section {
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 1.4s ease-in;
}

.cta-button {
    background-color: #0a8a0a;
    color: white;
    padding: 14px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #066b06;
    transform: scale(1.1);
}

/* Footer styling */
.site-footer {
    margin-top: 36px;
    padding: 18px 0;
    text-align: center;
    color: #066b06;
    font-size: 14px;
}
.site-footer .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeUp {
    from {opacity: 0; transform: translateY(30px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes slideDown {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* Mobile responsive */
@media (max-width: 600px) {
    .content-container {
        padding: 25px;
    }

    .cta-button {
        width: 90%;
    }
}
