.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

: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;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: var(--bg-gradient);
    color: var(--text-color);
}

.container {
    text-align: center;
    width: 100%;
    max-width: 900px !important;
    padding: 130px 20px;
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    justify-content: 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 {
	margin-top: 2rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.6;
	text-align: left;
	padding-left: 1.8rem;
}

.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;
	align-items: stretch;
	width: 100%;
	margin: 0 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 .iconfont {
	font-size: 20px !important;
	}

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

.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;
}

.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);
}

pre {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    overflow-x: auto;
    font-family: "Comfortaa Bold" !important;
    color: #f0f6fc;
    position: relative;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
		
.copy-icon {
    font-family: iconfont;
    font-size: 16px;
}
		
.copy-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.copy-button.success {
    background-color: rgba(76, 175, 80, 0.3);
    color: white;
}
		
p a {
	color: #FFFFFF;
	text-decoration: none;
}
		
p a:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
    .container {
		padding: 120px 20px;
		min-height: 60vh;
    }
    
    .search-container {
		height: 56px;
    }
    
    #search-input {
		padding: 0 15px;
    }
    
    #search-button {
		padding: 0 20px;
    }
    
    .title {
		font-size: 2rem;
    }
    
    .example {
		padding: 1rem;
		font-size: 0.8rem;
		padding-left: 1rem;
		padding-right: 1rem;
    }
}