* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: serif;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-bottom: 80px;
}

.container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
}

.character-section {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.character-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.info-section {
    flex: 1;
    padding: 50px;
    overflow-y: auto;
}

.character-name {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 300;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.info-block ul {
    list-style: none;
}

.info-block li {
    padding: 8px 0;
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

.info-block p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .character-section {
        flex: 0 0 auto;
        min-height: 300px;
    }
    
    .info-section {
        padding: 30px;
    }
    
    .character-name {
        font-size: 2em;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #666;
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
}

.footer p {
    margin: 0;
    color: #666;
}
