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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 主色调定义 */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #5f27cd;
    --accent-color: #ff9f43;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --bg-color: #f5f5f5;
    --card-bg: #fff;
    --border-color: #eaeaea;
    --hover-color: #ff4757;
}

/* 通用容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 0 0 200px;
}

.logo-icon {
    width: 150px;
    height: 40px;
}

.search-box {
    flex: 1;
    margin: 0 20px;
    position: relative;
}

.search-box form {
    display: flex;
}

.search-box input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.search-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center;
    margin-right: 5px;
}

.user-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.login-btn:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.register-btn:hover {
    background-color: var(--hover-color);
}

/* 导航栏样式 */
.main-nav {
    background-color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.main-nav li a:hover {
    background-color: var(--hover-color);
}

/* 轮播图样式 */
.banner-section {
    margin: 20px 0;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    flex: 0 0 100%;
    position: relative;
    height: 400px;
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.banner-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.banner-info p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.watch-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

.watch-btn:hover {
    background-color: var(--hover-color);
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.banner-prev, .banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* 内容区域通用样式 */
.content-section {
    max-width: 1200px;
    margin: 30px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h1, .section-header h2 {
    font-size: 22px;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.section-header h1::before, .section-header h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.more-link {
    color: var(--light-text);
    font-size: 14px;
}

.more-link:hover {
    color: var(--primary-color);
}

/* 卡片容器样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* 卡片样式 */
.card {
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
    position: relative;
    height: 0;
    padding-bottom: 140%;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.score, .update {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.card-info {
    padding: 10px;
}

.card-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actors, .desc {
    font-size: 12px;
    color: var(--lighter-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分类区域样式 */
.category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-item:hover img {
    transform: scale(1.05);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.category-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.category-info p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.category-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.category-btn:hover {
    background-color: var(--hover-color);
}

/* 文章区域样式 */
.article-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-item:last-child {
    border-bottom: none;
}

.article-img {
    flex: 0 0 280px;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item:hover .article-img img {
    transform: scale(1.05);
}

.article-info {
    flex: 1;
}

.article-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-desc {
    font-size: 14px;
    color: var(--light-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--lighter-text);
}

/* APP下载区域样式 */
.app-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
}

.app-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    border-bottom: none;
    padding-left: 0;
}

.app-info h2::before {
    display: none;
}

.app-desc {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.app-features {
    margin-bottom: 20px;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.feature-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center;
}

.app-download {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 500;
}

.download-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.android-icon, .ios-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.android-icon {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b'%3E%3Cpath d='M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z'/%3E%3C/svg%3E") no-repeat center;
}

.ios-icon {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b'%3E%3Cpath d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.68 1.32-1.53 2.88-2.53 4.08zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E") no-repeat center;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode img {
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.qrcode p {
    font-size: 12px;
    opacity: 0.9;
}

.app-preview {
    flex: 0 0 300px;
}

.app-preview img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 0 0 250px;
}

.footer-logo p {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* 页脚样式（续） */
.footer-nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    margin-left: 50px;
}

.footer-nav-column {
    flex: 1;
}

.footer-nav-column h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav-column ul li {
    margin-bottom: 8px;
}

.footer-nav-column ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-column ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0);
    font-size: 0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link.weibo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9.82 16.76c-1.53.8-3.7.77-4.71-.77-.99-1.49.1-3.8 2.37-4.54 2.31-.77 4.59.21 5.48 2.12.88 1.87-.61 2.74-3.14 3.19zm-1.51-3.95c-.56.3-1.02.98-.83 1.76.2.77.92 1.18 1.6.91.67-.27 1.12-.95.89-1.66-.24-.71-.93-1.3-1.66-1.01zm1.43.32c-.21.1-.34.34-.25.54.09.2.33.28.54.18.21-.1.33-.32.24-.53-.09-.21-.33-.29-.53-.19zm.51-1.63c-2.31-.22-4.3 1.07-4.3 2.9 0 1.82 2.02 3.5 4.33 3.66 2.31.16 4.19-1.07 4.19-2.89 0-1.82-1.9-3.49-4.22-3.67zm9.05-4.03c-.97-.03-1.79.72-1.9 1.67-.12.97.59 1.81 1.57 1.91.97.1 1.8-.59 1.92-1.55.12-.97-.6-1.91-1.59-2.03zm-3.8 1.1c-.31-.01-.57.23-.59.53-.01.3.22.55.53.56.31.01.58-.23.59-.53.01-.3-.22-.55-.53-.56zm1.78-.41c-.14 0-.25.11-.26.24-.01.13.1.25.24.25.13.01.24-.1.25-.24.01-.13-.1-.24-.23-.25zm1.31-5.38c-2.07-.48-4.2.06-5.85 1.29l-.03.02c-.1.08-.12.21-.06.32.06.11.19.15.31.1.01 0 .01-.01.02-.01 1.71-.89 3.66-.89 5.37-.01l.03.01c.1.05.22.02.29-.06.08-.09.08-.22.01-.31l-.02-.02c-.28-.17-.67-.38-1.07-.52-.34-.14-.67-.23-1-.23zm-2.85 9.92c-1.41.14-2.76-.29-3.01-.95-.25-.67.68-1.36 2.08-1.53 1.41-.16 2.76.25 3.01.91.25.67-.68 1.4-2.08 1.57zm1.35-2.17c-.47-.24-1.12-.11-1.47.29-.35.4-.26.91.21 1.11.48.21 1.11.04 1.44-.38.33-.42.21-.9-.18-1.02zm-.45.67c-.15.17-.42.24-.6.14-.18-.09-.2-.3-.05-.46.15-.16.39-.22.57-.13.18.09.21.3.08.45z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.social-link.wechat {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8.69 13.09c-.43 0-.77-.34-.77-.77s.34-.77.77-.77c.42 0 .77.34.77.77s-.34.77-.77.77zm4.25 0c-.43 0-.77-.34-.77-.77s.34-.77.77-.77c.42 0 .77.34.77.77s-.35.77-.77.77zm1.9-4.5c.35 0 .64.29.64.64 0 .35-.29.64-.64.64-.36 0-.64-.29-.64-.64-.01-.35.28-.64.64-.64zm-3.8 0c.35 0 .64.29.64.64 0 .35-.29.64-.64.64-.36 0-.64-.29-.64-.64-.01-.35.28-.64.64-.64zm7.48 3.01c0-3.15-3.2-5.71-7.14-5.71-3.96 0-7.16 2.56-7.16 5.71 0 3.15 3.2 5.71 7.16 5.71.83 0 1.63-.13 2.37-.36l.2-.06.17.12 2.13 1.23-.55-1.68.13-.13c1.49-1.27 2.69-3.01 2.69-4.83zm-12.99-7.13c-4.38 0-7.92 3-7.92 6.7 0 2.12 1.33 3.96 3.32 5.18l-.78 2.37 2.82-1.62c.91.25 1.81.41 2.66.47.07-.22.13-.43.22-.64-.93-.23-1.82-.6-2.62-1.12l-.34-.22-.35.14c-.51.2-1.03.35-1.57.45l-.25.04-.22-.12-1.42-.83.31.95-.13.13c-.12.12-.22.21-.31.31.04-.12.08-.24.1-.36l.05-.23-.14-.19c-1.13-1.47-1.76-3.2-1.76-4.92 0-4.57 4.12-8.29 9.16-8.29 5.05 0 9.16 3.71 9.16 8.29 0 .12 0 .25-.01.37.26-.02.51-.04.77-.04 4.06 0 7.35 2.98 7.35 6.66 0 1.95-1.25 3.77-3.4 5.08l.91 2.75-3.28-1.89c-.82.23-1.67.34-2.53.34-3.8 0-6.9-2.14-7.3-4.93-.66.54-1.42.92-2.23 1.12-.13.03-.26.06-.4.09 1.4.61 2.97.95 4.63.95.88 0 1.73-.1 2.55-.29l.2-.05.17.11 2.53 1.46-.66-2 .13-.13c1.95-1.56 3.08-3.54 3.08-5.67-.01-3.7-3.55-6.7-7.93-6.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.social-link.douyin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16.6 5.82s.51.5 0 0A4.278 4.278 0 0 1 19.249 8.4a4.28 4.28 0 0 1-2.65 2.58v1.649c3.528-.838 6.666 1.35 6.666 4.7a4.998 4.998 0 0 1-5.004 4.988 5.026 5.026 0 0 1-5.033-5.027c-.002-.114.01-.228.01-.342V9.752C12.285 9.755 11.15 9.5 10 8.91v3.766c0 2.52-2.124 4.667-4.65 4.667A4.651 4.651 0 0 1 .7 12.7c0-2.526 2.13-4.578 4.67-4.578 .357 0 .704.04 1.03.11v2.059a2.624 2.624 0 0 0-1.03-.208c-1.458 0-2.64 1.056-2.64 2.351v.007c0 1.296 1.186 2.345 2.64 2.345 1.987 0 3.418-1.029 3.767-2.87a22.058 22.058 0 0 1 .037-.642V1.985h3.398c0 .992.5 1.942 1.195 2.628.75.75 1.66 1.173 2.832 1.207v-.007Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.social-link.bilibili {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906L17.813 4.653zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773H5.333zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.footer-middle {
    margin-bottom: 30px;
}

.footer-middle h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links ul li a, .friend-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.friend-links ul li a:hover, .friend-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .card-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 0 0 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .search-box {
        flex: 1;
        margin: 0 10px 0 0;
    }
    
    .card-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .category-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-container {
        flex-direction: column;
    }
    
    .app-preview {
        flex: 0 0 auto;
        width: 60%;
        margin: 0 auto;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-nav {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-wrap: wrap;
    }
    
    .main-nav li {
        flex: 0 0 25%;
    }
    
    .main-nav li a {
        text-align: center;
        padding: 10px;
        font-size: 14px;
    }
    
    .banner-slide {
        height: 300px;
    }
    
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-img {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
    }
    
    .footer-nav-column {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 10px;
    }
    
    .user-actions {
        display: none;
    }
    
    .search-box {
        flex: 1;
        margin: 0;
    }
    
    .main-nav li {
        flex: 0 0 33.33%;
    }
    
    .banner-slide {
        height: 200px;
    }
    
    .banner-info h2 {
        font-size: 20px;
    }
    
    .banner-info p {
        font-size: 14px;
    }
    
    .section-header h1, .section-header h2 {
        font-size: 18px;
    }
    
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-container {
        grid-template-columns: 1fr;
    }
    
    .footer-nav-column {
        flex: 0 0 100%;
    }
}

