/* 每日大赛 品牌样式表 */
:root {
    --primary-color: #d4af37; /* 金色 */
    --secondary-color: #002366; /* 深蓝色 */
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #ffffff;
}

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

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

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

/* Header */
.site-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

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

.main-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.search-bar {
    margin-top: 10px;
    width: 100%;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Video Cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, min-minmax(280px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.video-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 180px;
    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.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.play-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.video-info {
    padding: 15px;
}

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

.video-meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    justify-content: space-between;
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* FAQ & Reviews */
.faq-grid, .review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-item, .review-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.review-item .author {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 10px;
    display: block;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
}

.fake-qr {
    width: 80px;
    height: 80px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid, .review-grid {
        grid-template-columns: 1fr;
    }
}
