/* 小马拉大车 游戏解说主题原创CSS - 英雄联盟电竞风格 */
:root {
    --primary: #00e5ff; /* 电竞蓝 */
    --primary-dark: #0088cc;
    --secondary: #b100ff; /* 魔法紫 */
    --bg-dark: #090b14;
    --bg-card: #15192b;
    --bg-hover: #1e243d;
    --text-main: #e0e6ed;
    --text-muted: #8b9bb4;
    --accent: #ff0055;
    --border: rgba(0, 229, 255, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--secondary); }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }

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

/* 头部导航 */
.site-header {
    background: rgba(9, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.main-nav a {
    color: var(--text-main);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--primary); }

.64gxw8 {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 10px;
    width: 100%;
    max-width: 300px;
}

.64gxw8 input {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
    width: 100%;
    padding: 5px;
}

.64gxw8 button {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

.mobile-menu-btn { display: none; }

@media (min-width: 768px) {
    .header-inner { flex-direction: row; justify-content: space-between; align-items: center; }
    .brand-logo { margin-bottom: 0; }
    .64gxw8 { margin-top: 0; margin-left: 20px; }
}

/* 英雄横幅 Banner */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-dark); /* 底色 */
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9,11,20,0.3) 0%, rgba(9,11,20,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumb .separator { margin: 0 10px; }
.breadcrumb .current { color: var(--primary); }

/* 通用区块 */
.section { padding: 60px 0; }
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* 视频网格与卡片 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.15);
    border-color: var(--primary);
}

.video-cover {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.video-cover video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.video-card:hover .video-cover video { opacity: 1; }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.play-btn::after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.s9jq3 {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    gap: 10px;
}

.video-info { padding: 20px; }
.video-title { font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.video-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
.video-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
    background: rgba(177, 0, 255, 0.2);
    color: #d480ff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid rgba(177, 0, 255, 0.3);
}

/* FAQ 和 评论区 */
.faq-grid, .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item, .review-item {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.faq-item h4 { color: var(--primary); margin-bottom: 10px; font-size: 1.1rem; }
.review-item .user { font-weight: bold; color: var(--secondary); margin-bottom: 5px; }
.review-item .rating { color: #ffd700; margin-bottom: 10px; }

/* 页脚 */
.site-footer {
    background: #05060a;
    border-top: 1px solid var(--border);
    padding-top: 60px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .8448k { margin: 15px 0; color: var(--text-muted); font-size: 0.9rem; }
.lb9jijp { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lb9jijp a {
    padding: 5px 10px;
    background: var(--bg-hover);
    border-radius: 4px;
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 { margin-bottom: 20px; color: #fff; }
.footer-links li { margin-bottom: 10px; }
.footer-contact p { margin-bottom: 10px; color: var(--text-muted); font-size: 0.9rem; }

.k51k8q { display: flex; gap: 20px; }
.hdlni { text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.hdlni img { border-radius: 8px; margin-bottom: 10px; border: 1px solid var(--border); }

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.0i55e08m { margin-top: 5px; color: var(--primary-dark); }

/* 弹窗 */
.video-dialog {
    border: none;
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-main);
    max-width: 500px;
    width: 90%;
    padding: 0;
    margin: auto;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    border: 1px solid var(--primary);
}

.video-dialog::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); }

.dialog-content { padding: 30px; position: relative; }
.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.dialog-close:hover { color: var(--accent); }
.dialog-content h3 { color: var(--primary); margin-bottom: 15px; }
.sl4vbqc { margin-top: 20px; font-size: 0.9rem; color: var(--secondary); }

/* 响应式 */
@media (max-width: 767px) {
    .hero-content h1 { font-size: 2rem; }
    .main-nav { flex-direction: column; display: none; }
    .main-nav.active { display: flex; padding-top: 20px; }
    .main-nav ul { flex-direction: column; width: 100%; gap: 10px; }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        position: absolute;
        right: 20px;
        top: 25px;
    }
    .mobile-menu-btn span { width: 25px; height: 2px; background: var(--primary); }
    .k51k8q { flex-direction: column; }
}

/* 内部页面内容区 */
.page-content { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.page-content h2 { color: var(--primary); margin-bottom: 20px; }
.page-content p { margin-bottom: 15px; color: var(--text-muted); }
