* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a1a;
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.header {
    background: linear-gradient(to right, #000, #2b1216);
    padding: 15px 0;
    border-bottom: 2px solid #6e1620;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.nav-item:hover {
    border-color: #6e1620;
    background: rgba(110, 22, 32, 0.2);
}

/* 轮播图区域 */
.carousel {
    width: 100%;
    height: 400px;
    background: #2b1216;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.carousel-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.carousel-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 16px;
    opacity: 0.8;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    user-select: none;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #fff;
}

/* 添加轮播图动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.carousel-item.fade-in {
    animation: fadeIn 0.6s forwards;
}

.carousel-item.fade-out {
    animation: fadeOut 0.6s forwards;
}

/* 内容区域 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.section {
    background: linear-gradient(145deg, #2b1216, #1a1a1a);
    padding: 20px;
    border: 1px solid #6e1620;
    border-radius: 5px;
}

.section-title {
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #6e1620;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    background: rgba(110, 22, 32, 0.1);
    border-radius: 5px;
    transition: all 0.3s;
}

.news-item:hover {
    background: rgba(110, 22, 32, 0.2);
}

.news-item img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
}

.news-info {
    flex: 1;
}

.news-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.news-info p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 5px;
}

.news-info time {
    color: #666;
    font-size: 12px;
}

/* 新闻列表中的文字新闻样式 */
.news-list li.news-item {
    display: flex;
    align-items: center;
    padding: 10px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-right: 15px;
}

.news-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.news-link:hover {
    color: #d4af37;
}

/* 攻略列表样式 */
.guide-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.guide-item {
    background: rgba(110, 22, 32, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s;
}

.guide-item:hover {
    transform: translateY(-5px);
}

.guide-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.guide-item h3 {
    padding: 10px;
    font-size: 16px;
}

.guide-item p {
    padding: 0 10px 10px;
    color: #aaa;
    font-size: 14px;
}

/* 赛事列表样式 */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(110, 22, 32, 0.1);
    border-radius: 5px;
}

.event-time {
    color: #d4af37;
    font-size: 14px;
    white-space: nowrap;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.event-info p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 10px;
}

.event-link {
    display: inline-block;
    padding: 5px 15px;
    background: #6e1620;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
}

.event-link:hover {
    background: #8a1c28;
}

/* 页脚样式 */
.footer {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px;
    border-top: 1px solid #6e1620;
}

.footer-section h3 {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qrcode p {
    color: #aaa;
    font-size: 14px;
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding: 20px;
    color: #666;
    border-top: 1px solid #2b1216;
}

.copyright a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: #d4af37;
}

/* 搜索框样式 */
.search {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #6e1620;
    color: #fff;
    border-radius: 3px;
    width: 200px;
}

.search::placeholder {
    color: rgba(255, 255, 255, 0.5);
} 