/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 头部 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.slogan {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 简介区域 */
.intro {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.intro-text {
    font-size: 1.5rem;
    color: #555;
    font-weight: 300;
}

/* 作品展示 */
.portfolio {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: #1a1a2e;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e94560;
    margin: 20px auto 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.work-video {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #000;
}

.work-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: rgba(233, 69, 96, 0.9);
}

@media (max-width: 768px) {
    .fullscreen-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.work-info {
    padding: 24px;
}

.work-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.work-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* 联系区域 */
.contact {
    background-color: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.contact-text {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 20px;
}

.contact-info {
    font-size: 1.1rem;
    color: #e94560;
    font-weight: 500;
}

.wechat-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.qr-code {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 2px solid #e94560;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-tip {
    margin-top: 15px;
    font-size: 1rem;
    color: #666;
}

/* 页脚 */
.footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .slogan {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
