/* 重置与基础样式 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: '微软雅黑', system-ui, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

h1 {
    color: #f1c40f;
    font-size: 2rem;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: #f1c40f;
}

/* 主内容区 */
.hero {
    background: linear-gradient(45deg, #a8edea 0%, #fed6e3 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cat-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 卡片布局 */
.grid-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin: 1rem 0;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* 响应式图片 */
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 1rem;
}

/* 页脚样式 */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.legal-info a {
    color: #bdc3c7;
    text-decoration: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
/* 在style.css末尾追加 */
/* 角色介绍区 */
.character-profile {
    background: linear-gradient(45deg, #f6d365 0%, #fda085 100%);
    padding: 3rem 2rem;
}

.profile-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.character-avatar {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    border: 5px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.character-info h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.description-box {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    line-height: 1.8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 功能卡片 */
.function-card {
    text-align: center;
    position: relative;
    min-height: 280px;
}

.function-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.function-card h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }
    
    .character-avatar {
        width: 200px;
        height: 200px;
    }
}