:root {
    --primary-color: #FF85A2; /* Sweet Pink */
    --secondary-color: #FFB7B2; /* Pastel Pink */
    --accent-color: #FFDAC1; /* Peach */
    --text-dark: #555555;
    --text-light: #888888;
    --white: #ffffff;
    --bg-light: #FFF0F5; /* Lavender Blush */
    --border-radius: 15px;
    --shadow: 0 5px 15px rgba(255, 133, 162, 0.2);
}

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

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

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

ul {
    list-style: none;
}

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

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo::after {
    content: '❤';
    font-size: 20px;
    margin-left: 5px;
    color: var(--primary-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.site-nav ul {
    display: flex;
    gap: 20px;
}

.site-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.site-nav a:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    border-radius: 0 0 50% 50% / 20px;
}

.hero-content h1 {
    font-size: 38px;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 18px;
    opacity: 0.95;
    background-color: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 30px;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--text-dark);
}

.more {
    color: var(--primary-color);
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
}

/* Video Grid & Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 183, 178, 0.2);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(255, 133, 162, 0.3);
}

.img-wrapper {
    width: 100%;
    height: 160px;
    background-color: #eee;
    position: relative;
}

.gradient-box {
    width: 100%;
    height: 100%;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
    font-weight: 600;
}

.card-info p {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.card-info p::before {
    content: '●';
    color: var(--secondary-color);
    font-size: 10px;
    margin-right: 5px;
}

/* Article Section */
.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.seo-article {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #ffe4e1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.seo-article h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.seo-article p {
    font-size: 15px;
    color: var(--text-light);
    text-indent: 2em;
    text-align: justify;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 50px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
}

.footer-links {
    margin-bottom: 25px;
}

.footer-links a {
    margin: 0 15px;
    font-size: 14px;
    color: #aaa;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none; 
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .img-wrapper {
        height: 120px;
    }
    
    .card-info h3 {
        font-size: 14px;
    }
}
