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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a:hover {
    color: #ff4757;
}

ul {
    list-style: none;
}

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

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(45deg, #ff6b81, #ff4757);
    color: white;
    border: none;
}

.primary-btn:hover {
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 129, 0.3);
    color: white;
}

.secondary-btn {
    background: transparent;
    color: #ff6b81;
    border: 2px solid #ff6b81;
}

.secondary-btn:hover {
    background: rgba(255, 107, 129, 0.1);
    transform: translateY(-2px);
}

/* 渐变盒子替代图片 */
.gradient-box {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gradient-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.logo {
    float: left;
}

.main-nav {
    float: right;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b81, #ff4757);
    transition: width 0.3s ease;
}

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

/* 首页横幅样式 */
.banner {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background-color: #fff8f8;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #333;
}

.banner p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg .gradient-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1), rgba(250, 208, 196, 0.1));
    border-radius: 0;
    box-shadow: none;
}

/* 关于K8凯发官网样式 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

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

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #555;
}

.about-image {
    flex: 1;
    height: 400px;
}

/* 精选vlog样式 */
.vlog-section {
    padding: 80px 0;
    background-color: #fff8f8;
}

.vlog-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

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

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

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

.vlog-thumbnail {
    height: 200px;
    border-radius: 0;
}

.vlog-info {
    padding: 20px;
}

.vlog-info h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #333;
}

.vlog-info p {
    color: #666;
    margin-bottom: 15px;
}

.vlog-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.9em;
}

.view-more {
    text-align: center;
}

/* 甜蜜瞬间样式 */
.moments-section {
    padding: 80px 0;
    background-color: #fff;
}

.moments-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

.moments-content {
    max-width: 800px;
    margin: 0 auto;
}

.moment-article {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

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

.moment-article h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #333;
}

.moment-article p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* APP下载样式 */
.download-section {
    padding: 80px 0;
    background-color: #fff8f8;
}

.download-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.download-info p {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1em;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.feature-list li:before {
    content: '?';
    position: absolute;
    left: 0;
    color: #ff6b81;
    font-weight: bold;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
}

.download-btn.android {
    background-color: #3ddc84;
    color: white;
}

.download-btn.ios {
    background-color: #000;
    color: white;
}

.app-preview {
    flex: 1;
    height: 500px;
}

/* 社区互动样式 */
.community-section {
    padding: 80px 0;
    background-color: #fff;
}

.community-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

.community-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.community-text {
    text-align: center;
}

.community-text p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #ff6b81;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1em;
}

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

.gallery-item {
    height: 200px;
}

/* 联系K8凯发官网样式 */
.contact-section {
    padding: 80px 0;
    background-color: #fff8f8;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
}

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

.contact-info {
    flex: 1;
}

.contact-info p {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1em;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
}

.contact-list .icon {
    margin-right: 15px;
    color: #ff6b81;
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
}

.form-group textarea {
    resize: vertical;
}

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

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

.footer-logo {
    flex: 1;
}

.footer-logo p {
    margin-top: 15px;
    color: #ccc;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

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

.footer-links-column ul li a {
    color: #ccc;
}

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

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

.copyright {
    color: #999;
    font-size: 0.9em;
}

.copyright p {
    margin-bottom: 10px;
}

.copyright a {
    color: #ccc;
}

.friendly-links h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

.friendly-links ul li a,
.friendly-links ul a {
    color: #ccc;
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .download-content,
    .contact-content {
        flex-direction: column;
    }
    
    .community-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .copyright {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .banner {
        padding: 120px 0 60px;
    }
    
    .banner h1 {
        font-size: 2em;
    }
    
    .vlog-grid {
        grid-template-columns: 1fr;
    }
    
    .community-stats {
        flex-direction: column;
        gap: 20px;
    }
}
