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

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

a:hover {
    color: #ff4757;
}

ul, ol {
    list-style: none;
}

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

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6b81;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

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

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

.logo svg {
    margin-right: 10px;
}

.logo span {
    color: #ff6b81;
}

.main-nav ul {
    display: flex;
}

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

.main-nav a {
    color: #333;
    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 {
    color: #ff6b81;
}

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

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    width: 200px;
    outline: none;
}

.search-box button {
    background-color: #ff6b81;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
}

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

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

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

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

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

.slide.active {
    opacity: 1;
}

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

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

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

.slide-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

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

.dot.active {
    background-color: #fff;
}

/* 热门视频区域 */
.hot-videos {
    padding: 50px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h1, .section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: #666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

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

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    height: 180px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.video-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

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

.more-btn {
    text-align: center;
    margin-top: 30px;
}

/* 蜜桃种植技巧区域 */
.planting-tips {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.tips-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.tips-image {
    flex: 1;
    min-width: 300px;
}

.tips-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tips-text {
    flex: 2;
    min-width: 300px;
}

.tips-text article {
    margin-bottom: 20px;
}

.tips-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.tips-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

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

/* 蜜桃营养价值区域 */
.nutrition-value {
    padding: 50px 0;
    background-color: #fff;
}

.nutrition-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.nutrition-text {
    flex: 2;
    min-width: 300px;
}

.nutrition-chart {
    flex: 1;
    min-width: 300px;
}

.nutrition-chart img {
    border-radius: 8px;
    margin-bottom: 20px;
}

.nutrition-facts {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.nutrition-facts h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.nutrition-facts ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.nutrition-facts ul li span:first-child {
    font-weight: 600;
}

/* 蜜桃美食制作区域 */
.recipe-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

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

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-image {
    height: 180px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-content {
    padding: 15px;
}

.recipe-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

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

.recipe-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.recipe-article {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.recipe-article h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.recipe-article p {
    font-size: 16px;
    color: #666;
}

/* 视频教程区域 */
.tutorial-section {
    padding: 50px 0;
    background-color: #fff;
}

.tutorial-tabs {
    margin-top: 30px;
}

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

.tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #ff6b81;
    border-bottom: 2px solid #ff6b81;
}

.tab-pane {
    display: none;
}

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

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

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

.tutorial-card:hover {
    transform: translateY(-5px);
}

.tutorial-thumbnail {
    position: relative;
    height: 180px;
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-info {
    padding: 15px;
}

.tutorial-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.tutorial-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

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

/* APP下载区域 */
.app-download {
    padding: 50px 0;
    background-color: #f9f9f9;
}

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

.app-info {
    flex: 1;
    min-width: 300px;
}

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

.app-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

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

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

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

.feature-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -70%) rotate(-45deg);
}

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

.download-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #555;
}

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

.android-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.6,9.48l1.84-3.18c0.16-0.31,0.04-0.69-0.26-0.85c-0.29-0.15-0.65-0.06-0.83,0.22l-1.88,3.24 c-2.86-1.21-6.08-1.21-8.94,0L5.65,5.67c-0.19-0.29-0.58-0.38-0.87-0.2C4.5,5.65,4.41,6.01,4.56,6.3L6.4,9.48 C3.3,11.25,1.28,14.44,1,18h22C22.72,14.44,20.7,11.25,17.6,9.48z M7,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25S8.25,13.31,8.25,14C8.25,14.69,7.69,15.25,7,15.25z M17,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25s1.25,0.56,1.25,1.25C18.25,14.69,17.69,15.25,17,15.25z'/%3E%3C/svg%3E");
}

.ios-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.05,20.28c-0.98,0.95-2.05,0.8-3.08,0.35c-1.09-0.46-2.09-0.48-3.24,0c-1.44,0.62-2.2,0.44-3.06-0.35 C2.79,15.25,3.51,7.59,8.42,7.31c1.33,0.07,2.25,0.78,3.05,0.8c1.22-0.04,2.06-0.82,3.28-0.85c1.25,0.05,2.33,0.35,3.15,1.07 c-2.45,1.64-2.04,5.47,0.44,6.63C17.84,16.76,18.02,19.3,17.05,20.28z M13.33,7.09c-0.06-2.23,1.77-4.26,4.01-4.1 C17.49,5.19,15.56,7.17,13.33,7.09z'/%3E%3C/svg%3E");
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qrcode p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.app-image img {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 用户评价区域 */
.user-reviews {
    padding: 50px 0;
    background-color: #fff;
}

.reviews-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.review-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    text-align: center;
}

.stars {
    color: #ffcc00;
    font-size: 20px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

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

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

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

.footer-column p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

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

.footer-column ul li a {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ff6b81;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

.contact-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-color: #ff6b81;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

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

.phone {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%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.57 c0.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,1 c0,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");
}

.address {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12,2C8.13,2,5,5.13,5,9c0,5.25,7,13,7,13s7-7.75,7-13C19,5.13,15.87,2,12,2z M12,11.5c-1.38,0-2.5-1.12-2.5-2.5 s1.12-2.5,2.5-2.5s2.5,1.12,2.5,2.5S13.38,11.5,12,11.5z'/%3E%3C/svg%3E");
}

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

.social-link {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #555;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.social-link:hover {
    background-color: #ff6b81;
}

.weixin::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%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.34-0.01,0.5-0.02 C9.87,15.5,9.8,15.01,9.8,14.5c0-3.31,3.13-6,7-6c0.17,0,0.34,0.01,0.5,0.02C16.23,5.62,13.13,4,9.5,4z M7,8c0.55,0,1,0.45,1,1 s-0.45,1-1,1s-1-0.45-1-1S6.45,8,7,8z M12,8c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8z M16.8,11 c-2.65,0-4.8,2.15-4.8,4.8c0,2.65,2.15,4.8,4.8,4.8c0.83,0,1.61-0.21,2.3-0.58L22,21l-0.83-2.5c0.52-0.68,0.83-1.54,0.83-2.5 C22,13.15,19.85,11,16.8,11z M15,14c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S14.45,14,15,14z M19,14c0.55,0,1,0.45,1,1 s-0.45,1-1,1s-1-0.45-1-1S18.45,14,19,14z'/%3E%3C/svg%3E");
}

.weibo::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10.75,16.3c-3.59,0-6.5-1.75-6.5-3.9c0-1.16,0.8-2.11,2.13-2.82c2.13-1.14,4.56-1.06,4.56-1.06 c-0.52-0.59-0.44-1.5-0.44-1.5s-0.01-0.59,0.37-0.8c0.91-0.51,2.13,0.02,2.13,0.02c1.52,0.52,3.04,2.2,3.04,2.2 c0.79,1.14,0.65,2.97,0.65,2.97C14.72,14.85,14.34,16.3,10.75,16.3z M9.23,14.7c0.24,0.25,0.48,0.29,0.66,0.29 c0.19,0,0.33-0.09,0.33-0.09c0.1-0.07,0.14-0.27,0.03-0.51c-0.1-0.24-0.36-0.46-0.62-0.46c-0.18,0-0.29,0.1-0.33,0.2 C9.23,14.33,9.1,14.57,9.23,14.7z M9.68,13.01c-0.81-0.16-1.72,0.39-2.09,1.22c-0.38,0.86-0.13,1.83,0.68,2.02 c0.84,0.2,1.83-0.29,2.21-1.15C10.85,14.18,10.5,13.17,9.68,13.01z M18.24,8.01c-0.61-1.72-2.42-2.95-4.55-2.95 c-0.36,0-0.72,0.04-1.06,0.12c-0.31,0.07-0.5,0.37-0.44,0.68c0.06,0.31,0.37,0.5,0.68,0.44c0.27-0.06,0.54-0.09,0.82-0.09 c1.63,0,3.06,0.94,3.56,2.29c0.11,0.29,0.43,0.44,0.72,0.33C18.2,8.72,18.35,8.3,18.24,8.01z M14.92,3.08 c-0.99-0.25-2.03-0.3-3.05-0.14c-0.36,0.06-0.61,0.39-0.56,0.75c0.06,0.36,0.39,0.61,0.75,0.56c0.85-0.14,1.73-0.1,2.55,0.12 c0.36,0.09,0.72-0.12,0.81-0.48C15.52,3.52,15.28,3.17,14.92,3.08z M20.89,9.94c-0.05-0.25-0.28-0.42-0.53-0.42 c-0.04,0-0.07,0-0.11,0.01c-0.29,0.06-0.48,0.35-0.42,0.64c0.21,0.97,0.21,1.97,0.01,2.95c-0.79,3.88-4.58,6.82-8.53,6.6 c-1.02-0.06-2.01-0.29-2.95-0.7c-0.28-0.12-0.6,0.01-0.72,0.29c-0.12,0.28,0.01,0.6,0.29,0.72c1.06,0.45,2.18,0.72,3.33,0.79 c0.2,0.01,0.39,0.02,0.59,0.02c4.35,0,8.22-3.16,9.09-7.48C21.13,12.14,21.13,11.03,20.89,9.94z'/%3E%3C/svg%3E");
}

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

.footer-middle h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

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

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

.friend-links ul li a {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.friend-links ul li a:hover {
    color: #ff6b81;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.copyright, .icp {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .main-nav {
        width: 100%;
        margin-bottom: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: calc(100% - 60px);
    }

    .slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 22px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .section-header h1, .section-header h2 {
        font-size: 26px;
    }

    .tips-content, .nutrition-content, .app-content {
        flex-direction: column;
    }

    .tab-header {
        overflow-x: auto;
        white-space: nowrap;
    }

    .tab-btn {
        padding: 10px 15px;
    }

    .footer-top {
        flex-direction: column;
    }

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