/* ───────── HALLOWEEN THEME (temporary) ─────────
   To remove: delete this file and the blocks marked HALLOWEEN in index.html. */
:root {
    --paper: #f1e7d6;
    --paper-2: #e6d8c0;
    --paper-3: #d8c6a8;
    --signal: #f26b0f;
    --signal-deep: #c4520a;
    --signal-wash: #fbd9bd;
    --moss: #4b2a6b;
}
::selection { background: #4b2a6b; color: #fff; }

/* Top banner */
.hw-banner {
    position: relative; z-index: 60;
    background: linear-gradient(90deg, #1b1813, #3a1f52 50%, #1b1813);
    color: #fbe3c8; text-align: center;
    padding: 9px 44px; font-size: 0.88rem; font-weight: 500;
}
.hw-banner b { color: #ff9a3c; font-family: var(--f-mono); letter-spacing: 0.04em; }

/* Brand mark becomes a pumpkin */
.brand-mark { background: var(--signal); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.brand:hover .brand-mark { background: #4b2a6b; }

/* Marquee in midnight purple */
.marquee { background: #2a1638; border-color: #2a1638; }

/* Method section gets a moonlit purple tint */
.method { background: radial-gradient(120% 90% at 85% 0%, #3a1f52 0%, var(--ink) 60%); }

/* Spider webs in hero corners */
.hero { overflow: hidden; }
.hero::before, .hero::after {
    content: ''; position: absolute; top: 0; width: 170px; height: 170px; pointer-events: none; opacity: .28; z-index: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%231b1813' stroke-width='.8'%3E%3Cpath d='M0 0L100 100M0 0L100 40M0 0L40 100M0 0L100 0M0 0L0 100'/%3E%3Cpath d='M20 0Q16 8 20 20Q8 16 0 20M45 0Q38 18 45 45Q18 38 0 45M70 0Q60 28 70 70Q28 60 0 70M95 0Q82 38 95 95Q38 82 0 95'/%3E%3C/svg%3E") no-repeat;
}
.hero::before { left: 0; }
.hero::after { right: 0; transform: scaleX(-1); }
.hero > .wrap { position: relative; z-index: 1; }

/* Stamp glows like a jack-o'-lantern */
.stamp { box-shadow: 0 0 0 6px rgba(242,107,15,.18), 0 0 38px rgba(242,107,15,.55); }

/* Floating bats */
.hw-bats { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.hw-bat { position: absolute; width: 34px; color: #1b1813; opacity: .55; animation: hw-fly 22s linear infinite; }
.hw-bat:nth-child(1) { top: 14%; left: -60px; animation-duration: 24s; }
.hw-bat:nth-child(2) { top: 38%; left: -60px; width: 24px; animation-duration: 30s; animation-delay: -9s; }
.hw-bat:nth-child(3) { top: 62%; left: -60px; width: 28px; animation-duration: 27s; animation-delay: -17s; }
.hw-bat svg { width: 100%; height: auto; fill: currentColor; animation: hw-flap .35s ease-in-out infinite alternate; transform-origin: center; }
@keyframes hw-fly {
    0% { transform: translate(0, 0); }
    25% { transform: translate(28vw, -40px); }
    50% { transform: translate(55vw, 30px); }
    75% { transform: translate(82vw, -20px); }
    100% { transform: translate(calc(100vw + 120px), 10px); }
}
@keyframes hw-flap { to { transform: scaleY(.55); } }

/* Deal cards: pumpkin-orange glow on hover */
.deal:hover { box-shadow: 0 18px 40px -18px rgba(242,107,15,.55); }

@media (max-width: 640px) {
    .hero::before, .hero::after { width: 100px; height: 100px; }
    .hw-banner { font-size: 0.8rem; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hw-bats { display: none; }
}
