:root {
    --bg-blue: #143359;
    --text-blue: #0f2b4d;
    --white: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    font-family: 'Lato', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main Poster Container */
.poster-container {
    /* DESKTOP DEFAULT */
    height: 90vh;
    aspect-ratio: 9 / 15;
    width: auto;
    
    /* MOBILE SAFETY: Ensure it doesn't overflow width on phones */
    max-width: 100%;
    
    background-color: var(--bg-blue);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* --- Sky Section (Snow) --- */
.sky-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: 10;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    animation: fall linear infinite;
    z-index: 11; 
}

@keyframes fall {
    0% { transform: translateY(-10px) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(85vh) translateX(15px); opacity: 0; }
}

/* --- Content Layout (White Footer) --- */
.info-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28%;
    background-color: var(--white);
    z-index: 20; 
}

.content-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 26%; 
    padding: 20px 30px;
    box-sizing: border-box;
    z-index: 30; 
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px
}

/* --- Tree Layer (SVG) --- */
.tree-container {
    position: absolute;
    top: -20%;
    left: 40%;
    transform: translateX(-45%);
    width: 120%;
    height: 110%; 
    z-index: 40; 
    pointer-events: none; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.custom-tree-svg {
    /* Using specific pixel width as requested previously */
    width: 1900px; 
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(10px 20px 15px rgba(0,0,0,0.3));
}

/* --- Typography & Layout --- */
.left-content h1 {
    width: 80%;
    color: var(--text-blue);
    padding-right: 15px;
}

.right-content {
    width: 45%;
    color: var(--text-blue);
    padding-left: 50px;
    border-left: 0px solid #ddd;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 0.9;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--text-blue);
}

.sub-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.details-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.location-text {
    font-weight: 700;
    font-size: 1.0rem;
}

.date-highlight {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
    transform: translate(0%);
    color: var(--text-blue);
}

/* --- Animations --- */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.3s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE MOBILE FIX --- */
/* Strictly enforces the layout to stay the same, just smaller */
@media (max-width: 600px) {
    /* 1. Ensure Container fills width of phone */
    .poster-container {
        width: 100%;
        height: auto; /* Height is calculated by aspect ratio */
    }

    /* 2. Scale Text Down */
    h1 {
        font-size: 1.8rem; /* Smaller title */
        margin-bottom: 10px;
    }
    
    .sub-text {
        font-size: 0.9rem; /* Smaller subtitle */
        line-height: 1.4;
    }
    
    .details-text {
        font-size: 0.75rem; /* Smaller details */
        margin-bottom: 8px;
    }
    
    .location-text {
        font-size: 0.55rem;
    }
    
    .date-highlight {
        font-size: 0.8rem;
    }

    /* 3. Adjust Padding and Spacing for tight spaces */
    .content-layer {
        padding: 15px; /* Less padding on edges */
    }
    
    .left-content {
    width: 120%;
    padding-right: 0;
    margin-bottom: 10px; /* spacing between title and info */
}

.right-content {
    width: 120%;
    padding-left: 50;
    border-left: none;
}

    /* 4. Handle the Tree on Mobile */
    /* Since 1900px is too big for a phone calculation, we use % on mobile */
    .tree-container {
        top: -15%;
        left: 39%; /* Re-center strictly */
    }
    
    .custom-tree-svg {
        width: 350%; /* High percentage to maintain the 'zoomed in' look on mobile */
        height: auto;
    }
}