/* 每日大赛 - 现代极简高端风格 CSS */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f7;
    --accent-color: #0071e3;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --bg-white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* 布局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
header {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

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

/* 搜索框 */
.search-container {
    margin-top: 15px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: var(--secondary-color);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--accent-color);
    background: #fff;
}

/* Banner */
.hero {
    padding: 100px 0;
    text-align: center;
    background: var(--secondary-color);
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

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

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
}

.video-card:hover {
    transform: scale(1.02);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #000;
    margin-left: 4px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.video-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    margin-top: 10px;
    color: var(--text-muted);
    display: none;
}

/* 评价 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-card {
    padding: 30px;
    background: var(--secondary-color);
    border-radius: 12px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-user {
    font-weight: 600;
    font-size: 14px;
}

/* 页脚 */
footer {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-links a {
    margin: 0 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    nav ul { display: none; }
}
