/**
 * Collectiv Fan App (mobile-web PWA) — [collectiv_fanapp].
 *
 * Mobile-first. A single centered column (~480px max) with a sticky topbar,
 * four JS-toggled screens, and a fixed blurred bottom tab bar. All colour
 * tokens are hardcoded so the surface works standalone (no main.css vars).
 *
 * Prefix: .cvfa-
 */

/* ---- shell ---------------------------------------------------------- */
.cvfa {
	font-family: 'Space Grotesk', system-ui, sans-serif;
	background:
		radial-gradient(1100px 600px at 12% -8%, rgba(122, 44, 255, .14), transparent),
		radial-gradient(900px 500px at 100% 0%, rgba(255, 45, 120, .1), transparent),
		#08060d;
	color: #f4f1f7;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.cvfa *,
.cvfa *::before,
.cvfa *::after {
	box-sizing: border-box;
}

.cvfa__phone {
	position: relative;
	max-width: 480px;
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: #0b0910;
	border-left: 1px solid #1c1626;
	border-right: 1px solid #1c1626;
}

/* thin, hidden scrollbars for horizontal chip rows + screens */
.cvfa-scroll {
	scrollbar-width: none;
}

.cvfa-scroll::-webkit-scrollbar {
	display: none;
}

/* ---- topbar --------------------------------------------------------- */
.cvfa__topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px 12px;
	background: rgba(8, 6, 13, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid #1c1626;
}

.cvfa__brand {
	display: flex;
	align-items: center;
	gap: 11px;
}

.cvfa__logo {
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -.02em;
	color: #f4f1f7;
}

.cvfa__dot {
	color: #ff2d78;
}

.cvfa__rolepill {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .16em;
	color: #ffc4dc;
	border: 1px solid #5a2640;
	background: #1e0f18;
	padding: 4px 9px;
	border-radius: 20px;
}

.cvfa__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ff2d78, #7a2cff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 13px;
	color: #fff;
	flex: 0 0 auto;
}

/* ---- screens -------------------------------------------------------- */
.cvfa__screens {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
}

.cvfa__screen {
	display: none;
	flex-direction: column;
	width: 100%;
	min-height: 0;
}

.cvfa__screen.is-active {
	display: flex;
}

/* the vertically scrolling body of each screen; leaves room for the tab bar */
.cvfa__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 4px 20px calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ---- shared heads --------------------------------------------------- */
.cvfa__loc,
.cvfa__head {
	flex: 0 0 auto;
	padding: 12px 20px 10px;
}

.cvfa__head--center {
	text-align: center;
}

.cvfa__kicker {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	letter-spacing: .14em;
	color: #7d7490;
}

.cvfa__kicker--pink {
	color: #ff8fc0;
	letter-spacing: .16em;
}

.cvfa__city,
.cvfa__title {
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -.02em;
	color: #f4f1f7;
	margin-top: 3px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.cvfa__head--center .cvfa__title {
	justify-content: center;
}

.cvfa__caret {
	color: #ff5594;
	font-size: 14px;
}

.cvfa__sectlabel {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	letter-spacing: .14em;
	color: #7d7490;
	margin: 20px 0 12px;
}

.cvfa__sectlabel--tight {
	margin-top: 22px;
}

/* ---- filter chips --------------------------------------------------- */
.cvfa__chips {
	flex: 0 0 auto;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 0 20px 12px;
}

.cvfa__chip {
	font-weight: 600;
	font-size: 12px;
	white-space: nowrap;
	padding: 7px 14px;
	border-radius: 20px;
	flex: 0 0 auto;
	background: #15111d;
	border: 1px solid #2a2238;
	color: #9a92a8;
}

.cvfa__chip.is-on {
	background: #ff2d78;
	border-color: #ff2d78;
	color: #0a0a0a;
}

/* ---- featured card -------------------------------------------------- */
.cvfa__feat {
	display: block;
	text-decoration: none;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #2e2238;
	background: #120d1a;
	margin-bottom: 20px;
	box-shadow: 0 22px 40px -24px rgba(255, 45, 120, .5);
}

.cvfa__feat-art {
	position: relative;
	height: 224px;
	background:
		repeating-linear-gradient(125deg, #1a1322, #1a1322 11px, #221829 11px, #221829 22px);
	background-size: cover;
	background-position: center;
}

.cvfa__feat-art::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(220px 150px at 62% 38%, rgba(255, 45, 120, .32), transparent),
		linear-gradient(180deg, transparent 40%, #0b0910);
}

.cvfa__feat-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .1em;
	color: #ff8fc0;
	background: rgba(8, 6, 13, .6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: 5px 10px;
	border-radius: 20px;
	border: 1px solid #5a2640;
}

.cvfa__feat-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ff2d78;
	animation: cvfa-pulse 1.8s infinite;
}

.cvfa__feat-badge.is-out {
	color: #9a92a8;
	border-color: #3a2e48;
}

.cvfa__feat-badge.is-out .cvfa__feat-dot {
	background: #9a92a8;
	animation: none;
}

@keyframes cvfa-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.cvfa__feat-cap {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 16px;
	z-index: 2;
}

.cvfa__feat-when {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	letter-spacing: .12em;
	color: #ff8fc0;
	margin-bottom: 4px;
}

.cvfa__feat-title {
	font-weight: 700;
	font-size: 36px;
	letter-spacing: -.03em;
	line-height: .92;
	color: #f4f1f7;
}

.cvfa__feat-foot {
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cvfa__feat-genre {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #9a92a8;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cvfa__feat-buy {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
}

.cvfa__from {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #7d7490;
}

.cvfa__from b {
	color: #f4f1f7;
}

.cvfa__pillbtn {
	font-weight: 700;
	font-size: 12px;
	background: #ff2d78;
	color: #0a0a0a;
	padding: 8px 14px;
	border-radius: 9px;
	white-space: nowrap;
}

/* ---- event list rows ------------------------------------------------ */
.cvfa__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cvfa__ev {
	display: flex;
	gap: 13px;
	align-items: center;
	text-decoration: none;
	border: 1px solid #221b2c;
	border-radius: 15px;
	background: #100c18;
	padding: 11px;
	transition: border-color .15s ease;
}

.cvfa__ev:hover,
.cvfa__ev:active {
	border-color: #3a2e48;
}

.cvfa__ev.is-static {
	cursor: default;
}

.cvfa__ev-art {
	flex: 0 0 62px;
	width: 62px;
	height: 62px;
	border-radius: 11px;
	background:
		radial-gradient(50px 40px at 60% 40%, rgba(122, 44, 255, .3), transparent),
		repeating-linear-gradient(125deg, #1a1322, #1a1322 7px, #221829 7px, #221829 14px);
	background-size: cover;
	background-position: center;
}

.cvfa__ev-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.cvfa__ev-name {
	font-weight: 700;
	font-size: 15px;
	color: #f4f1f7;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

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

.cvfa__ev-genre {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #6a6277;
	margin-top: 3px;
}

.cvfa__ev-price {
	text-align: right;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
}

.cvfa__ev-from {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	color: #6a6277;
}

.cvfa__ev-amt {
	font-weight: 700;
	font-size: 15px;
	color: #ff5594;
}

.cvfa__ev-qty {
	flex: 0 0 auto;
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #0a0a0a;
	background: #ff5594;
	padding: 5px 11px;
	border-radius: 20px;
}

/* ---- empty state / buttons ----------------------------------------- */
.cvfa__empty {
	text-align: center;
	padding: 48px 12px;
	color: #9a92a8;
}

.cvfa__empty p {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.cvfa__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 14px;
	padding: 13px 22px;
	border-radius: 12px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
}

.cvfa__btn--primary {
	background: #ff2d78;
	color: #0a0a0a;
	box-shadow: 0 0 22px rgba(255, 45, 120, .4);
}

.cvfa__btn--primary:hover {
	background: #ff5594;
}

.cvfa__btn--ghost {
	background: transparent;
	color: #9a92a8;
	border-color: #2a2238;
}

.cvfa__btn--ghost:hover {
	border-color: #ff2d78;
	color: #f4f1f7;
}

.cvfa__btn--full {
	display: flex;
	width: 100%;
	margin-top: 18px;
}

/* ---- boarding pass -------------------------------------------------- */
.cvfa__pass {
	border-radius: 22px;
	background: #f4f1f7;
	overflow: hidden;
	box-shadow: 0 26px 50px -22px rgba(255, 45, 120, .55);
	margin-bottom: 16px;
}

.cvfa__pass-head {
	background: linear-gradient(135deg, #ff2d78, #7a2cff);
	padding: 20px 20px 8px;
	color: #fff;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.cvfa__pass-eyebrow {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .14em;
	color: rgba(255, 255, 255, .82);
}

.cvfa__pass-event {
	font-weight: 700;
	font-size: 30px;
	letter-spacing: -.03em;
	line-height: .95;
	margin-top: 4px;
}

.cvfa__pass-status {
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .08em;
	padding: 4px 9px;
	border-radius: 20px;
	flex: 0 0 auto;
}

.cvfa__pass-status.is-ok {
	color: #0a0a0a;
	background: #9dffb0;
}

.cvfa__pass-status.is-used {
	color: #fff;
	background: rgba(10, 10, 10, .28);
}

.cvfa__pass-venue {
	background: linear-gradient(135deg, #ff2d78, #7a2cff);
	color: rgba(255, 255, 255, .92);
	font-weight: 500;
	font-size: 12px;
	padding: 0 20px 16px;
	margin-top: -1px;
}

.cvfa__pass-strip {
	padding: 16px 20px;
	background: #f4f1f7;
	color: #0a0a0a;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.cvfa__pass-strip > div:nth-child(2) {
	text-align: center;
}

.cvfa__pass-strip > div:last-child {
	text-align: right;
}

.cvfa__pass-strip span {
	display: block;
	font-family: 'Space Mono', monospace;
	font-size: 8px;
	letter-spacing: .1em;
	color: #8a7f98;
}

.cvfa__pass-strip b {
	font-weight: 700;
	font-size: 18px;
	color: #0a0a0a;
}

.cvfa__pass-tear {
	position: relative;
	height: 1px;
	background: repeating-linear-gradient(90deg, #bdb7c7 0 6px, transparent 6px 12px);
}

.cvfa__notch {
	position: absolute;
	top: -11px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #0b0910;
}

.cvfa__notch--l {
	left: -11px;
}

.cvfa__notch--r {
	right: -11px;
}

.cvfa__pass-qr {
	padding: 20px;
	background: #f4f1f7;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cvfa__pass-qr img {
	width: 158px;
	height: 158px;
	display: block;
	image-rendering: pixelated;
}

.cvfa__pass-code {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	letter-spacing: .1em;
	color: #5a5266;
	margin-top: 13px;
}

/* ---- drink vouchers ------------------------------------------------- */
.cvfa__voucher {
	display: flex;
	align-items: center;
	gap: 13px;
	border: 1px solid #221b2c;
	border-radius: 14px;
	background: #100c18;
	padding: 12px;
}

.cvfa__voucher-qr {
	width: 48px;
	height: 48px;
	border-radius: 9px;
	background: #f4f1f7;
	padding: 6px;
	flex: 0 0 auto;
}

.cvfa__voucher-qr img {
	width: 100%;
	height: 100%;
	display: block;
	image-rendering: pixelated;
}

.cvfa__voucher-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.cvfa__voucher-name {
	font-weight: 600;
	font-size: 13px;
	color: #f4f1f7;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cvfa__voucher-note {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #8a7f98;
	margin-top: 2px;
}

.cvfa__voucher-qty {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	color: #0a0a0a;
	background: #ff5594;
	padding: 5px 11px;
	border-radius: 20px;
	flex: 0 0 auto;
}

/* ---- YOU: profile + menu ------------------------------------------- */
.cvfa__profile {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid #221b2c;
	border-radius: 16px;
	background: #100c18;
	padding: 16px;
	margin-bottom: 16px;
}

.cvfa__profile-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ff2d78, #7a2cff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
	flex: 0 0 auto;
}

.cvfa__profile-meta {
	min-width: 0;
}

.cvfa__profile-name {
	font-weight: 700;
	font-size: 17px;
	color: #f4f1f7;
	letter-spacing: -.01em;
}

.cvfa__profile-sub {
	font-family: 'Space Mono', monospace;
	font-size: 11px;
	color: #8a7f98;
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cvfa__profile-role {
	display: inline-block;
	margin-top: 8px;
	font-family: 'Space Mono', monospace;
	font-size: 9px;
	letter-spacing: .1em;
	color: #ffc4dc;
	border: 1px solid #5a2640;
	background: #1e0f18;
	padding: 3px 9px;
	border-radius: 20px;
}

.cvfa__menu {
	display: flex;
	flex-direction: column;
	border: 1px solid #221b2c;
	border-radius: 16px;
	background: #100c18;
	overflow: hidden;
}

.cvfa__menuitem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 16px;
	text-decoration: none;
	color: #f4f1f7;
	font-weight: 600;
	font-size: 14px;
	border-bottom: 1px solid #1c1626;
}

.cvfa__menuitem:last-child {
	border-bottom: 0;
}

.cvfa__menuitem:hover {
	background: #15111d;
}

.cvfa__menu-caret {
	color: #6a6277;
	font-size: 15px;
}

/* ---- fixed bottom tab bar ------------------------------------------ */
.cvfa__tabbar {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	z-index: 30;
	width: 100%;
	max-width: 480px;
	display: flex;
	justify-content: space-around;
	padding: 11px 0 calc(20px + env(safe-area-inset-bottom, 0px));
	background: rgba(8, 6, 13, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-top: 1px solid #1c1626;
}

.cvfa__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 4px 10px;
	color: #5a5266;
}

.cvfa__tab.is-active {
	color: #ff5594;
}

.cvfa__tabicon {
	font-size: 17px;
	line-height: 1;
}

.cvfa__tablabel {
	font-family: 'Space Mono', monospace;
	font-size: 8px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
