body {
	padding: 2rem;
	font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
}

h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}

:root {
	--server-purple: #8b2cff;
	--server-violet: #d946ef;
	--server-black: #05030b;
}

html, body {
	background: var(--server-black);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(82, 18, 143, .2), transparent 42%, rgba(30, 9, 67, .26));
	filter: saturate(1.08);
	opacity: .18;
}

.server-login-screen {
	background: linear-gradient(135deg, rgba(5, 3, 11, .96), rgba(25, 5, 50, .88)) !important;
}

.server-login-screen .glass {
	border-color: rgba(192, 132, 252, .28);
	background: rgba(7, 4, 17, .82);
	box-shadow: 0 24px 80px rgba(95, 20, 180, .28), inset 0 1px rgba(255, 255, 255, .08);
}

.server-thumb-frame {
	position: relative;
	border: 1px solid rgba(192, 132, 252, .36);
	border-radius: 2rem;
	padding: .5rem;
	background: linear-gradient(145deg, rgba(139, 44, 255, .25), rgba(5, 3, 11, .8));
	box-shadow: 0 24px 90px rgba(80, 10, 170, .3);
	transform: rotate(2deg);
}

.server-thumb {
	display: block;
	width: 100%;
	border-radius: 1.6rem;
	object-fit: cover;
	opacity: .9;
}

.home-card, #home-games article {
	border-color: rgba(168, 85, 247, .22) !important;
	box-shadow: 0 18px 50px rgba(25, 4, 55, .28);
}

/* Identidade Clean Story: roxo neon, preto e superfícies de vidro. */
#app-container {
	background: #05030b !important;
	background-image: radial-gradient(circle at 80% 0%, rgba(168, 85, 247, .14), transparent 32%), linear-gradient(135deg, #05030b, #11051d 52%, #05030b) !important;
	height: 100vh !important;
	min-height: 0 !important;
	overflow: hidden !important;
}

body:has(#app-container) {
	overflow: hidden !important;
}

#app-container main {
	height: 100vh;
	min-height: 0;
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

#app-container > aside ~ aside,
#app-container > .duplicate-sidebar {
	display: none !important;
}

#app-container aside,
#app-container header,
#app-container main,
#app-container .bg-slate-900,
#app-container .bg-slate-950 {
	background-color: rgba(8, 4, 17, .92) !important;
}

#app-container aside {
	border-color: rgba(168, 85, 247, .24) !important;
	box-shadow: 18px 0 60px rgba(75, 17, 120, .2) !important;
}

#app-container header,
#app-container section,
#app-container .border-slate-800,
#app-container .border-slate-700 {
	border-color: rgba(168, 85, 247, .2) !important;
}

#app-container .bg-brand-600,
#app-container .bg-blue-600 {
	background: linear-gradient(135deg, #7e22ce, #c026d3) !important;
}

#app-container .text-brand-400,
#app-container .text-brand-300,
#app-container .text-brand-500 {
	color: #d8b4fe !important;
}

#app-container .nav-item.active {
	background: linear-gradient(90deg, rgba(168, 85, 247, .24), rgba(168, 85, 247, .04)) !important;
	color: #e9d5ff !important;
	border-right-color: #c026d3 !important;
}

#app-container input:focus,
#app-container select:focus,
#app-container textarea:focus {
	border-color: #a855f7 !important;
	box-shadow: 0 0 0 3px rgba(168, 85, 247, .14) !important;
}

.server-brand-mark {
	border-radius: .75rem;
	background: linear-gradient(135deg, #7e22ce, #ec4899);
	padding: 2px;
	box-shadow: 0 0 24px rgba(168, 85, 247, .45);
}

@media (max-width: 1023px) {
	.server-thumb-frame { display: block !important; max-width: 300px; margin: 0 auto; transform: none; }
}
