/* Christmas Decorations */

/* Corner wreaths */
.wreath-tl {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid #165b33;
    border-radius: 50%;
    z-index: 100;
    background: radial-gradient(circle at 30% 30%, rgba(22, 91, 51, 0.2), transparent);
    box-shadow: inset 0 0 15px rgba(22, 91, 51, 0.3);
    opacity: 0.4;
}

.wreath-tl::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #c41e3a;
    border-radius: 50%;
    opacity: 0.8;
}

.wreath-tl::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #c41e3a;
    border-radius: 50%;
    opacity: 0.8;
}

.wreath-br {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: 3px solid #165b33;
    border-radius: 50%;
    z-index: 100;
    background: radial-gradient(circle at 30% 30%, rgba(22, 91, 51, 0.2), transparent);
    box-shadow: inset 0 0 15px rgba(22, 91, 51, 0.3);
    opacity: 0.4;
}

.wreath-br::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #c41e3a;
    border-radius: 50%;
    opacity: 0.8;
}

.wreath-br::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #c41e3a;
    border-radius: 50%;
    opacity: 0.8;
}

/* Ornament decorations */
.ornament {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd700, #daa520);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    margin: 0 5px;
    animation: ornamentSway 2s ease-in-out infinite;
}

.ornament.red {
    background: radial-gradient(circle at 35% 35%, #c41e3a, #8b0000);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.6);
}

.ornament.green {
    background: radial-gradient(circle at 35% 35%, #165b33, #0d3d22);
    box-shadow: 0 0 10px rgba(22, 91, 51, 0.6);
}

@keyframes ornamentSway {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(2deg); }
    75% { transform: translateY(-3px) rotate(-2deg); }
}

/* Twinkling lights */
.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: twinkle 1.5s ease-in-out infinite;
}

.light.gold {
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
}

.light.red {
    background: #c41e3a;
    box-shadow: 0 0 8px #c41e3a;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.light:nth-child(2) { animation-delay: 0.15s; }
.light:nth-child(3) { animation-delay: 0.3s; }
.light:nth-child(4) { animation-delay: 0.45s; }
.light:nth-child(5) { animation-delay: 0.6s; }

/* Holly leaf decoration */
.holly-leaf {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    color: #165b33;
    font-size: 1.2rem;
    animation: leafSway 2s ease-in-out infinite;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

/* Candy cane stripe */
.candy-cane {
    background: repeating-linear-gradient(
        45deg,
        #c41e3a,
        #c41e3a 10px,
        white 10px,
        white 20px
    );
    border-radius: 50px 50px 0 0;
}

/* Star decoration */
.star {
    display: inline-block;
    color: #ffd700;
    font-size: 1.2rem;
    animation: starTwinkle 1.5s ease-in-out infinite;
    margin: 0 5px;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Gift box decoration */
.gift-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #c41e3a;
    border: 1px solid #ffd700;
    margin: 0 5px;
    position: relative;
}

.gift-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ffd700;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Shimmer effect on text */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color),
        var(--accent-color),
        var(--primary-color)
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .wreath-tl, .wreath-br {
        width: 40px;
        height: 40px;
    }

    .ornament {
        width: 15px;
        height: 15px;
    }

    .star, .holly-leaf {
        font-size: 1rem;
    }
}
