/* Christmas Theme Styles */
:root {
    --christmas-red: #ff4d4d;
    --snow-color: rgba(255, 255, 255, 0.8);
}

/* Snow Canvas */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Christmas Theme Accents */
.christmas-theme {
    scroll-behavior: smooth;
}

/* Logo Santa Hat */
.navbar-brand {
    position: relative;
    display: inline-flex !important;
    align-items: center;
}

.christmas-theme .navbar-brand::after {
    content: '';
    position: absolute;
    top: -13px;
    left: -18px;
    width: 70px;
    height: 70px;
    /* Using the local image provided by the user */
    background: url('/assets/images/free-icon-hat-744546.png') no-repeat center;
    background-size: contain;
    /* Mirroring horizontally as requested */
    transform: rotate(-10deg) scaleX(-1);
    pointer-events: none;
    z-index: 1001;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Mobile adjustments for the hat */
@media (max-width: 991px) {
    .christmas-theme .navbar-brand::after {
        width: 55px;
        height: 60px;
        top: -12px;
        left: -14px;
        transform: rotate(-10deg) scaleX(-1);
    }
}

/* Seasonal greeting in Welcome Card - keeping it subtle */
.christmas-theme .welcome-title::after {
    content: ' 🎄';
    font-size: 0.8em;
}

/* Christmas Promo Banner */
.christmas-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.christmas-promo-overlay.active {
    opacity: 1;
    visibility: visible;
}

.christmas-promo-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    overflow: hidden;
}

.christmas-promo-overlay.active .christmas-promo-banner {
    transform: translateY(0) scale(1);
}

.christmas-promo-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 77, 77, 0.2) 0%, transparent 70%);
}

.banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.banner-close:hover {
    background: rgba(255, 77, 77, 0.3);
    transform: rotate(90deg);
}

.promo-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #ff4d4d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 30px;
}

.promo-desc strong {
    color: #fff;
    font-weight: 700;
}

.promo-code-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

.promo-code-box:hover {
    border-color: rgba(255, 77, 77, 0.4);
    background: rgba(0, 0, 0, 0.3);
}

.promo-code-text {
    font-family: 'Monaco', monospace;
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: #fff;
    color: #000;
}

.btn-promo-action {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff4d4d 0%, #ff7675 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.2);
    transition: all 0.2s;
}

.btn-promo-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 77, 77, 0.4);
    color: #fff;
}