/* 首页首屏 */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding-top: 70px;
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    animation: fadeInDown 1s ease;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #d0d0d0;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeIn 1.5s ease;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 1.2s ease;
}

.qr-container {
    margin-top: 50px;
    animation: fadeIn 2s ease;
}

.qr-code {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 15px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.qr-code img {
    width: 150px;
    height: 150px;
    display: block;
}

.qr-text {
    margin-top: 15px;
    font-size: 16px;
    color: #ddd;
}

/* 内容区域 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* 游戏特色轮播 */
.features {
    background: #151a28;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
}

/* 文章区域 */
.articles {
    background: var(--darker);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.article-list {
    list-style: none;
}

.article-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item a {
    display: flex;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.article-item a:hover {
    color: var(--primary);
}

.article-item .date {
    color: var(--gray);
    font-size: 14px;
    margin-top: 5px;
}

.article-item .thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-item .info {
    flex: 1;
}

.article-item .title {
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 游戏特色 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 35, 50, 0.8);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

/* 服务器状态 */
.server-status {
    padding: 10px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-item:last-child {
    border-bottom: none;
}

.server-indicator {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.server-indicator.online {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.server-indicator.busy {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}