/* home.css - 重构后 */
* {
	margin:0px;
	padding:0; 
	list-style:none;
}
body {
	text-align:center;
	font-family: 'Comic Sans MS', 'Microsoft YaHei', sans-serif;
	background: linear-gradient(180deg, #fff5f7 0%, #f0f8ff 100%);
}
.container{
	position: relative;
}

.main-background{
	zoom: 1;
	width: 100%;
	height: 830px;
	min-width:1000px;
	background:  top center no-repeat;
	background-image: url('');
}

.content{
	font-family: 'Comic Sans MS', 'Microsoft YaHei', sans-serif;
	font-size:14px;
	position: relative;
	width:1000px;	
	margin:auto;
	margin-top:-880px;	
}
.head-tool-bar{
	position: relative;
	height:50px;
	width:1000px;
	margin-top:0px; 
	background: rgba(255, 255, 255, 0.95);
	border-radius: 0 0 25px 25px;
	box-shadow: 0 4px 15px rgba(255, 182, 193, 0.2);
}
.head-tool-bar-title-text , .head-tool-bar-sethome-icon,  .head-tool-bar-sethome-text, .head-tool-bar-collect-icon, .head-tool-bar-collect-text{
	position:absolute;
  	bottom:20px;
	font-size:12px;
	color:#ff85a2;
}
.head-tool-bar-title-text{
	left:22px;
	font-weight: bold;
}
.head-tool-bar-sethome-icon {
 	left:769px;
}

.head-tool-bar-sethome-text {
 	left:792px;
	cursor:pointer;
	transition: all 0.3s ease;
}
.head-tool-bar-sethome-text:hover {
	color: #ff5c8d;
	transform: scale(1.1);
}

.head-tool-bar-collect-icon {
 	left:855px;
}

.head-tool-bar-collect-text {
 	left:878px;
	cursor:pointer;
	transition: all 0.3s ease;
}
.head-tool-bar-collect-text:hover {
	color: #ff5c8d;
	transform: scale(1.1);
}

.logobar {
	position: relative;
  	margin-top:304px;
  	width:1000px;
  	height:79px;
}

.logobar-img{
	position:absolute;
 	left:0px;
  	top:0px;
  	width:325px;
  	height:79px;
  	filter: drop-shadow(0 4px 8px rgba(255, 182, 193, 0.3));
}
.search-class-indicate-container{
	position:absolute;
  	width:86px;
	left:400px;
	bottom:0px;
	z-index: 2;
}
.drop-down-list-indicate-open{
	position:absolute;
  	width:8px;
	height: 8px;
	left:476px;
	bottom:10px;
	z-index: 2;
	display: block;
	background:url('../images/xia.png');
	cursor:pointer;
	transition: transform 0.3s ease;
}
.drop-down-list-indicate-open:hover {
	transform: translateY(3px);
}
.drop-down-list-indicate-close{
	position:absolute;
  	width:8px;
	height: 8px;
	left:476px;
	bottom:12px;
	z-index: 2;
	display: none;
	background:url('../images/shang.png');
	cursor:pointer;
	transition: transform 0.3s ease;
}
.drop-down-list-indicate-close:hover {
	transform: translateY(-3px);
}

.search-class-container{
	position:absolute;
 	left:390px;
  	top:79px;
  	width:86px;
	background: #ffffff;
	z-index: 2;
	border: 1px solid #ffb6c1;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(255, 182, 193, 0.3);
	display: none;
	overflow: hidden;
}
img[name="search_classitem_indicate"] {
    width:40px;
	height:40px;
}
.search-class-item{
	position: relative;
	width:30px;
	height:30px;
	border-top:none;
	cursor: pointer;
	padding: 8px;
	transition: all 0.3s ease;
}
.search-class-item:hover{
	background-color:#fff0f5;
	transform: scale(1.1);
}

.search-tag-container{
	width:70px;  
    height:43px;  
	float:right;
	margin-left: 4px;
	cursor:pointer;
	transition: all 0.3s ease;
}
.search-tag-container:hover {
	transform: translateY(-3px);
}
.search-tag-bg{
	position:absolute;
  	top:16px;
  	width:70px;
  	height:27px;
	opacity:0.5;
	background: linear-gradient(45deg, #ffb6c1, #ffd1dc);
	border-radius: 20px;
}
.search-tag-text{
	position:absolute;
  	top:20px;
	width:70px;
  	height:27px;
	font-size:13px;
	color:#ff6b9d;
	font-weight: bold;
}
.search-input{
	position:absolute;
	padding-left: 15px;
	left:486px;
  	bottom:0px;
	width:370px; /* 从400px减少到370px */
  	height:30px;
	font-size:16px;
	border-radius: 25px 0 0 25px; /* 只给左侧圆角 */
    border-width: 1px;
	border: 2px solid #ffb6c1;
	background: rgba(255, 255, 255, 0.9);
	display:none;
	transition: all 0.3s ease;
	box-sizing: border-box;
}
.search-input:hover{
	border: 2px solid #ff85a2;
	box-shadow: 0 0 10px rgba(255, 182, 193, 0.5);
}
.search-input:focus{
 	outline:none; 
	border: 2px solid #ff5c8d;	
	box-shadow: 0 0 15px rgba(255, 92, 141, 0.6);
}
input:-webkit-autofill { 
	-webkit-box-shadow: 0 0 0px 1000px #fff0f5 inset; 
}

.search-btn{
	position:absolute;
	left:856px; /* 调整到紧贴输入框右侧 */
  	bottom:0px;
	width:100px;
  	height:30px;
	font-size:16px;
	border: none;
	background: linear-gradient(45deg, #ffb6c1, #ff8fab);
	border-radius: 0 25px 25px 0; /* 只给右侧圆角 */
	color: white;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid #ffb6c1;
	border-left: none; /* 移除左侧边框，与输入框无缝连接 */
	line-height: 26px; /* 垂直居中文字 */
}
.search-btn:hover {
	background: linear-gradient(45deg, #ff8fab, #ff5c8d);
	transform: scale(1.05);
	border-color: #ff85a2;
}
.search-input:focus + .search-btn {
	border-color: #ff5c8d;
}
.hotbar{
	position: relative;
	width:1000px;
  	height:115px;
	margin-top: 50px;
}
.hotbar-bg{
	position:absolute;
	width:1000px;
  	height:115px;
	opacity:0.9;
	background: linear-gradient(135deg, #fff5f7, #f8f7ff);
	border-radius: 25px;
	box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
}
.hotbar-item-list-container
{
	position:absolute;
	width:980px;
  	height:81px;
	left:20px;
	top:17px;
}
.hot-item{
	width:60px;  
    height:81px;  
	float:left;
	margin-right: 29px;
	transition: all 0.3s ease;
}
.hot-item:hover {
	transform: translateY(-10px);
}
.hot-icon-img{
	position:relative;
	top:0px;
	width:60px;  
    height:60px;  
	border:none;
	filter: drop-shadow(0 4px 8px rgba(255, 182, 193, 0.4));
}
.hot-icon-desc
{
	position:absolute;
	bottom:0px;
	width:60px;  
    height:21px;
	color:#ff85a2;
	font-weight: bold;
}
.tab-bar{
	position: relative;
	margin-top: 13px;
	width:800px;
}
.bottom-title-container{
	position: relative;
	margin-top:23px;
}
.bottom-title-text{
	font-size:14px;
	position: relative;
	color: #ff85a2;
}

/* 添加可爱的装饰元素 */
.cute-decoration {
	position: absolute;
	width: 20px;
	height: 20px;
	background: #ffb6c1;
	border-radius: 50%;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}