/* theme.css — loaded last. Unifies module styles with the flyer/zine direction:
   pixel labels, square corners, no pills, full-bleed strips, dithered thumbnails. */

/* hero layout re-asserted over hero.css */
.hero .hero-inner { position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 3; }

/* ---- hero: club lighting, crossing bands, chaser title ---- */
.hero-beams { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.hero-beams i { position: absolute; width: 160vmax; height: 160vmax; border-radius: 50%; opacity: .55;
  background: conic-gradient(from 0deg, transparent 0 32%, rgba(255, 255, 255, .16) 33%, transparent 35%, transparent 60%, rgba(58, 215, 240, .18) 61%, transparent 63%, transparent 100%);
  animation: beam 14s linear infinite; }
.hero-beams i:first-child { left: -80vmax; top: -80vmax; }
.hero-beams i:last-child { right: -80vmax; top: -80vmax; animation-direction: reverse; animation-duration: 19s;
  background: conic-gradient(from 90deg, transparent 0 20%, rgba(255, 61, 74, .22) 21%, transparent 23%, transparent 55%, rgba(255, 255, 255, .12) 56%, transparent 58%, transparent 100%); }
@keyframes beam { to { transform: rotate(360deg); } }
.hero-ghost { position: absolute; right: -2vw; top: 2vh; z-index: 0; font-family: var(--font-display); font-weight: 900; font-size: 92vh; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .14); pointer-events: none; animation: ghost 18s ease-in-out infinite alternate; }
@keyframes ghost { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(6deg) translateY(-4vh); } }
.hero-band--2 { background: var(--cyan); color: #000; transform: rotate(7deg); bottom: clamp(190px, 34vh, 340px); z-index: 1; }
.hero-band-track--rev { animation-direction: reverse; animation-duration: 44s; }
/* chaser: each letter blinks to outline in turn */
.hero-title.is-in .hero-title-ch { animation: chaser 4.2s steps(1) infinite; animation-delay: calc(var(--i, 0) * .25s + 2.5s); }
@keyframes chaser { 0%, 92% { color: var(--white); -webkit-text-stroke: 0; } 93%, 99% { color: transparent; -webkit-text-stroke: 3px var(--white); } }
/* jitter every ~9s */
.hero-title.is-in { animation: jitter 9s steps(1) infinite 4s; }
@keyframes jitter { 0%, 95.5%, 100% { transform: none; } 96% { transform: translate(-8px, 3px) skewX(6deg); } 97% { transform: translate(6px, -4px) skewX(-4deg); } 98% { transform: translate(-3px, 1px); } }
/* countdown digit flip */
.hero-count-row b { display: inline-block; }
.hero-count-row b.tick { animation: flip .45s var(--ease-out); }
@keyframes flip { 0% { transform: translateY(-.35em) scaleY(.6); opacity: .2; } 100% { transform: none; opacity: 1; } }
@media (max-width: 899px) {
  .hero-ghost { font-size: 70vw; right: -6vw; top: 30vh; }
  .hero-band--2 { bottom: clamp(220px, 40vh, 360px); }
}
@media (max-width: 899px) { .hero-beams { display: none; } }
.hero.has-3d .hero-beams { display: none; }   /* the 3D scene has its own lights */
.hero.is-off .hero-band-track, .hero.is-off .hero-ghost, .hero.is-off .hero-title, .hero.is-off .hero-title-ch, .hero.is-off .hero-beams i { animation-play-state: paused; }
@media (min-width: 1440px) { .about .sec-title--v { z-index: 2; mix-blend-mode: difference; } }

/* review fixes: no grain, no purple avatar, quieter timetable axis, no venue captions / duplicate access list */
.gallery-item__btn::after, .venue-slide__btn::after, .dj-avatar::after { display: none; }
.dj-avatar--gen { background: var(--bg-3); }
.dj-avatar--gen::before, .dj-avatar__px { display: none; }
.dj-avatar__ini { opacity: 1; color: transparent; -webkit-text-stroke: 2px var(--white); }
.tt-mark, .tt-head__axis { display: none !important; }
.tt-tick--h b { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -.02em; color: var(--white); }
.tt-head__floor b { white-space: nowrap; }
.tt-tick:not(.tt-tick--h) b { display: none; }
.tt-slot__time { font-size: 12px; }
.tt-slot__name { font-family: var(--font-body); font-weight: 900; font-size: clamp(15px, 1.5vw, 21px); }
.venue-slide__cap { display: none; }
.venue-access__k--sub, .venue-access__list { display: none; }
.game-overlay { background: rgba(7, 8, 12, .5); }
.game-canvas { touch-action: pan-y; }
.game-frame.is-live .game-canvas { touch-action: none; }
.zorn-poster img { cursor: url("../assets/cursor-link.svg") 3 2, pointer; }

/* game module: pixel labels, square phone frame */
.game { --game-mono: var(--font-mono); }
.game-phone { border-radius: 4px; }
.game-video-el { border-radius: 0; }
.game-phone::before { display: none; }
.game-phone-label, .game-tag, .game-hud-k, .game-hud-v, .game-bar-hint, .game-btn, .game-rank-k, .game-result-acc, .game-result-new, .game-best, .game-stat { letter-spacing: .02em; text-transform: none; }
.game-btn { border-radius: 0; }

/* sections module: pills → squares, labels → pixel */
.dj-pill, .venue-access__link, .tt-imglink, .lineup-tab, .lb__btn, .sx-ib { border-radius: 0; }
.dj-tag, .dj-card__time, .dj-card__idx, .tt-slot__time, .tt-head__axis, .tt-mark, .tt-status, .venue-slide__cap, .venue-strip__label, .venue-floor__cap, .venue-access__k, .gallery-foot, .gallery-item__n, .lb__bar, .dj-modal__idx, .dj-modal__time, .dj-modal__soon, .tt-head__floor, .tt-now__tag { letter-spacing: .02em; text-transform: none; }
.tt-slot__time, .tt-mark, .tt-head__axis { font-size: 12px; }
@media (min-width: 900px) { .tt-slot__time, .tt-mark { font-size: 14px; } }
.dj-avatar::after { display: none; }                      /* no grain */

/* venue strip: full bleed, slides of unequal width */
.venue-strip { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 0 var(--gutter); }
.venue-strip__scroller { padding-left: var(--gutter); }
.venue-slide:nth-child(3n+1) { flex-basis: min(86vw, 560px); }
.venue-slide:nth-child(3n+2) { flex-basis: min(60vw, 360px); }
.venue-slide:nth-child(3n) { flex-basis: min(72vw, 440px); }
.venue-slide:nth-child(even) { margin-top: 28px; }
.venue-strip__nav { margin: 14px var(--gutter) 0; }

/* gallery: dithered thumbnails that resolve to colour on hover / touch */
.gallery-item__btn { position: relative; }
.gallery-item__btn .dither { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; opacity: 1; transition: opacity .35s var(--ease); pointer-events: none; }
.gallery-item__btn.is-color .dither { opacity: 0; }
.gallery-item__btn.is-color:hover .dither, .gallery-item__btn.is-color:focus-visible .dither { opacity: 1; }
.gallery-film { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.gallery-film__item img { image-rendering: pixelated; }

.poster-name.is-time { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; color: var(--cyan); text-decoration: none; }

/* poster mode: tap the countdown circle → clean screen for screenshots */
.hero-circle { cursor: url("../assets/cursor-link.svg") 3 2, pointer; transition: transform .6s var(--ease-out); }
html.poster-mode .nav, html.poster-mode .hero-band, html.poster-mode .hero-entry, html.poster-mode .hero-wedge, html.poster-mode .float-cta, html.poster-mode .hero-ghost, html.poster-mode .hero-sub, html.poster-mode .hero-title { visibility: hidden; }
html.poster-mode .hero-circle { position: absolute; left: 50%; top: 50%; right: auto; width: min(78vw, 560px); background: rgba(7, 8, 12, .6); margin: calc(min(78vw, 560px) / -2) 0 0 calc(min(78vw, 560px) / -2); transform: none !important; translate: none !important; rotate: none !important; scale: none !important; }
html.poster-mode .hero-fact { position: absolute; left: 50%; bottom: 14vh; transform: translateX(-50%); margin: 0; }
html.poster-mode .hero-inner { position: static; }

/* post-apply bar */
.applied { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 1300; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; background: var(--white); color: #000; font-family: var(--font-body); font-weight: 900; transform: translateY(140%); transition: transform .4s var(--ease-out); }
.applied.is-show { transform: none; }
.applied .btn { border-width: 2px; }
.applied-x { margin-left: auto; width: 40px; height: 40px; font-size: 22px; }
@media (min-width: 900px) { .applied { left: auto; right: 24px; bottom: 24px; min-width: 320px; } }

/* dj modal: square */
.dj-modal__panel, .dj-modal__close { border-radius: 0; }
