:root {
  /* HobbyCon core */
  --hc-text: #0b0b14;
  --hc-muted: #4b5563;         /* gray-600-ish */
  --hc-surface: #ffffff;
  --hc-surface-2: #f7f7ff;     /* soft lavender tint */
  --hc-border: rgba(15, 23, 42, 0.10);

  /* brand gradient */
  --hc-grad-a: #d8b4fe;        /* purple-300 */
  --hc-grad-b: #a5b4fc;        /* indigo-300 */
}

/* LIGHT background “soft glow” (bright + welcoming) */
.bg-glow {
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(216,180,254,0.55), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(165,180,252,0.45), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--hc-surface-2) 100%);
  color: var(--hc-text);
}


/* Reusable “HobbyCon logo” gradient text without Tailwind */
.hc-gradient-text {
  background: linear-gradient(90deg, var(--hc-grad-a), var(--hc-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Optional: gradient ring / border accent you can reuse */
.hc-gradient-ring {
  position: relative;
}
.hc-gradient-ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216,180,254,0.8), rgba(165,180,252,0.8));
  z-index: -1;
}

.hc-surface {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--hc-border);
  border-radius: 1.25rem; /* 20px */
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.04);
}

html { scroll-behavior: smooth; }


/* -----------------------------
   Navigation links – HobbyCon
-------------------------------- */

.nav-link {
  position: relative;
  color: #334155; /* slate-700 */
  transition: color 0.2s ease;
}

/* Hover = underline only */
.nav-link:hover {
  color: #334155;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #c4b5fd, #a5b4fc);
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Active page = underline only */
.nav-link.active {
  color: inherit; /* keep normal color */
}

.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}


/* =========================
   BUTTONS (Light theme)
   ========================= */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    color 160ms ease, border-color 160ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.hc-btn:active {
  transform: translateY(1px);
}

/* PRIMARY gradient button */
.hc-btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;

  border-radius:999px;
  padding:.9rem 1.5rem;
  font-weight:700;

  color:#2a0f55;
  background: linear-gradient(
    135deg,
    #c7b6ff 0%,
    #a5b9ff 35%,
    #9fd3ff 65%,
    #cbbcff 100%
  );

  border:none;

  transition:
    transform 180ms cubic-bezier(.2,.8,.2,1),
    box-shadow 180ms cubic-bezier(.2,.8,.2,1),
    background-position 220ms ease;
  
  background-size: 140% 140%;
  background-position: left center;
}

/* HOVER = POP */
.hc-btn-primary:hover{
  transform: translateY(-3px) scale(1.03);
  background-position: right center;

  box-shadow:
    0 26px 60px rgba(147, 105, 255, 0.45),
    0 10px 24px rgba(120, 75, 220, 0.35);
}

/* ACTIVE = PRESS */
.hc-btn-primary:active{
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 14px 32px rgba(147, 105, 255, 0.35);
}

/* Secondary / ghost: soft outline pill */
.hc-btn-ghost {
  position: relative;
  color: #1f1330;

  /* Two-layer background */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(168,130,255,0.95), rgba(120,180,255,0.9)) border-box;

  border: 1px solid transparent;
  border-radius: 999px;

  box-shadow:
    0 14px 30px rgba(93, 58, 170, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;

  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hc-btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 38px rgba(93, 58, 170, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.75) inset;
}

/* Optional: small “link button” style inside cards */
.hc-btn-soft {
  color: #2a1b44;
  background: rgba(170, 130, 255, 0.12);
  border: 1px solid rgba(170, 130, 255, 0.28);
  box-shadow: 0 10px 20px rgba(90, 40, 160, 0.10);
}

.hc-btn-soft:hover {
  background: rgba(170, 130, 255, 0.16);
  transform: translateY(-1px);
}

/* ---------------------------
   Hobby Zones Icon Styling 
--------------------------- */

.zone-icon {
  height: 48px;
  width: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zone-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* Subtle hover polish */
.zone-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

/* =========================
   Individual Categories
   ========================= */

/* 🎨 Art */
.zone-art {
  background: #fdf2f8;         /* soft pink tint */
  border-color: #fbcfe8;
}
.zone-art svg {
  stroke: #db2777;
}

/* 🎮 Games */
.zone-games {
  background: #eef2ff;         /* soft indigo tint */
  border-color: #c7d2fe;
}
.zone-games svg {
  stroke: #6366f1;
}

/* 🧩 Collecting */
.zone-collecting {
  background: #fffcdf;         /* soft yellow tint */
  border-color: #fde68a;
}
.zone-collecting svg {
  stroke: #d9a806;
}

/* 🧵 Craft */
.zone-craft {
  background: #f0f9ff;         /* soft sky tint */
  border-color: #bae6fd;
}
.zone-craft svg {
  stroke: #0284c7;
}

/* 🔬 Science */
.zone-science {
  background: #ecfdf5;         /* soft emerald tint */
  border-color: rgb(166, 229, 190);
}
.zone-science svg {
  stroke: #059669;
}

/* 🏃 Sports & Movement */
.zone-sports {
  background: #ffecf9;         /* soft purple tint */
  border-color: #ffd3f0;
}
.zone-sports svg {
  stroke: #ed3ab1;
}

/* 🍳 Food */
.zone-food {
  background: #faf5ff;         /* soft violet tint */
  border-color: #e9d5ff;
}
.zone-food svg {
  stroke: #c026d3;
}

/* 🎭 Performance */
.zone-performance {
  background: #f5f3ff;         /* soft neutral tint */
  border-color: #ddd6fe;
}
.zone-performance svg {
  stroke: #7c3aed;
}

/* 🤝 Volunteering (your orange example) */
.zone-volunteering {
  background: #fff7ed;         /* very light orange tint */
  border-color: #fed7aa;
}
.zone-volunteering svg {
  stroke: #ea580c;
}

/* ---------------------------
   Card Hover Movement
--------------------------- */

.hc-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(80, 0, 150, 0.08);
}

.hc-card:hover .zone-icon {
  transform: scale(1.1) rotate(-4deg);
}

/* ---------------------------
   Mobile Nav Underline
--------------------------- */

#mobile-menu a,
#mobile-menu summary {
  position: relative;
}

#mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, #c4b5fd, #a5b4fc);
  transition: width 0.25s ease;
  border-radius: 9999px;
}

#mobile-menu a:hover::after {
  width: 100%;
}

/* Disable summary underline - we use .m-underline instead */
#mobile-menu summary::after {
  display: none;
}

/* Remove default summary marker */
#mobile-menu summary {
  list-style: none;
}
#mobile-menu summary::-webkit-details-marker {
  display: none;
}

/* Underline is tied to the span ONLY (so it won't stretch when dropdown opens) */
#mobile-menu .m-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px; /* space for underline */
}

/* purple underline */
#mobile-menu .m-underline::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 120%;
  border-radius: 999px;
  background: linear-gradient(to right, #c4b5fd, #a5b4fc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

/* show underline on hover + when opened */
#mobile-menu summary:hover .m-underline::after,
#mobile-menu details[open] > summary .m-underline::after {
  transform: scaleX(1);
}

/* Remove underline from CTA button */
#mobile-menu .hc-btn::after {
  display: none;
}

/* =========================================================
   Mahjong + Yoga Retreat animation
   ========================================================= */
.marquee-track {
  display: inline-block;
  transform: translateX(-50%);
  animation: marquee-scroll 22s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}


html, body { overflow-x: clip; }

@media (max-width: 640px) {
  body.bg-glow {
    padding-top: 4rem; /* adjust 2rem–4rem until it feels right */
  }
}

/* =========================
   HobbyCon Checkbox Style
========================= */

.hc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hc-check input {
  accent-color: #7c3aed; /* purple-600 */
  width: 16px;
  height: 16px;
}

.hc-check:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.hc-check input:checked + span {
  font-weight: 600;
  color: #6d28d9;
}

/* ========================= Retreat toggle button — slightly larger on mobile ========================= */
@media (max-width: 768px) {
  #toggleRetreatFormBtn {
    padding: 1.1rem 1.9rem;   /* bigger tap area */
    font-size: 1.05rem;       /* slightly larger text */
  }
}

/* ========================= Retreat gallery clicks ========================= */
/* Simple lightbox */
.lb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75); /* slate-ish */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.lb-overlay.is-open { display: flex; }

.lb-img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.lb-close {
  position: fixed;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ========================= Vendor app width — slightly larger on mobile ========================= */
@media (max-width: 640px) {
  #vendorCardNY,
  #vendorCardAZ {
    padding: 1.25rem; /* instead of p-7 (1.75rem) */
  }

  #vendorFormPanelNY section,
  #vendorFormPanelAZ section {
    padding-left: 0;
    padding-right: 0;
  }
}