/* Christmas Landing Page Styles - Refined for Children's Website Integration */

/* --- Theme-Specific Variables (Mixing Base with Christmas) --- */
:root {
    /* Base Colors from style.css */
    --primary-green: #5fb74b;   /* fresh green from the frog body and logo text */
    --secondary-teal: #008bb6;  /* vibrant teal/blue */
    --accent-gold: #d4b25f;     /* soft gold for highlights */
    --pale-gold: #f7f3e8;       /* very pale gold for subtle backgrounds */
    --dark-text: #2e3d49;       /* dark neutral for text */
    --radius: 12px;             /* standard border radius */
    --transition: 0.3s ease;    /* standard transition */

    /* Christmas Accents */
    --christmas-warm-red: #d32f2f; /* Brighter, more festive red */
    --christmas-card-bg: #ffffff; /* Clean white card background */
    --christmas-card-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Snow Animation Background --- */
/* The snow container remains fixed and subtle */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; /* Behind the content */
    opacity: 0.8; /* Subtle effect */
}

/* --- Main Content Section Styling --- */
.christmas-landing-section {
    padding: var(--spacing-lg, 4rem) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ensure content is above the snow */
    position: relative;
    z-index: 1;
}

/* --- Card Layout - Bright and Playful --- */
.landing-card {
    background-color: var(--christmas-card-bg);
    color: var(--dark-text); /* Dark text on light background */
    
    border-radius: 20px; /* Slightly larger, rounder corners for a playful look */
    box-shadow: var(--christmas-card-shadow);
    max-width: 550px; /* Slightly wider card */
    width: 100%;
    padding: 40px;
    text-align: center;
    border: 4px solid var(--primary-green); /* Border in the primary site color */
    position: relative;
    overflow: hidden; /* To contain the badge */
}

/* --- Badge --- */
.badge {
    position: absolute;
    top: 0;
    left: 0;
    /* Use a playful ribbon-like shape */
    background-color: var(--christmas-warm-red);
    color: white;
    padding: 8px 20px;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 1px;
    /* Slanted effect */
    transform: rotate(-45deg) translate(-30%, -100%);
    transform-origin: 0% 0%;
    width: 150px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

/* --- Typography --- */
.landing-card h1 {
    /* Use the site's primary green for the main heading */
    color: var(--primary-green);
    font-size: 2.8em;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.landing-card p {
    color: var(--dark-text);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- Gift Box Section - Use Pale Gold for Warmth --- */
.gift-box {
    background-color: var(--pale-gold);
    padding: 20px;
    border-radius: var(--radius);
    margin: 30px 0;
    border: 1px solid var(--accent-gold);
}

.gift-box h2 {
    color: var(--secondary-teal); /* Use secondary teal for a friendly contrast */
    font-size: 1.5em;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-box .icon {
    margin-right: 10px;
    color: var(--christmas-warm-red); /* Red icon for the gift */
    font-size: 1.5em;
}

/* --- Bullet List --- */
.ebook-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.ebook-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
    color: var(--dark-text);
}

.ebook-features li::before {
    content: '★'; /* Festive bullet point */
    color: var(--primary-green); /* Use primary green for the bullet */
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Download Button - Primary Christmas Red --- */
.download-button {
    display: inline-block;
    background-color: var(--christmas-warm-red);
    color: white;
    padding: 15px 30px;
    border-radius: 40px; /* Use the site's button radius style */
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--accent-gold); /* Gold border for elegance */
}

.download-button:hover {
    background-color: #e53935; /* Slightly brighter red on hover */
    transform: translateY(-2px);
}

.download-button .icon {
    margin-right: 10px;
}

/* --- Footer Message --- */
.footer-message {
    margin-top: 30px;
    font-size: 0.9em;
    color: var(--muted-text, #6b7a86); /* Use muted text color */
    font-style: italic;
}

/* --- Snow Animation --- */
.snowflake {
    position: absolute;
    width: 3px; /* Smaller, more subtle flakes */
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 600px) {
    .landing-card {
        padding: 30px 20px;
    }

    .landing-card h1 {
        font-size: 2em;
    }

    .download-button {
        font-size: 1em;
        padding: 12px 25px;
    }
}

/* --- Snow Animation Keyframes (Moved from JS for reliability) --- */
@keyframes fall {
    0% { transform: translateY(-10vh); }
    100% { transform: translateY(100vh); }
}
@keyframes drift {
    0% { transform: translateX(0px); }
    50% { transform: translateX(20px); }
    100% { transform: translateX(0px); }
}

.snowflake {
    /* Base styles are above, adding animation properties here */
    animation: fall linear infinite var(--fall-duration) var(--fall-delay), 
               drift ease-in-out infinite 5s;
}


