/* 基础样式 */
body {
    font-family: "Microsoft Yahei", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.logo-img {
    display: inline-block;
    width: auto; /* 宽度自适应，避免拉伸 */
    height: 36px; /* 根据原有文字高度调整，保持布局一致 */
    object-fit: contain; /* 确保图片完整显示，不裁剪 */
    vertical-align: middle; /* 与周围元素对齐（若有） */
}


.logo-link {
    text-decoration: none; 
    outline: none; 
}
       .outer-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

       .container {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

       .left-column {
    flex: 2;
}

       .right-column {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
}

       .template-preview {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 500px;
   
    position: relative;
			
}
 
       .template-preview img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 5s ease-out;
			
}
.template-preview:hover img {
    transform: translateY(calc(450px - 100%));
				
}
		       .template-preview img {
transform: translateY(0);
		
			
}
		
		    .template:hover {

    }
       .scroll-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

       .scroll-content {
    position: relative;
    top: 0;
    transition: top 0.5s ease-out;
}

       .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 30px;
}

       .action-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

       .create-btn {
    background-color: #007bff;
    color: white;
    border: none;
}

       .create-btn:hover {
    background-color: #0056b3;
}

       .preview-btn {
    background-color: white;
    color: #007bff;
    border: 1px solid #007bff;
}

       .preview-btn:hover {
    background-color: #f0f0f0;
}

       .hot-recommend h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

       .category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

       .tag {
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #333;
    text-decoration: none;
}

       .tag:hover {
    background-color: #e0e0e0;
}

       .template-intro {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
			margin-top: 16px;
}

       .template-intro h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

       .template-intro p {
    line-height: 1.8;
    margin-bottom: 0;
    color: #666;
}

       .view-more {
    color: #007bff;
    text-decoration: none;
    float: right;
    font-weight: 500;
}

       .view-more:hover {
    text-decoration: underline;
}

       .template-info {
    margin-bottom: 15px;
}

       .template-info span {
    margin-right: 15px;
font-size: 14px;
}

/* 响应式设计 - 平板设备 */
@media (max-width: 992px) {
   .container {
flex-direction: column;
gap: 20px;
    }
    
   .template-preview {
height: 400px;
    }
    
   .right-column {
padding: 15px;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 768px) {
   .outer-container {
padding: 0 10px;
    }
    
   .template-preview {
height: 300px;
padding: 10px;
    }
    
   .right-column {
padding: 15px;
    }
    
    h2 {
font-size: 1.4rem;
margin-top: 0;
    }
    
   .action-btn {
padding: 10px 16px;
font-size: 15px;
    }
    
   .category-tags {
gap: 8px;
    }
    
   .tag {
padding: 6px 12px;
font-size: 13px;
    }
    
   .template-intro {
padding: 15px;
    }
    
   .template-intro p {
line-height: 1.6;
font-size: 0.95rem;
    }
    
   .template-info {
display: flex;
flex-wrap: wrap;
gap: 10px 15px;
    }
    
   .template-info span {
margin-right: 0;
font-size: 0.9rem;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
   .template-preview {
height: 220px;
    }
    
    h2 {
font-size: 1.2rem;
    }
    
   .action-buttons {
gap: 10px;
    }
    
   .hot-recommend h3 {
font-size: 16px;
    }
}

/* 基础样式重置与全局设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    outline: none;
}

/* 容器样式 */
.container-1280 {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* 红色通知栏 - 手机端优化 */
.notification-bar {
    background-color: #e53e3e;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (min-width: 768px) {
    .notification-content {
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 0;
    }
    
    .notification-bar {
font-size: 14px;
padding: 10px 0;
    }
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

/* Logo样式 - 手机端优化大小 */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-primary {
    color: #e53e3e;
}

.logo-secondary {
    color: #333;
}

.logo-badge {
    background-color: #1e40af;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    white-space: nowrap;
}

@media (min-width: 768px) {

    
    .logo-badge {
font-size: 12px;
padding: 3px 8px;
margin-left: 12px;
    }
}

/* 导航菜单样式 - 桌面版默认隐藏，手机端通过按钮控制 */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
display: flex;
align-items: center;
gap: 20px;
    }
}

.nav-link {
    color: #4b5563;
    padding: 6px 10px;
    transition: color 0.2s;
    font-size: 16px;
    font-weight: 600;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link.active {
    color: #1e40af;
    font-weight: 600;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: 4px;
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 1px;
    width: 200px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    display: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #4b5563;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
}

/* 登录按钮 - 手机端优化 */
.login-button {
    display: flex;
    align-items: center;
    color: #4b5563;
    transition: color 0.2s;
    margin-right: 12px;
    font-size: 14px;
}

.login-button:hover {
    color: #1e40af;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    margin-right: 8px;
}

/* 移动端菜单按钮 - 增大触控区域 */
.mobile-menu-button {
    color: #4b5563;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .mobile-menu-button {
display: none;
    }
}

/* 移动端菜单 - 优化显示效果 */
.mobile-menu {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
    display: none;
    border-top: 1px solid #f0f0f0;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
opacity: 0;
transform: translateY(-10px);
    }
    to {
opacity: 1;
transform: translateY(0);
    }
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    color: #4b5563;
    padding: 14px 16px;
    transition: all 0.2s;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link:hover {
    color: #1e40af;
    background-color: #f9fafb;
}

.mobile-nav-link.active {
    color: #1e40af;
    font-weight: 500;
}

.mobile-dropdown-menu {
    padding-left: 16px;
    border-left: 2px solid #e5e7eb;
    margin: 4px 0 8px 16px;
    display: none;
}

.mobile-dropdown-menu.active {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    font-size: 14px;
    color: #6b7280;
    padding: 12px 16px;
    transition: all 0.2s;
}

.mobile-dropdown-item:hover {
    color: #1e40af;
    background-color: #f9fafb;
}
		
		/* 基础样式 */


.container {
    max-width: 1280px;
    margin: 0 auto;
       
}

/* 页面内容占位 */
.page-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-content p {
    color: #86909C;
    font-size: 1.1rem;
}

/* 底部区域 */
footer {
    background-color: #000000;
    border-top: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
			margin-top: 16px
}

.footer-content {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .footer-grid {
grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h3,
.footer-column h4 {
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-column h3 {
    font-size: 1.5rem;
}

.footer-column h4 {
    font-size: 1.2rem;
}

.footer-column p {
    color: #86909C;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* 社交图标 */
.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165DFF;
    background-color: rgba(22, 93, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #165DFF;
    color: white;
    transform: translateY(-3px);
}

/* 链接列表 */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: #86909C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #165DFF;
}

/* 联系信息 */
.contact-item {
    display: flex;
    margin-bottom: 12px;
}

.contact-item i {
    color: #165DFF;
    margin-right: 12px;
    margin-top: 4px;
    min-width: 20px;
}

.contact-item span {
    color: #86909C;
}

/* 订阅表单 */
.subscribe-form {
    display: flex;
    margin-bottom: 16px;
}

.subscribe-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-input:focus {
    border-color: #165DFF;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.2);
}

.subscribe-button {
    background-color: #165DFF;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-button:hover {
    background-color: #0E4CD1;
}

.subscribe-note {
    font-size: 0.8rem;
    color: #86909C;
}

/* 分隔线 */
.footer-divider {
    border-top: 1px solid #e5e7eb;
    margin: 30px 0;
}

/* 版权信息 */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .footer-bottom {
flex-direction: row;
justify-content: space-between;
align-items: center;
    }
}

.copyright {
    color: #86909C;
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-link {
    color: #86909C;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.bottom-link:hover {
    color: #165DFF;
}

/* 微信二维码 */
.wechat-qrcode-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
}

.qrcode-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #165DFF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.qrcode-trigger:hover {
    background-color: #0E4CD1;
    transform: scale(1.05);
}

.qrcode-trigger i {
    font-size: 1.8rem;
}

.qrcode-popup {
    position: absolute;
    right: 100%;
    bottom: 0;
    margin-right: 16px;
    padding: 12px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
}

.wechat-qrcode-container:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qrcode-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.qrcode-text {
    text-align: center;
    font-size: 0.8rem;
    color: #1D2129;
    margin-top: 8px;
}

/* QQ List */
a {

	text-decoration: none;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
ul {
    padding: 0;
    margin: 0;
}
#kefu {
	padding: 2px;
	background-color: #165DFF;
	position: fixed;
	top: 50%;
	right: -152px;
	z-index: 999999;
	margin-top: -179px;
	height: 160px;
}

#kefutitle {
	width: 40px;
	height: 161px;
	text-indent: -9999px;
	overflow: hidden;
	float: left;
	background: url(https://zhibo.52muban.com/skin/images/qqbg.png) 0px top no-repeat;
}

#qqlist {
	float: right;
	width: 150px;
	overflow: hidden;
	background-color: #ffffff;
}

#qqlist h3 {
	font-weight: normal;
	font-size: 16px;
	margin: 10px 0 0 10px;
}

#qqlist h3.tel {
	text-indent: -9999px;
	overflow: hidden;
	height: 26px;
	background: url(https://zhibo.52muban.com/skin/images/kefubg.gif) left top no-repeat;
}

#qqlist ul {
	margin: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #cecece;
}

#qqlist ul.tel {
	margin-top: 5px;
}

#qqlist ul.tel p {
	font-size: 18px;
	font-weight: bold;
	font-family: "Microsoft YaHei", "å¾®è½¯é›…é»‘", "SimHei", "é»‘ä½“";
	font-style: italic;
	margin: 0;
	color: #ff0000;
}

#qqlist li {
	font-size: 14px;
	height: 26px;
	line-height: 26px;
}

#qqlist li img {
	margin-right: .5em;
}

#gongdanlink a,
#helplink a {
	border-radius: 16px;
	display: block;
	text-align: center;
	font-size: 14px;
	width: 120px;
	height: 32px;
	line-height: 32px;
	margin: 10px auto;
	background-color: #1465ff;
	color: #ffffff;
}

#gongdanlink a:hover,
#helplink a:hover {
	opacity: .8;
}

#gongdanlink a .fa,
#helplink a .fa {
	margin-right: 5px;
}