/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
}

/* 导航栏样式 */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #e3f2fd;
    color: #1976d2;
}

/* 横幅样式 */
.banner {
    height: 500px;
    background-image: url('../images/banner-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 个人简介卡片 */
.profile {
    padding: 4rem 5%;
}

.profile-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 2rem;
}

.profile-info h2 {
    color: #333;
    margin-bottom: 1rem;
}

/* 最新动态 */
.updates {
    padding: 4rem 5%;
    background: #fff;
}

.updates h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.update-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
}

.update-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.update-card h3 {
    padding: 1rem;
    color: #333;
}

.update-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
}

/* 游戏页面样式 */
.game-banner {
    height: 400px;
    background-image: url('../images/game-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.game-section {
    padding: 6rem 5%;
    background: #fff;
}

.game-section:nth-child(even) {
    background: #f5f5f5;
}

.game-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.game-info {
    text-align: center;
}

.game-info h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.game-info p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.game-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    padding: 1rem;
    color: #333;
}

.feature-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .game-content {
        flex-direction: row;
        align-items: center;
    }

    .game-content.reverse {
        flex-direction: row-reverse;
    }

    .game-info {
        flex: 1;
        text-align: left;
    }

    .game-showcase {
        flex: 2;
    }

    .game-info p {
        margin: 0;
    }
} 

/* 收藏页面样式 */
.collection-banner {
    height: 400px;
    background-image: url('../images/collection-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

/* 收藏分类标签 */
.collection-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 5%;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tag:hover,
.tag.active {
    background: #e3f2fd;
    color: #1976d2;
}

/* 角色展示区 */
.character-showcase {
    padding: 4rem 5%;
    background: #fff;
}

.character-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.character-portrait {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.character-details {
    flex: 1;
}

.character-details h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.character-title {
    color: #1976d2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.character-desc {
    color: #666;
    line-height: 1.8;
}

/* 收藏网格 */
.collection-grid {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-5px);
}

.collection-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.item-info {
    padding: 1rem;
}

.item-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .character-info {
        flex-direction: column;
        text-align: center;
    }

    .character-portrait {
        width: 100%;
        max-width: 300px;
    }
} 

/* 关于页面样式 */
.about-banner {
    height: 400px;
    background-image: url('../images/about-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.about-section {
    padding: 4rem 5%;
    background: #fff;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

.about-content p {
    color: #666;
    line-height: 1.8;
}

/* 时间线样式 */
.timeline-section {
    padding: 4rem 5%;
    background: #f5f5f5;
}

.timeline-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #1976d2;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #1976d2;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    color: #1976d2;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* 游戏经历样式 */
.gaming-section {
    padding: 4rem 5%;
    background: #fff;
}

.gaming-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.gaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-exp-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.game-exp-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-exp-info {
    padding: 1.5rem;
}

.exp-bar {
    height: 6px;
    background: #e3f2fd;
    border-radius: 3px;
    margin-top: 1rem;
}

.exp-progress {
    height: 100%;
    background: #1976d2;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 技能展示样式 */
.skills-section {
    padding: 4rem 5%;
    background: #f5f5f5;
}

.skills-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.skill-bar {
    height: 6px;
    background: #e3f2fd;
    border-radius: 3px;
    margin-top: 1rem;
}

.skill-progress {
    height: 100%;
    background: #1976d2;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 联系方式样式 */
.contact-section {
    padding: 4rem 5%;
    background: #fff;
}

.contact-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        text-align: center;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-content {
        width: 90%;
        margin-left: 2rem !important;
    }
} 