.characters-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    margin-bottom: 5rem;
}

.characters-container h1 {
    text-align: center;
    color: #1565c0;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.character-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
}

.character-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 2rem;
    flex-shrink: 0;
    border: 5px solid #1565c0;
}

.character-info {
    flex: 1;
}

.character-info h2 {
    color: #1565c0;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.character-title {
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.character-description {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.character-traits {
    list-style: none;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
}

.character-traits li {
    color: #444;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    padding-left: 1.5rem;
    position: relative;
}

.character-traits li:before {
    content: "•";
    color: #1565c0;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

@media (max-width: 900px) {
    .character-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
    .character-card img {
        width: 250px;
        height: 250px;
        margin: 0 0 1.5rem 0;
    }
    .character-traits {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .character-card img {
        width: 200px;
        height: 200px;
    }
    .character-info h2 {
        font-size: 1.8rem;
    }
}