.hw-greeting {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff9a1f;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hw-greeting-icon {
    width: 22px;
    height: 22px;
}

.hw-host {
    position: relative;
}

.hw-host > :not(.hw-sky) {
    position: relative;
    z-index: 1;
}

.hw-sky {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 110, 0, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 35% at 15% 0%, rgba(107, 47, 160, 0.25), transparent 70%);
}

.hw-web {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    color: rgba(230, 230, 230, 0.35);
}

.hw-bat {
    position: absolute;
    left: -80px;
    width: 56px;
    filter: drop-shadow(0 0 6px rgba(255, 150, 40, 0.6));
    animation: hw-fly 22s linear infinite, hw-flap 0.35s ease-in-out infinite alternate;
}

.hw-bat-1 { top: 12%; animation-delay: 0s, 0s; }
.hw-bat-2 { top: 28%; width: 40px; animation-duration: 28s, 0.3s; animation-delay: -9s, -0.1s; }
.hw-bat-3 { top: 8%; width: 32px; animation-duration: 34s, 0.28s; animation-delay: -20s, -0.2s; }
.hw-bat-4 { top: 46%; width: 48px; animation-duration: 25s, 0.33s; animation-delay: -15s, -0.05s; }
.hw-bat-5 { top: 20%; width: 26px; animation-duration: 40s, 0.26s; animation-delay: -30s, -0.15s; }

.hw-pumpkin {
    position: absolute;
    bottom: 12px;
    filter: drop-shadow(0 0 18px rgba(255, 140, 0, 0.55));
    animation: hw-glow 3s ease-in-out infinite alternate;
}

.hw-pumpkin-small {
    right: calc(5% + 140px);
    width: 76px;
}

.hw-pumpkin-large {
    right: 5%;
    width: 130px;
    animation-delay: -1.5s;
}

@keyframes hw-fly {
    0% { transform: translate(0, 0); }
    25% { transform: translate(30vw, -24px); }
    50% { transform: translate(60vw, 18px); }
    75% { transform: translate(90vw, -12px); }
    100% { transform: translate(calc(100vw + 160px), 10px); }
}

@keyframes hw-flap {
    from { scale: 1 1; }
    to { scale: 1 0.55; }
}

@keyframes hw-glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.35)); }
    to { filter: drop-shadow(0 0 24px rgba(255, 160, 0, 0.75)); }
}

@media (max-width: 767px) {
    .hw-pumpkin-small { right: calc(4% + 84px); width: 48px; }
    .hw-pumpkin-large { right: 4%; width: 76px; }
    .hw-web { width: 100px; height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    .hw-bat,
    .hw-pumpkin {
        animation: none;
    }
    .hw-bat-1 { left: 8%; }
    .hw-bat-2 { left: 70%; }
    .hw-bat-3 { left: 40%; }
    .hw-bat-4 { left: 85%; }
    .hw-bat-5 { left: 25%; }
}
