/* APP下载广告样式 - 参考模板005 */
.app-download {
	margin: 5px 0;
	background-color: transparent;
	padding: 5px 0;
}

.app-download-section {
	padding: 5px;
	margin: 0 auto;
}

.app-download-title {
	font-size: 18px;
	margin-bottom: 5px;
	color: #333;
	text-align: center;
	font-weight: bold;
}

.app-download-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 5px;
}

.app-download-item {
	flex: 0 0 calc(11.11% - 5px); /* 一行9个 */
	margin-bottom: 5px;
	transition: all 0.3s ease;
	text-align: center;
}

.app-download-item:hover {
	transform: translateY(-3px);
}

.app-download-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.app-download-img {
	display: block;
	margin-bottom: 3px;
}

.app-download-img img {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	object-fit: cover;
}

.app-download-info {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.app-download-name {
    color: #fff;
	font-size: 15px;
	font-weight: 900; /* 增加字体粗细 */
	margin-bottom: 3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 80px;
	letter-spacing: 0.5px; /* 增加字母间距 */
	text-shadow: 0 0.5px 0 rgba(0,0,0,0.1); /* 添加轻微文字阴影 */
}

/* 按钮样式 - 红色圆角 */
.app-download-btn {
	display: inline-block;
	background: linear-gradient(to bottom, #ff6a6a, #ff3838);
	color: #fff !important;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	border: 1px solid rgba(255, 0, 0, 0.6);
	text-shadow: 0 1px 1px rgba(139, 0, 0, 0.7);
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.app-download-btn:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
	border-radius: 20px 20px 0 0;
}

.app-download-btn:hover {
	background: linear-gradient(to bottom, #ff7a7a, #ff4848);
	box-shadow: 0 3px 6px rgba(255, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
	transform: translateY(-1px);
}

/* 响应式样式 */
@media (max-width: 1080px) {
	.app-download-item {
		flex: 0 0 calc(12.5% - 5px); /* 一行8个 */
	}
}

@media (max-width: 768px) {
	.app-download-container {
		justify-content: space-between;
	}
	
	.app-download-item {
		flex: 0 0 calc(16.66% - 5px); /* 一行6个 */
	}
	
	.app-download-img img {
		width: 50px;
		height: 50px;
	}
}

@media (max-width: 480px) {
	.app-download-item {
		flex: 0 0 calc(25% - 5px); /* 一行4个 */
	}
	
	.app-download-img img {
		width: 45px;
		height: 45px;
	}
	
	.app-download-name {
		font-size: 12px;
	}
	
	.app-download-btn {
		padding: 2px 8px;
		font-size: 10px;
	}
} 