/* Halloween seasonal skin for the landing page */
.theme-halloween {
    --navy: #2b0f3f;
    --navy-deep: #12061c;
    --red: #ff6a00;
    --red-deep: #d24b00;
    --paper: #1a0b24;
    --white: #2a1438;
    --ink: #ffe8c8;
    --muted: #d2b48c;
    --line: rgba(255, 176, 71, 0.22);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --serif: "Griffy", "Creepster", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --brand: "Creepster", "Butcherman", cursive;
    --hw-orange: #ff6a00;
    --hw-purple: #7b2cbf;
    --hw-slime: #7cff6b;
    --hw-bone: #ffe8c8;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 106, 0, 0.18), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(123, 44, 191, 0.28), transparent 32%),
        linear-gradient(180deg, #12061c 0%, #1a0b24 40%, #100818 100%);
}

.theme-halloween a { color: #ffb347; }
.theme-halloween .site-nav {
    background: rgba(18, 6, 28, 0.92);
    border-bottom: 1px solid rgba(255, 176, 71, 0.25);
}
.theme-halloween .brand,
.theme-halloween .nav-links a,
.theme-halloween .btn-ghost { color: var(--hw-bone); }
.theme-halloween .brand-halloween {
    gap: 0;
    flex: 0 1 auto;
    min-width: 0;
}
.theme-halloween .brand-halloween img {
    width: auto;
    height: clamp(48px, 7vw, 72px);
    max-width: min(420px, 52vw);
    object-fit: contain;
    border-radius: 10px;
}
.theme-halloween .nav-enter {
    border-color: var(--hw-orange);
    color: var(--hw-orange);
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.45);
    animation: nav-enter-pulse-hw 1.8s ease-in-out infinite;
}
@keyframes nav-enter-pulse-hw {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(255, 106, 0, 0); }
}

.theme-halloween .hero {
    background:
        linear-gradient(120deg, rgba(18, 6, 28, 0.96), rgba(43, 15, 63, 0.88)),
        radial-gradient(circle at 70% 30%, rgba(255, 106, 0, 0.25), transparent 40%);
    border-bottom: 4px solid var(--hw-orange);
    position: relative;
    overflow: hidden;
}
.theme-halloween .hero::before {
    content: "🕸️";
    position: absolute;
    top: -0.2rem;
    left: 1rem;
    font-size: 4rem;
    opacity: 0.35;
    pointer-events: none;
}
.theme-halloween .hero-badge {
    border-color: rgba(255, 176, 71, 0.55);
    background: rgba(255, 106, 0, 0.18);
    color: #ffd59a;
}
.theme-halloween .hw-title,
.theme-halloween .hw-heading,
.theme-halloween .hero h1 {
    font-family: "Creepster", "Butcherman", cursive;
    letter-spacing: 0.02em;
    color: #ffb347;
    text-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
}
.theme-halloween .opening-label {
    color: var(--hw-slime);
    font-family: "Griffy", Georgia, serif;
}
.theme-halloween .count-box {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 176, 71, 0.35);
}
.theme-halloween .btn-red {
    background: linear-gradient(135deg, #ff6a00, #ff3d00);
    color: #1a0b24;
}
.theme-halloween .btn-red:hover { background: #ff8a2b; color: #1a0b24; }
.theme-halloween .btn-navy {
    background: linear-gradient(135deg, #7b2cbf, #4c1d95);
    color: #fff;
}
.theme-halloween .hw-preview-btn {
    border-color: var(--hw-slime);
    color: var(--hw-slime);
}

.theme-halloween .hw-hero-frame {
    position: absolute;
    inset: 0;
}
.theme-halloween .hw-hero-stickers {
    position: absolute;
    inset: auto 0.8rem 0.8rem auto;
    display: flex;
    gap: 0.35rem;
    font-size: 1.6rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
    animation: hw-float 3.2s ease-in-out infinite;
}
@keyframes hw-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.theme-halloween .section { color: var(--hw-bone); }
.theme-halloween .kicker { color: var(--hw-orange); }
.theme-halloween .proof-strip article,
.theme-halloween .proof-quotes blockquote,
.theme-halloween .activity-grid .card,
.theme-halloween .hw-feature-card {
    background:
        linear-gradient(165deg, rgba(42, 20, 56, 0.96), rgba(26, 11, 36, 0.94)),
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.16), transparent 55%);
    border-color: rgba(255, 176, 71, 0.28);
    color: var(--hw-bone);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.theme-halloween article strong {
    font-family: "Griffy", Georgia, serif;
    color: #ffb347;
}
.theme-halloween .proof-strip span,
.theme-halloween .proof-quotes cite { color: #d2b48c; }
.theme-halloween .task-index { color: var(--hw-orange); }
.theme-halloween .minutes {
    background: rgba(124, 255, 107, 0.12);
    color: var(--hw-slime);
}
.theme-halloween .activity-grid .card h3 {
    font-family: "Griffy", Georgia, serif;
    color: #ffb347;
}

.theme-halloween .season-grid article,
.theme-halloween .hw-feature-card {
    background:
        linear-gradient(160deg, rgba(43, 15, 63, 0.96), rgba(18, 6, 28, 0.95)),
        radial-gradient(circle at 20% 0%, rgba(255, 106, 0, 0.35), transparent 50%);
}
.theme-halloween .hw-season-focus {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.theme-halloween .hw-feature-card h3 {
    font-family: "Creepster", cursive;
    font-size: 1.35rem;
    color: #ffb347;
}
.theme-halloween .hw-feature-card p { margin: 0; color: rgba(255, 232, 200, 0.88); }
.theme-halloween .hw-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 1.8rem;
    margin: 1rem 0 1.2rem;
}

.theme-halloween .passport {
    background:
        linear-gradient(135deg, #2b0f3f, #12061c 55%, #3b1654),
        radial-gradient(circle at 80% 20%, rgba(255, 106, 0, 0.28), transparent 40%);
    border: 1px solid rgba(255, 176, 71, 0.35);
}
.theme-halloween #passportPrice,
.theme-halloween .passport .price {
    font-family: Verdana, Arial, sans-serif;
    font-size: clamp(1.8rem, 2.1vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
    text-shadow: none;
}
.theme-halloween .passport .pack-grid-light {
    grid-template-columns: minmax(0, 50%) 1fr 1fr;
}
.theme-halloween .passport .pack-grid-light article {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 760px) {
    .theme-halloween .passport .pack-grid-light {
        grid-template-columns: 1fr;
    }
    .theme-halloween .passport .pack-grid-light article {
        width: 100%;
        max-width: 100%;
    }
}
.theme-halloween .lead-band {
    background: #14081d;
    border-top: 8px solid var(--hw-orange);
}
.theme-halloween .form-control,
.theme-halloween .form-select {
    background: #2a1438;
    border-color: rgba(255, 176, 71, 0.28);
    color: var(--hw-bone);
}
.theme-halloween .site-footer { color: #d2b48c; }
.theme-halloween .site-footer a { color: #ffb347; }

.theme-halloween .hw-bats {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    overflow: hidden;
}
.theme-halloween .hw-bat {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    opacity: 0.55;
    animation: hw-bat-fly 7s ease-in-out infinite;
    animation-delay: var(--d);
}
@keyframes hw-bat-fly {
    0%, 100% { transform: translate(0, 0) rotate(-8deg); }
    50% { transform: translate(18px, -14px) rotate(10deg); }
}

.theme-halloween.activities-preview,
body.theme-halloween.activities-preview {
    min-height: 100vh;
}
.theme-halloween .mission-card,
.theme-halloween .mission-detail {
    background: linear-gradient(165deg, #2a1438, #1a0b24);
    border-color: rgba(255, 176, 71, 0.28);
    color: var(--hw-bone);
}
.theme-halloween .mission-card.active { border-color: var(--hw-orange); }
.theme-halloween .mission-timer { color: var(--hw-slime); }

@media (max-width: 900px) {
    .theme-halloween .hw-season-focus { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .theme-halloween .hw-season-focus { grid-template-columns: 1fr; }
    .theme-halloween .hw-bats { display: none; }
}
