@font-face { font-family: "MM"; src: url("../assets/fonts/MM-Regular.ttf") format("truetype"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "MM"; src: url("../assets/fonts/MM-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "MM"; src: url("../assets/fonts/MM-700.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
	--blue: #0a5695;
	--panel: #052a4d;
	--island: #062847;
	--field: #031325;
	--pop: #0f3a66;
	--ink: #0d0c0b;
	--text: #fff;
	--sub: #cdc5ba;
	--mute: #90867b;
	--brand: #ff6a2b;
	--brand-soft: rgba(255, 106, 43, .14);
	--good: #43d17a;
	--red: #e3301f;
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	--out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: #0d0b09; }
html, body { margin: 0; }
body.site {
	font-family: "MM", "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	color: var(--text);
	background: #0d0b09;
	overflow-x: hidden;
	min-height: 100%;
	-webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
svg { display: block; }
a { color: inherit; }
img { display: block; }

.backdrop {
	position: fixed; inset: 0; z-index: -2; pointer-events: none;
	background:
		radial-gradient(1200px 820px at 50% 4%, #241f1a 0%, #14110e 55%, #090807 100%),
		radial-gradient(760px 560px at 10% 90%, rgba(255, 106, 43, .06), transparent 62%),
		radial-gradient(700px 520px at 88% 84%, rgba(255, 160, 90, .05), transparent 62%);
}
.backdrop::before {
	content: ""; position: absolute; inset: -30%;
	background: conic-gradient(from 0deg at 50% 50%,
		transparent 0deg, rgba(255, 190, 140, .05) 40deg, transparent 90deg,
		transparent 200deg, rgba(255, 106, 43, .05) 240deg, transparent 300deg);
	animation: swirl 60s linear infinite;
	filter: blur(40px);
}
.backdrop::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(1100px 700px at 50% 0%, transparent 0%, rgba(9, 8, 7, .55) 70%, rgba(9, 8, 7, .9) 100%);
}
@keyframes swirl { to { transform: rotate(360deg); } }

.grain {
	position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.gate {
	position: fixed; inset: 0; z-index: 999;
	display: flex; align-items: center; justify-content: center;
	background: #0a0908; cursor: pointer;
	transition: opacity .5s var(--out), visibility .5s;
}
.gate.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.gatein {
	display: flex; flex-direction: column; align-items: center; gap: 14px;
	animation: gpulse 2.6s ease-in-out infinite;
}
.gname {
	font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: #fff;
	filter: drop-shadow(0 0 18px rgba(255, 106, 43, .35));
}
.gatein span {
	font-size: 12px; font-weight: 700; letter-spacing: .14em;
	text-transform: uppercase; color: var(--sub);
}
@keyframes gpulse { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }

.wrap { position: relative; width: min(1120px, 100%); margin: 0 auto; padding: 52px 24px 48px; }

.hero {
	display: flex; align-items: stretch; gap: 18px; margin-bottom: 18px;
	animation: rise .6s var(--out) both; animation-play-state: paused;
}

.tagline {
	flex: 0 1 260px; display: flex; align-items: center; margin: 0;
	color: var(--sub); font-size: 13.5px; line-height: 1.6; font-weight: 500;
	padding: 4px 4px 4px 22px; border-left: 1px solid rgba(255, 255, 255, .16);
}

.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.cols .card, .hero .player {
	--mx: 50%; --my: 0%;
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column; gap: 14px;
	background: linear-gradient(180deg, rgba(44, 39, 34, .62), rgba(21, 19, 16, .74));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .6);
	border-radius: 20px; padding: 16px 18px 18px;
	color: inherit; text-decoration: none;
	--rx: 0deg; --ry: 0deg; --ty: 0px; --sc: 1;
	transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--ty)) scale(var(--sc));
	transition: transform .7s cubic-bezier(.03, .98, .52, .99), box-shadow .35s var(--out);
	animation: rise .55s var(--out) backwards; animation-play-state: paused;
}
.col:nth-child(2) .card { animation-delay: .07s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.entered .hero, body.entered .hero .player, body.entered .cols .card { animation-play-state: running; }

@media (hover: none), (pointer: coarse) {
	.cols .card, .hero .player {
		animation: rise .55s var(--out) backwards, autotilt 6s ease-in-out .1s infinite;
	}
	.col:nth-child(2) .card { animation-delay: .07s, .8s; }
	@keyframes autotilt {
		0%, 100% { transform: perspective(1000px) rotateX(0deg) rotateY(0deg); }
		25% { transform: perspective(1000px) rotateX(3deg) rotateY(-6deg); }
		75% { transform: perspective(1000px) rotateX(-3deg) rotateY(6deg); }
	}
}

.card::before, .player::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
	background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 70%);
}
.card:hover::before, .player:hover::before { opacity: 1; }
.card::after, .player::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	opacity: 0; transition: opacity .35s;
	background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 190, 140, .12), transparent 70%);
}
.card:hover::after, .player:hover::after { opacity: 1; }

a.card:hover {
	--ty: -4px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 26px 44px -18px rgba(0, 0, 0, .6);
}
a.card:active { --ty: -1px; --sc: .992; transition-duration: .1s; }
.card:focus-visible, a.card:focus-visible { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 3px; }

.card.tilting, .player.tilting { transition: transform 0s, box-shadow .35s var(--out); }

.head { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.head h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.005em; flex: 1; }
.head small { color: var(--mute); font-size: 11px; font-weight: 600; }

.hero .player {
	flex: 1 1 auto; min-width: 0; gap: 12px;
	padding: 14px 16px 12px;
}
.player .prow { display: flex; align-items: center; gap: 12px; }
.cover {
	width: 46px; height: 46px; border-radius: 13px; flex: none; object-fit: cover;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -6px rgba(0, 0, 0, .5);
}
.ptrack { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ptrack strong { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptrack span { font-size: 12px; color: var(--mute); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pbtn {
	width: 38px; height: 38px; border-radius: 50%; flex: none;
	display: flex; align-items: center; justify-content: center; color: var(--ink);
	background: #fff; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .45);
	transition: transform .3s var(--spring), background .15s;
}
.pbtn:hover { transform: scale(1.07); background: #e4f1fd; }
.pbtn:active { transform: scale(.94); transition-duration: .12s; }
.pbtn::before {
	content: ""; width: 0; height: 0;
	border-left: 11px solid var(--ink);
	border-top: 7px solid transparent; border-bottom: 7px solid transparent;
	margin-left: 3px; transition: all .2s var(--out);
}
.player.playing .pbtn::before {
	width: 4px; height: 15px; border: 0; background: var(--ink);
	border-radius: 1.2px; margin: 0 4px 0 0;
}
.player.playing .pbtn::after {
	content: ""; width: 4px; height: 15px; background: var(--ink);
	border-radius: 1.2px;
}

.lyricbox { position: relative; min-height: 64px; display: flex; align-items: center; padding: 4px 2px 2px; overflow: hidden; }
.lyric {
	position: relative; height: 1.3em; width: 100%; overflow: hidden;
	font-size: clamp(21px, 2.9vw, 32px); font-weight: 800; letter-spacing: -.01em;
	line-height: 1.25; white-space: nowrap;
	filter: drop-shadow(0 8px 22px rgba(255, 170, 110, .14));
}
.lyric .ln {
	position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity, filter;
	transition: transform .46s var(--out), opacity .4s var(--out), filter .4s;
}
.lyric .ln { transform-origin: left center; }
.lyric .ln.out { transform: translateY(100%); opacity: 0; filter: blur(4px); }
.lyric .ln.in { animation: lin .5s var(--out) both; }
@keyframes lin {
	from { transform: translateY(-100%); opacity: 0; filter: blur(4px); }
	to { transform: none; opacity: 1; filter: blur(0); }
}
.lyric .ln.marq { animation: marq 8s ease-in-out .8s infinite alternate; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(var(--mv, 0px)); } }

.lyric .wrd { display: inline-block; white-space: nowrap; }
.lyric .sp { display: inline-block; width: .26em; }
.lyric .c {
	display: inline-block; color: rgba(255, 255, 255, .5);
	filter: blur(2.4px); opacity: .38;
	transition: color .3s var(--out), filter .38s var(--out), opacity .38s var(--out), text-shadow .3s;
}
.lyric .c.sung { color: #fff; filter: blur(0); opacity: 1; }
.lyric .c.hot { color: #ffc9a6; filter: blur(.8px); opacity: .8; text-shadow: 0 0 18px rgba(255, 166, 110, .5); }

.pfoot { display: flex; align-items: center; gap: 10px; }
.tm { font-size: 11px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; min-width: 30px; }
.pbar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; cursor: pointer; }
.pbar i {
	display: block; height: 100%; width: 0%;
	border-radius: 4px;
	background: linear-gradient(90deg, #ff9a63, #fff);
	box-shadow: 0 0 10px rgba(255, 154, 99, .55);
}

.who { display: flex; align-items: center; gap: 14px; }
.avw { position: relative; flex: none; display: flex; }
.who img { width: 56px; height: 56px; border-radius: 50%; background: var(--pop); object-fit: cover; flex: none; }
.who.big img { width: 72px; height: 72px; }
.who .meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.who strong { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.who .handle { font-size: 13px; color: var(--sub); font-weight: 500; }
.bio { font-size: 13px; line-height: 1.55; color: var(--sub); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
	font-size: 11px; font-weight: 600; color: #e8ded2; background: rgba(255, 255, 255, .07);
	padding: 3px 10px; border-radius: 999px;
}

.card.tg { gap: 14px; }
.tgstat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.tgstat .dd { width: 8px; height: 8px; border-radius: 50%; background: #43d17a; flex: none; box-shadow: 0 0 6px rgba(67, 209, 122, .65); }
.big-cta {
	margin-top: auto; align-self: stretch; min-height: 44px; border-radius: 14px;
	background: #fff; color: var(--ink); font-weight: 800; font-size: 13px;
	display: flex; align-items: center; justify-content: center;
	transition: transform .35s var(--spring), background .15s;
}
.tg:hover .big-cta { transform: translateY(-2px); background: #e4f1fd; }

.credit { display: flex; justify-content: center; margin-top: 34px; }
.credit button {
	display: inline-flex; align-items: center; justify-content: center;
	height: 32px; padding: 0 18px; border-radius: 999px;
	color: var(--mute); font-size: 12px; font-weight: 600; letter-spacing: .04em;
	transition: color .25s, background .25s, transform .35s var(--spring);
}
.credit button:hover { color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.credit button:active { transform: scale(.97); transition-duration: .1s; }

@media (max-width: 900px) {
	.cols { grid-template-columns: minmax(0, 1fr); }
	.wrap { padding: 32px 16px; }
	.hero { flex-direction: column; }
	.tagline { flex: none; padding: 0; border-left: 0; }
	.lyric { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.backdrop::before { animation: none; }
	.lyric.in .c { animation: none; }
}

@media (max-width: 700px) {
	.lyric { height: auto; min-height: 2.5em; white-space: normal; }
	.lyric .ln { position: relative; white-space: normal; width: 100%; }
	.lyric .ln.out { position: absolute; left: 0; top: 0; }
	.lyric .ln.marq { animation: none; }
	.lyric .wrd { white-space: nowrap; }
	.lyric .c { filter: blur(1.5px); }
	.lyricbox { min-height: 0; }
}
