/* Winter Theme & Decorations */

/* Santa Hat on Buttons */
.btn-hero,
.card-btn,
.overlay-btn,
.submit-btn,
.btn,
button[type="submit"],
.tag:hover {
    position: relative;
}

.btn-hero::after,
.card-btn::after,
.overlay-btn::after,
.submit-btn::after,
.btn::after,
button[type="submit"]::after {
    content: "";
    position: absolute;
    top: -16px;
    right: -12px;
    width: 32px;
    height: 32px;
    background-image: url('../images/santa-hat.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
    animation: hatBounce 3s ease-in-out infinite;
    z-index: 20;
    transform-origin: bottom center;
}

/* Adjustments for specific buttons to look better */
.card-btn::after {
    width: 24px;
    height: 24px;
    top: -12px;
    right: -8px;
}

.overlay-btn::after {
    width: 20px;
    height: 20px;
    top: -10px;
    right: -5px;
}

/* Hat Animation */
@keyframes hatBounce {

    0%,
    100% {
        transform: rotate(15deg) translateY(0);
    }

    50% {
        transform: rotate(10deg) translateY(-3px);
    }
}

/* Festive Header Border - Garland effect */
.site-header {
    border-bottom: 3px solid #c0392b !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
    position: sticky;
}

.site-header::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(45deg,
            #c0392b,
            #c0392b 10px,
            #ffffff 10px,
            #ffffff 20px,
            #27ae60 20px,
            #27ae60 30px,
            #ffffff 30px,
            #ffffff 40px);
    z-index: 101;
}

/* Snow Canvas Style */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}