/* hero glow */
.hero-header {
	background: linear-gradient(#0c0410 85%, rgb(1, 1, 1)), rgba(255, 255, 255, 0);
	position: relative;
	overflow: hidden;
}

.hero-header::before {
	content: '';
	position: absolute;
	top: 30%;
	left: 50%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(90, 30, 160, 0.25) 0%, transparent 70%);
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 0;
}

.hero-header>* {
	position: relative;
	z-index: 1;
}

/* dynamic bar */
#year-container {
	min-height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 0;
	text-align: center;
}

/* skeleton loader */
.skeleton {
	display: inline-block;
	width: 180px;
	height: 52px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.8s infinite;
	border-radius: 50px;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

/* dynamic pill — unified state container */
.dyn-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 50px;
	padding: 6px 18px 6px 6px;
	border: 1px solid var(--pill-border, rgba(255, 255, 255, 0.12));
	background: var(--pill-bg, rgba(255, 255, 255, 0.05));
	color: #fff;
	cursor: pointer;
	user-select: none;
	overflow: hidden;
	white-space: nowrap;
	transition: background 0.5s ease, border-color 0.5s ease;
	text-decoration: none;
	max-width: 100%;
}

.dyn-pill:hover {
	background: var(--pill-bg-hover, rgba(255, 255, 255, 0.09));
	border-color: var(--pill-border-hover, rgba(255, 255, 255, 0.22));
}

/* icon circle */
.dyn-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: var(--pill-icon-bg, rgba(255, 255, 255, 0.08));
	font-size: 18px;
	overflow: hidden;
	transition: background 0.5s ease;
}

.dyn-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.dyn-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex-shrink: 1;
	min-width: 0;
	opacity: 1;
	transition: opacity 0.12s ease;
}

.dyn-pill.pill-out .dyn-body {
	opacity: 0;
	transition: opacity 0.08s ease;
}

.dyn-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	font-family: 'Inria Sans', sans-serif;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dyn-label strong {
	color: #fff;
	font-size: 11px;
}

.dyn-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: 'Inria Sans', sans-serif;
	font-size: 14px;
}

/* equlizer bars */
.sp-bars {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 12px;
	flex-shrink: 0;
}

.sp-bars span {
	display: block;
	width: 3px;
	background: #1ed760;
	border-radius: 1px;
	animation: eq-bar 0.8s ease-in-out infinite alternate;
}

.sp-bars span:nth-child(1) {
	height: 5px;
	animation-delay: 0s;
}

.sp-bars span:nth-child(2) {
	height: 9px;
	animation-delay: 0.2s;
}

.sp-bars span:nth-child(3) {
	height: 4px;
	animation-delay: 0.4s;
}

@keyframes eq-bar {
	0% {
		transform: scaleY(0.3);
	}

	100% {
		transform: scaleY(1);
	}
}

/* fadein on content update*/
#year-content {
	animation: fadeContent 0.4s ease-in;
}

@keyframes fadeContent {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* social icons grid */
.social-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 8px;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.85);
	transition: background 0.2s, color 0.2s;
	font-family: 'Inria Sans', sans-serif;
	font-size: 15px;
}

.social-link:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.social-link svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: currentColor;
}

.social-text {
	color: rgba(255, 255, 255, 0.5);
	font-size: 14px;
	font-family: 'Inria Sans', sans-serif;
	padding: 10px 14px;
}

/* recently played / top items track rows */
.recent-track {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 0;
}

.recent-track img {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
}

.recent-track-info {
	overflow: hidden;
}

.recent-track-song {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.recent-track-artist {
	font-size: 13px;
	opacity: 0.6;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.top-rank {
	flex-shrink: 0;
	width: 22px;
	text-align: center;
	font-family: 'Inria Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.3);
}

.top-update-note {
	color: rgba(255, 255, 255, 0.35);
	font-size: 12px;
	font-family: 'Inria Sans', sans-serif;
	margin-top: 12px;
	margin-bottom: 0;
}

/* blog latest card */
.blog-entry {
	display: flex;
	align-items: center;
	gap: 14px;
}

.blog-entry-text {
	flex: 1;
}

.blog-entry-title {
	font-weight: 600;
	margin-bottom: 2px;
}

.blog-entry-meta {
	font-size: 12px;
	opacity: 0.5;
}

/* gallery preview */
.gallery-preview {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-bottom: 10px;
}

.gallery-preview img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
	transition: transform 0.3s;
}

.gallery-preview img:hover {
	transform: scale(1.05);
}

.fav-intro {
	font-family: 'Inria Sans', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 12px;
}

.fav-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fav-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-family: 'Inria Sans', sans-serif;
	font-size: 14px;
}

.fav-label {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.45);
	min-width: 120px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fav-value {
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.4;
}

.interest-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.interest-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	font-family: 'Inria Sans', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	transition: background 0.2s, border-color 0.2s;
}

.interest-chip:hover {
	background: rgba(255, 255, 255, 0.11);
	border-color: rgba(255, 255, 255, 0.22);
}

.interest-chip .chip-icon {
	font-size: 15px;
	line-height: 1;
}