/* ===========================
   TKD Halloween Theme
   =========================== */

.tkd-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    overflow: hidden;
}

.tkd-particle {
    position: absolute;
    top: -80px;
    line-height: 1;
    user-select: none;
    animation: tkd-halloween-fall linear forwards;
    will-change: transform, opacity;
}

@keyframes tkd-halloween-fall {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(25vh) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(180deg);
    }
    75% {
        transform: translateY(75vh) translateX(25px) rotate(270deg);
    }
    100% {
        transform: translateY(115vh) translateX(0px) rotate(360deg);
        opacity: 0.2;
    }
}

/* Spiderweb corners */
.tkd-spiderweb {
    position: fixed;
    top: 0;
    pointer-events: none;
    z-index: 9001;
    opacity: 0.7;
}
.tkd-spiderweb-left  { left: 0; transform-origin: top left; }
.tkd-spiderweb-right { right: 0; transform: scaleX(-1); transform-origin: top right; }

/* Halloween nav accent strip */
.axil-mainmenu {
    border-bottom: 3px solid #6b21a8 !important;
}

/* Subtle purple Halloween glow on nav */
.axil-mainmenu.is-sticky {
    box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4) !important;
}

/* Halloween banner */
.tkd-theme-banner {
    background: linear-gradient(135deg, #1a0a2e 0%, #6b21a8 50%, #f97316 100%);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 9002;
}

/* Back-to-top button */
.back-to-top {
    background: linear-gradient(135deg, #f97316, #6b21a8) !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.back-to-top i { display: none !important; }

/* Custom cursor (desktop only) */
#tkd-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 28px;
    transform: translate(-14px, -14px);
    transition: opacity 0.15s;
    user-select: none;
    line-height: 1;
}

@media (max-width: 768px) {
    .tkd-spiderweb { display: none; }
    .tkd-particle  { font-size: 18px !important; }
    #tkd-cursor    { display: none !important; }
}
