.halloween-hero {
    --halloween-red: #b31e1d;
    --halloween-red-bright: #e13a32;
    --halloween-cream: #eadfca;
    --halloween-line: rgba(184, 146, 104, .48);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
    min-height: calc(100svh - 96px);
    padding: 24px 82px 28px;
    color: var(--halloween-cream);
    background:
        linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 23%, rgba(0,0,0,.40) 43%, rgba(10,2,2,.20) 72%, rgba(7,1,1,.26) 100%),
        radial-gradient(ellipse at 92% 76%, rgba(150,34,20,.28), transparent 28%),
        url("forest-background.png") center / cover no-repeat,
        #050303;
}

.halloween-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(12,10,9,.58), transparent 47%),
        linear-gradient(90deg, rgba(0,0,0,.54) 0 25%, transparent 47% 88%, rgba(0,0,0,.18));
}

.halloween-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 20%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(8,7,6,.95), rgba(17,10,8,.38), transparent);
}

.halloween-hero-copy,
.halloween-calendar-stage {
    position: relative;
    z-index: 1;
}

.halloween-hero-copy {
    width: 520px;
    max-width: 100%;
    padding-top: 52px;
}

.halloween-kicker {
    display: inline-block;
    margin: 0 0 24px;
    padding: 9px 22px 10px;
    color: #f5e7d3;
    background: linear-gradient(100deg, transparent 0, rgba(167,24,22,.94) 8%, rgba(177,28,25,.99) 88%, transparent 100%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    transform: rotate(-2deg);
    text-shadow: 0 2px 6px #000;
}

.halloween-hero h1 {
    margin: 0;
    width: 560px;
    max-width: none;
    color: #eee3cf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 76px;
    font-weight: 700;
    line-height: .91;
    letter-spacing: -.045em;
    text-transform: uppercase;
    text-shadow: 0 3px 10px #000;
}

.halloween-hero h1 span {
    display: block;
    color: var(--halloween-red);
    font-size: .96em;
    text-shadow: 0 3px 10px rgba(0,0,0,.95);
}

.halloween-tagline {
    margin: 43px 0 0;
    color: #efe2cf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-shadow: 0 2px 7px #000;
}

.halloween-lead {
    width: 430px;
    max-width: 100%;
    margin: 22px 0 0;
    color: #d8cdbd;
    font-size: 17px;
    line-height: 1.65;
    text-shadow: 0 2px 7px #000;
}

.halloween-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 375px;
    max-width: 100%;
    margin-top: 27px;
}

.halloween-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 68px;
    padding: 15px 20px;
    border: 1px solid rgba(232,219,199,.70);
    color: #f6ecdd;
    background: rgba(0,0,0,.36);
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .025em;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.halloween-button:hover {
    border-color: #f2e2cc;
    background: rgba(255,255,255,.05);
    transform: translateY(-1px);
}

.halloween-button-primary {
    background: linear-gradient(180deg, #c42f2b, #ad1f1d);
    border-color: #db4840;
}

.halloween-button-primary:hover {
    background: linear-gradient(180deg, #ce3c35, #b82622);
}

.halloween-calendar-stage {
    width: 830px;
    max-width: 100%;
    justify-self: start;
    padding-top: 0;
}

.halloween-starts {
    margin: 40px 0 20px;
    color: #d42d28;
    font-family: "Metal Mania", Georgia, serif;
    font-size: 29px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    transform: rotate(-2deg);
    text-shadow: 0 2px 8px #000;
    white-space: nowrap;
}

.halloween-starts span {
    display: inline-block;
    margin-left: 6px;
    font-size: 1.25em;
}

.halloween-calendar-wrap {
    padding: 14px 15px 10px;
    background: rgba(7,4,3,.78);
    border: 1px solid rgba(213,174,130,.43);
    box-shadow: 0 18px 54px rgba(0,0,0,.52), inset 0 0 70px rgba(84,17,11,.10);
}

.halloween-calendar-heading {
    padding: 0 4px 13px;
    text-align: center;
}

.halloween-calendar-heading p {
    margin: 0;
    color: #eee0c8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #000;
}

.halloween-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.halloween-day {
    position: relative;
    min-width: 0;
    min-height: 0;
    aspect-ratio: .92 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--halloween-line);
    background:
        linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.80)),
        radial-gradient(circle at 52% 38%, rgba(95,39,31,.13), transparent 50%),
        #080706;
    color: #f0e4d0;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, filter .18s ease;
}

.halloween-day::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.02), transparent 54%, rgba(0,0,0,.72));
}

.halloween-day img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.halloween-day-number {
    position: absolute;
    top: 6px;
    left: 9px;
    z-index: 3;
    color: #f2e6d2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 6px #000;
}

.halloween-day-lock {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 4px;
    color: #756961;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.halloween-day-lock i {
    color: #766961;
    font-size: 28px;
    opacity: .78;
}

.halloween-day.is-locked .halloween-day-lock { opacity: .78; }
.halloween-day.is-unlocked { border-color: #774139; }

.halloween-day.is-unlocked:hover {
    z-index: 4;
    border-color: #da4b42;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.halloween-day.is-today,
.halloween-day.is-launch-preview {
    z-index: 5;
    border-color: #ff554b;
    box-shadow: 0 0 0 1px #ff554b, 0 0 18px rgba(238,56,47,.70), inset 0 0 18px rgba(239,58,49,.16);
}

.halloween-day.is-today .halloween-day-lock,
.halloween-day.is-launch-preview .halloween-day-lock {
    color: #efddc3;
    font-size: 13px;
    line-height: 1.35;
}

.halloween-day.is-launch-preview .halloween-day-lock strong {
    color: #de3e37;
    font-weight: 800;
}

.halloween-night-callout {
    min-height: 0;
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 10px 18px;
    border: 0 solid var(--halloween-line);
}

.halloween-night-icon {
    color: var(--halloween-red);
    font-size: 56px;
    line-height: 1;
    filter: saturate(.85);
}

.halloween-night-icon img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.halloween-night-copy strong {
    display: block;
    color: #c52c28;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.halloween-night-copy span {
    display: block;
    margin-top: 7px;
    color: #cfbaa0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.halloween-calendar-note {
    grid-column: 4 / -1;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    color: #bea68a;
    background: rgba(5,4,3,.72);
    border: 0px solid var(--halloween-line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.halloween-calendar-note::before {
    content: "◷";
    margin-right: 8px;
    color: #d62d27;
    font-size: 3.25em;
}

@media (max-height: 860px) and (min-width: 1001px) {
    .halloween-hero {
        padding-top: 16px;
        padding-bottom: 18px;
    }
    .halloween-hero-copy { padding-top: 34px; }
    .halloween-kicker { margin-bottom: 18px; }
    .halloween-hero h1 { font-size: 66px; }
    .halloween-tagline { margin-top: 29px; font-size: 18px; }
    .halloween-lead { margin-top: 15px; font-size: 15px; line-height: 1.5; }
    .halloween-actions { margin-top: 18px; gap: 12px; }
    .halloween-button { min-height: 54px; }
    .halloween-starts { font-size: 25px; margin-bottom: 6px; }
    .halloween-calendar-wrap { padding-top: 10px; }
    .halloween-calendar-heading { padding-bottom: 8px; }
    .halloween-calendar-heading p { font-size: 23px; }
    .halloween-calendar { gap: 5px; }
    .halloween-day { aspect-ratio: 1.02 / 1; }
    .halloween-day-number { font-size: 17px; }
    .halloween-day-lock i { font-size: 22px; }
    .halloween-calendar-note { margin-top: 7px; font-size: 11px; }
}

@media (max-width: 1400px) {
    .halloween-hero {
        grid-template-columns: 470px minmax(0, 1fr);
        column-gap: 48px;
        padding-left: 54px;
        padding-right: 54px;
    }
    .halloween-hero-copy { width: 470px; }
    .halloween-hero h1 { width: 510px; font-size: 68px; }
    .halloween-calendar-stage { width: 780px; }
    .halloween-starts { margin-left: 255px; }
}

@media (max-width: 1160px) {
    .halloween-hero {
        grid-template-columns: 400px minmax(0, 1fr);
        column-gap: 30px;
        padding-left: 34px;
        padding-right: 34px;
    }
    .halloween-hero-copy { width: 400px; }
    .halloween-hero h1 { width: 450px; font-size: 58px; }
    .halloween-tagline { font-size: 17px; }
    .halloween-lead { width: 390px; font-size: 15px; }
    .halloween-calendar-stage { width: 700px; }
    .halloween-starts { margin-left: 210px; font-size: 24px; }
    .halloween-calendar-heading p { font-size: 22px; }
    .halloween-day-number { font-size: 16px; }
    .halloween-day-lock i { font-size: 22px; }
}

@media (max-width: 1000px) {
    .halloween-hero {
        display: block;
        min-height: auto;
        padding: 34px 22px 42px;
        background-position: center top;
    }
    .halloween-hero-copy {
        width: auto;
        max-width: 620px;
        margin: 0 auto 38px;
        padding-top: 0;
    }
    .halloween-hero h1 {
        width: auto;
        max-width: 100%;
        font-size: clamp(48px, 10vw, 72px);
    }
    .halloween-calendar-stage { width: 760px; max-width: 100%; margin: 0 auto; }
    .halloween-starts { margin-left: 16%; }
}

@media (max-width: 650px) {
    .halloween-hero { padding-left: 16px; padding-right: 16px; }
    .halloween-kicker { margin-bottom: 14px; }
    .halloween-tagline { margin-top: 22px; }
    .halloween-actions { width: 100%; }
    .halloween-button { min-height: 52px; }
    .halloween-starts { margin-left: 6%; font-size: 20px; }

    .halloween-calendar-wrap {
        padding: 10px;
        overflow: hidden;
    }

    .halloween-calendar {
        min-width: 0;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 7px;
    }

    .halloween-day {
        width: 100%;
        aspect-ratio: .82 / 1;
    }

    .halloween-day-number {
        top: 5px;
        left: 7px;
        font-size: 17px;
    }

    .halloween-day-lock i { font-size: 24px; }

    .halloween-night-callout {
        grid-column: 1 / -1;
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 12px;
        padding: 12px 8px;
    }

    .halloween-night-copy strong { font-size: 17px; }
    .halloween-night-copy span { font-size: 11px; }

    .halloween-calendar-heading p { font-size: 16px; }

    .halloween-calendar-note {
        grid-column: 1 / -1;
        min-height: 70px;
        margin: 0;
        font-size: 11px;
        line-height: 1.35;
    }
}
