/* 全局样式 */
* {
    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.5;
    font-size: 16px;
}

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

a:hover {
    color: #ff6b81;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff6b81;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ff5268;
    color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b81;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-header h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: #ff6b81;
    border-radius: 2px;
}

.more-link {
    color: #ff6b81;
    font-size: 14px;
}

/* 头部样式 */
.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;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #ff6b81;
    margin: 0;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b81;
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 5px 15px;
    width: 250px;
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 5px;
    font-size: 14px;
}

.search-box button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    border-radius: 50%;
    position: relative;
}

.search-icon:after {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background-color: #666;
    bottom: -6px;
    right: -2px;
    transform: rotate(45deg);
}

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

.login-btn {
    background-color: transparent;
    color: #ff6b81;
    border: 1px solid #ff6b81;
}

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

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

.banner-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-slide.active {
    opacity: 1;
}

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

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

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

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

.watch-btn {
    background-color: #ff6b81;
    border: none;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

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

.banner-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 视频卡片样式 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.video-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

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

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

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

/* 专题区域样式 */
.special-section {
    padding: 30px 0;
    background-color: #fff;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.special-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.special-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.special-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

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

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

.special-info .btn {
    padding: 5px 15px;
    font-size: 14px;
}

/* 排行榜样式 */
.ranking-section {
    padding: 30px 0;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-item {
    padding: 8px 20px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
}

.tab-item:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b81;
    transition: width 0.3s ease;
}

.tab-item.active {
    color: #ff6b81;
}

.tab-item.active:after {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.ranking-list {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

.ranking-item:hover {
    background-color: #f9f9f9;
}

.ranking-num {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b81;
    width: 30px;
    text-align: center;
}

.ranking-item:nth-child(1) .ranking-num {
    color: #ff4757;
}

.ranking-item:nth-child(2) .ranking-num {
    color: #ff6b81;
}

.ranking-item:nth-child(3) .ranking-num {
    color: #ff7f50;
}

.ranking-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 15px;
}

.ranking-info {
    flex: 1;
}

.ranking-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.ranking-info p {
    font-size: 14px;
    color: #999;
}

/* APP下载区域样式 */
.app-section {
    padding: 40px 0;
    background-color: #fff;
    background-image: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #fff;
}

.app-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

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

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

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

.feature-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.feature-icon:before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff6b81;
    font-size: 12px;
    font-weight: bold;
}

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

.download-btn {
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #ff6b81;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
}

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

.android-icon, .ios-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.android-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b81'%3E%3Cpath d='M6,18c0,0.55 0.45,1 1,1h1v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5-0.67 1.5-1.5V19h2v3.5c0,0.83 0.67,1.5 1.5,1.5s1.5-0.67 1.5-1.5V19h1c0.55,0 1-0.45 1-1V8H6V18zM3.5,8C2.67,8 2,8.67 2,9.5v7c0,0.83 0.67,1.5 1.5,1.5S5,17.33 5,16.5v-7C5,8.67 4.33,8 3.5,8zm17,0c-0.83,0-1.5,0.67-1.5,1.5v7c0,0.83 0.67,1.5 1.5,1.5s1.5-0.67 1.5-1.5v-7c0-0.83-0.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c0.2-0.2 0.2-0.51 0-0.71c-0.2-0.2-0.51-0.2-0.71,0l-1.48,1.48C13.85,1.23 12.95,1 12,1c-0.96,0-1.86,0.23-2.66,0.63L7.85,0.15c-0.2-0.2-0.51-0.2-0.71,0c-0.2,0.2-0.2,0.51 0,0.71l1.31,1.31C6.97,3.26 6,5.01 6,7h12C18,5 17.03,3.25 15.53,2.16zM10,5H9V4h1V5zm5,0h-1V4h1V5z'/%3E%3C/svg%3E");
}

.ios-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b81'%3E%3Cpath d='M17.05,20.28c-0.98,1.69-2.12,3.32-3.64,3.32c-1.55,0-1.96-0.95-3.57-0.95c-1.65,0-2.07,0.96-3.61,0.96c-1.45,0-2.63-1.67-3.64-3.34C0.84,17.5,0.8,14.46,0.8,14.17c0-3.32,2.61-4.95,5.08-4.97c1.39,0,2.59,0.99,3.4,0.99c0.81,0,2.1-1.06,3.71-0.91c2.31,0.16,3.61,1.53,3.61,1.53s-2.19,1.36-2.19,3.7c0,2.34,2.58,3.27,2.58,3.27S18.04,18.6,17.05,20.28L17.05,20.28L17.05,20.28z M12.03,8.72c-0.24-1.92,1.5-3.79,3.4-3.79c0.14,1.93-1.42,3.8-3.4,3.79L12.03,8.72L12.03,8.72z'/%3E%3C/svg%3E");
}

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

.qrcode-img {
    width: 150px;
    height: 150px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code {
    width: 100%;
    height: 100%;
}

.app-qrcode p {
    font-size: 14px;
    text-align: center;
}

.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup img {
    max-height: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 文章区域样式 */
.article-section {
    padding: 30px 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.article-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.article-img {
    height: 100%;
    overflow: hidden;
}

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

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

.article-content {
    padding: 20px;
    padding-left: 0;
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

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

.footer a {
    color: #ddd;
}

.footer a:hover {
    color: #ff6b81;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-nav-col h3 {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b81;
}

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

.footer-nav-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-nav-col ul li a:hover {
    opacity: 1;
}

.footer-contact h3 {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b81;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.icon-email, .icon-phone {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20,4H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V6C22,4.9,21.1,4,20,4z M20,8l-8,5L4,8V6l8,5l8-5V8z'/%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M6.62,10.79c1.44,2.83,3.76,5.14,6.59,6.59l2.2-2.2c0.27-0.27,0.67-0.36,1.02-0.24c1.12,0.37,2.33,0.57,3.57,0.57c0.55,0,1,0.45,1,1V20c0,0.55-0.45,1-1,1c-9.39,0-17-7.61-17-17c0-0.55,0.45-1,1-1h3.5c0.55,0,1,0.45,1,1c0,1.25,0.2,2.45,0.57,3.57c0.11,0.35,0.03,0.74-0.25,1.02L6.62,10.79z'/%3E%3C/svg%3E");
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 107, 129, 0.8);
}

.weixin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9.5,4C5.36,4,2,6.69,2,10c0,1.89,1.08,3.56,2.78,4.66L4,17l2.5-1.5c1,0.32,2.03,0.5,3,0.5c0.17,0,0.33-0.01,0.5-0.02C9.87,15.35,9.79,14.68,9.79,14c0-3.31,3.13-6,7-6c0.19,0,0.38,0.01,0.56,0.03C16.39,5.62,13.22,4,9.5,4z M7.5,8C6.67,8,6,8.67,6,9.5S6.67,11,7.5,11S9,10.33,9,9.5S8.33,8,7.5,8z M12.5,8C11.67,8,11,8.67,11,9.5s0.67,1.5,1.5,1.5S14,10.33,14,9.5S13.33,8,12.5,8z M17,10c-3.31,0-6,2.69-6,6c0,3.31,2.69,6,6,6c1.04,0,2.06-0.27,3-0.79L23,23l-1.37-4.11C22.45,17.73,23,16.42,23,15C23,12.24,20.31,10,17,10z M14.5,14c-0.83,0-1.5,0.67-1.5,1.5s0.67,1.5,1.5,1.5S16,16.33,16,15.5S15.33,14,14.5,14z M19.5,14c-0.83,0-1.5,0.67-1.5,1.5s0.67,1.5,1.5,1.5S21,16.33,21,15.5S20.33,14,19.5,14z'/%3E%3C/svg%3E");
}

.weibo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M10.098 20c-3.81 0-6.9-1.778-6.9-3.964C3.198 13.85 6.288 12 10.098 12c3.81 0 6.9 1.85 6.9 4.036 0 2.186-3.09 3.964-6.9 3.964zm.693-5.986c-1.592-.195-3.02.927-3.187 2.512-.168 1.585.984 3.033 2.576 3.229 1.593.195 3.022-.927 3.19-2.512.166-1.585-.985-3.033-2.579-3.229zm-.693 2.873c-.313-.05-.53-.293-.484-.542.047-.25.34-.41.653-.36.313.048.53.292.484.54-.047.25-.34.41-.653.362zm-1.337-1.333c-.662-.195-1.11-.876-.997-1.527.113-.65.747-1.021 1.41-.827.662.195 1.108.876.996 1.527-.113.65-.747 1.022-1.41.827zm5.63-1.944c-.736-.243-1.527.148-1.777.872-.252.724.14 1.498.873 1.74.734.243 1.525-.149 1.776-.873.252-.723-.14-1.498-.873-1.74zm.486-1.28c-.249-.082-.518.05-.6.295-.082.245.053.506.302.588.249.082.518-.05.6-.295.082-.245-.053-.507-.302-.589zm-.833-.589c-.701-.232-1.455.139-1.69.83-.233.69.143 1.428.844 1.66.701.232 1.455-.139 1.69-.83.233-.69-.143-1.428-.844-1.66zm1.735-4.83c-.354-.059-.702.2-.777.58-.074.38.153.748.507.807.354.059.702-.2.777-.58.074-.38-.153-.747-.507-.807zm0 0M18.604 8.804c-.049-.789-.737-1.38-1.53-1.322-.793.058-1.398.732-1.348 1.521.049.789.737 1.38 1.53 1.322.793-.058 1.397-.732 1.348-1.521zm0 0M20.294 7.473c-.147-1.57-1.65-2.7-3.343-2.534-1.693.166-2.95 1.561-2.803 3.13.147 1.57 1.65 2.7 3.343 2.534 1.693-.166 2.95-1.561 2.803-3.13zm0 0'/%3E%3C/svg%3E");
}

.douyin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12.53.02C13.84 0 15.14.01 16.44 0c.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
}

.bilibili {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%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");
}

.footer-middle {
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.friend-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.friend-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6b81;
}

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

.friend-links ul li a, .friend-links ul a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.friend-links ul li a:hover, .friend-links ul a:hover {
    opacity: 1;
}

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

.copyright, .icp, .footer-desc {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .app-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .app-mockup {
        display: none;
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .banner-wrapper {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 24px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-img {
        height: 200px;
    }
    
    .article-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-wrapper {
        grid-template-columns: 1fr;
    }
    
    .app-qrcode {
        display: none;
    }
    
    .ranking-item img {
        width: 50px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

