/* ============================================================
   HoverUp Park – Public Styles  |  HashTechs LLC
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600&display=swap');

:root {
  --hup-bg:       #090909;
  --hup-surface:  #131313;
  --hup-surface2: #1c1c1c;
  --hup-border:   #272727;
  --hup-text:     #f0f0f0;
  --hup-muted:    #7a7a7a;
  --hup-red:      #4a89d3;
  --hup-gold:     #f4a261;
  --hup-blue:     #4895ef;
  --hup-green:    #2dc653;
  --hup-radius:   12px;
  --hup-shadow:   0 8px 32px rgba(0,0,0,.5);
}

.hup-packages-wrap, .hup-auth-wrap,
.hup-dashboard-wrap, .hup-booking-wrap {
  font-family: 'Barlow', sans-serif;
  color: var(--hup-text);
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ── Category tabs ─────────────────────────────────────────── */
.hup-cat-tabs { display:flex; gap:.75rem; margin-bottom:2rem; flex-wrap:wrap; }

.hup-cat-tab {
  font-family: 'Barlow Condensed', sans-serif;
  background: var(--hup-surface); border:2px solid var(--hup-border);
  color: var(--hup-muted); padding:.6rem 1.6rem;
  border-radius:100px; cursor:pointer; font-size:1.05rem; font-weight:700;
  letter-spacing:.5px; display:flex; align-items:center; gap:.5rem;
  transition:all .2s; text-transform:uppercase;
}
.hup-cat-tab:hover, .hup-cat-tab.active {
  border-color: var(--cat-color, var(--hup-red));
  color: var(--cat-color, var(--hup-red));
  background: color-mix(in srgb, var(--cat-color, var(--hup-red)) 8%, transparent);
  box-shadow: 0 0 16px -4px var(--cat-color, var(--hup-red));
}

.hup-cat-section { display:none; }
.hup-cat-section.active { display:block; }

/* ── Package cards ─────────────────────────────────────────── */
.hup-packages-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:1.5rem; margin-bottom:2rem;
}

.hup-package-card {
  background: var(--hup-surface); border:1px solid var(--hup-border);
  border-radius:var(--hup-radius); overflow:hidden; position:relative;
  transition:transform .25s, box-shadow .25s;
}
.hup-package-card:hover { transform:translateY(-6px); box-shadow:var(--hup-shadow); }
.hup-package-card.hup-popular { border-color:var(--hup-gold); }
.hup-package-card.hup-popular::before {
  content:''; position:absolute; inset:0; border-radius:var(--hup-radius);
  box-shadow:0 0 30px -6px var(--hup-gold); pointer-events:none;
}

.hup-popular-badge {
  position:absolute; top:12px; right:12px;
  background:var(--hup-gold); color:#000;
  font-size:.68rem; font-weight:800; text-transform:uppercase; letter-spacing:.6px;
  padding:3px 12px; border-radius:100px;
}

.hup-pkg-header {
  padding:1.5rem 1.25rem 1.1rem; border-bottom:1px solid;
  text-align:center;
}
.hup-pkg-icon { font-size:2.2rem; display:block; margin-bottom:.75rem; width:80px; height:48px; }
.hup-pkg-icon img { width:80px !important; height:48px !important; object-fit:contain; display:block; }
.hup-pkg-name {
  font-family:'Barlow Condensed',sans-serif;
  margin:0 0 .8rem; font-size:1.4rem; font-weight:900; letter-spacing:.5px;
  text-transform:uppercase;
}
.hup-pkg-price { display:flex; align-items:baseline; justify-content:center; gap:.25rem; }
.hup-price-amount { font-family:'Barlow Condensed',sans-serif; font-size:2.8rem; font-weight:900; line-height:1; }
.hup-price-currency { font-size:.9rem; font-weight:700; opacity:.75; }
.hup-price-period { font-size:.8rem; color:var(--hup-muted); margin-left:.15rem; }

.hup-pkg-body { padding:1.25rem; }
.hup-pkg-features { list-style:none; margin:0; padding:0; }
.hup-pkg-features li { padding:.38rem 0; font-size:.9rem; border-bottom:1px solid var(--hup-border); display:flex; align-items:center; gap:.4rem; }
.hup-pkg-features li:last-child { border:none; }

.hup-pkg-footer { padding:.9rem 1.25rem; }

/* ── Walk-in banner ────────────────────────────────────────── */
.hup-walkin-banner {
  background:var(--hup-surface); border:1px solid var(--hup-border);
  border-radius:var(--hup-radius); padding:1.2rem 1.5rem;
}
.hup-walkin-inner { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.hup-walkin-label { font-size:.9rem; color:var(--hup-muted); font-weight:600; }
.hup-walkin-price { font-family:'Barlow Condensed',sans-serif; font-size:1.4rem; font-weight:900; color:var(--hup-gold); flex:1; }

/* ── Buttons ───────────────────────────────────────────────── */
.hup-btn {
  display:inline-block; padding:.65rem 1.5rem; border-radius:8px;
  font-size:.9rem; font-weight:700; border:2px solid transparent;
  cursor:pointer; text-decoration:none; transition:all .2s; text-align:center;
  letter-spacing:.3px;
}
.hup-btn-primary { background:var(--hup-red); color:#fff; border-color:var(--hup-red); }
.hup-btn-primary:hover { filter:brightness(1.12); color:#fff; }
.hup-btn-outline { background:transparent; border-color:var(--hup-border); color:var(--hup-text); }
.hup-btn-outline:hover { border-color:var(--hup-red); color:var(--hup-red); }
.hup-btn-sm { padding:.4rem 1.1rem; font-size:.82rem; }
.hup-btn-full { width:100%; display:block; text-align:center; }
.hup-btn:disabled { opacity:.5; cursor:not-allowed; }

/* ── Auth ──────────────────────────────────────────────────── */
.hup-auth-wrap { max-width:480px; }
.hup-auth-tabs { display:flex; border-bottom:2px solid var(--hup-border); margin-bottom:2rem; }
.hup-auth-tab {
  flex:1; padding:.8rem; background:none; border:none; color:var(--hup-muted);
  font-family:'Barlow Condensed',sans-serif; font-size:1.1rem; font-weight:700;
  letter-spacing:.5px; text-transform:uppercase; cursor:pointer;
  border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .2s;
}
.hup-auth-tab.active { color:var(--hup-red); border-bottom-color:var(--hup-red); }

.hup-auth-form { display:none; }
.hup-auth-form.active { display:block; }
.hup-auth-title { font-family:'Barlow Condensed',sans-serif; font-size:1.8rem; font-weight:900; margin:0 0 .3rem; text-transform:uppercase; }
.hup-auth-sub { color:var(--hup-muted); font-size:.9rem; margin:0 0 1.5rem; }

.hup-form-group { margin-bottom:1rem; }
.hup-form-group label { display:block; font-size:.82rem; color:var(--hup-muted); margin-bottom:.35rem; font-weight:600; text-transform:uppercase; letter-spacing:.3px; }
.hup-form-group input, .hup-form-group select {
  width:100%; padding:.65rem .9rem; box-sizing:border-box;
  background:var(--hup-surface2); border:1px solid var(--hup-border);
  border-radius:8px; color:var(--hup-text); font-size:.95rem; transition:border .2s;
}
.hup-form-group input:focus, .hup-form-group select:focus { outline:none; border-color:var(--hup-red); }
.hup-form-group input::placeholder,
.hup-form-group textarea::placeholder { color: rgba(240,237,232,.45) !important; }
.hup-form-group input, .hup-form-group select, .hup-form-group textarea {
  color: var(--hup-text) !important;
}
/* Required field highlight */
.hup-form-group input.hup-field-error,
.hup-form-group select.hup-field-error {
  border-color: var(--hup-red) !important;
  box-shadow: 0 0 0 2px rgba(230,57,70,.2);
}
.hup-form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

.hup-form-msg { margin-top:1rem; padding:.75rem 1rem; border-radius:8px; font-size:.88rem; display:none; }
.hup-form-msg.success { background:#2dc65318; border:1px solid var(--hup-green); color:var(--hup-green); }
.hup-form-msg.error   { background:#e6394618; border:1px solid var(--hup-red); color:var(--hup-red); }
.hup-already-in { background:var(--hup-surface); border:1px solid var(--hup-border); border-radius:var(--hup-radius); padding:1.25rem 1.5rem; }

/* ── Dashboard ─────────────────────────────────────────────── */
.hup-dash-header {
  display:flex; align-items:center; justify-content:space-between;
  background:var(--hup-surface); border:1px solid var(--hup-border);
  border-radius:var(--hup-radius); padding:1.25rem 1.5rem; margin-bottom:2rem;
}
.hup-dash-user { display:flex; align-items:center; gap:1rem; }
.hup-avatar {
  width:52px; height:52px; border-radius:50%; background:var(--hup-red);
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:'Barlow Condensed',sans-serif; font-size:1.6rem; font-weight:900;
}
.hup-dash-user h2 { margin:0; font-family:'Barlow Condensed',sans-serif; font-size:1.3rem; font-weight:900; text-transform:uppercase; letter-spacing:.5px; }
.hup-dash-user span { font-size:.85rem; color:var(--hup-muted); }

.hup-dash-section { margin-bottom:3rem; }
.hup-dash-section-title { font-family:'Barlow Condensed',sans-serif; font-size:1.2rem; font-weight:900; text-transform:uppercase; letter-spacing:.5px; margin-bottom:1.25rem; color:var(--hup-muted); }
.hup-section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.hup-section-header .hup-dash-section-title { margin:0; }

.hup-membership-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr)); gap:1.25rem; }

.hup-mem-card {
  background:linear-gradient(160deg, color-mix(in srgb, var(--hup-surface2) 60%, var(--hup-surface)), var(--hup-surface));
  border:1px solid var(--hup-border);
  border-radius:var(--hup-radius); padding:1.6rem 1.7rem; position:relative; overflow:hidden;
  box-shadow:0 6px 24px -12px rgba(0,0,0,.5);
  transition:transform .15s ease, box-shadow .15s ease;
}
.hup-mem-card:hover { transform:translateY(-2px); box-shadow:0 12px 32px -14px rgba(0,0,0,.6); }
.hup-mem-active  { border-left:4px solid var(--hup-green); }
.hup-mem-pending { border-left:4px solid var(--hup-gold); }
.hup-mem-expired { border-left:4px solid var(--hup-muted); opacity:.65; }

.hup-mem-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.hup-mem-cat-label {
  display:flex; align-items:center; gap:.4rem;
  font-family:'Barlow Condensed',sans-serif; font-size:1rem; font-weight:900;
  text-transform:uppercase; letter-spacing:.8px; color:var(--hup-red);
}
.hup-mem-number {
  font-family:monospace; font-size:1.3rem; font-weight:700; letter-spacing:1.5px;
  margin-bottom:.3rem; color:var(--hup-text);
}
.hup-mem-package { font-size:.86rem; color:var(--hup-muted); margin-bottom:.9rem; }

/* Total paid — neutral framed row, no longer loud orange */
.hup-mem-paid {
  display:flex; justify-content:space-between; align-items:center;
  background:var(--hup-surface2); border:1px solid var(--hup-border);
  border-radius:8px; padding:.5rem .85rem; margin-bottom:1rem;
  font-size:.82rem; color:var(--hup-muted);
}
.hup-mem-paid strong { color:var(--hup-text); font-size:.95rem; font-weight:800; }

/* Session progress bar */
.hup-session-bar { margin:1rem 0; }
.hup-session-labels { display:flex; justify-content:space-between; font-size:.82rem; color:var(--hup-muted); margin-bottom:.5rem; }
.hup-session-labels strong { color:var(--hup-text); font-size:1rem; font-weight:800; }
.hup-progress-track { background:var(--hup-surface2); border-radius:100px; height:10px; overflow:hidden; }
.hup-progress-fill  {
  height:100%; border-radius:100px;
  background:linear-gradient(90deg, var(--hup-red), var(--hup-green));
  transition:width .6s ease;
}

.hup-mem-validity {
  font-size:.82rem; color:var(--hup-muted); margin-top:.9rem;
  padding-top:.9rem; border-top:1px solid var(--hup-border);
}
.hup-mem-validity strong { color:var(--hup-text); }

/* Status badges */
.hup-status-badge {
  font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.5px;
  padding:3px 10px; border-radius:100px;
}
.hup-badge-active   { background:#2dc65322; color:var(--hup-green); }
.hup-badge-pending  { background:#f4a26122; color:var(--hup-gold); }
.hup-badge-expired  { background:#77777722; color:var(--hup-muted); }

/* QR code display */
.hup-qr-section { text-align:center; padding:1.25rem 0 .5rem; border-top:1px solid var(--hup-border); margin-top:1rem; }
.hup-qr-section p { font-size:.8rem; color:var(--hup-muted); margin:0 0 .6rem; }
.hup-qr-img { width:160px; height:160px; border:4px solid var(--hup-border); border-radius:10px; }
.hup-qr-id { display:inline-block; font-family:monospace; font-size:.82rem; background:var(--hup-surface2); border:1px solid var(--hup-border); padding:.2rem .7rem; border-radius:6px; color:var(--hup-muted); margin-top:.5rem; }

.hup-pending-notice {
  background:var(--hup-surface2); border:1px solid var(--hup-gold);
  border-radius:8px; padding:.75rem 1rem; font-size:.87rem; color:var(--hup-gold);
  margin-top:.9rem; display:flex; align-items:flex-start; gap:.5rem;
}

.hup-empty-state { text-align:center; padding:3.5rem 1rem; }
.hup-empty-state .hup-empty-icon { font-size:3.5rem; display:block; margin-bottom:1rem; }
.hup-empty-state p { color:var(--hup-muted); margin-bottom:1.5rem; }

/* Bookings table */
.hup-bookings-table-wrap { overflow-x:auto; background:var(--hup-surface); border:1px solid var(--hup-border); border-radius:var(--hup-radius); }
.hup-bookings-table { width:100%; border-collapse:collapse; font-size:.88rem; }
.hup-bookings-table th { text-align:left; padding:.65rem 1rem; color:var(--hup-muted); border-bottom:2px solid var(--hup-border); font-size:.75rem; text-transform:uppercase; letter-spacing:.5px; }
.hup-bookings-table td { padding:.75rem 1rem; border-bottom:1px solid var(--hup-border); }
.hup-bookings-table tr:last-child td { border-bottom:none; }
.hup-bookings-table tr:hover td { background:var(--hup-surface2); }
.hup-member-tag { background:#2dc65318; color:var(--hup-green); font-size:.75rem; font-weight:700; padding:2px 8px; border-radius:6px; }

/* Booking Timer */
.hup-booking-timer {
    position:sticky; top:0; z-index:100;
    background:linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border:1px solid rgba(232,160,32,.3); border-radius:10px;
    margin-bottom:1.5rem; overflow:hidden;
    box-shadow:0 4px 20px rgba(0,0,0,.3);
    animation:hupTimerSlideIn .4s ease-out;
}
@keyframes hupTimerSlideIn { from { transform:translateY(-100%); opacity:0; } to { transform:translateY(0); opacity:1; } }
.hup-timer-inner {
    display:flex; align-items:center; justify-content:center; gap:.6rem;
    padding:.75rem 1rem; flex-wrap:wrap;
}
.hup-timer-icon { font-size:1.3rem; }
.hup-timer-text { color:#ccc; font-size:.85rem; font-weight:600; }
.hup-timer-countdown {
    font-family:'Barlow Condensed',sans-serif; font-size:1.6rem; font-weight:900;
    color:var(--hup-gold); letter-spacing:1px; min-width:65px; text-align:center;
}
.hup-timer-countdown.hup-timer-urgent { color:#e63946; animation:hupTimerPulse 1s ease-in-out infinite; }
@keyframes hupTimerPulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }
.hup-timer-bar { height:3px; background:rgba(255,255,255,.1); }
.hup-timer-bar-fill { height:100%; background:var(--hup-gold); transition:width 1s linear; width:100%; }
.hup-timer-bar-fill.hup-timer-urgent { background:#e63946; }
.hup-timer-expired {
    text-align:center; padding:1.5rem; background:rgba(230,57,70,.1);
    border:1px solid rgba(230,57,70,.3); border-radius:10px; margin-bottom:1.5rem;
}
.hup-timer-expired h3 { color:#e63946; font-family:'Barlow Condensed',sans-serif; font-size:1.3rem; margin:0 0 .5rem; }
.hup-timer-expired p  { color:#ccc; font-size:.9rem; margin:0 0 1rem; }
.hup-timer-expired button {
    background:#e63946; color:#fff; border:none; border-radius:8px;
    padding:.6rem 1.5rem; font-weight:700; cursor:pointer; font-size:.9rem;
}
.hup-timer-expired button:hover { background:#d62839; }

/* Booking form */
.hup-booking-header { margin-bottom:2rem; }
.hup-booking-header h2 { font-family:'Barlow Condensed',sans-serif; font-size:2rem; font-weight:900; text-transform:uppercase; letter-spacing:.5px; margin:0 0 .3rem; }
.hup-booking-note { color:var(--hup-gold); font-weight:600; font-size:.9rem; margin:0; }

.hup-cat-select, .hup-booking-type { display:flex; flex-direction:column; gap:.6rem; }
.hup-radio-card {
  display:flex; align-items:center; gap:.85rem; background:var(--hup-surface2);
  border:1px solid var(--hup-border); border-radius:8px; padding:.8rem 1rem;
  cursor:pointer; transition:border .15s, background .15s;
}
.hup-radio-card:has(input:checked) { border-color:var(--hup-red); background:rgba(230,57,70,.08); }
.hup-radio-card input { margin:0; accent-color:var(--hup-red); }
.hup-radio-card-label { font-weight:600; font-size:.95rem; }
.hup-radio-card-sub { font-size:.82rem; color:var(--hup-muted); }

.hup-slots-grid { display:flex; flex-wrap:wrap; gap:.6rem; min-height:48px; }
.hup-slot-btn {
  padding:.4rem .95rem; border-radius:8px; background:var(--hup-surface2);
  border:1px solid var(--hup-border); color:var(--hup-text); cursor:pointer;
  font-size:.88rem; font-weight:600; transition:all .15s;
}
.hup-slot-btn:hover, .hup-slot-btn.selected { border-color:var(--hup-red); background:rgba(230,57,70,.1); color:var(--hup-red); }
.hup-slots-msg { color:var(--hup-muted); font-size:.88rem; padding:.4rem 0; }

.hup-booking-form { max-width:580px; }
.hup-login-prompt { background:var(--hup-surface); border:1px solid var(--hup-border); border-radius:var(--hup-radius); padding:2.5rem; text-align:center; }

/* Purchase / checkout modal */
.hup-modal {
  position:fixed !important;
  top:0 !important; left:0 !important;
  width:100vw !important; height:100vh !important;
  background:rgba(0,0,0,.85) !important;
  backdrop-filter:blur(4px);
  z-index:999999 !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch;
}
.hup-modal-box {
  background:var(--hup-surface);
  border:1px solid var(--hup-border);
  border-radius:var(--hup-radius);
  padding:2rem 2.25rem;
  max-width:520px;
  width:calc(100% - 40px);
  position:relative;
  margin:30px auto 30px auto;
  box-sizing:border-box;
}
/* Scrollbar styling for modal */
.hup-modal::-webkit-scrollbar { width:6px; }
.hup-modal::-webkit-scrollbar-track { background:rgba(0,0,0,.3); }
.hup-modal::-webkit-scrollbar-thumb { background:rgba(255,255,255,.2); border-radius:3px; }
.hup-modal-close { position:absolute; top:1rem; right:1.25rem; background:none; border:none; color:var(--hup-muted); font-size:1.5rem; cursor:pointer; line-height:1; }
.hup-modal-close:hover { color:var(--hup-text); }
.hup-modal-title { font-family:'Barlow Condensed',sans-serif; font-size:1.5rem; font-weight:900; text-transform:uppercase; margin:0 0 1.25rem; }
.hup-modal-pkg-info { background:var(--hup-surface2); border-radius:8px; padding:1rem 1.1rem; margin-bottom:1.25rem; font-size:.9rem; }
.hup-modal-pkg-info strong { font-size:1rem; }

.hup-payment-opts { display:flex; flex-direction:column; gap:.6rem; margin-bottom:1.25rem; }
.hup-pay-opt { display:flex; flex-direction:column; background:var(--hup-surface2); border:1px solid var(--hup-border); border-radius:8px; padding:.9rem 1rem; cursor:pointer; transition:border .15s; }
.hup-pay-opt:has(input:checked) { border-color:var(--hup-red); background:rgba(230,57,70,.07); }
.hup-pay-opt-top { display:flex; align-items:center; gap:.6rem; font-weight:700; font-size:.95rem; }
.hup-pay-opt-sub { font-size:.82rem; color:var(--hup-muted); margin-top:.2rem; padding-left:1.4rem; }

.hup-modal-msg { margin-top:1rem; padding:.75rem 1rem; border-radius:8px; font-size:.9rem; display:none; }

/* Toast */
#hup-toast { position:fixed; bottom:28px; right:28px; padding:14px 22px; border-radius:10px; font-weight:700; z-index:99999; box-shadow:0 8px 32px rgba(0,0,0,.4); display:none; font-size:.95rem; }
#hup-toast.success { background:var(--hup-green); color:#fff; }
#hup-toast.error   { background:var(--hup-red); color:#fff; }

/* Responsive */
@media(max-width:620px) {
  .hup-form-row { grid-template-columns:1fr; }
  .hup-dash-header { flex-direction:column; gap:1rem; align-items:flex-start; }
  .hup-walkin-inner { flex-direction:column; align-items:flex-start; }
  .hup-packages-grid { grid-template-columns:1fr; }
  .hup-membership-cards { grid-template-columns:1fr; }
}

/* ============================================================
   BOOKING CALENDAR STYLES
   ============================================================ */

.hup-booking-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Form column ───────────────────────────────────────────── */
.hup-booking-form-col { position: sticky; top: 20px; }

/* ── Custom select ─────────────────────────────────────────── */
.hup-select-wrapper {
    position: relative;
}
.hup-custom-select {
    width: 100%; padding: .7rem 2.5rem .7rem .9rem;
    background: var(--hup-surface2); border: 1px solid var(--hup-border);
    border-radius: 8px; color: var(--hup-text); font-size: .95rem;
    font-family: 'Barlow', sans-serif; font-weight: 600;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    transition: border .2s;
}
.hup-custom-select:focus { outline: none; border-color: var(--hup-red); }
.hup-custom-select option { background: #1c1c1c; color: var(--hup-text); }
.hup-select-arrow {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    color: var(--hup-muted); font-size: .9rem; pointer-events: none;
}

.hup-walkin-hint {
    font-size: .82rem; color: var(--hup-gold); margin-top: .4rem;
    font-weight: 600; padding: .35rem .7rem;
    background: rgba(244,162,97,.08); border-radius: 6px;
    border-left: 3px solid var(--hup-gold);
}

/* ── Selected date display ─────────────────────────────────── */
.hup-selected-date-display {
    display: flex; align-items: center; gap: .75rem;
    background: var(--hup-surface2); border: 1px solid var(--hup-border);
    border-radius: 8px; padding: .75rem 1rem;
    font-size: .9rem; color: var(--hup-muted);
    transition: border .2s, color .2s;
}
.hup-selected-date-display.hup-date-has-value {
    border-color: var(--hup-red); color: var(--hup-text); font-weight: 600;
}
.hup-date-display-icon { font-size: 1.2rem; }

/* ── Calendar card ─────────────────────────────────────────── */
.hup-calendar-card {
    background: var(--hup-surface); border: 1px solid var(--hup-border);
    border-radius: var(--hup-radius); overflow: hidden;
}

.hup-cal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--hup-border);
    background: var(--hup-surface2);
}
.hup-cal-title {
    font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem;
    font-weight: 900; text-transform: uppercase; letter-spacing: .5px;
}
.hup-cal-nav {
    background: none; border: 1px solid var(--hup-border); color: var(--hup-text);
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.hup-cal-nav:hover { border-color: var(--hup-red); color: var(--hup-red); }

.hup-cal-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr);
    border-bottom: 1px solid var(--hup-border);
}
.hup-cal-weekdays span {
    text-align: center; padding: .5rem .25rem;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .4px; color: var(--hup-muted);
}

/* ── Calendar grid ─────────────────────────────────────────── */
.hup-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 1px; background: var(--hup-border); padding: 0;
}

.hup-cal-day {
    background: var(--hup-surface); padding: .5rem .35rem .4rem;
    min-height: 60px; display: flex; flex-direction: column;
    align-items: center; gap: .2rem; position: relative;
    transition: background .15s;
}
.hup-cal-empty { background: var(--hup-bg); }
.hup-cal-day-num {
    font-size: .88rem; font-weight: 700; line-height: 1;
    width: 26px; height: 26px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%;
}

/* Day states */
.hup-cal-past     { opacity: .3; }
.hup-cal-closed   { background: var(--hup-bg); }
.hup-cal-closed .hup-cal-day-num { color: var(--hup-muted); }

.hup-cal-available[data-clickable] { cursor: pointer; }
.hup-cal-available[data-clickable]:hover { background: rgba(45,198,83,.08); }
.hup-cal-available .hup-cal-day-num { color: var(--hup-green); }

.hup-cal-busy[data-clickable] { cursor: pointer; }
.hup-cal-busy[data-clickable]:hover { background: rgba(244,162,97,.08); }
.hup-cal-busy .hup-cal-day-num { color: var(--hup-gold); }

.hup-cal-full { cursor: not-allowed; }
.hup-cal-full .hup-cal-day-num { color: var(--hup-red); }
.hup-cal-full::after {
    content: 'FULL'; font-size: .6rem; font-weight: 800; color: var(--hup-red);
    letter-spacing: .3px;
}

.hup-cal-today .hup-cal-day-num {
    background: var(--hup-red); color: #fff;
}

.hup-cal-selected {
    background: rgba(230,57,70,.12) !important;
    box-shadow: inset 0 0 0 2px var(--hup-red);
}
.hup-cal-selected .hup-cal-day-num { background: var(--hup-red); color: #fff; }

/* Load bar inside day */
.hup-cal-load-bar {
    width: 100%; height: 3px; background: var(--hup-border);
    border-radius: 100px; overflow: hidden; margin-top: 2px;
}
.hup-cal-load-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, var(--hup-green), var(--hup-gold), var(--hup-red));
    transition: width .3s ease;
}
.hup-cal-day-count {
    font-size: .6rem; color: var(--hup-muted); font-weight: 600; line-height: 1;
}

/* Legend */
.hup-cal-legend {
    display: flex; gap: 1rem; padding: .9rem 1.25rem;
    border-top: 1px solid var(--hup-border); flex-wrap: wrap;
    background: var(--hup-surface2);
}
.hup-cal-legend-item {
    display: flex; align-items: center; gap: .4rem;
    font-size: .75rem; color: var(--hup-muted);
}
.hup-cal-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.hup-cal-dot-available { background: var(--hup-green); }
.hup-cal-dot-busy      { background: var(--hup-gold); }
.hup-cal-dot-full      { background: var(--hup-red); }
.hup-cal-dot-closed    { background: var(--hup-muted); }

/* ── Day detail panel ──────────────────────────────────────── */
.hup-day-detail {
    margin-top: 1rem; background: var(--hup-surface);
    border: 1px solid var(--hup-border); border-radius: var(--hup-radius);
    overflow: hidden;
}
.hup-day-detail-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .9rem 1.25rem; border-bottom: 1px solid var(--hup-border);
    background: var(--hup-surface2); font-weight: 700; font-size: .95rem;
}
.hup-day-detail-cat {
    font-size: .72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .5px; color: var(--hup-red); background: rgba(230,57,70,.12);
    padding: 2px 10px; border-radius: 100px;
}
.hup-day-slots-overview {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px; padding: 1rem 1.25rem;
}
.hup-slot-overview {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--hup-surface2); border: 1px solid var(--hup-border);
    border-radius: 8px; padding: .5rem .7rem;
}
.hup-slot-time { font-size: .88rem; font-weight: 700; }
.hup-slot-remain { font-size: .72rem; font-weight: 600; }
.hup-slot-mini-bar { height: 4px; background: var(--hup-border); border-radius: 100px; overflow: hidden; }
.hup-slot-mini-bar div { height: 100%; border-radius: 100px; }
.slot-open  .hup-slot-remain { color: var(--hup-green); }
.slot-open  .hup-slot-mini-bar div { background: var(--hup-green); }
.slot-busy  .hup-slot-remain { color: var(--hup-gold); }
.slot-busy  .hup-slot-mini-bar div { background: var(--hup-gold); }
.slot-full  .hup-slot-remain { color: var(--hup-red); }
.slot-full  .hup-slot-mini-bar div { background: var(--hup-red); width: 100% !important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hup-booking-layout { grid-template-columns: 1fr; }
    .hup-booking-form-col { position: static; }
}
@media (max-width: 480px) {
    .hup-cal-day { min-height: 46px; padding: .3rem .2rem; }
    .hup-cal-day-num { font-size: .78rem; width: 22px; height: 22px; }
    .hup-cal-day-count { display: none; }
}

/* ── Price summary block ───────────────────────────────────── */
.hup-price-summary {
    background: var(--hup-surface2);
    border: 1px solid var(--hup-border);
    border-left: 4px solid var(--hup-red);
    border-radius: 8px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}
.hup-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .95rem;
    font-weight: 700;
}
.hup-price-row span:last-child {
    color: var(--hup-red);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
}

/* ── Full day label ────────────────────────────────────────── */
.hup-cal-day-full-label {
    font-size: .58rem;
    font-weight: 800;
    color: var(--hup-red);
    letter-spacing: .3px;
    text-transform: uppercase;
}

/* ============================================================
   LOGO STYLES
   ============================================================ */

/* Auth page logo */
.hup-auth-logo-wrap {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #000;
    border-radius: var(--hup-radius);
    border: 1px solid var(--hup-border);
}
.hup-auth-logo {
    height: 42px;
    width: auto;
    display: inline-block;
}

/* Member dashboard logo bar */
.hup-dash-logo-bar {
    background: #000;
    border: 1px solid var(--hup-border);
    border-radius: var(--hup-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
.hup-dash-logo {
    height: 36px;
    width: auto;
}

/* ── Booking confirmation message ──────────────────────────── */
#hup-booking-msg {
    margin-bottom: 1rem;  /* show ABOVE the button */
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: .92rem;
    line-height: 1.6;
}
#hup-booking-msg.success {
    background: rgba(45,198,83,.12);
    border: 2px solid var(--hup-green);
    color: var(--hup-green);
}
#hup-booking-msg.error {
    background: rgba(230,57,70,.12);
    border: 2px solid var(--hup-red);
    color: var(--hup-red);
}

/* ── Page logo (booking, packages) ────────────────────────── */
.hup-booking-logo, .hup-packages-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}
.hup-page-logo {
    height: 44px;
    width: auto;
    display: inline-block;
}

/* ============================================================
   HoverUp Landing Page  [hup_landing]  — Complete Redesign
   ============================================================ */
:root {
  --hup-land-red:    #3a72b8;
  --hup-land-red2:   #4a89d3;
  --hup-land-gold:   #e8a020;
  --hup-land-dark:   #080808;
  --hup-land-dark2:  #0f0f0f;
  --hup-land-dark3:  #161616;
  --hup-land-dark4:  #1e1e1e;
  --hup-land-border: rgba(255,255,255,.07);
  --hup-land-text:   #f0ede8;
  --hup-land-muted:  rgba(240,237,232,.45);
}

/* ── WRAP + BREAKOUT ─────────────────────────────────────── */
.hup-landing-wrap {
  background: var(--hup-land-dark);
  color: var(--hup-land-text);
  font-family: 'Barlow', sans-serif;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow-x: hidden;
}
.hup-landing-wrap *, .hup-landing-wrap *::before, .hup-landing-wrap *::after { box-sizing: border-box; }

/* ── HERO ─────────────────────────────────────────────────── */
.hup-land-hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  animation: hupZoom 14s ease-out forwards;
  /* Pull hero up to cover any theme header gap */
  margin-top: -1px;
}

/* If theme adds padding to content area, remove it for landing */
body:has(.hup-landing-wrap) .entry-content,
body:has(.hup-landing-wrap) .post-content,
body:has(.hup-landing-wrap) .page-content,
body:has(.hup-landing-wrap) .wp-block-post-content,
body:has(.hup-landing-wrap) .site-main,
body:has(.hup-landing-wrap) article.page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
@keyframes hupZoom { from { background-size:108%; } to { background-size:100%; } }

.hup-land-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.1) 100%),
    linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.95) 100%);
}

.hup-land-hero-content {
  position: relative; z-index: 2;
  padding: 0 8vw 8vh;
  max-width: 700px;
  display: flex; flex-direction: column; gap: 1.1rem;
}

.hup-land-logo {
  height: 56px; width: auto;
  margin-bottom: .5rem;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.6));
  opacity: 0; transform: translateY(-12px);
  animation: hupDown .7s .1s forwards;
}

.hup-land-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--hup-land-gold);
  opacity: 0; animation: hupFade .5s .3s forwards;
}

.hup-land-title {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .9; letter-spacing: 2px; color: #fff;
  margin: 0;
  opacity: 0; transform: translateY(24px);
  animation: hupUp .8s .4s forwards;
}
.hup-land-title em { font-style: normal; color: var(--hup-land-red2); display: block; }

.hup-land-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--hup-land-muted); line-height: 1.7; max-width: 480px;
  opacity: 0; animation: hupFade .6s .7s forwards;
}

/* Red accent line */
.hup-land-hero-content::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--hup-land-red);
  margin: -.2rem 0;
  order: -1;
  animation: hupFade .4s .9s both;
}

.hup-land-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: hupFade .6s .9s forwards;
  margin-top: .3rem;
}

/* Scroll indicator */
.hup-land-hero-scroll {
  position: absolute; bottom: 2rem; right: 3rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: hupFade .5s 1.4s forwards;
}
.hup-land-hero-scroll span {
  font-size: .65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--hup-land-muted); writing-mode: vertical-rl;
}
.hup-land-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--hup-land-red));
  animation: hupScrollLine 2s 1.5s ease-in-out infinite;
}
@keyframes hupScrollLine {
  0%,100% { transform: scaleY(0); transform-origin: top; }
  50%      { transform: scaleY(1); transform-origin: top; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.hup-land-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  padding: .85rem 2rem; border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer; transition: all .2s;
  white-space: nowrap; line-height: 1;
}
.hup-land-btn-primary {
  background: var(--hup-land-red); color: #fff; border-color: var(--hup-land-red);
  box-shadow: 0 4px 24px rgba(215,43,43,.35);
}
.hup-land-btn-primary:hover { background: var(--hup-land-red2); border-color: var(--hup-land-red2); transform: translateY(-2px); color: #fff; box-shadow: 0 8px 32px rgba(215,43,43,.45); }
.hup-land-btn-outline { background: rgba(0,0,0,.4); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.hup-land-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); color: #fff; }
.hup-land-btn-gold { background: var(--hup-land-gold); color: #000; border-color: var(--hup-land-gold); }
.hup-land-btn-gold:hover { filter: brightness(1.08); transform: translateY(-2px); color: #000; }
.hup-land-btn-ghost { background: transparent; color: var(--hup-land-muted); border-color: var(--hup-land-border); font-size: .88rem; }
.hup-land-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.hup-land-btn-full { width: 100%; justify-content: center; }

/* ── INFO BAR ─────────────────────────────────────────────── */
.hup-land-bar {
  background: var(--hup-land-dark3);
  border-bottom: 1px solid var(--hup-land-border);
  display: flex; align-items: stretch; flex-wrap: wrap;
  width: 100%;
}
.hup-land-bar-item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 3vw; flex: 1; min-width: 200px;
}
.hup-land-bar-icon { font-size: 1.3rem; flex-shrink: 0; }
.hup-land-bar-label { font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--hup-land-muted); font-family: 'Barlow Condensed', sans-serif; font-weight: 600; margin-bottom: .2rem; }
.hup-land-bar-value { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .3px; color: var(--hup-land-text); }
.hup-land-bar-sep { width: 1px; background: var(--hup-land-border); margin: .75rem 0; }

/* ── SESSION STRIP ────────────────────────────────────────── */
.hup-land-sessions-strip {
  background: var(--hup-land-dark2);
  border-bottom: 1px solid var(--hup-land-border);
  padding: 1.5rem 8vw;
}
.hup-land-sessions-inner { max-width: 1200px; margin: 0 auto; }
.hup-land-sessions-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--hup-land-muted); margin-bottom: 1rem;
}
.hup-land-sessions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.hup-land-sess-item {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.25rem;
  background: var(--hup-land-dark3);
  border: 1px solid var(--hup-land-border);
  border-radius: 6px;
}
.hup-land-sess-icon { font-size: 1.6rem; flex-shrink: 0; width:52px; height:40px; display:flex; align-items:center; justify-content:center; }
.hup-land-sess-icon img { width:52px !important; height:40px !important; object-fit:contain; display:block; }
.hup-land-sess-item strong { display: inline; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff; }
.hup-land-sess-item span { font-size: .88rem; color: var(--hup-land-muted); }
.hup-land-sess-item strong::after { content: ': '; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.hup-land-section { padding: 6rem 8vw; }
.hup-land-section--alt { background: var(--hup-land-dark2); }
.hup-land-section-inner { max-width: 1200px; margin: 0 auto; }

.hup-land-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--hup-land-red2); margin-bottom: 1rem;
  padding: .35rem .9rem; border: 1px solid rgba(230,57,70,.3);
  border-radius: 2px;
}
.hup-land-h2 {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem); line-height: 1;
  letter-spacing: 1px; color: #fff; margin: 0 0 1rem;
}
.hup-land-lead {
  font-size: 1.05rem; color: var(--hup-land-muted);
  max-width: 560px; line-height: 1.8; margin-bottom: 2.5rem;
}
/* Item 3: Section labels larger */
.hup-land-sessions-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .9rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--hup-land-muted); margin-bottom: 1.25rem; font-weight: 700;
}

/* ── MEMBERSHIP CARDS ─────────────────────────────────────── */
.hup-land-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem; margin-bottom: 2rem;
}
.hup-land-card {
  background: var(--hup-land-dark3);
  border: 1px solid var(--hup-land-border);
  border-radius: 8px; overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease var(--delay,0ms), transform .5s ease var(--delay,0ms), box-shadow .25s;
}
.hup-land-card.hup-land-in { opacity: 1; transform: none; }
.hup-land-card:hover { box-shadow: 0 24px 60px rgba(0,0,0,.6); transform: translateY(-4px); }
.hup-land-card--gold { border-color: rgba(232,160,32,.3); }
.hup-land-card--gold:hover { border-color: var(--hup-land-gold); }

.hup-land-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--hup-land-gold); color: #000;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 2px;
}

.hup-land-card-top {
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 2px solid; /* color set inline */
}
.hup-land-card-icon { font-size: 2.2rem; display:block; margin-bottom:.75rem; width:72px; height:44px; }
.hup-land-card-icon img { width:72px !important; height:44px !important; object-fit:contain; display:block; }
.hup-land-card-name {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; letter-spacing: 1px; color: #fff; line-height: 1;
  margin-bottom: 1rem;
}
.hup-land-card-price { display: flex; align-items: center; gap: .5rem; }
.hup-land-big-price {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 3.2rem; line-height: 1;
}
.hup-land-price-meta { display: flex; flex-direction: column; line-height: 1.3; }
.hup-land-price-meta span:first-child { font-size: .8rem; color: var(--hup-land-muted); font-weight: 700; }
.hup-land-price-meta span:last-child  { font-size: .75rem; color: var(--hup-land-muted); }

.hup-land-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.hup-land-feats { list-style: none; margin: 0; padding: 0; }
.hup-land-feats li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px solid var(--hup-land-border);
  font-size: .88rem; color: var(--hup-land-text); line-height: 1.4;
}
.hup-land-feats li:last-child { border: none; }
.hup-land-feats li > span { color: var(--hup-land-gold); flex-shrink: 0; font-size: .8rem; margin-top: .15rem; }

.hup-land-card-foot { padding: 1rem 1.5rem 1.5rem; }

.hup-land-already { text-align: center; margin-top: 1rem; }

.hup-land-empty { color: var(--hup-land-muted); text-align: center; padding: 3rem; }

/* ── WALK-IN CARDS ────────────────────────────────────────── */
.hup-land-walkin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.hup-land-wcard {
  background: var(--hup-land-dark3);
  border: 1px solid var(--hup-land-border);
  border-radius: 8px; padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease var(--delay,0ms), transform .5s ease var(--delay,0ms), border-color .2s;
}
.hup-land-wcard.hup-land-in { opacity: 1; transform: none; }
.hup-land-wcard:hover { border-color: rgba(255,255,255,.15); transform: translateY(-4px); }
.hup-land-wcard-stripe {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.hup-land-wcard-icon { font-size: 2.2rem; width:68px; height:40px; display:block; }
.hup-land-wcard-icon img { width:68px !important; height:40px !important; object-fit:contain; display:block; }
.hup-land-wcard-name {
  font-family: 'Bebas Neue', 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; letter-spacing: 1px; color: #fff; line-height: 1;
}
.hup-land-wcard-sess { font-size: .8rem; color: var(--hup-land-muted); margin-top: -.5rem; }
.hup-land-wcard-price { display: flex; align-items: center; gap: .5rem; }
.hup-land-wcard-perk {
  font-size: .82rem; color: var(--hup-land-muted);
  border-top: 1px solid var(--hup-land-border); padding-top: 1rem;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.hup-land-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.hup-land-reveal.hup-land-in { opacity: 1; transform: none; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes hupFade  { from{opacity:0} to{opacity:1} }
@keyframes hupUp    { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes hupDown  { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:none} }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hup-land-sessions-grid { grid-template-columns: repeat(2, 1fr); }
  .hup-land-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hup-land-hero { height: 100svh; min-height: 600px; }
  .hup-land-hero-content { padding: 4rem 6vw 8vh; }
  .hup-land-hero-scroll { display: none; }
  .hup-land-section { padding: 4rem 6vw; }
  .hup-land-sessions-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hup-land-cards { grid-template-columns: repeat(2, 1fr); }
  .hup-land-walkin { grid-template-columns: repeat(2, 1fr); }
  .hup-land-bar-sep { display: none; }
  .hup-land-bar-item { min-width: 50%; }
}
@media (max-width: 540px) {
  .hup-land-hero-content { padding: 3rem 5vw 6vh; }
  .hup-land-title { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hup-land-cta { flex-direction: column; gap: .6rem; width: 100%; }
  .hup-land-btn { justify-content: center; width: 100%; padding: 1rem 1.5rem; font-size: 1.05rem; }
  .hup-land-cards { grid-template-columns: 1fr; }
  .hup-land-walkin { grid-template-columns: 1fr; }
  .hup-land-bar-item { min-width: 100%; }
  .hup-land-logo { height: 42px; }
  .hup-land-section { padding: 3rem 5vw; }
  .hup-land-sessions-strip { padding: 1.25rem 5vw; }
}

/* ============================================================
   HUP License Upload Widget
   ============================================================ */
.hup-lic-header {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--hup-text);
  margin: 1.25rem 0 .75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hup-border);
}
.hup-lic-car {
  background: var(--hup-surface2);
  border: 1px solid var(--hup-border);
  border-radius: 8px; padding: 1rem;
  margin-bottom: .75rem;
}
.hup-lic-car-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: var(--hup-red);
  margin-bottom: .75rem;
}
.hup-lic-uploads {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin-top: .5rem;
}
.hup-lic-upload-box {
  border: 2px dashed var(--hup-border);
  border-radius: 8px; overflow: hidden;
  transition: border-color .2s;
  min-height: 90px;
}
.hup-lic-upload-box.has-file {
  border-style: solid; border-color: var(--hup-green);
}
.hup-lic-upload-inner {
  padding: .75rem .6rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
}
.hup-lic-upload-icon { font-size: 1.4rem; }
.hup-lic-upload-label { font-size: .78rem; font-weight: 700; color: var(--hup-text); display: block; }
.hup-lic-upload-sub { font-size: .68rem; color: var(--hup-muted); display: block; }
/* Label acts as the file button — no JS click needed, no double-open */
.hup-lic-choose-label {
  display: inline-block;
  font-size: .7rem; font-weight: 700; padding: .35rem .9rem;
  background: var(--hup-surface); border: 1px solid var(--hup-border);
  border-radius: 4px; cursor: pointer; color: var(--hup-text);
  transition: all .15s; margin-top: .3rem; user-select: none;
}
.hup-lic-choose-label:hover { border-color: var(--hup-red); color: var(--hup-red); }
.hup-lic-choose-label input[type="file"] {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; overflow: hidden; pointer-events: none;
}
.hup-lic-preview {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .75rem;
  background: rgba(45,198,83,.12);
  border: 1px solid var(--hup-green);
  border-radius: 6px; gap: .5rem; margin: .4rem;
}
.hup-lic-check { color: var(--hup-green); font-size: 1rem; flex-shrink: 0; }
.hup-lic-preview-name {
  font-size: .75rem; color: #fff; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1;
}
.hup-lic-remove {
  background: none; border: none; cursor: pointer;
  color: var(--hup-muted); font-size: .8rem; flex-shrink: 0;
  transition: color .15s;
}
.hup-lic-remove:hover { color: var(--hup-red); }

/* Force white text inside license cards regardless of theme */
.hup-lic-car .hup-form-group label,
.hup-lic-car-title,
.hup-lic-upload-label,
.hup-lic-upload-sub,
.hup-lic-preview-name { color: var(--hup-text) !important; }

/* White placeholder in license driver name input */
.hup-lic-car .hup-form-group input {
  background: var(--hup-surface2);
  border: 1.5px solid var(--hup-border);
  border-radius: 8px;
  color: var(--hup-text) !important;
  padding: .65rem .9rem;
  width: 100%;
  font-size: .9rem;
  box-sizing: border-box;
}
.hup-lic-car .hup-form-group input::placeholder { color: rgba(240,237,232,.4) !important; }
.hup-lic-car .hup-form-group input:focus { outline: none; border-color: var(--hup-red); }

/* Price breakdown rows force white */
.hup-price-summary .hup-price-row,
.hup-price-summary .hup-price-row span:first-child { color: var(--hup-text) !important; }


/* Booking form license container */
#hup-booking-licenses { margin-top: .5rem; }

/* Modal license container */
#hup-modal-licenses { }

@media (max-width: 480px) {
  .hup-lic-uploads { grid-template-columns: 1fr; }
}

/* ── Location Section ─────────────────────────────────────── */
.hup-land-section--location { background: var(--hup-land-dark3); }

.hup-land-location-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: stretch;
}

.hup-land-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--hup-land-border);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  background: var(--hup-land-dark4);
}

.hup-land-map-wrap iframe {
  filter: invert(90%) hue-rotate(180deg); /* Dark map style */
  width: 100%; height: 100%; display: block;
}

.hup-land-location-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--hup-land-dark4);
  border: 1px solid var(--hup-land-border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
}

.hup-land-loc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hup-land-border);
}
.hup-land-loc-item:last-of-type { border-bottom: none; padding-bottom: 0; }

.hup-land-loc-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.hup-land-loc-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--hup-land-muted); margin-bottom: .2rem;
}
.hup-land-loc-value {
  font-size: .95rem; font-weight: 600;
  color: var(--hup-land-text); line-height: 1.4;
}

@media (max-width: 900px) {
  .hup-land-location-grid {
    grid-template-columns: 1fr;
  }
  .hup-land-map-wrap { height: 300px; }
  .hup-land-map-wrap iframe { filter: invert(90%) hue-rotate(180deg); }
}

@media (max-width: 540px) {
  .hup-land-map-wrap { height: 250px; }
  .hup-land-location-info { padding: 1.25rem; }
}

/* Item 12: Disclaimer */
.hup-land-disclaimer {
  background: rgba(232,160,32,.1);
  border: 1px solid rgba(232,160,32,.3);
  border-left: 3px solid var(--hup-land-gold);
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .88rem;
  color: var(--hup-land-text);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.hup-land-disclaimer strong { color: var(--hup-land-gold); }

/* ── Purchase modal & license placeholders ─────────────────── */
.hup-modal-box input::placeholder,
.hup-lic-driver-name::placeholder { color: rgba(240,237,232,.4) !important; }
.hup-modal-box input,
.hup-lic-driver-name {
  background: var(--hup-surface2) !important;
  color: var(--hup-text) !important;
  border: 1.5px solid var(--hup-border) !important;
}
/* Processing button dimmed */
#hup-confirm-purchase:disabled { opacity: .6; cursor: not-allowed; }

/* ── Dynamic slot description ──────────────────────────────── */
#hup-slot-desc {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--hup-muted);
  font-style: italic;
}
/* Slot button: drift shows time range, drag/4x4 shows run number */
.hup-slot-btn {
  line-height: 1.3;
  text-align: center;
}

/* ── Language switcher (HUP_I18n) ──────────────────────────── */
.hup-lang-switcher {
  display:inline-flex; align-items:center; gap:.4rem;
  font-family:'Barlow Condensed',sans-serif; font-weight:700;
  font-size:.9rem; letter-spacing:.5px;
}
.hup-lang-opt {
  color:var(--hup-muted); text-decoration:none; padding:.2rem .55rem;
  border-radius:6px; transition:background .15s ease, color .15s ease;
}
.hup-lang-opt:hover { color:var(--hup-text); background:var(--hup-surface2); }
.hup-lang-opt.hup-lang-active {
  color:#fff; background:var(--hup-red);
}
.hup-lang-sep { color:var(--hup-border); }
