/* Lesterwund b2b YOU – futuristic content layer.
   Scoped to main.b2b-page: header, nav and page background stay on the site theme.
   Self-hosted font: Orbitron (OFL), latin subset. */
@font-face {
  font-family: "Orbitron"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/orbitron-500.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/orbitron-700.woff2") format("woff2");
}
@font-face {
  font-family: "Orbitron"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/orbitron-900.woff2") format("woff2");
}

/* Animatable angle for the holographic card borders. */
@property --holo-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.b2b-page {
  --fx: "Orbitron", "Zen Maru Gothic", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --h-pink: #e0558a;
  --h-violet: #8a63e8;
  --h-violet-ink: light-dark(#6a43d1, #b39cf5);   /* violet for small text: 4.5:1 or better on both themes */
  --h-cyan: #2fb2d8;
  --holo: linear-gradient(90deg, var(--h-pink), var(--h-violet), var(--h-cyan), var(--h-pink));
  --glass: light-dark(rgba(255, 255, 255, .72), rgba(36, 29, 44, .72));
  --card: light-dark(#fffdfc, #1f1a29);
  --inset: light-dark(rgba(255, 255, 255, .6), rgba(255, 255, 255, .06));
}

/* ---------- Hero ---------- */
.b2b-page .eyebrow { font-family: var(--mono); letter-spacing: .3em; font-size: .75rem; }
.b2b-page .eyebrow::before { content: "// "; color: var(--h-violet); }
.b2b-page .page-hero h1 {
  font-family: var(--fx); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 8vw, 4.4rem); letter-spacing: .02em; line-height: 1.1;
}
.b2b-page .page-hero h1 span {
  display: inline-block; padding: 0;
  background: var(--holo); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: holo-text 8s linear infinite;
}
@keyframes holo-text { to { background-position: 300% 0; } }
.b2b-page .hero-next { font-family: var(--mono); font-size: .95rem; letter-spacing: .04em; color: var(--neon2); }
.b2b-page .hero-next::before { content: "▸ "; color: var(--h-pink); }

/* Sign-up button: clipped corners, holographic fill, glow. */
.b2b-page .page-hero .btn {
  position: relative; border: 0; border-radius: 0; padding: 16px 30px;
  font-family: var(--fx); font-weight: 700; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--holo); background-size: 300% 100%;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  box-shadow: none; filter: drop-shadow(0 8px 18px rgba(138, 99, 232, .35));
  animation: holo-text 8s linear infinite;
  transition: transform .2s, filter .2s;
}
.b2b-page .page-hero .btn:hover, .b2b-page .page-hero .btn:focus-visible {
  background: var(--holo); background-size: 300% 100%;
  transform: translateY(-3px); filter: drop-shadow(0 12px 26px rgba(224, 85, 138, .5));
}

/* ---------- Section headings ---------- */
.b2b-page .section h2 {
  font-family: var(--fx); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 4vw, 1.9rem); letter-spacing: .08em;
}
.b2b-page .section h2::after {
  width: 120px; height: 2px; border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--h-pink), var(--h-violet), var(--h-cyan), transparent);
  background-size: 200% 100%; animation: scan 3s linear infinite;
}
@keyframes scan { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.b2b-page .live { font-family: var(--mono); }

/* ---------- Floating event cards ---------- */
.b2b-page .event-card {
  position: relative; border-radius: 18px; padding: 26px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--holo-angle), var(--h-pink), var(--h-violet), var(--h-cyan), #fff, var(--h-pink)) border-box;
  box-shadow: 0 18px 40px -12px rgba(138, 99, 232, .28), 0 0 0 1px var(--inset) inset;
  /* app.js sets a negative animation-delay so the motion survives the 5 s re-render. */
  animation: card-float 6s ease-in-out infinite, holo-spin 8s linear infinite;
}
.b2b-page .event-card.big {
  padding: 30px;
  box-shadow: 0 30px 60px -18px rgba(224, 85, 138, .35), 0 0 40px -10px rgba(47, 178, 216, .35), 0 0 0 1px var(--inset) inset;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-.25deg); }
}
@keyframes holo-spin { to { --holo-angle: 360deg; } }

/* HUD corner brackets */
.b2b-page .event-card::before, .b2b-page .event-card::after {
  content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none;
  border-color: var(--h-violet); border-style: solid; opacity: .7;
}
.b2b-page .event-card::before { top: 9px; left: 9px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.b2b-page .event-card::after { bottom: 9px; right: 9px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }

.b2b-page .event-card h3 {
  font-family: var(--fx); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.15rem; color: var(--text);
}
.b2b-page .event-card.big h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
.b2b-page .event-card .sub {
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--neon2);
}

.b2b-page .slot { border-top: 1px solid rgba(138, 99, 232, .16); }
.b2b-page .slot .time {
  font-family: var(--mono); font-size: .88rem; font-weight: 500; letter-spacing: .04em; color: var(--neon2);
}
.b2b-page .slot .time::before { content: "◷ "; color: var(--h-cyan); }
.b2b-page .slot .name {
  font-family: var(--fx); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.05rem; color: light-dark(#3a2f52, #efe8ff);
  text-shadow: 0 0 14px rgba(138, 99, 232, .35);
}
.b2b-page .event-card.big .slot .name { font-size: clamp(1rem, 3.4vw, 1.3rem); }
.b2b-page .slot .name.open {
  font-family: var(--mono); font-weight: 400; text-transform: none; letter-spacing: .08em; font-size: .9rem;
  color: var(--muted); text-shadow: none;
}
.b2b-page .slot .name.open::after { content: "_"; margin-left: 2px; color: var(--h-pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.b2b-page .slot.b2b .name {
  background: var(--holo); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  animation: holo-text 8s linear infinite;
}
.b2b-page .slot .vibe {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--h-violet-ink);
  padding: 3px 8px; border: 1px solid rgba(138, 99, 232, .35); border-radius: 4px; white-space: nowrap;
}
.b2b-page .slot .vibe:empty { display: none; }

.b2b-page .grid { gap: 26px; padding-top: 10px; }

/* Past events: quiet, still. */
.b2b-page .grid.mini .event-card {
  animation: none; opacity: .75; box-shadow: none;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(rgba(138, 99, 232, .25), rgba(138, 99, 232, .25)) border-box;
}
.b2b-page .grid.mini .event-card::before, .b2b-page .grid.mini .event-card::after { display: none; }
.b2b-page .grid.mini h3 { font-size: .9rem; }
.b2b-page .grid.mini .slot .name { font-size: .8rem; font-weight: 500; text-shadow: none; }

/* ---------- How to play: numbered HUD list ---------- */
.b2b-page .how ul { list-style: none; padding: 0; counter-reset: step; max-width: 76ch; }
.b2b-page .how li {
  counter-increment: step; position: relative; padding: 14px 16px 14px 62px; margin-bottom: 12px;
  background: var(--glass); border: 1px solid rgba(138, 99, 232, .18); border-left: 3px solid var(--h-violet);
  border-radius: 4px 12px 12px 4px;
}
.b2b-page .how li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 16px; top: 14px;
  font-family: var(--fx); font-weight: 900; font-size: 1rem; color: var(--h-pink);
}
.b2b-page .how b { font-family: var(--fx); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  .b2b-page .event-card, .b2b-page .page-hero h1 span, .b2b-page .page-hero .btn, .b2b-page .section h2::after,
  .b2b-page .slot.b2b .name, .b2b-page .slot .name.open::after { animation: none; }
  .b2b-page .page-hero .btn { transition: none; }
}

/* ---------- Breadcrumb accents (base styles in style.css) + tighter hero ---------- */
.b2b-page .crumbs li + li::before { color: var(--h-violet); }
.b2b-page .crumbs a:hover, .b2b-page .crumbs a:focus-visible { color: var(--h-pink); }
.b2b-page .page-hero .btn { margin-bottom: 0; }
.b2b-page #lineup { padding-top: 40px; }

/* ---------- Add to calendar ---------- */
.b2b-page .cal-btn {
  display: inline-flex; align-items: center; margin-top: 20px; padding: 10px 18px;
  font-family: var(--fx); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--h-violet-ink); text-decoration: none; background: rgba(138, 99, 232, .06);
  border: 1.5px solid rgba(138, 99, 232, .45); border-radius: 6px;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.b2b-page .cal-btn:hover, .b2b-page .cal-btn:focus-visible {
  color: #fff; background: #6a43d1; box-shadow: 0 8px 20px rgba(138, 99, 232, .35); transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .b2b-page .cal-btn { transition: none; } }
.b2b-page .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.b2b-page .card-actions .cal-btn { margin-top: 0; }
.b2b-page .share-btn { cursor: pointer; line-height: inherit; }

/* Icon-only share button with hover/focus tooltip */
.b2b-page .share-btn { position: relative; padding: 0; width: 42px; justify-content: center; }
.b2b-page .share-btn svg { width: 20px; height: 20px; fill: currentColor; }
.b2b-page .share-btn::after {
  content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px);
  padding: 5px 10px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: none;
  color: #fff; background: #3a2f52; opacity: 0; transition: opacity .15s, transform .15s;
}
.b2b-page .share-btn:hover::after, .b2b-page .share-btn:focus-visible::after, .b2b-page .share-btn.tip-on::after {
  opacity: 1; transform: translate(-50%, 0);
}
.b2b-page .card-actions { flex-wrap: nowrap; align-items: stretch; }
.b2b-page .card-actions .cal-btn:not(.share-btn) { padding: 10px 12px; font-size: .62rem; letter-spacing: .05em; white-space: nowrap; min-width: 0; }
.b2b-page .share-btn { flex: 0 0 42px; min-height: 40px; }

/* Venue line under the date */
.b2b-page .event-card .venue {
  margin: 0 0 6px; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--h-violet-ink);
}
.b2b-page .event-card .venue::before { content: "@ "; color: var(--h-pink); }
.b2b-page .grid.mini .venue { font-size: .72rem; }

/* b2b row: "B2B" big, "– 2 låtar var" small so the vibe tag fits beside it */
.b2b-page .slot.b2b .b2b-sub { font-size: .55em; letter-spacing: .08em; white-space: nowrap; }
