/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
}

.container {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* 头部样式 */
header {
    background: linear-gradient(to bottom, #d40000, #c00);
    padding: 15px 0;
    border-bottom: 3px solid #ffd700;
}

.logo {
    float: left;
    width: 200px;
    text-align: center;
}

.logo img {
    height: 80px;
    margin-bottom: 5px;
}

.logo-text {
    color: #ffd700;
    font-size: 14px;
    font-style: italic;
}

nav {
    float: right;
    width: 750px;
    margin-top: 10px;
}

/* 主导航 */
.main-nav {
    margin-bottom: 15px;
    text-align: right;
}

.main-nav li {
    display: inline-block;
    margin-left: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #ffd700;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover:after {
    width: 100%;
}

/* 次要导航 */
.sub-nav {
    text-align: right;
}

.sub-nav li {
    display: inline-block;
    margin-left: 20px;
}

.sub-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-nav a:hover {
    color: #ffd700;
}

/* 中国风装饰 */
.nav-decoration {
    position: absolute;
    top: 50%;
    left: 220px;
    width: 2px;
    height: 40px;
    background: rgba(255,215,0,0.3);
    transform: translateY(-50%);
}

/* banner样式 */
.banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部样式 */
footer {
    background: linear-gradient(to bottom, #2a2a2a, #222);
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 50px;
    border-top: 3px solid #ffd700;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.footer-col:not(:last-child):after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

/* Logo区域 */
.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #ffd700;
    font-size: 12px;
    font-style: italic;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* 导航链接 */
.footer-col h3 {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

/* 联系方式 */
.contact-info li {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #ffd700;
    font-size: 16px;
}

/* 社交链接 */
.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffd700;
}

.social-links i {
    color: #fff;
    font-size: 18px;
}

/* 底部版权 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.copyright, .icp {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

/* 响应式处理 */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-col {
        margin-bottom: 30px;
        padding: 0;
    }
    
    .footer-col:after {
        display: none;
    }
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
} 

/* 首页内容样式 */
.section {
    margin: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.section-title {
    font-size: 24px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #c00;
}

.more-link {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: #c00;
}

/* Banner样式优化 */
.banner-slider {
    position: relative;
}

.slide {
    position: relative;
}

.slide-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* 新闻区域 */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #c00;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.news-date {
    color: #999;
    font-size: 12px;
}

/* 技术教学区域 */
.technique-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.technique-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.technique-thumb {
    position: relative;
}

.technique-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.level {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.technique-content {
    padding: 20px;
}

.teacher-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.teacher-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* 赛事信息区域 */
.matches-timeline {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.match-card {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.match-date {
    background: #c00;
    color: #fff;
    padding: 15px;
    text-align: center;
    min-width: 80px;
}

.match-date .month {
    font-size: 14px;
}

.match-date .day {
    font-size: 24px;
    font-weight: bold;
}

.match-info {
    padding: 15px;
    flex: 1;
}

.status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
    margin-top: 10px;
}

.status.upcoming {
    background: #c00;
    color: #fff;
}

.status.registration {
    background: #ffd700;
    color: #333;
}

.status.coming {
    background: #666;
    color: #fff;
}

/* 器材推荐区域 */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.equipment-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.equipment-thumb {
    position: relative;
}

.equipment-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.tag.hot {
    background: #c00;
}

.tag.new {
    background: #ffd700;
}

.tag.sale {
    background: #f60;
}

.equipment-content {
    padding: 20px;
}

.price {
    color: #c00;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

/* 名人堂区域 */
.players-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.player-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.player-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.player-info {
    padding: 20px;
    text-align: center;
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.achievements span {
    padding: 2px 10px;
    background: #f5f5f5;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
} 