/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    position: relative;
}

/* 登录按钮 */
.login-btn-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.login-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 壁纸容器 */
.wallpaper-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img,
.static-wallpaper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 无壁纸提示 */
.no-wallpaper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 毛玻璃效果 */
.glass-effect {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* 主内容区 */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 个人简介 */
.profile-section {
    margin-bottom: 30px;
}

.profile-section h2,
.news-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-content {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
}

/* 新闻动态 */
.news-section {
    margin-bottom: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.news-item h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 18px;
}

.news-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
}

/* 页脚 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        padding-top: 80px;
    }
    
    .login-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}
