/* ==========================================================================
   HAUNTED HAY RIDE PAGES
   Shared by haunted-hay-ride.html, hayride-pay.html and
   haunted-hay-ride-volunteer.html.
   ========================================================================== */
:root {
    --pumpkin: #f2711c;
    --pumpkin-light: #ff9a4d;
    --border-pumpkin: rgba(242, 113, 28, 0.35);
    --haunt-purple: #3b1d5c;
}

.hay-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 24px 80px;
    text-align: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 214, 140, 0.18) 0 70px, transparent 71px),
        radial-gradient(ellipse at top, rgba(59, 29, 92, 0.75), transparent 70%),
        linear-gradient(to bottom, var(--bg-deep), var(--bg-surface));
    border-bottom: 1px solid var(--border-steel);
}
.hay-hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.hay-badge {
    display: inline-block;
    color: var(--pumpkin-light);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: rgba(242, 113, 28, 0.08);
    border: 1px solid var(--border-pumpkin);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hay-hero h1 {
    font-family: var(--font-headings);
    font-size: clamp(38px, 7.5vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.98;
    color: #fff;
    margin-bottom: 18px;
}
.hay-hero h1 span { display: block; color: var(--pumpkin); }
.hay-tagline {
    font-family: var(--font-headings);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    color: var(--brass-gold-light);
    margin-bottom: 16px;
}
.hay-hero-lede {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 36px;
}
.hay-nights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}
.hay-night {
    background: var(--bg-glass);
    border: 1px solid var(--border-pumpkin);
    border-radius: var(--border-radius-sm);
    padding: 12px 22px;
    min-width: 140px;
}
.hay-night small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pumpkin-light);
    margin-bottom: 2px;
}
.hay-night strong { font-family: var(--font-headings); font-size: 20px; color: #fff; }
.hay-time { color: var(--text-primary); font-weight: 600; margin-bottom: 36px; }
.hay-time span { color: var(--text-muted); margin: 0 8px; }
.hay-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.hay-section { padding: 80px 24px; border-bottom: 1px solid var(--border-steel); }
.hay-section.alt { background: var(--bg-surface); }
.hay-container { max-width: 1100px; margin: 0 auto; }

/* Admission */
.hay-admission { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hay-price {
    font-family: var(--font-headings);
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin: 8px 0;
}
.hay-price small { font-size: 18px; font-weight: 700; color: var(--text-secondary); margin-left: 6px; }
.hay-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-gold);
}
.hay-card p { color: var(--text-secondary); line-height: 1.6; font-size: 15px; }
.hay-card.discount { border-color: var(--border-pumpkin); background: linear-gradient(135deg, rgba(242, 113, 28, 0.12), var(--bg-glass) 65%); }
.hay-card.discount .hay-card-label { color: var(--pumpkin-light); }
.hay-card h3 {
    font-family: var(--font-headings);
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 8px 0 10px;
}

/* Featuring */
.hay-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hay-feature .hay-icon { font-size: 34px; line-height: 1; }
.hay-feature h3 {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 12px 0 8px;
}
.hay-feature p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Pantry + location */
.hay-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hay-split h2 {
    font-family: var(--font-headings);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
    margin: 8px 0 16px;
}
.hay-split p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.hay-list { list-style: none; display: grid; gap: 10px; }
.hay-list li { display: flex; gap: 12px; color: var(--text-primary); font-size: 15px; line-height: 1.5; }
.hay-list li::before { content: '🎃'; flex-shrink: 0; }
.hay-address { font-style: normal; color: var(--text-primary); line-height: 1.7; margin-bottom: 20px; }
.hay-address strong { display: block; font-family: var(--font-headings); font-size: 18px; color: #fff; }
.hay-actions-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Share band */
.hay-share { text-align: center; }
.hay-share h2 {
    font-family: var(--font-headings);
    font-size: clamp(26px, 3.6vw, 34px);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 8px 0 12px;
}
.hay-share p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 28px; line-height: 1.6; }
.hay-share-status { margin-top: 14px; font-size: 14px; color: var(--brass-gold-light); min-height: 20px; }

.btn-pumpkin {
    background: linear-gradient(135deg, var(--pumpkin-light), var(--pumpkin) 55%, #c4520c) !important;
    color: #1a0d03 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(242, 113, 28, 0.3) !important;
    font-weight: 800;
}
.btn-pumpkin:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(242, 113, 28, 0.45) !important; }

.hay-ended {
    max-width: 760px;
    margin: 0 auto 28px;
    padding: 14px 18px;
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    background: rgba(197, 160, 89, 0.06);
    color: var(--brass-gold-light);
    font-size: 15px;
}
.hay-ended[hidden] { display: none; }

@media (max-width: 900px) {
    .hay-features { grid-template-columns: 1fr; }
    .hay-admission, .hay-split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .hay-hero {
        padding: 64px 16px 56px;
        background:
            radial-gradient(circle at 90% 5%, rgba(255, 214, 140, 0.16) 0 38px, transparent 39px),
            radial-gradient(ellipse at top, rgba(59, 29, 92, 0.75), transparent 70%),
            linear-gradient(to bottom, var(--bg-deep), var(--bg-surface));
    }
    .hay-badge { font-size: 11px; letter-spacing: 0.12em; padding: 6px 12px; }
    .hay-section { padding: 56px 16px; }
    .hay-night { flex: 1 1 28%; min-width: 0; padding: 10px 8px; }
    .hay-night strong { font-size: 17px; }
    .hay-hero-actions .btn, .hay-actions-row .btn { width: 100%; }
    .hay-price { font-size: 52px; }
}

/* --------------------------------------------------------------------------
   Ticket picker (event page + gate pay page)
   -------------------------------------------------------------------------- */
.hay-tickets { max-width: 640px; margin: 32px auto 0; }
.hay-ticket-form { display: grid; gap: 14px; }
.hay-ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border-steel);
    border-radius: 12px;
    background: var(--bg-dark);
}
.hay-ticket-row strong { display: block; font-family: var(--font-headings); font-size: 17px; color: #fff; }
.hay-ticket-row small { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.hay-stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.hay-stepper button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-pumpkin);
    background: rgba(242, 113, 28, 0.08);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.hay-stepper button:hover { background: rgba(242, 113, 28, 0.2); }
.hay-stepper input {
    width: 52px;
    height: 40px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(70, 130, 180, 0.4);
    background: var(--bg-deep);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    -moz-appearance: textfield;
}
.hay-stepper input::-webkit-outer-spin-button,
.hay-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hay-ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 4px 4px 0;
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}
.hay-ticket-total span { font-size: 28px; color: #fff; letter-spacing: 0; }
.hay-ticket-form .btn { width: 100%; text-transform: uppercase; letter-spacing: 0.06em; }
.hay-ticket-form .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.hay-ticket-note { font-size: 13px; color: var(--text-muted); text-align: center; line-height: 1.6; }

.hay-pay-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.hay-pay-option {
    text-align: center;
    padding: 14px 10px;
    border: 1px dashed var(--border-steel-glow);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.hay-pay-option strong { display: block; font-family: var(--font-headings); font-size: 15px; color: #fff; margin-bottom: 2px; }

/* Confirmation shown on return from Stripe Checkout */
.hay-result {
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 22px;
    border-radius: 16px;
    border: 2px solid;
    text-align: center;
}
.hay-result[hidden] { display: none; }
.hay-result p { margin-top: 6px; font-size: 16px; line-height: 1.5; }
.hay-result-title { display: block; font-family: var(--font-headings); font-size: 28px; font-weight: 900; text-transform: uppercase; }
.hay-result.success { border-color: #2fbf71; background: rgba(47, 191, 113, 0.1); color: #c9f7dc; }
.hay-result.success .hay-result-title { font-size: 44px; color: #4fe08f; }
.hay-result.neutral { border-color: var(--border-gold); background: rgba(197, 160, 89, 0.06); color: var(--brass-gold-light); }
.hay-result.error { border-color: rgba(220, 20, 60, 0.5); background: rgba(220, 20, 60, 0.08); color: var(--crimson-alert-light); }

/* --------------------------------------------------------------------------
   Good to know, flyer, volunteer call-out
   -------------------------------------------------------------------------- */
.hay-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hay-faq h3 { font-family: var(--font-headings); font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.hay-faq p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

.hay-flyer { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: center; }
.hay-flyer img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-pumpkin);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.hay-volunteer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--border-pumpkin);
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(59, 29, 92, 0.55), rgba(23, 26, 34, 0.6));
}
.hay-volunteer-cta h2 { margin: 6px 0 8px; }
.hay-volunteer-cta p { margin: 0; }
.hay-volunteer-cta .btn { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Volunteer sign-up form
   -------------------------------------------------------------------------- */
.hay-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hay-form .full { grid-column: 1 / -1; }
.hay-form label.hay-field-label, .hay-form legend {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d1d5db;
    margin-bottom: 8px;
}
.hay-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hay-form .req { color: var(--crimson-alert-light); }
.hay-form input[type="text"], .hay-form input[type="email"], .hay-form input[type="tel"], .hay-form select, .hay-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid rgba(70, 130, 180, 0.4);
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-size: 15px;
}
.hay-form textarea { resize: vertical; min-height: 96px; }
.hay-form input::placeholder, .hay-form textarea::placeholder { color: var(--text-muted); }
.hay-form input:focus, .hay-form select:focus, .hay-form textarea:focus { outline: none; border-color: var(--pumpkin); }
.hay-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hay-chip { position: relative; }
.hay-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hay-chip span {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid rgba(70, 130, 180, 0.4);
    border-radius: 999px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.hay-chip input:checked + span { border-color: var(--pumpkin); background: rgba(242, 113, 28, 0.16); color: #fff; }
.hay-chip input:checked + span::before { content: "\2713\00a0"; color: var(--pumpkin-light); }
.hay-chip input:focus-visible + span { outline: 2px solid var(--pumpkin-light); outline-offset: 2px; }
.hay-form .btn { width: 100%; text-transform: uppercase; letter-spacing: 0.06em; }
.hay-form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.hay-form-alert { margin-top: 18px; padding: 16px; border-radius: 12px; border: 1px solid; font-size: 15px; text-align: center; }
.hay-form-alert[hidden], .hay-form [hidden] { display: none; }
.hay-form-alert.success { border-color: var(--border-pumpkin); background: rgba(242, 113, 28, 0.08); color: var(--pumpkin-light); }
.hay-form-alert.error { border-color: rgba(220, 20, 60, 0.4); background: rgba(220, 20, 60, 0.06); color: var(--crimson-alert-light); }

@media (max-width: 900px) {
    .hay-faq, .hay-flyer { grid-template-columns: 1fr; }
    .hay-flyer img { max-width: 420px; margin: 0 auto; display: block; }
    .hay-volunteer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .hay-form { grid-template-columns: 1fr; }
    .hay-pay-options { grid-template-columns: 1fr; }
    .hay-tickets.glass-card { padding: 18px; }
    .hay-ticket-row { padding: 12px; gap: 10px; }
    .hay-ticket-row strong { font-size: 16px; line-height: 1.25; }
    .hay-stepper { gap: 4px; }
    .hay-stepper button { width: 36px; height: 36px; font-size: 20px; }
    .hay-stepper input { width: 42px; height: 36px; }
    .hay-volunteer-cta { padding: 22px; }
    .hay-volunteer-cta .btn { width: 100%; }
}
.hay-cta-title { font-family: var(--font-headings); font-size: clamp(26px, 3.6vw, 34px); font-weight: 900; text-transform: uppercase; color: #fff; }
.hay-cta-text { color: var(--text-secondary); line-height: 1.6; max-width: 560px; }
