:root {
	--primary-color: #6e00aa;
	--primary-hover: #9f00f4;
	--text-color: #f0f6fc;
	--bg-gradient: linear-gradient(135deg, #8100c2 0%, #46006a 100%);
	--shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Comfortaa Bold" !important;
	min-height: 100vh;
	background: var(--bg-gradient);
	color: var(--text-color);
	display: flex;
	justify-content: center;
	align-items: center;
}

.container {
	width: 100%;
	max-width: 900px !important;
	padding: 98px 20px;
	text-align: center;
}

.logo {
	margin-bottom: 2rem;
	transform: scale(1);
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.1);
}

.title {
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	background: linear-gradient(45deg, #ffffff, #e2e8f0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.tips a {
	color: #FFFFFF;
	text-decoration: none;
	border-bottom: 1px dashed #FFFFFF;
	transition: all 0.2s ease;
}

.tips a:hover {
	color: #FFFFFF;
	border-bottom-color: #FFFFFF;
}

.search-container {
	position: relative;
	max-width: 860px;
	margin: 2rem auto;
}

.search-input {
	width: 99%;
	height: 56px;
	padding: 0 60px 0 24px;
	font-size: 1rem;
	color: #1f2937;
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid transparent;
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
}

.search-input:focus {
	border-color: var(--primary-color);
	background: white;
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.search-button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 8px;
	background: var(--primary-color);
	color: white;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	justify-content: center;
	align-items: center;
}

.search-button:hover {
	background: var(--primary-hover);
	transform: translateY(-50%) scale(1.05);
}

.search-button .iconfont {
	font-size: 20px;
}

.tips {
	margin-top: 2rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	text-align: left;
	padding-left: 1.8rem;
}

.example-title {
	color: #fff;
	margin-bottom: 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	position: relative;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.example p {
	margin: 0.8rem 0;
	font-family: "Comfortaa Bold" !important;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.8);
	padding-left: 1.5rem;
	line-height: 1.4;
	word-break: break-all;
}

.example {
	margin-top: 2rem;
	padding: 1.8rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow-wrap: break-word;
	word-wrap: break-word;
}

@media (max-width: 640px) {
	.container {
		padding: 98px 20px;
		min-height: 60vh;
	}

	.title {
		font-size: 2rem;
	}

	.search-input {
		height: 50px;
		font-size: 0.9rem;
	}

	.search-button {
		width: 38px;
		height: 38px;
	}

	.example {
		padding: 1rem;
		font-size: 0.8rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.result {
		flex-direction: column;
	}

	.result a {
		word-break: break-word;
	}

	.retext {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.retext p {
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
		text-align: left;
	}

	.button-container {
		position: static;
		align-self: flex-end;
	}
}

.result {
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	min-height: 100px;
	display: flex;
	flex-direction: column;
}

.retext {
	color: #FFFFFF;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.retext p {
	flex: 1;
	max-width: 90%;
	word-break: break-word;
	overflow-wrap: break-word;
	margin-right: 10px;
}

.result a {
	color: #FFFFFF;
	text-decoration: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	word-break: break-word;
}

.button-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: white;
	cursor: pointer;
	transition: all 0.2s ease;
}

.button:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #1E90FF;
}

.button span.iconfont {
	font-size: 20px;
}

.domain-list {
	list-style-type: none;
	margin-left: 2rem;
	padding-left: 0;
}

.domain-list li {
	margin-bottom: 0.5rem;
}

.notification {
	position: fixed;
	top: 70px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(70, 0, 106, 0.9);
	color: white;
	padding: 1rem 2rem;
	border-radius: 15px;
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.notification.show {
	opacity: 1;
}

p a {
	color: #FFFFFF;
	text-decoration: none;
}

p a:hover {
	text-decoration: underline;
}