/* 困困兔 - 赛车风格全局样式 */
:root {
    --primary-color: #FF6600; /* 霓虹橙 */
    --secondary-color: #1A1A1A; /* 碳纤维黑 */
    --accent-color: #00FFCC; /* 极速青 */
    --text-color: #FFFFFF;
    --bg-color: #0D0D0D;
}

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--primary-color); }

/* 导航栏 */
header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 2px solid var(--primary-color);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img { height: 50px; }

nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
nav ul li a { font-weight: bold; font-size: 16px; }

/* 搜索框 */
.search-bar {
    padding: 10px 5%;
    background: #111;
    display: flex;
    justify-content: center;
}
.search-bar input {
    width: 60%;
    padding: 10px;
    border: 1px solid var(--primary-color);
    background: #222;
    color: #fff;
    border-radius: 5px 0 0 5px;
}
.search-bar button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

/* 视频卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 5%;
}

.video-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
    transition: 0.3s;
}

.video-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }

.video-thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(255, 102, 0, 0.8);
    display: none;
}

.video-card:hover .play-btn { display: block; }

.video-info { padding: 15px; }
.video-info h3 { margin: 0 0 10px; font-size: 18px; color: var(--primary-color); }
.video-meta { font-size: 12px; color: #888; display: flex; justify-content: space-between; }

/* 干扰标签样式 - 隐藏但不影响布局 */
.obfuscation-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 底部 */
footer {
    background: #000;
    padding: 40px 5%;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-section { flex: 1; min-width: 200px; text-align: left; }
.footer-section h4 { color: var(--primary-color); margin-bottom: 15px; }

/* 移动端适配 */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 10px; }
    nav ul { gap: 10px; font-size: 14px; }
    .search-bar input { width: 80%; }
}
