* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3f 50%, #1a3a2a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Playfair Display', Georgia, serif;
    overflow-x: hidden;
}

/* Snow Canvas */
#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Christmas Lights */
.lights-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    overflow: hidden;
}

.lights {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 100%);
}

.light {
    width: 15px;
    height: 25px;
    margin: 0 15px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    animation: twinkle 1.5s ease-in-out infinite;
}

.light::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: #333;
    border-radius: 2px;
}

.light::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #222, transparent);
}

.light.red {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #c0392b);
    box-shadow: 0 0 20px #ff6b6b, 0 0 40px #c0392b;
    animation-delay: 0s;
}

.light.yellow {
    background: radial-gradient(circle at 30% 30%, #ffd93d, #f39c12);
    box-shadow: 0 0 20px #ffd93d, 0 0 40px #f39c12;
    animation-delay: 0.3s;
}

.light.green {
    background: radial-gradient(circle at 30% 30%, #6bcb77, #27ae60);
    box-shadow: 0 0 20px #6bcb77, 0 0 40px #27ae60;
    animation-delay: 0.6s;
}

.light.blue {
    background: radial-gradient(circle at 30% 30%, #74b9ff, #3498db);
    box-shadow: 0 0 20px #74b9ff, 0 0 40px #3498db;
    animation-delay: 0.9s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        filter: brightness(1.2);
    }
    50% {
        opacity: 0.6;
        filter: brightness(0.8);
    }
}

/* Main Card */
.card {
    background: linear-gradient(145deg, #fefefe 0%, #f5f0e8 100%);
    border-radius: 20px;
    box-shadow:
        0 25px 80px rgba(0,0,0,0.4),
        0 0 0 8px rgba(139, 69, 19, 0.3),
        inset 0 0 60px rgba(255,215,0,0.05);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #c0392b, #27ae60, #c0392b, #27ae60);
    border-radius: 25px;
    z-index: -1;
    background-size: 400% 400%;
    animation: borderGlow 4s ease infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card-inner {
    padding: 40px 35px;
}

/* Title */
.title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 25px;
}

/* Image */
.image-container {
    text-align: center;
    margin-bottom: 25px;
}

.card-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: scale(1.02);
}

/* Message */
.message {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(192,57,43,0.05) 0%, rgba(39,174,96,0.05) 100%);
    border-radius: 15px;
    margin-bottom: 20px;
}

.message .greeting-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.message p {
    font-size: 1.1rem;
    color: #1a1a1a;
    line-height: 1.9;
    margin-bottom: 15px;
    font-weight: 400;
    text-align: left;
}

.message .signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #ffffff;
    margin-top: 25px;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c0392b, transparent);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.holly {
    font-size: 2rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Gift Section */
.gift-section {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #00704A 0%, #1E3932 100%);
    border-radius: 15px;
    margin-bottom: 20px;
}

.gift-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.gift-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-align: center;
}

.coffee-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: steam 2s ease-in-out infinite;
}

@keyframes steam {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

.gift-link {
    display: inline-block;
    background: linear-gradient(135deg, #00704A 0%, #1E3932 100%);
    color: #fff;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,112,74,0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(0,112,74,0.3); }
    50% { box-shadow: 0 4px 25px rgba(0,112,74,0.6); }
}

.gift-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,112,74,0.5);
    animation: none;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 15px;
}

.footer p {
    font-size: 0.9rem;
    color: #7f8c8d;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 600px) {
    .card-inner {
        padding: 30px 20px;
    }

    .title {
        font-size: 2.5rem;
    }

    .message p {
        font-size: 1.1rem;
    }

    .light {
        width: 12px;
        height: 20px;
        margin: 0 8px;
    }

    .gift-title {
        font-size: 1.6rem;
    }
}
