@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	src: local("Roboto"), local("Roboto-Regular"), url(https://fonts.gstatic.com/s/roboto/v15/oMMgfZMQthOryQo9n22dcuvvDin1pK8aKteLpeZ5c0A.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

:root {
	--accent: #f5ad42;
	--accent-soft: #ffd899;
	--text: #f5f5f5;
	--glass: rgba(15, 15, 15, 0.14);
	--glass-border: rgba(245, 173, 66, 0.35);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	color: var(--text);
	font-family: "Roboto", sans-serif;
}

html[data-theme="light"] {
	--text: #1f1a12;
	--glass: rgba(255, 255, 255, 0.04);
	--glass-border: rgba(180, 110, 20, 0.4);
}

body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	transition: color 0.3s ease;
}

div { cursor: default; }

.bg-layer {
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: url("assets/website/background.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: rgba(0, 0, 0, 0.55);
	background-blend-mode: darken;
	transition: filter 0.3s ease, background-color 0.3s ease;
}

html[data-theme="light"] .bg-layer {
	background-color: rgba(255, 255, 255, 0.05);
	background-blend-mode: lighten;
	filter: saturate(0.9);
}

#particles {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
}

.theme-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--glass);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.theme-toggle i {
	font-size: 16px;
}

.panel {
	position: absolute;
	top: 46%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 40px 48px;
	border-radius: 24px;
	background: var(--glass);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
	animation: panel-rise 0.8s ease-out;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	text-align: center;
	max-width: 90vw;
}

.avatar-ring {
	position: relative;
	width: 135px;
	height: 135px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.avatar-ring::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 60%;
	background: conic-gradient(from 0deg, var(--accent), var(--accent-soft), var(--accent));
}

.avatar-ring img.img {
	position: relative;
	z-index: 1;
	border-radius: 60%;
	width: 128px;
	height: 128px;
	display: block;
	background: #000;
	animation-name: imgpopout;
	animation-duration: 1s;
}

@keyframes imgpopout {
	0% { width: 0px; height: 0px; }
	100% { width: 128px; height: 128px; }
}

.brand {
	margin: 4px 0 0;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 1px;
	background: linear-gradient(90deg, var(--accent), var(--accent-soft), var(--accent));
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 4s linear infinite;
}

.divider {
	width: 60%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	border: none;
	margin: 6px 0;
}

.links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.links-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.link-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--glass-border);
	color: var(--text);
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.03);
}

.link-pill:hover {
	border-color: var(--accent);
	background: rgba(245, 173, 66, 0.06);
	transform: translateY(-1px);
	box-shadow: 0 3px 10px rgba(245, 173, 66, 0.12);
}

.link-pill.primary {
	font-size: 1rem;
	font-weight: 700;
	padding: 10px 24px;
	border-color: var(--accent);
	background: rgba(245, 173, 66, 0.16);
	box-shadow: 0 4px 16px rgba(245, 173, 66, 0.2);
}

.link-pill.primary:hover {
	background: rgba(245, 173, 66, 0.24);
	box-shadow: 0 5px 20px rgba(245, 173, 66, 0.32);
}


.dock {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--glass);
	border: 1px solid var(--glass-border);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: dock-rise 1s ease-out;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dock-item {
	position: relative;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--text);
	text-decoration: none;
	transition: transform 0.3s ease, color 0.3s ease;
}

.dock-item i {
	font-size: 20px;
}

.dock-item:hover {
	transform: translateY(-6px) scale(1.15);
}

.dock-item::after {
	content: attr(data-label);
	position: absolute;
	bottom: 120%;
	left: 50%;
	transform: translateX(-50%);
	background: #000;
	color: #fff;
	font-size: 0.7rem;
	padding: 3px 8px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.dock-item:hover::after {
	opacity: 1;
}

html[data-theme="light"] .dock-item::after {
	background: #fff;
	color: #1f1a12;
}

.dock-item:hover .fa-discord { color: #5865f2; }
.dock-item:hover .fa-github { color: #a371f7; }
.dock-item:hover .fa-google { color: #fbbc05; }
.dock-item:hover .fa-linkedin { color: #0a66c2; }

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

@keyframes panel-rise {
	from { opacity: 0; transform: translate(-50%, -40%); }
	to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes dock-rise {
	from { opacity: 0; transform: translate(-50%, 20px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 480px) {
	.panel {
		padding: 28px 24px;
		gap: 10px;
	}
	.brand {
		font-size: 1.7rem;
	}
	.avatar-ring {
		width: 106px;
		height: 106px;
	}
	.avatar-ring img.img {
		width: 100px;
		height: 100px;
	}
}