/* 基础样式 */
:root {
    --primary-color: #FF6B81;
    --secondary-color: #FFC2C7;
    --accent-color: #FF4757;
    --text-color: #333;
    --light-text: #777;
    --background-color: #FFF;
    --light-background: #F9F9F9;
    --border-color: #EEE;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

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

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

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
}

/* 导航栏 */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 107, 129, 0.1);
}

/* 轮播背景 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.slider-controls span {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls span:hover {
    background-color: white;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: var(--light-background);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

/* 内容特色 */
.features {
    padding: 80px 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
}

/* 精选内容 */
.featured-content {
    padding: 80px 0;
    background-color: var(--light-background);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 创作者推荐 */
.creators {
    padding: 80px 0;
}

.creator-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.creator-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding-bottom: 20px;
    transition: var(--transition);
}

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

.creator-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.creator-card h3 {
    margin-top: 20px;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.creator-card p {
    padding: 10px 20px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.follow-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.follow-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* APP下载 */
.app-download {
    padding: 80px 0;
    background-color: var(--light-background);
}

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

.app-info {
    flex: 1;
}

.app-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.app-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

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

.app-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.app-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

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

.download-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.download-btn i {
    margin-right: 10px;
}

.app-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 350px;
    transition: var(--transition);
}

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

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

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

.quote {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 15px;
}

.user-name {
    font-weight: 500;
    color: var(--primary-color);
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: var(--light-background);
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: var(--primary-color);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 0;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-icon.weibo:before {
    content: "微";
    font-size: 14px;
}

.social-icon.wechat:before {
    content: "微";
    font-size: 14px;
}

.social-icon.douyin:before {
    content: "抖";
    font-size: 14px;
}

.social-icon.bilibili:before {
    content: "哔";
    font-size: 14px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 129, 0.2);
}

.submit-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* 页脚 */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo a {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.link-group {
    flex: 1;
    min-width: 150px;
}

.link-group h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: #CCC;
    transition: var(--transition);
}

.link-group ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.copyright {
    color: #AAA;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.friend-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.friend-links h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.friend-links ul li a {
    color: #CCC;
    transition: var(--transition);
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .app-content,
    .contact-content {
        flex-direction: column;
    }

    .hero {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    .hero {
        height: 60vh;
        margin-top: 120px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .download-buttons {
        flex-direction: column;
    }
}
