/* Enjoy Events website v16: the home page membership teaser (25-10-2026, Dragos's approved mock). Own file, loaded after
   site.css on the home page only (site.css untouched). The three membership cards as a wallet stack, the tiers as rows,
   a signed-in member's status with the points ring (as on /plans). The faces .cc-fan / .cc-super / .cc-legend and
   .cc-lines / .cc-sheen / .cc-chip / .cc-num come from site.css; colours from the site tokens, so the light theme follows. */
.hm-mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: center; }
.hm-copy { min-width: 0; }
.hm-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hm-h { font-weight: 800; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.08; text-wrap: balance; margin-top: 8px; }
.hm-sub { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 36rem; }

/* wallet stack: three cards, each one's name stays visible, the front card fully; sizes in cqw so the stack scales */
.hm-stack { position: relative; width: min(600px, 100%); aspect-ratio: 600 / 410; margin: 0 auto; container-type: inline-size; }
.hm-cc { position: absolute; width: 54%; aspect-ratio: 1.62; border-radius: 3.2cqw; overflow: hidden; isolation: isolate; padding: 3cqw 3.4cqw; display: flex; flex-direction: column; box-shadow: 0 30px 60px -28px rgba(0,0,0,.75); transition: transform .5s cubic-bezier(.2,.75,0,1); }
.hm-cc.cc-legend { box-shadow: 0 30px 60px -28px rgba(191,30,116,.6), inset 0 0 0 1px rgba(255,94,163,.45); }
.hm-cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; font-size: 2cqw; }
.hm-cc-wm { font-weight: 800; font-size: 2.5cqw; }
.hm-cc-lvl { font-weight: 600; opacity: .8; }
.hm-cc-mid { display: flex; align-items: center; gap: 1.6cqw; margin-top: 2.4cqw; }
.hm-cc .cc-chip { width: 6.6cqw; height: 5cqw; border-radius: 1.2cqw; flex: none; }
.hm-cc .cc-chip::before { inset: 1.1cqw 1.6cqw; border-radius: .7cqw; }
.hm-cc-tag { display: inline-flex; align-items: center; height: 3.8cqw; padding: 0 1.6cqw; border-radius: 999px; font-size: 1.9cqw; font-weight: 700; background: #070811; color: #eef1fb; white-space: nowrap; }
.hm-cc-bot { margin-top: auto; }
.hm-cc-name { font-size: 4.4cqw; font-weight: 800; line-height: 1; }
.hm-cc-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 1.4cqw; }
.hm-cc-num { font-size: 2.1cqw; letter-spacing: .16em; opacity: .8; }
.hm-cc-price { white-space: nowrap; font-weight: 700; }
.hm-cc-price b { font-size: 4cqw; font-weight: 800; }
.hm-cc-price span { font-size: 2.1cqw; opacity: .8; }
.hm-stack > .hm-cc:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
.hm-stack > .hm-cc:nth-child(2) { left: 20%; top: 18%; transform: rotate(0deg); z-index: 2; }
.hm-stack > .hm-cc:nth-child(3) { left: 40%; top: 36%; transform: rotate(3deg); z-index: 3; }
.hm-stack:hover > .hm-cc:nth-child(1) { transform: rotate(-7deg) translate(-4%, -6%); }
.hm-stack:hover > .hm-cc:nth-child(2) { transform: rotate(-1deg) translate(0, -2%); }
.hm-stack:hover > .hm-cc:nth-child(3) { transform: rotate(5deg) translate(4%, 5%); }
@media (prefers-reduced-motion: reduce) { .hm-cc { transition: none; } }
.hm-sticker { position: absolute; right: 2%; top: 4%; z-index: 4; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--night-2); border: 1px solid var(--hair-2); box-shadow: 0 18px 36px -18px rgba(0,0,0,.7); font-size: 13px; font-weight: 700; white-space: nowrap; transform: rotate(-3deg); }
.hm-sticker svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hm-sticker b { color: var(--accent); }

/* tier rows (visitors) */
.hm-tiers { margin-top: 24px; border-top: 1px solid var(--hair); }
.hm-tier { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 18px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--hair); transition: background .2s; }
.hm-tier:hover { background: color-mix(in srgb, var(--night-2) 70%, transparent); }
.hm-sw { display: block; width: 46px; height: 29px; border-radius: 6px; position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 8px 16px -10px rgba(0,0,0,.7); }
.hm-sw.cc-legend { box-shadow: 0 8px 16px -10px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,94,163,.45); }
.hm-sw .cc-lines { opacity: .22; background-size: 60% 60%; }
.hm-nm { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 800; font-size: 17px; line-height: 1.2; }
.hm-nm .pill { font-family: "Inter", system-ui, sans-serif; letter-spacing: 0; height: 22px; font-size: 11px; }
.hm-pk { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-pr { text-align: right; font-weight: 700; white-space: nowrap; }
.hm-pr b { font-size: 19px; font-weight: 800; }
.hm-pr span { font-size: 12.5px; color: var(--muted); }
.hm-go { width: 18px; height: 18px; color: var(--accent); transition: transform .25s; }
.hm-tier:hover .hm-go { transform: translateX(3px); }

/* actions + terms */
.hm-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hm-cta .btn { height: 44px; }
.hm-cta .btn svg { width: 18px; height: 18px; flex: none; }
.hm-from { font-size: 14px; color: var(--muted); }
.hm-terms { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* signed-in member: the reward line with the ring, as the /plans pass */
.hm-reward { margin-top: 22px; display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,94,163,.42); background: radial-gradient(520px 200px at 0% 0%, rgba(255,94,163,.14), transparent 70%), var(--night-2); }
[data-theme="light"] .hm-reward { background: radial-gradient(520px 200px at 0% 0%, rgba(191,30,116,.08), transparent 70%), var(--night-2); }
.hm-ring { position: relative; width: 78px; height: 78px; flex: none; }
.hm-ring svg { width: 78px; height: 78px; display: block; }
.hm-ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.hm-ring-num b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hm-ring-num span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.hm-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--grad-sig); color: #070811; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hm-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #070811; opacity: .7; }
.hm-chip-soft { background: transparent; color: var(--muted); border: 1px solid var(--hair-2); }
.hm-chip-soft::before { background: var(--accent); opacity: 1; }
.hm-reward-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; margin-top: 8px; }
.hm-reward-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  .hm-mod { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-stack { width: min(460px, 100%); }
  .hm-sticker { height: 30px; font-size: 12px; right: 0; top: 0; }
}
@media (max-width: 560px) {
  .hm-tier { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; }
  .hm-sw { width: 38px; height: 24px; }
  .hm-go { display: none; }
  .hm-nm { font-size: 16px; }
  .hm-pk { white-space: normal; }
  .hm-pr b { font-size: 17px; }
  .hm-cta .btn { flex: 1 1 100%; }
}
