/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #ff3a3a;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b6b;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 16px;
    margin: 5px;
}

.btn-primary {
    background-color: #ff3a3a;
    color: #fff;
    border-color: #ff3a3a;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ff3a3a;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: #ff3a3a;
    border-color: #ff3a3a;
}

.btn-outline:hover {
    background-color: #ff3a3a;
    color: #fff;
}

/* 头部样式 */
.main-header {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
    background: linear-gradient(45deg, #ff3a3a, #ff9d9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 58, 58, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff3a3a;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 58, 58, 0.7);
}

.hero-image {
    margin: 30px 0;
}

.hero-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 58, 58, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(255, 58, 58, 0.6);
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页面头部样式 */
.page-header {
    padding: 120px 0 60px;
    background-color: #0f0f0f;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 58, 58, 0.7);
    margin-bottom: 0;
}

/* 新闻部分样式 */
.news {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff3a3a, #ff9d9d);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 58, 58, 0.3);
}

.news-date {
    display: inline-block;
    background-color: rgba(255, 58, 58, 0.2);
    color: #ff3a3a;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.news-item p {
    color: #ccc;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #ff3a3a;
    font-weight: 500;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover:after {
    transform: translateX(5px);
}

.view-more-container {
    text-align: center;
}

/* 特色部分样式 */
.features {
    padding: 80px 0;
    background-color: #080808;
    position: relative;
}

.features:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/feature-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-item {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 58, 58, 0.2);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-item:hover img {
    transform: scale(1.05);
}

.feature-item h3 {
    padding: 20px 20px 10px;
    font-size: 22px;
}

.feature-item p {
    padding: 0 20px 20px;
    color: #ccc;
}

/* 底部图片区域样式 */
.bottom-image {
    padding: 80px 0;
    background-color: #0f0f0f;
}

.eventos-image {
    text-align: center;
}

.eventos-screenshot {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 58, 58, 0.3);
    transition: transform 0.3s ease;
}

.eventos-screenshot:hover {
    transform: scale(1.02);
}

/* 添加标题图片样式 */
.title-image {
    margin: 20px 0;
    text-align: center;
}

.title-image img {
    max-width: 100%;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease;
        z-index: 999;
    }
    
    nav.active {
        clip-path: circle(150% at top right);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .news-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .news-item, .feature-item {
        padding: 15px;
    }
}

/* 语言切换样式 */
.lang-switch {
    background-color: rgba(255, 58, 58, 0.2);
    color: #ff3a3a !important;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: rgba(255, 58, 58, 0.4);
}

.lang-switch:after {
    display: none;
}
