/**
 * Event page enhancement styles.
 *
 * Extra sections added to single-collectiv_event.php: set times, lineup cards,
 * a two-column venue/map block, and the hero "X going" avatar row. Prefixed
 * .evx- and self-contained (hardcoded dark-theme tokens) so it can be enqueued
 * standalone on single collectiv_event pages without depending on main.css vars.
 *
 * @package Collectiv
 */

/* ---- shared keyframe (namespaced so it never clashes with cvpulse) ---- */
@keyframes evxpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================================
   HERO — "X going" avatar row + selling-fast enhancement
   ============================================================ */
.evx-going {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: #cfc7da;
	letter-spacing: 0.02em;
}

.evx-going__avatars {
	display: flex;
}

.evx-going__avatar {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #120c18;
	display: inline-block;
	margin-left: -8px;
}

.evx-going__avatar:first-child {
	margin-left: 0;
}

.evx-going__count {
	color: #f4f1f7;
	font-weight: 700;
}

/* Enhance the existing hero pill's dot so the pulse reads clearly as
   "selling fast" only when on-sale. Scoped to a modifier we add in PHP. */
.event-pill--selling .event-pill__dot {
	animation: evxpulse 1.6s infinite;
}

/* ============================================================
   SECTION shell (matches .event-block spacing/labels)
   ============================================================ */
.evx-block {
	margin-top: 38px;
}

.evx-label {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #7d7490;
	letter-spacing: 0.16em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

/* ============================================================
   SET TIMES — mono time + act rows
   ============================================================ */
.evx-schedule {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-width: 560px;
}

.evx-schedule__row {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 13px 0;
	border-bottom: 1px solid #15111d;
}

.evx-schedule__time {
	font-family: 'Space Mono', monospace;
	font-size: 14px;
	color: #ff8fc0;
	width: 64px;
	flex: 0 0 auto;
}

.evx-schedule__act {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: #f4f1f7;
}

/* ============================================================
   LINEUP — artist cards grid
   ============================================================ */
.evx-lineup {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.evx-artist {
	border: 1px solid #1c1626;
	border-radius: 14px;
	background: #100c18;
	overflow: hidden;
}

.evx-artist__art {
	height: 150px;
	position: relative;
	background: repeating-linear-gradient(125deg, #191120, #191120 9px, #221829 9px, #221829 18px);
}

.evx-artist__glow {
	position: absolute;
	inset: 0;
}

.evx-artist__body {
	padding: 13px 14px;
}

.evx-artist__name {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #f4f1f7;
}

.evx-artist__tag {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #8a7f98;
	margin-top: 3px;
}

/* ============================================================
   THE VENUE — two-column map + info card
   ============================================================ */
.evx-venue {
	border: 1px solid #1c1626;
	border-radius: 16px;
	background: #100c18;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}

.evx-venue__map {
	flex: 1 1 260px;
	min-height: 200px;
	position: relative;
	background-image:
		repeating-linear-gradient(0deg, #191120 0, #191120 1px, transparent 1px, transparent 38px),
		repeating-linear-gradient(90deg, #191120 0, #191120 1px, transparent 1px, transparent 38px);
	background-color: #0c0814;
}

.evx-venue__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(180px 130px at 50% 50%, rgba(122, 44, 255, 0.2), transparent);
}

.evx-venue__pin {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #ff2d78;
	box-shadow: 0 0 16px #ff2d78;
}

.evx-venue__maplabel {
	position: absolute;
	top: 12px;
	left: 14px;
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	color: #6a6277;
	letter-spacing: 0.12em;
}

.evx-venue__osm {
	position: absolute;
	bottom: 12px;
	left: 14px;
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #9fb8ff;
	text-decoration: none;
	letter-spacing: 0.04em;
	background: rgba(8, 6, 13, 0.55);
	border: 1px solid #232a38;
	border-radius: 8px;
	padding: 6px 10px;
}

.evx-venue__osm:hover {
	color: #cfe0ff;
	border-color: #2c8bff;
}

.evx-venue__info {
	flex: 1 1 280px;
	padding: 22px;
}

.evx-venue__name {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #f4f1f7;
	letter-spacing: -0.01em;
}

.evx-venue__addr {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #8a7f98;
	margin-top: 4px;
}

.evx-venue__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.evx-venue__chip {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 12px;
	background: #15111d;
	border: 1px solid #2a2238;
	color: #cfc7da;
	padding: 5px 11px;
	border-radius: 20px;
}

.evx-venue__rating {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #ff5594;
	margin-top: 18px;
}
