/* ─────────────────────────────────────────────────────────────
   Хайкор // Браслав — synthwave/miami-retro landing
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:       #0a0320;
  --bg-2:     #1a0540;
  --bg-3:     #2a0757;
  --ink:      #ffffff;
  --ink-dim:  rgba(255,255,255,.72);
  --ink-mute: rgba(255,255,255,.48);
  --pink:     #ff2bd6;
  --pink-2:   #ff6bf0;
  --cyan:     #22e7ff;
  --cyan-2:   #6ff5ff;
  --yellow:   #ffd400;
  --orange:   #ff7a00;
  --violet:   #7b2cff;
  --card:     rgba(255,255,255,.04);
  --card-brd: rgba(255,255,255,.12);
  --grad-sun: linear-gradient(180deg, #ffd400 0%, #ff7a00 45%, #ff2bd6 100%);
  --grad-sky: linear-gradient(180deg, #0a0320 0%, #2a0757 40%, #ff2bd6 80%, #ff7a00 100%);
  --font-head: "Anton", "Impact", "Oswald", system-ui, sans-serif;
  --font-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

html[data-theme="dark"]  { --bg:#050510; --bg-2:#0d0d22; --bg-3:#17173d; }
html[data-theme="light"] {
  --bg:#fff4f9; --bg-2:#ffe0f2; --bg-3:#ffd3eb;
  --ink:#2a0757; --ink-dim:rgba(42,7,87,.75); --ink-mute:rgba(42,7,87,.5);
  --card:rgba(255,255,255,.6); --card-brd:rgba(123,44,255,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { min-height: 100vh; background:
  radial-gradient(ellipse 120% 80% at 50% -10%, rgba(255,43,214,.25), transparent 60%),
  radial-gradient(ellipse 80% 60% at 100% 100%, rgba(34,231,255,.12), transparent 60%),
  var(--bg);
}
a { color: inherit; }
button { font-family: inherit; }

/* ── NAV ──────────────────────────────────────────────────── */
.hc-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(10,3,32,.5);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-head); font-size: 20px; letter-spacing: .04em; }
.hc-logo-mark { color: var(--pink); font-size: 18px; text-shadow: 0 0 12px var(--pink); }
.hc-logo-word { color: var(--ink); }
.hc-logo-braslav { color: var(--cyan); margin-left: 2px; }
.hc-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  align-items: center; font-size: 14px; }
.hc-nav a { text-decoration: none; color: var(--ink-dim); transition: color .2s; }
.hc-nav a:hover { color: var(--pink-2); }
.hc-nav-game {
  appearance: none; border: 1px solid var(--cyan); background: transparent;
  color: var(--cyan); padding: 6px 14px; border-radius: 999px; cursor: pointer;
  font-size: 13px; letter-spacing: .03em;
  box-shadow: 0 0 16px rgba(34,231,255,.3), inset 0 0 12px rgba(34,231,255,.12);
  transition: all .2s;
}
.hc-nav-game:hover { background: var(--cyan); color: #05011a; }

/* ── HERO ─────────────────────────────────────────────────── */
.hc-hero {
  position: relative; min-height: 100vh;
  padding: 60px 32px 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--grad-sky);
}
.hc-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hc-sun {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: min(620px, 80vw); height: min(620px, 80vw);
  border-radius: 50%;
  background: var(--grad-sun);
  box-shadow: 0 0 120px 40px rgba(255,43,214,.35);
  animation: hc-sun-pulse 5s ease-in-out infinite;
}
.hc-sun::before {
  content: ""; position: absolute; inset: 50% 0 0 0;
  background: repeating-linear-gradient(0deg,
    transparent 0 12px, var(--bg-2) 12px 22px,
    transparent 22px 40px, var(--bg-2) 40px 56px,
    transparent 56px 82px, var(--bg-2) 82px 102px,
    transparent 102px 140px, var(--bg-2) 140px 170px);
  mask: radial-gradient(circle at 50% 0%, #000 60%, transparent 65%);
  -webkit-mask: radial-gradient(circle at 50% 0%, #000 60%, transparent 65%);
}
@keyframes hc-sun-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.15); } }

.hc-grid {
  position: absolute; left: 50%; bottom: -20%;
  width: 240%; height: 60%;
  transform: translateX(-50%) perspective(600px) rotateX(60deg);
  background-image:
    linear-gradient(var(--cyan) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .4;
  mask: linear-gradient(transparent 0%, #000 40%, #000 80%, transparent 100%);
  -webkit-mask: linear-gradient(transparent 0%, #000 40%, #000 80%, transparent 100%);
  animation: hc-grid-slide 4s linear infinite;
}
@keyframes hc-grid-slide {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 60px, 60px 0; }
}

.hc-palm { position: absolute; bottom: 0; width: 180px; height: 360px; pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(0,0,0,.4)); }
.hc-palm-l { left: -10px; }
.hc-palm-r { right: -10px; }

.hc-hero-marquee {
  position: absolute; top: 12%; left: 0; right: 0;
  overflow: hidden; height: 28px;
  pointer-events: none;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  display: flex; align-items: center;
}
.hc-marquee-track {
  display: inline-flex; white-space: nowrap;
  animation: hc-marquee 40s linear infinite;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  color: rgba(255,255,255,.55);
}
.hc-marquee-track span { padding-right: 20px; }
@keyframes hc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hc-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px;
}
.hc-tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--yellow); padding: 6px 14px;
  border: 1px solid rgba(255,212,0,.6);
  background: rgba(255,212,0,.08);
  border-radius: 999px;
  text-shadow: 0 0 8px rgba(255,212,0,.6);
}

.hc-title {
  font-family: var(--font-head);
  font-size: clamp(72px, 14vw, 220px);
  line-height: .86;
  letter-spacing: .01em;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
}
.hc-title-row {
  display: block;
  -webkit-text-stroke: 2px rgba(255,255,255,.8);
  font-style: italic;
  transform: skewX(-6deg);
}
.hc-neon-pink {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #ffc8f0 40%, #ff2bd6 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 8px #ff2bd6) drop-shadow(0 0 24px rgba(255,43,214,.6));
}
.hc-neon-cyan {
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, #c8f6ff 40%, #22e7ff 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 8px #22e7ff) drop-shadow(0 0 24px rgba(34,231,255,.6));
}

.hc-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.3vw, 17px);
  color: var(--ink-dim);
  max-width: 640px;
  margin: 0;
  letter-spacing: .02em;
}

.hc-hero-meta {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hc-meta-block { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hc-meta-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 2px;
}
.hc-meta-value { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink); }
.hc-meta-sep { width: 1px; height: 32px; background: rgba(255,255,255,.2); }

.hc-countdown {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 18px 28px;
  background: rgba(0,0,0,.4);
  border: 1px solid var(--pink);
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(255,43,214,.35), inset 0 0 20px rgba(255,43,214,.08);
  font-variant-numeric: tabular-nums;
}
.hc-count-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hc-count-num {
  font-family: var(--font-head); font-size: clamp(36px, 5vw, 64px); line-height: 1;
  color: var(--ink); text-shadow: 0 0 12px var(--pink);
  min-width: 1.8ch; text-align: center;
}
.hc-count-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.hc-count-sep {
  font-family: var(--font-head); font-size: clamp(36px, 5vw, 64px);
  color: var(--pink); animation: hc-blink 1s infinite;
}
@keyframes hc-blink { 50% { opacity: .3; } }
.hc-countdown-live {
  font-family: var(--font-head); font-size: clamp(28px, 3.5vw, 44px); letter-spacing: .05em;
  color: var(--yellow); text-shadow: 0 0 16px var(--yellow);
  animation: hc-sun-pulse 1.2s infinite;
}

.hc-hero-ctas { display: flex; gap: 14px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }
.hc-btn {
  text-decoration: none; appearance: none; border: none;
  font-family: var(--font-head); letter-spacing: .05em; font-size: 16px;
  padding: 14px 28px; border-radius: 999px;
  cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.hc-btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 0 24px rgba(255,43,214,.6), 0 8px 20px rgba(0,0,0,.4);
}
.hc-btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 36px rgba(255,43,214,.8); }
.hc-btn-ghost {
  background: transparent; color: var(--cyan); border: 1.5px solid var(--cyan);
  box-shadow: inset 0 0 12px rgba(34,231,255,.12);
}
.hc-btn-ghost:hover { background: rgba(34,231,255,.1); }

.hc-hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; color: var(--ink-mute);
  animation: hc-scroll-bounce 2s infinite;
}
@keyframes hc-scroll-bounce { 50% { transform: translate(-50%, 6px); } }

/* ── STATS ────────────────────────────────────────────────── */
.hc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  background: #0a0320;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-stat {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
  position: relative;
  transition: background .3s;
}
.hc-stat:last-child { border-right: none; }
.hc-stat:hover { background: rgba(255,43,214,.05); }
.hc-stat-val {
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 112px); line-height: 1;
  background: linear-gradient(180deg, var(--cyan-2), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(255,43,214,.4));
}
.hc-stat-label {
  font-family: var(--font-head); font-size: 20px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); margin-top: 4px;
}
.hc-stat-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--ink-mute); margin-top: 4px;
}

/* ── INTRO ────────────────────────────────────────────────── */
.hc-intro {
  padding: 120px 32px;
  max-width: 1080px; margin: 0 auto;
  text-align: center;
}
.hc-intro-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 24px;
}
.hc-intro-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5.2vw, 72px); line-height: 1.05;
  margin: 0 0 28px; font-weight: 400; letter-spacing: .01em;
  text-wrap: balance;
}
.hc-hl-pink { color: var(--pink); text-shadow: 0 0 20px var(--pink); }
.hc-hl-cyan { color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }
.hc-intro-body {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-dim);
  max-width: 720px; margin: 0 auto; text-wrap: pretty;
}

/* ── SECTION HEAD ─────────────────────────────────────────── */
.hc-section-head {
  padding: 80px 32px 32px; max-width: 1280px; margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.hc-section-title {
  font-family: var(--font-head); font-size: clamp(36px, 5vw, 72px);
  margin: 0; letter-spacing: .01em; font-weight: 400;
}
.hc-section-sub {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── CREW ─────────────────────────────────────────────────── */
.hc-crew { padding: 0 32px 80px; max-width: 1280px; margin: 0 auto; }
.hc-crew-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hc-crew-card {
  appearance: none; border: none; background: transparent; cursor: pointer;
  position: relative; aspect-ratio: 3/4;
  padding: 0;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.3,1);
}
.hc-crew-card.is-flipped { transform: rotateY(180deg); }
.hc-crew-card:hover:not(.is-flipped) { transform: translateY(-4px); }
.hc-crew-grid { perspective: 1400px; }
.hc-crew-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: left;
}
.hc-crew-front {
  background:
    linear-gradient(180deg, transparent 20%, rgba(10,3,32,.92) 100%),
    linear-gradient(135deg,
      oklch(65% 0.28 calc(var(--card-hue))) 0%,
      oklch(45% 0.32 calc(var(--card-hue) + 40)) 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,.3),
    0 12px 40px rgba(0,0,0,.5);
}
.hc-crew-front::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px;
  background: repeating-linear-gradient(0deg,
    transparent 0 2px, rgba(255,255,255,.04) 2px 3px);
  pointer-events: none;
}
.hc-crew-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--pink);
  box-shadow: 0 0 32px rgba(255,43,214,.4);
  align-items: center; justify-content: center; text-align: center;
}

.hc-crew-emoji {
  position: absolute; top: 20px; right: 20px;
  font-size: 40px; filter: drop-shadow(0 0 12px rgba(0,0,0,.6));
}
.hc-crew-role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 6px;
}
.hc-crew-name {
  font-family: var(--font-head); font-size: 28px; line-height: 1.05;
  color: #fff; margin-bottom: 6px; letter-spacing: .01em;
}
.hc-crew-hover {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); opacity: .7;
}
.hc-crew-quirk {
  font-family: var(--font-body); font-style: italic; font-size: 20px; line-height: 1.35;
  color: var(--ink); text-wrap: balance; margin-bottom: 14px;
}
.hc-crew-back-name {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--pink);
}

.hc-crew-more {
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.hc-crew-more-dots {
  font-family: var(--font-head);
  font-size: 32px; letter-spacing: .25em;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(34,231,255,.55);
  line-height: 1;
}
.hc-crew-more-text {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ── SCHEDULE ─────────────────────────────────────────────── */
.hc-schedule { padding: 0 32px 80px; max-width: 1280px; margin: 0 auto; }
.hc-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 32px;
}
.hc-tab {
  appearance: none; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--ink); cursor: pointer;
  padding: 18px; border-radius: 14px;
  text-align: left;
  display: flex; flex-direction: column; gap: 6px;
  transition: all .2s;
}
.hc-tab:hover { border-color: var(--cyan); background: rgba(34,231,255,.05); }
.hc-tab.is-active {
  border-color: var(--pink); background: rgba(255,43,214,.1);
  box-shadow: 0 0 24px rgba(255,43,214,.3), inset 0 0 16px rgba(255,43,214,.1);
}
.hc-tab-day {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em;
  color: var(--yellow);
}
.hc-tab-date { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); }
.hc-tab-title {
  font-family: var(--font-head); font-size: 24px; letter-spacing: .02em;
  margin-top: 4px;
}
.hc-tab.is-active .hc-tab-title {
  background: linear-gradient(180deg, var(--cyan-2), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hc-tab-panel {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.4);
  border-radius: 16px; padding: 28px 32px;
}
.hc-sched-row {
  display: grid; grid-template-columns: 80px 20px 1fr; align-items: center;
  gap: 16px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  animation: hc-fade-in .4s ease-out both;
}
.hc-sched-row:last-child { border-bottom: none; }
@keyframes hc-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hc-sched-time {
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  color: var(--cyan); letter-spacing: .05em;
}
.hc-sched-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 12px var(--pink);
}
.hc-sched-text { font-size: 16px; color: var(--ink-dim); line-height: 1.5; }

/* ── FAQ ──────────────────────────────────────────────────── */
.hc-faq { padding: 0 32px 80px; max-width: 960px; margin: 0 auto; }
.hc-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hc-faq-item {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 20px 24px;
  cursor: pointer; transition: all .2s;
  background: rgba(255,255,255,.02);
}
.hc-faq-item:hover { border-color: var(--cyan); }
.hc-faq-item.is-open { border-color: var(--pink); background: rgba(255,43,214,.06); }
.hc-faq-q {
  display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 14px;
  font-family: var(--font-head); font-size: 20px; letter-spacing: .01em;
  color: var(--ink);
}
.hc-faq-n {
  font-family: var(--font-mono); font-size: 12px; color: var(--yellow);
  letter-spacing: .15em;
}
.hc-faq-toggle {
  font-family: var(--font-head); font-size: 24px; color: var(--cyan); text-align: right;
  transition: transform .2s;
}
.hc-faq-item.is-open .hc-faq-toggle { color: var(--pink); }
.hc-faq-a {
  max-height: 0; overflow: hidden;
  padding-left: 62px;
  font-size: 15px; line-height: 1.6; color: var(--ink-dim);
  transition: max-height .35s ease, padding-top .2s ease;
}
.hc-faq-item.is-open .hc-faq-a {
  max-height: 220px; padding-top: 14px;
}

/* ── RSVP ─────────────────────────────────────────────────── */
.hc-rsvp { padding: 80px 32px; max-width: 1080px; margin: 0 auto; }
.hc-rsvp-card {
  position: relative; overflow: hidden;
  padding: 72px 48px; border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(34,231,255,.2), transparent 70%),
    radial-gradient(ellipse 80% 80% at 0% 100%, rgba(255,43,214,.3), transparent 70%),
    linear-gradient(135deg, #2a0757, #0a0320);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(255,43,214,.25);
  text-align: center;
}
.hc-rsvp-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,231,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,231,255,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask: radial-gradient(ellipse at center, transparent 30%, #000 80%);
  -webkit-mask: radial-gradient(ellipse at center, transparent 30%, #000 80%);
  pointer-events: none;
}
.hc-rsvp-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px; position: relative;
}
.hc-rsvp-title {
  font-family: var(--font-head);
  font-size: clamp(48px, 8vw, 112px); line-height: .92;
  margin: 0 0 20px; letter-spacing: .01em; font-weight: 400;
  position: relative;
}
.hc-rsvp-sub {
  font-size: 16px; color: var(--ink-dim); margin: 0 auto 32px; max-width: 480px;
  position: relative;
}
.hc-rsvp-actions { display: flex; justify-content: center; gap: 16px; position: relative; flex-wrap: wrap; }
.hc-rsvp-btn {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 22px; letter-spacing: .04em;
  padding: 18px 36px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: all .25s;
}
.hc-rsvp-yes {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 0 28px rgba(255,43,214,.6);
}
.hc-rsvp-yes:hover, .hc-rsvp-yes.is-on {
  transform: scale(1.05); box-shadow: 0 0 48px rgba(255,43,214,.9);
}
.hc-rsvp-no {
  background: rgba(255,255,255,.08); color: var(--ink-dim);
  border: 1px solid rgba(255,255,255,.18);
}
.hc-rsvp-no:hover, .hc-rsvp-no.is-on { background: rgba(255,255,255,.14); }
.hc-rsvp-arrow { transition: transform .2s; }
.hc-rsvp-yes:hover .hc-rsvp-arrow { transform: translateX(4px); }
.hc-rsvp-msg {
  margin-top: 28px;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: .05em;
  position: relative;
}
.hc-rsvp-msg-yes { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.hc-rsvp-msg-no  { color: var(--yellow); }

/* ── FOOTER ───────────────────────────────────────────────── */
.hc-footer {
  padding: 60px 32px 40px; text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #050110;
}
.hc-footer-big {
  font-family: var(--font-head);
  font-size: clamp(48px, 10vw, 140px); line-height: 1;
  letter-spacing: .02em;
  background: linear-gradient(180deg, var(--pink) 0%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .5;
  margin-bottom: 24px;
}
.hc-footer-meta {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  color: var(--ink-mute); display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* ── SPARKS ──────────────────────────────────────────────── */
.hc-spark-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9998; }
.hc-spark {
  position: fixed;
  font-size: 22px;
  animation: hc-spark-fly 1s ease-out forwards;
  filter: drop-shadow(0 0 6px currentColor);
  transform: translate(-50%, -50%);
}
@keyframes hc-spark-fly {
  0%   { transform: translate(calc(-50% ), calc(-50% )) scale(.3) rotate(0deg); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); opacity: 0; }
}

/* ── MINI-GAME ───────────────────────────────────────────── */
.hc-mg-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,1,16,.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: hc-fade-in .2s ease-out;
}
.hc-mg-card {
  width: min(640px, 100%);
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  border: 1px solid var(--pink);
  border-radius: 18px;
  box-shadow: 0 0 60px rgba(255,43,214,.5);
  overflow: hidden;
}
.hc-mg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hc-mg-title { font-family: var(--font-head); font-size: 20px; letter-spacing: .03em; }
.hc-mg-close {
  appearance: none; border: none; background: transparent;
  color: var(--ink-dim); font-size: 20px; cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px;
}
.hc-mg-close:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.hc-mg-hud {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px; font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-dim); border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-mg-hud b { color: var(--cyan); font-weight: 600; font-size: 16px; }
.hc-mg-btn {
  margin-left: auto;
  appearance: none; border: 1px solid var(--cyan); background: transparent; color: var(--cyan);
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
}
.hc-mg-btn:hover { background: var(--cyan); color: var(--bg); }
.hc-mg-field {
  position: relative; height: 380px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,43,214,.3), transparent 60%),
    linear-gradient(180deg, rgba(34,231,255,.15), rgba(10,3,32,1));
}
.hc-mg-splash {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-head); font-size: 22px;
  color: var(--ink); line-height: 1.4; padding: 20px;
}
.hc-mg-splash b { color: var(--yellow); }
.hc-bug {
  position: absolute; appearance: none; border: none; background: transparent;
  font-size: 32px; cursor: pointer;
  animation: hc-bug-appear .2s ease-out;
  transform: translate(-50%, -50%);
}
.hc-bug:hover { transform: translate(-50%, -50%) scale(1.3); }
@keyframes hc-bug-appear { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }

/* ── HERO PHOTO BG ───────────────────────────────────────── */
.hc-hero-photo {
  position: absolute; inset: 0;
  background-image: url("assets/photos/bw-lake.jpg");
  background-size: cover; background-position: center 40%;
  filter: saturate(1.1) contrast(1.05);
  z-index: 0;
}
.hc-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,3,32,.55) 0%,
      rgba(42,7,87,.35) 45%,
      rgba(255,43,214,.3) 80%,
      rgba(255,122,0,.25) 100%);
  mix-blend-mode: multiply;
}
.hc-hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0 2px, transparent 2px 4px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hc-hero-bg { z-index: 1; opacity: .82; mix-blend-mode: screen; }
.hc-hero-bg .hc-sun { opacity: .82; }
.hc-hero-bg .hc-grid { opacity: .6; }
.hc-hero-bg .hc-palm { display: none; } /* real photo has real trees — no SVG palms */

/* ── GALLERY ─────────────────────────────────────────────── */
.hc-gallery {
  position: relative;
  padding: 20px 32px 100px;
  max-width: 1440px; margin: 0 auto;
}

.hc-gallery-head {
  padding: 80px 0 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.hc-gallery-head-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--yellow);
  padding: 6px 14px;
  border: 1px solid rgba(255,212,0,.55);
  background: rgba(255,212,0,.06);
  border-radius: 999px;
  text-shadow: 0 0 8px rgba(255,212,0,.5);
}
.hc-gallery-title {
  font-family: var(--font-head); margin: 0;
  font-size: clamp(48px, 7vw, 112px); line-height: .92; font-weight: 400;
  letter-spacing: .01em;
  text-wrap: balance;
}
.hc-gallery-sub {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink-dim); max-width: 540px;
}
.hc-gallery-sub b { color: var(--cyan); }

/* Filter pills */
.hc-gallery-filters {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 6px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 10px;
}
.hc-gf {
  appearance: none; border: none; background: transparent; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  transition: all .2s;
}
.hc-gf:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.hc-gf.is-active {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 0 20px rgba(255,43,214,.5);
}
.hc-gf-icon { font-size: 14px; }
.hc-gf-n {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px;
  background: rgba(255,255,255,.1); color: var(--ink-dim);
  min-width: 20px; text-align: center;
}
.hc-gf.is-active .hc-gf-n { background: rgba(0,0,0,.25); color: #fff; }

/* Masonry — grid of flex columns; items distributed row-first via JS so
   reading order matches visual order (1st visible = 1st in array). */
.hc-gallery-masonry {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 16px;
  margin-top: 8px;
}
.hc-mcol {
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}
@media (max-width: 780px) {
  .hc-gallery-masonry { gap: 10px; }
  .hc-mcol { gap: 10px; }
}

.hc-mtile {
  display: block; width: 100%;
  appearance: none; border: none; padding: 0; margin: 0;
  background: #0a0320;
  border-radius: 14px; overflow: hidden;
  position: relative;
  cursor: zoom-in;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s;
  animation: hc-mtile-in .5s ease-out both;
  border: 1px solid rgba(255,255,255,.05);
}
@media (max-width: 780px) { .hc-mtile { border-radius: 10px; } }
@keyframes hc-mtile-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.hc-mtile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease, filter .3s;
  filter: saturate(1.05);
}
.hc-mtile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px var(--pink), 0 0 24px rgba(255,43,214,.35);
  z-index: 2;
}
.hc-mtile:hover img { transform: scale(1.05); }

.hc-mtile-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(10%);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.hc-mtile:hover .hc-mtile-overlay { opacity: 1; transform: none; }
.hc-mtile-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: #fff; font-weight: 600;
  background: rgba(10,3,32,.7);
  padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  display: inline-block;
}

.hc-mtile-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s;
  backdrop-filter: blur(6px);
}
.hc-mtile:hover .hc-mtile-zoom { opacity: 1; transform: scale(1); }

/* ── LIGHTBOX ────────────────────────────────────────────── */
.hc-lb {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,1,16,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  grid-template-rows: 72px 1fr 60px;
  animation: hc-fade-in .2s ease-out;
  cursor: zoom-out;
}

.hc-lb-close {
  grid-column: 3; grid-row: 1;
  justify-self: center; align-self: center;
  appearance: none; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--ink); font-size: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.hc-lb-close:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: rotate(90deg); }

.hc-lb-nav {
  align-self: center; justify-self: center;
  appearance: none; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.hc-lb-nav:hover { background: var(--cyan); border-color: var(--cyan); color: var(--bg); box-shadow: 0 0 24px rgba(34,231,255,.5); }
.hc-lb-prev { grid-column: 1; grid-row: 2; }
.hc-lb-next { grid-column: 3; grid-row: 2; }

.hc-lb-stage {
  grid-column: 2; grid-row: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 0; min-width: 0; padding: 10px;
  cursor: default;
}
.hc-lb-stage img {
  max-width: 100%; max-height: 100%; min-height: 0;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.7), 0 0 80px rgba(255,43,214,.25);
  animation: hc-lb-in .35s cubic-bezier(.2,.8,.3,1);
  object-fit: contain;
}
@keyframes hc-lb-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.hc-lb-meta {
  margin-top: 14px;
  text-align: center;
  max-width: 640px;
  padding: 0 12px;
}
.hc-lb-counter {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 6px;
  display: inline-flex; gap: 10px; align-items: center;
}
.hc-lb-pipe { opacity: .4; }
.hc-lb-tag { color: var(--pink-2); }
.hc-lb-cap {
  font-family: var(--font-head); font-size: 22px; letter-spacing: .01em;
  color: var(--ink); line-height: 1.2;
}
.hc-lb-place {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-top: 4px;
}

.hc-lb-hint {
  grid-column: 1 / -1; grid-row: 3;
  align-self: center; justify-self: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 8px;
}

@media (max-width: 700px) {
  .hc-lb {
    grid-template-columns: 56px 1fr 56px;
    grid-template-rows: 56px 1fr auto 44px;
  }
  .hc-lb-stage { grid-column: 1 / -1; grid-row: 2; }
  .hc-lb-nav { width: 44px; height: 44px; }
  .hc-lb-prev { grid-row: 3; grid-column: 1; }
  .hc-lb-next { grid-row: 3; grid-column: 3; }
  .hc-lb-meta { grid-column: 2; grid-row: 3; margin: 0; padding: 8px; }
  .hc-lb-cap { font-size: 16px; }
  .hc-lb-place { display: none; }
  .hc-lb-hint { display: none; }
}

/* ── INTRO with photo ─────────────────────────────────────── */
.hc-intro-wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,3,32,.85) 0%, rgba(42,7,87,.7) 60%, rgba(10,3,32,.95) 100%),
    url("assets/photos/sup-orange.jpg") center / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-intro-wrap .hc-intro { padding: 140px 32px; }

/* ── SCHEDULE photo banner ───────────────────────────────── */
.hc-tab-banner {
  position: relative; height: 200px;
  border-radius: 14px; overflow: hidden;
  margin-bottom: 20px;
  background-size: cover; background-position: center;
}
.hc-tab-banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,3,32,.1) 0%, rgba(10,3,32,.85) 100%);
}
.hc-tab-banner-label {
  position: absolute; left: 24px; bottom: 18px; z-index: 1;
  font-family: var(--font-head);
  font-size: 48px; line-height: 1;
  color: #fff; letter-spacing: .02em;
  text-shadow: 0 0 24px rgba(0,0,0,.8);
}
.hc-tab-banner-kicker {
  position: absolute; left: 24px; top: 18px; z-index: 1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em;
  color: var(--yellow); text-transform: uppercase;
  background: rgba(0,0,0,.4); padding: 4px 10px; border-radius: 4px;
}

/* ── CREW photo avatars ──────────────────────────────────── */
.hc-crew-front {
  overflow: hidden;
  justify-content: flex-end;
}
.hc-crew-front > .hc-crew-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.1) contrast(1.02);
  z-index: 0;
}
.hc-crew-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(10,3,32,.1) 40%,
      rgba(10,3,32,.9) 85%,
      rgba(10,3,32,.98) 100%),
    linear-gradient(135deg,
      oklch(60% 0.25 calc(var(--card-hue))) 0%,
      transparent 50%);
  mix-blend-mode: multiply;
}
.hc-crew-front > .hc-crew-role,
.hc-crew-front > .hc-crew-name,
.hc-crew-front > .hc-crew-hover { position: relative; z-index: 1; padding-right: 56px; }
.hc-crew-front > .hc-crew-emoji {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.55);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  z-index: 3;
}

/* ── CREW EDITOR ─────────────────────────────────────────── */
.hc-cedit-hint {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 9998;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: rgba(10,3,32,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,43,214,.6);
  box-shadow: 0 0 24px rgba(255,43,214,.4), 0 8px 32px rgba(0,0,0,.4);
  padding: 10px 18px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  pointer-events: none;
  animation: hc-cedit-hint-in .25s ease;
}
.hc-cedit-hint-dot { color: var(--pink); animation: hc-cedit-pulse 1.4s ease-in-out infinite; }
@keyframes hc-cedit-hint-in { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes hc-cedit-pulse  { 50% { opacity: .3; } }

.hc-cedit-overlay {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: auto;
  display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 12px;
  border-radius: 18px;
  outline: 2px dashed rgba(255,43,214,.5);
  outline-offset: -4px;
  background: transparent;
  transition: background .15s, outline-color .15s;
}
.hc-cedit-overlay.is-hover {
  background: rgba(34,231,255,.18);
  outline-color: var(--cyan);
  outline-style: solid;
}
.hc-cedit-btn {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,43,214,.92);
  padding: 8px 12px; border-radius: 999px;
  box-shadow: 0 0 16px rgba(255,43,214,.5);
  transition: transform .15s, box-shadow .15s;
}
.hc-cedit-btn:hover {
  transform: scale(1.05); box-shadow: 0 0 24px rgba(255,43,214,.8);
}
.hc-cedit-drop {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; letter-spacing: .04em;
  color: var(--cyan); text-shadow: 0 0 12px var(--cyan);
  background: rgba(10,3,32,.4); backdrop-filter: blur(2px);
  border-radius: 14px;
  pointer-events: none;
}

.hc-cedit-modal-bg {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,1,18,.78); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: hc-cedit-bg-in .2s ease;
}
@keyframes hc-cedit-bg-in { from { opacity: 0; } }
.hc-cedit-modal {
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 60px rgba(255,43,214,.2);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: hc-cedit-modal-in .25s cubic-bezier(.2,.8,.3,1);
}
@keyframes hc-cedit-modal-in {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
}
.hc-cedit-modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hc-cedit-modal-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.hc-cedit-modal-title {
  font-family: var(--font-head); font-size: 26px; letter-spacing: .01em;
  color: #fff;
}
.hc-cedit-modal-x {
  appearance: none; border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: var(--ink-dim);
  font-size: 16px;
}
.hc-cedit-modal-x:hover { background: rgba(255,255,255,.12); color: #fff; }
.hc-cedit-modal-body {
  display: grid; grid-template-columns: 240px 1fr; gap: 20px;
  padding: 20px 24px;
  overflow-y: auto;
}

.hc-cedit-photo-drop {
  position: relative;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,.04);
  border: 2px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  background-size: cover; background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.hc-cedit-photo-drop:hover { border-color: var(--cyan); }
.hc-cedit-photo-drop.is-drag {
  border-color: var(--cyan); border-style: solid;
  box-shadow: 0 0 32px rgba(34,231,255,.5);
}
.hc-cedit-photo-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hc-cedit-photo-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
  opacity: 0; transition: opacity .15s;
}
.hc-cedit-photo-drop:hover .hc-cedit-photo-overlay,
.hc-cedit-photo-drop.is-drag .hc-cedit-photo-overlay { opacity: 1; }
.hc-cedit-photo-action {
  font-family: var(--font-head); font-size: 18px; letter-spacing: .04em;
  color: #fff; text-shadow: 0 0 12px rgba(0,0,0,.8);
}
.hc-cedit-photo-hint {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan);
}

.hc-cedit-fields { display: flex; flex-direction: column; gap: 12px; }
.hc-cedit-field {
  display: flex; flex-direction: column; gap: 5px;
}
.hc-cedit-field-lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hc-cedit-input {
  appearance: none;
  font-family: var(--font-body); font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
  resize: vertical;
}
.hc-cedit-input::placeholder { color: rgba(255,255,255,.3); }
.hc-cedit-input:focus { border-color: var(--cyan); background: rgba(34,231,255,.06); }
.hc-cedit-input.is-mono { font-family: var(--font-mono); }

/* Emoji picker */
.hc-cedit-field-lbl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.hc-cedit-field-preview {
  font-size: 22px; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.hc-cedit-emoji-grid {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px;
  max-height: 160px; overflow-y: auto;
  padding: 6px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
}
.hc-cedit-emoji {
  appearance: none; border: 1px solid transparent; cursor: pointer;
  background: transparent;
  font-size: 18px; line-height: 1;
  width: 100%; aspect-ratio: 1;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, border-color .12s, transform .08s;
}
.hc-cedit-emoji:hover { background: rgba(255,255,255,.08); transform: scale(1.1); }
.hc-cedit-emoji.is-on {
  background: rgba(255,43,214,.2); border-color: var(--pink);
  box-shadow: 0 0 10px rgba(255,43,214,.4);
}

/* ── GALLERY EDITOR ──────────────────────────────────────── */
.hc-gallery-masonry.is-editing .hc-mtile {
  cursor: default;
  outline: 1px dashed rgba(255,255,255,.18);
  outline-offset: 2px;
}
.hc-gallery-masonry.is-editing .hc-mtile:hover {
  transform: none;
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(34,231,255,.25);
}
.hc-gallery-masonry.is-editing .hc-mtile-zoom { display: none; }
.hc-gallery-masonry.is-editing .hc-mtile:hover img { transform: none; }
.hc-mtile.is-removed { opacity: .45; }
.hc-mtile.is-removed img { filter: grayscale(1) brightness(.5); }

.hc-gedit-chrome {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 4;
}
.hc-gedit-mini {
  pointer-events: auto;
  position: absolute; top: 10px;
  appearance: none; border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1; font-weight: 600;
  color: #fff;
  background: rgba(10,3,32,.85);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  transition: transform .12s, background .12s, box-shadow .12s;
}
.hc-gedit-mini:hover { transform: scale(1.1); }
.hc-gedit-pen     { right: 48px; }
.hc-gedit-pen:hover     { background: var(--cyan); border-color: var(--cyan); color: var(--bg); box-shadow: 0 0 16px rgba(34,231,255,.55); }
.hc-gedit-del     { right: 10px; }
.hc-gedit-del:hover     { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 16px rgba(255,43,214,.55); }
.hc-gedit-restore { right: 10px; }
.hc-gedit-restore:hover { background: var(--yellow); border-color: var(--yellow); color: var(--bg); box-shadow: 0 0 16px rgba(255,212,0,.55); }
.hc-gedit-removed-veil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; letter-spacing: .12em;
  color: var(--yellow); text-shadow: 0 0 12px rgba(0,0,0,.8);
  pointer-events: none;
}

.hc-mtile.hc-gedit-add {
  cursor: pointer;
  border: 2px dashed rgba(255,255,255,.25);
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s, transform .15s;
  outline: none !important;
}
.hc-mtile.hc-gedit-add:hover {
  border-color: var(--pink);
  background: rgba(255,43,214,.06);
  transform: translateY(-3px);
  box-shadow: 0 0 24px rgba(255,43,214,.35);
}
.hc-mtile.hc-gedit-add.is-drag {
  border-color: var(--cyan); border-style: solid;
  background: rgba(34,231,255,.1);
  box-shadow: 0 0 32px rgba(34,231,255,.4);
}
.hc-gedit-add-inner {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px; text-align: center;
}
.hc-gedit-plus {
  font-size: 64px; font-weight: 200; line-height: 1;
  color: var(--cyan); text-shadow: 0 0 18px rgba(34,231,255,.5);
}
.hc-gedit-add-lbl {
  font-family: var(--font-head); font-size: 20px; letter-spacing: .03em;
  color: #fff;
}
.hc-gedit-add-hint {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* Gallery edit modal — reuses .hc-cedit-modal-* shell with a few tweaks */
.hc-gedit-modal-body { grid-template-columns: 280px 1fr; }
@media (max-width: 700px) {
  .hc-gedit-modal-body { grid-template-columns: 1fr; }
}
.hc-gedit-photo-drop {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 2px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  background-size: cover; background-position: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
  min-height: 200px;
  max-height: 50vh;
}
.hc-gedit-photo-drop:hover { border-color: var(--cyan); }
.hc-gedit-photo-drop.is-drag {
  border-color: var(--cyan); border-style: solid;
  box-shadow: 0 0 32px rgba(34,231,255,.5);
}
.hc-gedit-photo-drop .hc-cedit-photo-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
  opacity: 0; transition: opacity .15s;
}
.hc-gedit-photo-drop:hover .hc-cedit-photo-overlay,
.hc-gedit-photo-drop.is-drag .hc-cedit-photo-overlay { opacity: 1; }

.hc-gedit-tag-row {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.hc-gedit-tag {
  appearance: none; border: 1px solid rgba(255,255,255,.14); cursor: pointer;
  font: inherit;
  background: rgba(255,255,255,.04);
  color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .04em;
  transition: all .12s;
}
.hc-gedit-tag:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); }
.hc-gedit-tag.is-on {
  background: rgba(255,43,214,.18); border-color: var(--pink);
  color: #fff; box-shadow: 0 0 12px rgba(255,43,214,.4);
}
.hc-gedit-tag-em { font-size: 14px; }

.hc-cedit-modal-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}
.hc-cedit-btn-reset {
  appearance: none; border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  padding: 9px 14px; border-radius: 999px;
}
.hc-cedit-btn-reset:hover { color: var(--yellow); border-color: var(--yellow); }
.hc-cedit-btn-done {
  appearance: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  padding: 10px 24px; border-radius: 999px;
  box-shadow: 0 0 20px rgba(255,43,214,.5);
}
.hc-cedit-btn-done:hover { transform: scale(1.03); box-shadow: 0 0 28px rgba(255,43,214,.7); }

@media (max-width: 700px) {
  .hc-cedit-modal-body { grid-template-columns: 1fr; }
  .hc-cedit-photo-drop { max-width: 240px; margin: 0 auto; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hc-nav { padding: 14px 16px; }
  .hc-nav ul { gap: 14px; font-size: 12px; }
  .hc-nav ul li:nth-child(-n+2) { display: none; }
  .hc-hero { padding: 40px 16px 100px; }
  .hc-hero-meta { flex-direction: column; gap: 10px; padding: 14px 20px; }
  .hc-meta-sep { width: 40px; height: 1px; }
  .hc-stats { grid-template-columns: repeat(2, 1fr); }
  .hc-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hc-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .hc-intro, .hc-crew, .hc-schedule, .hc-faq, .hc-rsvp { padding-left: 16px; padding-right: 16px; }
  .hc-intro-wrap .hc-intro { padding: 90px 16px; }
  .hc-gallery { padding-left: 16px; padding-right: 16px; }
  .hc-tab-banner { height: 140px; }
  .hc-tab-banner-label { font-size: 32px; }
  .hc-section-head { padding: 60px 16px 24px; }
  .hc-crew-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hc-tabs { grid-template-columns: repeat(2, 1fr); }
  .hc-rsvp-card { padding: 48px 24px; }
  .hc-sched-row { grid-template-columns: 64px 10px 1fr; gap: 10px; }
  .hc-faq-q { grid-template-columns: 36px 1fr 20px; gap: 8px; font-size: 16px; }
  .hc-faq-a { padding-left: 44px; }
}
@media (max-width: 560px) {
  .hc-crew-grid { grid-template-columns: 1fr; }
  .hc-countdown { gap: 4px; padding: 14px 16px; }
  .hc-count-cell { min-width: 56px; }
}

/* ── COUNTDOWN — celebrate / post phases ─────────────────── */
.hc-countdown-celebrate {
  position: relative;
  flex-direction: column; align-items: center; gap: 6px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,43,214,.18), rgba(34,231,255,.18));
  border: 1px solid rgba(255,43,214,.45);
  box-shadow: 0 0 32px rgba(255,43,214,.25), inset 0 0 30px rgba(34,231,255,.15);
  overflow: hidden;
}
.hc-countdown-live {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: .04em;
  background: linear-gradient(180deg, var(--cyan-2), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 18px rgba(255,43,214,.35);
}
.hc-cd-flame {
  -webkit-background-clip: initial; background-clip: initial; color: initial;
  font-size: 0.7em;
  animation: hc-cd-flame 1.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255,122,24,.65));
}
@keyframes hc-cd-flame {
  to { transform: translateY(-2px) scale(1.08); }
}
.hc-countdown-live-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hc-cd-confetti {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hc-cd-conf {
  position: absolute; top: -10px;
  border-radius: 1px;
  display: block;
  animation: hc-cd-conf-fall linear infinite;
  opacity: .85;
}
@keyframes hc-cd-conf-fall {
  0%   { transform: translateY(-10px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(160px) rotate(540deg); opacity: 0; }
}

.hc-countdown-post {
  flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 24px;
  background: rgba(34,231,255,.06);
  border: 1px solid rgba(34,231,255,.35);
}
.hc-countdown-post-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4.4vw, 40px); letter-spacing: .06em;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(34,231,255,.45);
}
.hc-countdown-post-sub {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-align: center; line-height: 1.6;
}

/* Schedule — current-day badge */
.hc-tab.is-today {
  border-color: var(--cyan);
  background: rgba(34,231,255,.07);
  box-shadow: 0 0 22px rgba(34,231,255,.25);
}
.hc-tab.is-today.is-active {
  border-color: var(--pink);
  background: rgba(255,43,214,.12);
  box-shadow: 0 0 26px rgba(255,43,214,.35), inset 0 0 16px rgba(34,231,255,.1);
}
.hc-tab-today-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 9px; letter-spacing: .14em;
  color: var(--bg); background: var(--cyan);
  border-radius: 999px;
  vertical-align: middle;
  animation: hc-today-pulse 1.6s ease-in-out infinite;
}
@keyframes hc-today-pulse {
  50% { box-shadow: 0 0 12px rgba(34,231,255,.65); }
}

/* RSVP — closed state */
.hc-rsvp-card.hc-rsvp-closed::before {
  background-image:
    linear-gradient(180deg, transparent 60%, rgba(34,231,255,.1) 100%);
}
.hc-rsvp-closed .hc-rsvp-tag { color: var(--cyan); }

/* ── NAV: idle game button ───────────────────────────────── */
.hc-nav-idle {
  background: linear-gradient(135deg, #6cbf63, #2e7d32) !important;
  color: #fff !important;
  border-color: #6cbf63 !important;
}
.hc-nav-idle:hover { box-shadow: 0 0 14px rgba(80,180,80,.55); }

/* ── IDLE GAME ──────────────────────────────────────────── */
.hc-idle-bg {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5, 18, 30, .82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: hc-idle-fade .25s ease;
}
@keyframes hc-idle-fade { from { opacity: 0; } }

.hc-idle-wrap {
  position: relative;
  width: min(420px, 100%);
  height: min(820px, calc(100vh - 32px));
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 4px #1a3a4a;
  font-family: "Nunito", "Space Grotesk", system-ui, sans-serif;
  background: #79c6e8;
  animation: hc-idle-pop .35s cubic-bezier(.2,.8,.3,1.1);
}
@keyframes hc-idle-pop {
  from { transform: scale(.92) translateY(20px); opacity: 0; }
}

.hc-idle-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
}
.hc-idle-coins {
  display: flex; align-items: center; gap: 6px;
  background: #2a2a44; color: #fff;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  border: 3px solid #fff4d4;
  font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
  letter-spacing: .02em;
}
.hc-idle-coin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffec8a, #f7b500 70%, #b87800);
  font-size: 13px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}
.hc-idle-progress { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hc-idle-progress-lbl {
  font-size: 9px; letter-spacing: .2em; font-weight: 800;
  color: rgba(255,255,255,.95); text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.hc-idle-progress-bar {
  height: 8px; border-radius: 999px;
  background: rgba(0,0,0,.25);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.85);
}
.hc-idle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffd341, #ff7a18);
  transition: width .3s;
}
.hc-idle-x {
  appearance: none; border: 3px solid #fff4d4;
  background: #ff4d4d; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 14px; font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,.2);
}
.hc-idle-x:hover { transform: scale(1.08); }

.hc-idle-scene { position: absolute; inset: 0; overflow: hidden; }
.hc-idle-sky {
  position: absolute; top: 0; left: 0; right: 0; height: 32%;
  background: linear-gradient(180deg, #84cdf0 0%, #b3e0ee 100%);
}
.hc-idle-lake {
  position: absolute; top: 24%; left: 0; right: 0; height: 14%;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,.18) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #5cb6dc 0%, #4099c0 100%);
  border-bottom: 3px solid #336c8a;
}
.hc-idle-ground {
  position: absolute; top: 36%; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #9fd771 0%, #7ec64d 60%, #5fa83b 100%);
}

.hc-idle-tree {
  position: absolute;
  width: 0; height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 90px solid #357a31;
}
.hc-idle-tree::after {
  content: ""; position: absolute;
  left: -14px; bottom: -90px;
  width: 28px; height: 14px;
  background: #3a2614;
  border-radius: 2px;
}
.hc-idle-tree-1 { left: 4px;   top: 22%;    transform: scale(.85); }
.hc-idle-tree-2 { right: 4px;  top: 18%;    transform: scale(1); }
.hc-idle-tree-3 { left: 8px;   bottom: 14%; transform: scale(1.3); }
.hc-idle-tree-4 { right: 24px; bottom: 4%;  transform: scale(1.1); }
.hc-idle-tree-5 { right: 6px;  bottom: 24%; transform: scale(.9); }

.hc-idle-building {
  position: absolute;
  transform: translate(-50%, -50%);
  appearance: none; background: transparent; border: 0;
  cursor: pointer; padding: 0;
  display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
  transition: transform .15s;
  z-index: 2;
}
.hc-idle-building:hover { transform: translate(-50%, -52%); }
.hc-idle-building.is-sel { transform: translate(-50%, -54%); }
.hc-idle-building.is-sel .hc-idle-svg {
  filter: drop-shadow(0 0 8px rgba(255,212,65,.9));
}
.hc-idle-building.is-max .hc-idle-svg {
  filter: drop-shadow(0 0 10px rgba(255,255,255,.95));
}
.hc-idle-bldg-label {
  margin-bottom: 4px;
  display: flex; flex-direction: column; align-items: center;
  color: #fff;
  text-shadow: -1.5px -1.5px 0 #2a4a2e, 1.5px -1.5px 0 #2a4a2e,
              -1.5px 1.5px 0 #2a4a2e, 1.5px 1.5px 0 #2a4a2e;
  pointer-events: none;
}
.hc-idle-bldg-name { font-size: 14px; font-weight: 900; line-height: 1; }
.hc-idle-bldg-lvl { font-size: 11px; font-weight: 800; margin-top: 1px; opacity: .95; }
.hc-idle-svg { display: block; width: 96px; height: auto; }
.hc-idle-fire {
  width: 78px;
  animation: hc-idle-flick .35s ease-in-out infinite alternate;
}
@keyframes hc-idle-flick { to { transform: scaleY(1.04) translateY(-1px); } }
.hc-idle-tent-svg { width: 110px; }

.hc-idle-sprinkler {
  position: absolute; left: 0; right: 0;
  top: 30%; height: 30%;
  pointer-events: none;
  z-index: 3;
}
.hc-idle-spr-coin {
  position: absolute; bottom: 0;
  font-size: 18px;
  animation-name: hc-idle-coin-rise;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.25));
}
@keyframes hc-idle-coin-rise {
  0%   { transform: translateY(20px) scale(.5); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-90px) scale(1); opacity: 0; }
}

.hc-idle-card {
  position: absolute;
  left: 50%; bottom: 56px;
  transform: translateX(-50%);
  width: min(300px, 80%);
  background: #fff8e8;
  border: 4px solid #fff4d4;
  border-radius: 18px;
  padding: 16px 20px 18px;
  text-align: center;
  z-index: 5;
  box-shadow: 0 8px 0 rgba(0,0,0,.15), 0 20px 40px rgba(0,0,0,.25);
  animation: hc-idle-card-in .25s cubic-bezier(.2,.8,.3,1.1);
}
@keyframes hc-idle-card-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
}
.hc-idle-card-arrow {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff4d4;
}
.hc-idle-card-title {
  font-weight: 900; font-size: 18px; letter-spacing: .04em;
  color: #5a4a2a;
}
.hc-idle-card-lvl {
  font-weight: 700; font-size: 14px; color: #7a6a45;
  margin-top: 2px; margin-bottom: 6px;
}
.hc-idle-card-stars {
  display: flex; justify-content: center; gap: 4px;
  margin-bottom: 8px;
}
.hc-idle-star { font-size: 18px; color: #c2a87a; transition: color .2s; }
.hc-idle-star.is-on { color: #ffc107; text-shadow: 0 0 8px rgba(255,193,7,.5); }
.hc-idle-card-progress {
  height: 10px; border-radius: 999px;
  background: #2a2a44;
  margin-bottom: 8px; overflow: hidden;
}
.hc-idle-card-progress-fill {
  height: 100%;
  background: linear-gradient(180deg, #6cd25b, #3a9d2e);
  transition: width .3s;
}
.hc-idle-card-income {
  font-weight: 700; font-size: 13px; color: #5a4a2a;
  margin-bottom: 10px;
}
.hc-idle-buy {
  appearance: none; border: 0;
  width: 100%; padding: 11px;
  border-radius: 12px;
  background: linear-gradient(180deg, #6cd25b, #3a9d2e);
  color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .04em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 0 #257319, inset 0 2px 0 rgba(255,255,255,.3);
  transition: transform .08s, box-shadow .08s;
}
.hc-idle-buy:hover:not(.is-locked):not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #257319, inset 0 2px 0 rgba(255,255,255,.3);
}
.hc-idle-buy:active:not(.is-locked):not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #257319, inset 0 2px 0 rgba(255,255,255,.3);
}
.hc-idle-buy.is-locked, .hc-idle-buy:disabled {
  background: linear-gradient(180deg, #aaa, #777);
  box-shadow: 0 4px 0 #555;
  cursor: not-allowed; opacity: .85;
}
.hc-idle-maxed {
  font-weight: 900; font-size: 14px;
  padding: 10px;
  background: linear-gradient(180deg, #ffd341, #ff7a18);
  color: #fff;
  border-radius: 12px;
  letter-spacing: .1em;
  box-shadow: 0 3px 0 #b65500;
}

.hc-idle-win {
  position: absolute; inset: 0;
  background: rgba(10, 24, 36, .82);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  z-index: 7;
  color: #fff; text-align: center; padding: 20px;
}
.hc-idle-win-title {
  font-weight: 900; font-size: 30px; letter-spacing: .03em;
  color: #ffd341; text-shadow: 0 4px 0 #b65500;
}
.hc-idle-win-sub { font-size: 16px; font-weight: 700; opacity: .9; }
.hc-idle-win-meta { font-size: 12px; opacity: .7; }
.hc-idle-win .hc-idle-buy { max-width: 240px; }

.hc-idle-toast {
  position: absolute; top: 58px; left: 50%;
  transform: translateX(-50%);
  background: #2a2a44; color: #fff;
  border: 3px solid #ffd341;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800; font-size: 13px;
  z-index: 6;
  animation: hc-idle-toast 5s ease forwards;
}
@keyframes hc-idle-toast {
  0%   { opacity: 0; transform: translate(-50%, -20px); }
  10%  { opacity: 1; transform: translate(-50%, 0); }
  85%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -16px); }
}

.hc-idle-floater {
  position: absolute;
  transform: translate(-50%, -50%);
  font-weight: 900; font-size: 22px;
  color: #ffd341;
  text-shadow: -1.5px -1.5px 0 #b65500, 1.5px -1.5px 0 #b65500,
              -1.5px 1.5px 0 #b65500, 1.5px 1.5px 0 #b65500;
  pointer-events: none;
  z-index: 8;
  animation: hc-idle-flt 1s ease-out forwards;
}
@keyframes hc-idle-flt {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  20%  { opacity: 1; transform: translate(-50%, -55%) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -110%) scale(1); }
}

.hc-idle-foot {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(10, 24, 36, .55);
  color: #fff;
  z-index: 4;
  font-size: 11px; font-weight: 700;
}
.hc-idle-reset {
  appearance: none; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff;
  font: inherit;
  padding: 4px 10px; border-radius: 999px;
  cursor: pointer;
}
.hc-idle-reset:hover { background: rgba(255,255,255,.2); }
.hc-idle-income-meta { opacity: .9; letter-spacing: .05em; }

@media (max-width: 480px) {
  .hc-idle-wrap { border-radius: 18px; }
  .hc-idle-bldg-name { font-size: 12px; }
  .hc-idle-svg { width: 80px; }
  .hc-idle-tent-svg { width: 92px; }
  .hc-idle-card { width: min(280px, 86%); }
}

/* ── Coin icon (real SVG, replaces emoji) ───────────────── */
.hc-idle-coin-svg {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18));
}
/* Old .hc-idle-coin was a pill icon for emoji — override to render bare SVG */
.hc-idle-coins .hc-idle-coin-svg { margin-right: 4px; }

/* Concept-style bigger upgrade card */
.hc-idle-card {
  width: min(340px, 86%);
  bottom: 64px;
  padding: 20px 24px 22px;
  border-radius: 22px;
}
.hc-idle-card-title {
  font-size: 22px; letter-spacing: .05em;
  font-weight: 900;
}
.hc-idle-card-lvl {
  font-size: 16px; font-weight: 800;
  margin-bottom: 10px;
}
.hc-idle-card-stars {
  gap: 6px; margin-bottom: 12px;
}
.hc-idle-star { font-size: 22px; }
.hc-idle-card-progress {
  height: 14px; border-radius: 999px;
  margin-bottom: 12px;
  border: 1.5px solid #2a2a44;
}
.hc-idle-card-income {
  font-size: 14px; font-weight: 700;
  margin-bottom: 14px;
}
.hc-idle-card-income b {
  color: #2d7d20;
}
.hc-idle-buy {
  padding: 13px; font-size: 16px;
  border-radius: 14px;
  gap: 10px;
}

/* Multiplier badge in top area */
.hc-idle-mult {
  position: absolute;
  top: 76px; left: 14px;
  z-index: 4;
  background: linear-gradient(135deg, #ff7a18, #ffd341);
  color: #4a2a00;
  padding: 4px 11px;
  border-radius: 999px;
  border: 2.5px solid #fff;
  font-weight: 900; font-size: 13px; letter-spacing: .05em;
  box-shadow: 0 3px 0 rgba(0,0,0,.18);
  animation: hc-idle-mult-pulse 1.4s ease-in-out infinite;
}
@keyframes hc-idle-mult-pulse {
  50% { transform: scale(1.06); }
}
.hc-idle-mult-sm {
  display: inline-block;
  padding: 1px 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: #ffd341;
  color: #4a2a00;
  font-weight: 900;
}

/* Footer: shop button */
.hc-idle-shop-btn {
  appearance: none;
  border: 2px solid #ffd341;
  background: linear-gradient(180deg, #6a4cd1, #4a2c91);
  color: #fff;
  font: inherit; font-weight: 800; font-size: 11px; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
  transition: transform .08s;
}
.hc-idle-shop-btn:hover { transform: translateY(-1px); }
.hc-idle-shop-btn.has {
  background: linear-gradient(180deg, #5db05d, #2e7d32);
}

/* Helpers in scene */
.hc-idle-helper {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.25));
  pointer-events: none;
  z-index: 2;
  animation: hc-idle-pop .35s cubic-bezier(.2,.8,.3,1.1);
}
.hc-idle-sprite {
  width: 58px;
  height: auto;
  display: block;
  animation: hc-idle-helper-bob 2.4s ease-in-out infinite;
}
@keyframes hc-idle-helper-bob {
  50% { transform: translateY(-2px); }
}
.hc-idle-helper-tag {
  margin-top: 2px;
  font-size: 10px; font-weight: 900; letter-spacing: .03em;
  color: #fff;
  text-shadow: -1.5px -1.5px 0 #2a4a2e, 1.5px -1.5px 0 #2a4a2e,
              -1.5px 1.5px 0 #2a4a2e, 1.5px 1.5px 0 #2a4a2e;
}

/* Shop overlay */
.hc-idle-shop {
  position: absolute;
  left: 50%; bottom: 56px;
  transform: translateX(-50%);
  width: min(360px, 92%);
  max-height: 70%;
  background: #fff8e8;
  border: 4px solid #fff4d4;
  border-radius: 22px;
  padding: 14px 14px 14px;
  z-index: 6;
  box-shadow: 0 8px 0 rgba(0,0,0,.2), 0 20px 50px rgba(0,0,0,.35);
  display: flex; flex-direction: column;
  animation: hc-idle-card-in .25s cubic-bezier(.2,.8,.3,1.1);
}
.hc-idle-shop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px 10px;
  border-bottom: 2px dashed rgba(0,0,0,.12);
  margin-bottom: 8px;
}
.hc-idle-shop-title {
  font-weight: 900; font-size: 18px; letter-spacing: .1em;
  color: #5a4a2a;
}
.hc-idle-shop-sub {
  font-size: 11px; color: #7a6a45;
  margin-top: 2px;
}
.hc-idle-shop-sub b { color: #b65500; }
.hc-idle-shop-head .hc-idle-x { width: 30px; height: 30px; font-size: 12px; }
.hc-idle-shop-list {
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}
.hc-idle-shop-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fffce4;
  border: 2px solid #e9deb4;
  border-radius: 14px;
}
.hc-idle-shop-row.owned {
  background: #e6f5d6;
  border-color: #8cc964;
  opacity: .95;
}
.hc-idle-shop-portrait {
  width: 50px; height: 50px;
  background: #fff;
  border: 2px solid #c2a87a;
  border-radius: 12px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.hc-idle-shop-portrait .hc-idle-sprite { width: 42px; height: 48px; animation: none; }
.hc-idle-shop-info { min-width: 0; }
.hc-idle-shop-row-title {
  font-weight: 800; font-size: 13px;
  color: #4a3a1f;
  line-height: 1.2;
}
.hc-idle-shop-role { font-weight: 500; color: #7a6a45; font-size: 11px; }
.hc-idle-shop-blurb {
  font-size: 11px; color: #7a6a45;
  margin-top: 2px;
  font-style: italic;
}
.hc-idle-shop-effect {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px; font-weight: 900; letter-spacing: .04em;
  color: #b65500;
  background: rgba(255,212,65,.4);
  padding: 1px 6px;
  border-radius: 999px;
}
.hc-idle-shop-buy {
  appearance: none; border: 0;
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #6cd25b, #3a9d2e);
  color: #fff; font-weight: 900; font-size: 13px;
  cursor: pointer;
  box-shadow: 0 3px 0 #257319, inset 0 2px 0 rgba(255,255,255,.3);
  transition: transform .08s;
}
.hc-idle-shop-buy:hover:not(:disabled) { transform: translateY(-1px); }
.hc-idle-shop-buy:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 #257319; }
.hc-idle-shop-buy.is-locked, .hc-idle-shop-buy:disabled {
  background: linear-gradient(180deg, #aaa, #777);
  box-shadow: 0 3px 0 #555;
  cursor: not-allowed; opacity: .85;
}
.hc-idle-shop-owned {
  font-weight: 900; font-size: 11px; letter-spacing: .08em;
  color: #2e7d32;
  padding: 8px 10px;
  background: #d4ebbe;
  border-radius: 10px;
  white-space: nowrap;
}

/* x2 floater (yellow burst) */
.hc-idle-flt-x2 {
  color: #ff7a18;
  font-size: 26px;
  text-shadow: -1.5px -1.5px 0 #ffd341, 1.5px -1.5px 0 #ffd341,
              -1.5px 1.5px 0 #ffd341, 1.5px 1.5px 0 #ffd341;
}

/* ── Locked / unpurchased building ──────────────────────── */
.hc-idle-building.is-locked .hc-idle-svg {
  opacity: .9;
  filter: drop-shadow(0 0 6px rgba(58,107,48,.45));
}
.hc-idle-buildspot {
  width: 76px; height: 76px;
  animation: hc-idle-spot-pulse 1.6s ease-in-out infinite;
}
@keyframes hc-idle-spot-pulse {
  50% { transform: scale(1.05); opacity: .85; }
}
.hc-idle-bldg-lock {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 900;
  margin-top: 1px;
  background: rgba(0,0,0,.55);
  color: #ffd341;
  padding: 2px 8px 2px 4px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,212,65,.6);
}
.hc-idle-bldg-lock .hc-idle-coin-svg { display: inline-block; vertical-align: middle; }

/* Per-building coin spray (drifts up from a building's anchor) */
.hc-idle-bldg-spray {
  position: absolute;
  width: 60px; height: 80px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 3;
}
.hc-idle-bldg-spray-coin {
  position: absolute; bottom: 4px; left: 50%;
  animation-name: hc-idle-bldg-rise;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  filter: drop-shadow(0 1.5px 0 rgba(0,0,0,.22));
}
@keyframes hc-idle-bldg-rise {
  0%   { transform: translate(-50%, 20px) scale(.4); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(-50%, -64px) scale(1); opacity: 0; }
}

/* Card close button (small ✕ in corner) */
.hc-idle-card { position: absolute; }
.hc-idle-card-close {
  position: absolute;
  top: -10px; right: -10px;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #ff4d4d;
  color: #fff;
  border: 2.5px solid #fff;
  font-size: 11px; font-weight: 900;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0,0,0,.18);
  z-index: 1;
}
.hc-idle-card-close:hover { transform: scale(1.08); }

/* ── Floating beer bottle (Stas event) ──────────────────── */
.hc-idle-bottle {
  position: absolute;
  top: 18%;
  transform: translate(-50%, 0);
  appearance: none; background: transparent; border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 5;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.18));
  animation: hc-idle-bottle-life 5s ease forwards;
}
.hc-idle-bottle:hover { transform: translate(-50%, -3px); }
.hc-idle-bottle-svg {
  width: 38px; height: auto;
  display: block;
  animation: hc-idle-bottle-bob .9s ease-in-out infinite alternate;
}
@keyframes hc-idle-bottle-bob {
  0%   { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(2px) rotate(6deg); }
}
@keyframes hc-idle-bottle-life {
  0%   { opacity: 0; transform: translate(-50%, 24px); }
  10%  { opacity: 1; transform: translate(-50%, 0); }
  85%  { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}

/* "Beer" floater — wider so the long phrase fits */
.hc-idle-flt-beer {
  background: #fff8e8;
  color: #4a2a00;
  font-weight: 900; font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 3px solid #ffd341;
  box-shadow: 0 6px 0 rgba(0,0,0,.22);
  text-shadow: none;
  white-space: nowrap;
  animation: hc-idle-flt-beer 2.2s cubic-bezier(.2,.8,.3,1) forwards;
  z-index: 9;
  letter-spacing: .02em;
}
@keyframes hc-idle-flt-beer {
  from { opacity: 0; transform: translate(-50%, -30%) scale(.6); }
  15%  { opacity: 1; transform: translate(-50%, -60%) scale(1.08); }
  30%  { transform: translate(-50%, -60%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -150%) scale(1); }
}
