        /* 基础样式 */
:root {
    --primary: #1e3a8a;
    --secondary: #dc2626;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
}

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

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 99%;
}

.header-right {
    width: 1%;
    display: flex;
    justify-content: flex-end;
}

    .logo-image
    {
        display: flex;
        width: 40px;
        height: 40px;
    }
    .logo {
        display: flex;
        width: 100%;
    }

.logo h1 {
    color: white;
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--secondary);
}

/* 汉堡菜单样式 */
.hamburger-menu {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger-icon {
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 移动端导航菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 150px;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2b3c 100%);
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 10px;
}

.mobile-nav ul li a {
    display: block;
    padding: 12px 15px;
    color: white;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: var(--secondary);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.close-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-nav:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

/* 搜索栏样式 */
.search-bar {
    display: flex;
    width: 100%;
    max-width: 500px;
}

.search-bar input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 100%;
    font-size: 0.95rem;
}

.search-bar button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar button:hover {
    background-color: #c82333;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: var(--light);
    border-bottom: 1px solid #e2e8f0;
}

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

.breadcrumb li {
    margin-right: 10px;
    color: var(--gray);
    font-size: 0.95rem;
}

.breadcrumb li:after {
    content: ">";
    margin-left: 10px;
    color: var(--gray);
}

.breadcrumb li:last-child:after {
    content: "";
}

.breadcrumb li a {
    color: var(--primary);
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* 球队过滤器 */
.team-filter {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-title {
    font-size: 1.1rem;
    color: var(--dark);
    margin-right: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: var(--light);
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.2);
}

/* 视频计数器 */
.video-counter {
    text-align: right;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

/* 主要内容 */
main {
    padding: 20px 0 40px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--secondary);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.video-card .card-img {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.video-card .card-img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    content: "▶";
    opacity: 0.9;
    transition: all 0.3s;
}

.video-card:hover .card-img:after {
    opacity: 1;
    transform: scale(1.1);
}

.league-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(220, 38, 38, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 1.25rem;
    line-height: 1.4;
}

.card-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--gray);
}

.match-date {
    background-color: var(--light);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.teams {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--dark);
}

.vs {
    font-size: 0.8rem;
    color: var(--gray);
}

/* 无结果提示 */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.no-results i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--gray);
    margin-bottom: 20px;
}

.no-results .reset-btn {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s;
}

.no-results .reset-btn:hover {
    background-color: #152a6e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2b3c 100%);
    color: white;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f0f4f8" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

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

.footer-section ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.footer-section ul li:before {
    content: "•";
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 15px;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* 视频播放器 */
.video-player-container {
    background: var(--dark-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-title {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.gongzhonghao-logo {
    width: 350px;
    height: auto;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .videos-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-left, .header-right {
        width: 100%;
    }

    .header-left {
        display: flex;
        justify-content: space-between;
    }

    .search-bar {
        max-width: 100%;
    }

    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 480px) {
    .videos-container {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1rem;
    }
    .logo-image
    {
        display: flex;
        width: 40px;
        height: 40px;
    }
    .logo {
        display: flex;
        width: 100%;
    }
    .section-title {
        font-size: 1.5rem;
    }

    .gongzhonghao-logo {
        width: 100%;
    }
}
